@feathersjs/mongodb 5.0.0-pre.29 → 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,103 +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.29](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.28...v5.0.0-pre.29) (2022-09-16)
7
-
8
- **Note:** Version bump only for package @feathersjs/mongodb
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)
9
7
 
8
+ ### Features
10
9
 
10
+ - **core:** Allow to unregister services at runtime ([#2756](https://github.com/feathersjs/feathers/issues/2756)) ([d16601f](https://github.com/feathersjs/feathers/commit/d16601f2277dca5357866ffdefba2a611f6dc7fa))
11
11
 
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)
12
13
 
14
+ **Note:** Version bump only for package @feathersjs/mongodb
13
15
 
14
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
 
16
-
17
18
  ### Bug Fixes
18
19
 
19
- * **cli:** Improve generated application and client ([#2701](https://github.com/feathersjs/feathers/issues/2701)) ([bd55ffb](https://github.com/feathersjs/feathers/commit/bd55ffb812e89bf215f4515e7f137656ea888c3f))
20
- * **mongodb:** Ensure transactions are used properly in create ([#2699](https://github.com/feathersjs/feathers/issues/2699)) ([fe22615](https://github.com/feathersjs/feathers/commit/fe22615b7fa17d3c20ac26d6f82097917c9b63f6))
21
-
22
-
23
-
24
-
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))
25
22
 
26
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)
27
24
 
28
25
  **Note:** Version bump only for package @feathersjs/mongodb
29
26
 
30
-
31
-
32
-
33
-
34
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)
35
28
 
36
29
  **Note:** Version bump only for package @feathersjs/mongodb
37
30
 
38
-
39
-
40
-
41
-
42
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)
43
32
 
44
33
  **Note:** Version bump only for package @feathersjs/mongodb
45
34
 
46
-
47
-
48
-
49
-
50
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)
51
36
 
52
-
53
37
  ### Features
54
38
 
55
- * **authentication-local:** Add passwordHash property resolver ([#2660](https://github.com/feathersjs/feathers/issues/2660)) ([b41279b](https://github.com/feathersjs/feathers/commit/b41279b55eea3771a6fa4983a37be2413287bbc6))
56
- * **knex:** Add KnexJS SQL database adapter to core ([#2671](https://github.com/feathersjs/feathers/issues/2671)) ([9380fff](https://github.com/feathersjs/feathers/commit/9380fff58596e8bb90b8bb098d2795b7eadfec20))
57
-
58
-
59
-
60
-
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))
61
41
 
62
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)
63
43
 
64
44
  **Note:** Version bump only for package @feathersjs/mongodb
65
45
 
66
-
67
-
68
-
69
-
70
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)
71
47
 
72
48
  **Note:** Version bump only for package @feathersjs/mongodb
73
49
 
74
-
75
-
76
-
77
-
78
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)
79
51
 
80
-
81
52
  ### Bug Fixes
82
53
 
83
- * **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))
84
-
85
-
86
-
87
-
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))
88
55
 
89
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)
90
57
 
91
-
92
58
  ### Bug Fixes
93
59
 
94
- * **dependencies:** Lock monorepo package version numbers ([#2623](https://github.com/feathersjs/feathers/issues/2623)) ([5640c10](https://github.com/feathersjs/feathers/commit/5640c1020cc139994e695d658c08bad3494db507))
95
-
96
-
97
-
98
-
60
+ - **dependencies:** Lock monorepo package version numbers ([#2623](https://github.com/feathersjs/feathers/issues/2623)) ([5640c10](https://github.com/feathersjs/feathers/commit/5640c1020cc139994e695d658c08bad3494db507))
99
61
 
100
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)
101
63
 
102
-
103
64
  ### Features
104
65
 
105
- * **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.29",
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.29",
55
- "@feathersjs/commons": "^5.0.0-pre.29",
56
- "@feathersjs/errors": "^5.0.0-pre.29",
57
- "@feathersjs/feathers": "^5.0.0-pre.29"
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.29",
64
- "@types/mocha": "^9.1.1",
65
- "@types/node": "^18.7.17",
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.9.1",
67
+ "mongodb-memory-server": "^8.9.3",
68
68
  "shx": "^0.3.4",
69
- "typescript": "^4.8.3"
69
+ "typescript": "^4.8.4"
70
70
  },
71
- "gitHead": "4314dc89a41a8bbaabf00b47697bf7887861d17d"
71
+ "gitHead": "b535c91197f4b997520e0a0e608793eeba791931"
72
72
  }