Skip to content

Commit 465bbf9

Browse files
committed
ServerStatusInformation -> ServerStatusInfo
1 parent 579a367 commit 465bbf9

File tree

3 files changed

+50
-37
lines changed

3 files changed

+50
-37
lines changed

CHANGELOG.md

Lines changed: 48 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -14,38 +14,7 @@ This driver uses semantic versioning:
1414
- A change in the major version (e.g. 1.Y.Z -> 2.0.0) indicates _breaking_
1515
changes that require changes in your code to upgrade.
1616

17-
## [9.3.0] - 2025-01-06
18-
19-
### Added
20-
21-
- Added `db.compact` method (DE-906)
22-
23-
- Added `db.engineStats` method (DE-932)
24-
25-
- Added `db.getLicense` and `db.setLicense` methods (DE-949)
26-
27-
- Added `db.listQueryCacheEntries` method (DE-149)
28-
29-
- Added `db.clearQueryCache` method (DE-148)
30-
31-
- Added `db.getQueryCacheProperties` method (DE-150)
32-
33-
- Added `db.setQueryCacheProperties` method (DE-151)
34-
35-
- Added `collection.shards` method (DE-939)
36-
37-
- Added support for `mdi-prefixed` indexes (DE-956)
38-
39-
- Restored `fulltext` index type support (DE-957)
40-
41-
The `fulltext` index type is still no longer supported for creating new
42-
indexes but can be used to cast existing indexes from `Index`.
43-
44-
- Added support for `edge` indexes (DE-958)
45-
46-
The `Index` type now can also be cast to the `EdgeIndex` type.
47-
48-
## [10.0.0-rc.0] - 2024-12-10
17+
## [Unreleased]
4918

5019
This is a major release and breaks backwards compatibility.
5120

@@ -244,7 +213,8 @@ for upgrading your code to arangojs v10.
244213

245214
The following types were moved: `QueryOptions`, `ExplainOptions`,
246215
`ExplainPlan`, `ExplainStats`, `SingleExplainResult`, `MultiExplainResult`,
247-
`AstNode`, `ParseResult`, `QueryOptimizerRule`, `QueryTracking`,
216+
`AstNode`, `ParseResult`, `QueryCachePropertiesOptions`, `QueryCacheEntry`,
217+
`QueryCacheProperties`, `QueryOptimizerRule`, `QueryTracking`,
248218
`QueryTrackingOptions`, `QueryInfo` and `AqlUserFunction`.
249219

250220
- Moved service related types from `arangojs/database` module to new
@@ -268,7 +238,10 @@ for upgrading your code to arangojs v10.
268238
- Moved server administration related types from `arangojs/database` module to
269239
new `arangojs/administration` module
270240

271-
The following types were moved: `QueueTimeMetrics` and `VersionInfo`.
241+
The following types were moved: `CompactOptions`, `EngineInfo`,
242+
`EngineStatsInfo`, `LicenseInfo`, `QueueTimeMetrics`, `ServerAvailability`,
243+
`ServerStatusInformation`, `SingleServerSupportInfo`, `ClusterSupportInfo`
244+
and `VersionInfo`.
272245

273246
- Moved configuration related types to new `arangojs/config` module
274247

@@ -294,8 +267,11 @@ for upgrading your code to arangojs v10.
294267
- `GeoIndex` -> `GeoIndexDescription`
295268
- `PersistentIndex` -> `PersistentIndexDescription`
296269
- `PrimaryIndex` -> `PrimaryIndexDescription`
270+
- `EdgeIndex` -> `EdgeIndexDescription`
297271
- `TtlIndex` -> `TtlIndexDescription`
272+
- `FulltextIndex` -> `FulltextIndexDescription`
298273
- `MdiIndex` -> `MdiIndexDescription`
274+
- `MdiPrefixedIndex` -> `MdiPrefixedIndexDescription`
299275
- `InvertedIndex` -> `InvertedIndexDescription`
300276
- `InternalArangosearchIndex` -> `ArangosearchIndexDescription`
301277
- `InternalIndex` -> `InternalIndexDescription`
@@ -328,6 +304,7 @@ for upgrading your code to arangojs v10.
328304
or `VerbNounResult` naming pattern:
329305

330306
- `QueryTracking` -> `QueryTrackingInfo`
307+
- `ServerStatusInformation` -> `ServerStatusInfo`
331308
- `CollectionImportResult` -> `ImportDocumentsResult`
332309
- `CollectionEdgesResult` -> `DocumentEdgesResult`
333310

@@ -403,6 +380,11 @@ for upgrading your code to arangojs v10.
403380
This property provides a low-level interface for consuming the items of the
404381
cursor and is used by the regular item-wise `Cursor` class internally.
405382

383+
- Added `SystemIndexDescription` type
384+
385+
This type represents either of the system index types `primary` and `edge`
386+
and can be used to cast indexes returned by `collection.indexes`.
387+
406388
- Added `ProcessedResponse` type
407389

408390
This type replaces the previously internal `ArangojsResponse` type and
@@ -477,6 +459,37 @@ for upgrading your code to arangojs v10.
477459
`cause` property. This error is only thrown when `db.waitForPropagation`
478460
is invoked with a `timeout` option and the timeout duration is exceeded.
479461

462+
## [9.3.0] - 2025-01-06
463+
464+
### Added
465+
466+
- Added `db.compact` method (DE-906)
467+
468+
- Added `db.engineStats` method (DE-932)
469+
470+
- Added `db.getLicense` and `db.setLicense` methods (DE-949)
471+
472+
- Added `db.listQueryCacheEntries` method (DE-149)
473+
474+
- Added `db.clearQueryCache` method (DE-148)
475+
476+
- Added `db.getQueryCacheProperties` method (DE-150)
477+
478+
- Added `db.setQueryCacheProperties` method (DE-151)
479+
480+
- Added `collection.shards` method (DE-939)
481+
482+
- Added support for `mdi-prefixed` indexes (DE-956)
483+
484+
- Restored `fulltext` index type support (DE-957)
485+
486+
The `fulltext` index type is still no longer supported for creating new
487+
indexes but can be used to cast existing indexes from `Index`.
488+
489+
- Added support for `edge` indexes (DE-958)
490+
491+
The `Index` type now can also be cast to the `EdgeIndex` type.
492+
480493
## [9.2.0] - 2024-11-27
481494

482495
### Added
@@ -2427,8 +2440,8 @@ For a detailed list of changes between pre-release versions of v7 see the
24272440

24282441
Graph methods now only return the relevant part of the response body.
24292442

2443+
[unreleased]: https://github.com/arangodb/arangojs/compare/v9.3.0...HEAD
24302444
[9.3.0]: https://github.com/arangodb/arangojs/compare/v9.2.0...v9.3.0
2431-
[10.0.0-rc.0]: https://github.com/arangodb/arangojs/compare/v9.2.0...v10.0.0-rc.0
24322445
[9.2.0]: https://github.com/arangodb/arangojs/compare/v9.1.0...v9.2.0
24332446
[9.1.0]: https://github.com/arangodb/arangojs/compare/v9.0.0...v9.1.0
24342447
[9.0.0]: https://github.com/arangodb/arangojs/compare/v8.8.1...v9.0.0

src/administration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ export type LicenseInfo = {
139139
/**
140140
* Information about the server status.
141141
*/
142-
export type ServerStatusInformation = {
142+
export type ServerStatusInfo = {
143143
/**
144144
* (Cluster Coordinators and DB-Servers only.) The address of the server.
145145
*/

src/databases.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ export class Database {
644644
* // serverInfo: detailed information about the server
645645
* ```
646646
*/
647-
status(): Promise<administration.ServerStatusInformation> {
647+
status(): Promise<administration.ServerStatusInfo> {
648648
return this.request({
649649
method: "GET",
650650
pathname: "/_admin/status",

0 commit comments

Comments
 (0)