@feathersjs/mongodb 5.0.0-pre.28 → 5.0.0-pre.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,95 +3,64 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- # [5.0.0-pre.28](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.27...v5.0.0-pre.28) (2022-08-03)
6
+ # [5.0.0-pre.30](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.29...v5.0.0-pre.30) (2022-10-07)
7
7
 
8
+ ### Features
8
9
 
9
- ### Bug Fixes
10
+ - **core:** Allow to unregister services at runtime ([#2756](https://github.com/feathersjs/feathers/issues/2756)) ([d16601f](https://github.com/feathersjs/feathers/commit/d16601f2277dca5357866ffdefba2a611f6dc7fa))
10
11
 
11
- * **cli:** Improve generated application and client ([#2701](https://github.com/feathersjs/feathers/issues/2701)) ([bd55ffb](https://github.com/feathersjs/feathers/commit/bd55ffb812e89bf215f4515e7f137656ea888c3f))
12
- * **mongodb:** Ensure transactions are used properly in create ([#2699](https://github.com/feathersjs/feathers/issues/2699)) ([fe22615](https://github.com/feathersjs/feathers/commit/fe22615b7fa17d3c20ac26d6f82097917c9b63f6))
12
+ # [5.0.0-pre.29](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.28...v5.0.0-pre.29) (2022-09-16)
13
13
 
14
+ **Note:** Version bump only for package @feathersjs/mongodb
14
15
 
16
+ # [5.0.0-pre.28](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.27...v5.0.0-pre.28) (2022-08-03)
15
17
 
18
+ ### Bug Fixes
16
19
 
20
+ - **cli:** Improve generated application and client ([#2701](https://github.com/feathersjs/feathers/issues/2701)) ([bd55ffb](https://github.com/feathersjs/feathers/commit/bd55ffb812e89bf215f4515e7f137656ea888c3f))
21
+ - **mongodb:** Ensure transactions are used properly in create ([#2699](https://github.com/feathersjs/feathers/issues/2699)) ([fe22615](https://github.com/feathersjs/feathers/commit/fe22615b7fa17d3c20ac26d6f82097917c9b63f6))
17
22
 
18
23
  # [5.0.0-pre.27](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.26...v5.0.0-pre.27) (2022-07-13)
19
24
 
20
25
  **Note:** Version bump only for package @feathersjs/mongodb
21
26
 
22
-
23
-
24
-
25
-
26
27
  # [5.0.0-pre.26](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.25...v5.0.0-pre.26) (2022-06-22)
27
28
 
28
29
  **Note:** Version bump only for package @feathersjs/mongodb
29
30
 
30
-
31
-
32
-
33
-
34
31
  # [5.0.0-pre.25](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.24...v5.0.0-pre.25) (2022-06-22)
35
32
 
36
33
  **Note:** Version bump only for package @feathersjs/mongodb
37
34
 
38
-
39
-
40
-
41
-
42
35
  # [5.0.0-pre.24](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.23...v5.0.0-pre.24) (2022-06-21)
43
36
 
44
-
45
37
  ### Features
46
38
 
47
- * **authentication-local:** Add passwordHash property resolver ([#2660](https://github.com/feathersjs/feathers/issues/2660)) ([b41279b](https://github.com/feathersjs/feathers/commit/b41279b55eea3771a6fa4983a37be2413287bbc6))
48
- * **knex:** Add KnexJS SQL database adapter to core ([#2671](https://github.com/feathersjs/feathers/issues/2671)) ([9380fff](https://github.com/feathersjs/feathers/commit/9380fff58596e8bb90b8bb098d2795b7eadfec20))
49
-
50
-
51
-
52
-
39
+ - **authentication-local:** Add passwordHash property resolver ([#2660](https://github.com/feathersjs/feathers/issues/2660)) ([b41279b](https://github.com/feathersjs/feathers/commit/b41279b55eea3771a6fa4983a37be2413287bbc6))
40
+ - **knex:** Add KnexJS SQL database adapter to core ([#2671](https://github.com/feathersjs/feathers/issues/2671)) ([9380fff](https://github.com/feathersjs/feathers/commit/9380fff58596e8bb90b8bb098d2795b7eadfec20))
53
41
 
54
42
  # [5.0.0-pre.23](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.22...v5.0.0-pre.23) (2022-06-06)
55
43
 
56
44
  **Note:** Version bump only for package @feathersjs/mongodb
57
45
 
58
-
59
-
60
-
61
-
62
46
  # [5.0.0-pre.22](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.21...v5.0.0-pre.22) (2022-05-24)
63
47
 
64
48
  **Note:** Version bump only for package @feathersjs/mongodb
65
49
 
66
-
67
-
68
-
69
-
70
50
  # [5.0.0-pre.21](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.20...v5.0.0-pre.21) (2022-05-23)
71
51
 
72
-
73
52
  ### Bug Fixes
74
53
 
75
- * **typescript:** Make additional types generic to work with extended types ([#2625](https://github.com/feathersjs/feathers/issues/2625)) ([269fdec](https://github.com/feathersjs/feathers/commit/269fdecc5961092dc8608b3cbe16f433c80bfa96))
76
-
77
-
78
-
79
-
54
+ - **typescript:** Make additional types generic to work with extended types ([#2625](https://github.com/feathersjs/feathers/issues/2625)) ([269fdec](https://github.com/feathersjs/feathers/commit/269fdecc5961092dc8608b3cbe16f433c80bfa96))
80
55
 
81
56
  # [5.0.0-pre.20](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.19...v5.0.0-pre.20) (2022-05-04)
82
57
 
83
-
84
58
  ### Bug Fixes
85
59
 
86
- * **dependencies:** Lock monorepo package version numbers ([#2623](https://github.com/feathersjs/feathers/issues/2623)) ([5640c10](https://github.com/feathersjs/feathers/commit/5640c1020cc139994e695d658c08bad3494db507))
87
-
88
-
89
-
90
-
60
+ - **dependencies:** Lock monorepo package version numbers ([#2623](https://github.com/feathersjs/feathers/issues/2623)) ([5640c10](https://github.com/feathersjs/feathers/commit/5640c1020cc139994e695d658c08bad3494db507))
91
61
 
92
62
  # [5.0.0-pre.19](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.18...v5.0.0-pre.19) (2022-05-01)
93
63
 
94
-
95
64
  ### Features
96
65
 
97
- * **mongodb:** Add feathers-mongodb adapter as @feathersjs/mongodb ([#2610](https://github.com/feathersjs/feathers/issues/2610)) ([6d43734](https://github.com/feathersjs/feathers/commit/6d43734a53db02c435cafc52a22dca414e5d0940))
66
+ - **mongodb:** Add feathers-mongodb adapter as @feathersjs/mongodb ([#2610](https://github.com/feathersjs/feathers/issues/2610)) ([6d43734](https://github.com/feathersjs/feathers/commit/6d43734a53db02c435cafc52a22dca414e5d0940))
package/lib/adapter.d.ts CHANGED
@@ -11,7 +11,7 @@ export interface MongoDBAdapterParams<Q = AdapterQuery> extends AdapterParams<Q,
11
11
  }
12
12
  export declare class MongoDbAdapter<T, D = Partial<T>, P extends MongoDBAdapterParams<any> = MongoDBAdapterParams> extends AdapterBase<T, D, P, MongoDBAdapterOptions> {
13
13
  constructor(options: MongoDBAdapterOptions);
14
- getObjectId(id: Id | ObjectId): ObjectId | Id;
14
+ getObjectId(id: Id | ObjectId): Id | ObjectId;
15
15
  filterQuery(id: NullableId, params: P): {
16
16
  filters: {
17
17
  $select: string[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@feathersjs/mongodb",
3
3
  "description": "Feathers MongoDB service adapter",
4
- "version": "5.0.0-pre.28",
4
+ "version": "5.0.0-pre.30",
5
5
  "homepage": "https://feathersjs.com",
6
6
  "main": "lib/",
7
7
  "keywords": [
@@ -40,7 +40,7 @@
40
40
  ],
41
41
  "scripts": {
42
42
  "prepublish": "npm run compile",
43
- "pack": "npm pack --pack-destination ../cli/test",
43
+ "pack": "npm pack --pack-destination ../cli/test/build",
44
44
  "compile": "shx rm -rf lib/ && tsc && npm run pack",
45
45
  "test": "mocha --config ../../.mocharc.json --recursive test/**.test.ts test/**/*.test.ts"
46
46
  },
@@ -51,22 +51,22 @@
51
51
  "access": "public"
52
52
  },
53
53
  "dependencies": {
54
- "@feathersjs/adapter-commons": "^5.0.0-pre.28",
55
- "@feathersjs/commons": "^5.0.0-pre.28",
56
- "@feathersjs/errors": "^5.0.0-pre.28",
57
- "@feathersjs/feathers": "^5.0.0-pre.28"
54
+ "@feathersjs/adapter-commons": "^5.0.0-pre.30",
55
+ "@feathersjs/commons": "^5.0.0-pre.30",
56
+ "@feathersjs/errors": "^5.0.0-pre.30",
57
+ "@feathersjs/feathers": "^5.0.0-pre.30"
58
58
  },
59
59
  "peerDependencies": {
60
60
  "mongodb": "^4.5.0"
61
61
  },
62
62
  "devDependencies": {
63
- "@feathersjs/adapter-tests": "^5.0.0-pre.28",
64
- "@types/mocha": "^9.1.1",
65
- "@types/node": "^18.6.3",
63
+ "@feathersjs/adapter-tests": "^5.0.0-pre.30",
64
+ "@types/mocha": "^10.0.0",
65
+ "@types/node": "^18.8.2",
66
66
  "mocha": "^10.0.0",
67
- "mongodb-memory-server": "^8.8.0",
67
+ "mongodb-memory-server": "^8.9.3",
68
68
  "shx": "^0.3.4",
69
- "typescript": "^4.7.4"
69
+ "typescript": "^4.8.4"
70
70
  },
71
- "gitHead": "bf8e54fddc14d688ba8f505e72c9630a71656ff1"
71
+ "gitHead": "b535c91197f4b997520e0a0e608793eeba791931"
72
72
  }