@feathersjs/adapter-tests 5.0.0-pre.3 → 5.0.0-pre.31

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,337 +3,315 @@
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.3](https://github.com/feathersjs/databases/compare/v5.0.0-pre.2...v5.0.0-pre.3) (2021-04-21)
6
+ # [5.0.0-pre.31](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.30...v5.0.0-pre.31) (2022-10-12)
7
7
 
8
+ **Note:** Version bump only for package @feathersjs/adapter-tests
8
9
 
9
- ### Bug Fixes
10
+ # [5.0.0-pre.30](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.29...v5.0.0-pre.30) (2022-10-07)
10
11
 
11
- * **typescript:** Improve TypeScript backwards compatibility ([#2310](https://github.com/feathersjs/databases/issues/2310)) ([f33be73](https://github.com/feathersjs/databases/commit/f33be73fc46a533efb15df9aab0658e3240d3897))
12
+ ### Features
12
13
 
14
+ - **core:** Allow to unregister services at runtime ([#2756](https://github.com/feathersjs/feathers/issues/2756)) ([d16601f](https://github.com/feathersjs/feathers/commit/d16601f2277dca5357866ffdefba2a611f6dc7fa))
13
15
 
16
+ # [5.0.0-pre.29](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.28...v5.0.0-pre.29) (2022-09-16)
14
17
 
18
+ **Note:** Version bump only for package @feathersjs/adapter-tests
15
19
 
20
+ # [5.0.0-pre.28](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.27...v5.0.0-pre.28) (2022-08-03)
16
21
 
17
- # [5.0.0-pre.2](https://github.com/feathersjs/databases/compare/v5.0.0-beta.1...v5.0.0-pre.2) (2021-04-06)
22
+ ### Bug Fixes
18
23
 
19
- **Note:** Version bump only for package @feathersjs/adapter-tests
24
+ - **cli:** Improve generated application and client ([#2701](https://github.com/feathersjs/feathers/issues/2701)) ([bd55ffb](https://github.com/feathersjs/feathers/commit/bd55ffb812e89bf215f4515e7f137656ea888c3f))
20
25
 
26
+ # [5.0.0-pre.27](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.26...v5.0.0-pre.27) (2022-07-13)
21
27
 
28
+ **Note:** Version bump only for package @feathersjs/adapter-tests
22
29
 
30
+ # [5.0.0-pre.26](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.25...v5.0.0-pre.26) (2022-06-22)
23
31
 
32
+ **Note:** Version bump only for package @feathersjs/adapter-tests
24
33
 
25
- # [5.0.0-beta.1](https://github.com/feathersjs/databases/compare/v5.0.0-beta.0...v5.0.0-beta.1) (2021-04-03)
34
+ # [5.0.0-pre.25](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.24...v5.0.0-pre.25) (2022-06-22)
26
35
 
36
+ **Note:** Version bump only for package @feathersjs/adapter-tests
27
37
 
28
- ### Bug Fixes
38
+ # [5.0.0-pre.24](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.23...v5.0.0-pre.24) (2022-06-21)
29
39
 
30
- * **adapter-tests:** Add test that verified paginated total ([#2273](https://github.com/feathersjs/databases/issues/2273)) ([879bd6b](https://github.com/feathersjs/databases/commit/879bd6b24f42e04eeeeba110ddddda3e1e1dea34))
40
+ **Note:** Version bump only for package @feathersjs/adapter-tests
31
41
 
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)
32
43
 
44
+ **Note:** Version bump only for package @feathersjs/adapter-tests
33
45
 
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)
34
47
 
48
+ **Note:** Version bump only for package @feathersjs/adapter-tests
35
49
 
36
- # [5.0.0-beta.0](https://github.com/feathersjs/databases/compare/v5.0.0-pre.1...v5.0.0-beta.0) (2021-03-28)
50
+ # [5.0.0-pre.20](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.19...v5.0.0-pre.20) (2022-05-04)
37
51
 
52
+ **Note:** Version bump only for package @feathersjs/adapter-tests
38
53
 
39
- ### Features
54
+ # [5.0.0-pre.19](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.18...v5.0.0-pre.19) (2022-05-01)
40
55
 
41
- * **core:** Remove Uberproto ([#2178](https://github.com/feathersjs/databases/issues/2178)) ([ddf8821](https://github.com/feathersjs/databases/commit/ddf8821f53317e6a378657f7d66acb03a037ee47))
56
+ ### Bug Fixes
42
57
 
58
+ - **adapter-commons:** Clarify adapter query filtering ([#2607](https://github.com/feathersjs/feathers/issues/2607)) ([2dac771](https://github.com/feathersjs/feathers/commit/2dac771b0a3298d6dd25994d05186701b0617718))
59
+ - **adapter-tests:** Ensure multi tests can run standalone ([#2608](https://github.com/feathersjs/feathers/issues/2608)) ([d7243f2](https://github.com/feathersjs/feathers/commit/d7243f20e84d9dde428ad8dfc7f48388ca569e6e))
43
60
 
44
61
  ### BREAKING CHANGES
45
62
 
46
- * **core:** Services no longer extend Uberproto objects and
47
- `service.mixin()` is no longer available.
63
+ - **adapter-commons:** Changes the common adapter base class to use `sanitizeQuery` and `sanitizeData`
48
64
 
65
+ # [5.0.0-pre.18](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.17...v5.0.0-pre.18) (2022-04-11)
49
66
 
67
+ ### Bug Fixes
50
68
 
69
+ - **adapter-tests:** Add tests for pagination in multi updates ([#2472](https://github.com/feathersjs/feathers/issues/2472)) ([98a811a](https://github.com/feathersjs/feathers/commit/98a811ac605575ff812a08d0504729a5efe7a69c))
51
70
 
71
+ # [5.0.0-pre.17](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.16...v5.0.0-pre.17) (2022-02-15)
52
72
 
53
- # [5.0.0-pre.1](https://github.com/feathersjs/databases/compare/v4.5.11...v5.0.0-pre.1) (2020-12-17)
73
+ **Note:** Version bump only for package @feathersjs/adapter-tests
54
74
 
75
+ # [5.0.0-pre.16](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.15...v5.0.0-pre.16) (2022-01-12)
55
76
 
56
- ### Features
77
+ **Note:** Version bump only for package @feathersjs/adapter-tests
57
78
 
58
- * **memory:** Move feathers-memory into @feathersjs/adapter-memory ([#2153](https://github.com/feathersjs/databases/issues/2153)) ([dd61fe3](https://github.com/feathersjs/databases/commit/dd61fe371fb0502f78b8ccbe1f45a030e31ecff6))
79
+ # [5.0.0-pre.15](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.14...v5.0.0-pre.15) (2021-11-27)
59
80
 
81
+ ### Bug Fixes
60
82
 
83
+ - **typescript:** Overall typing improvements ([#2478](https://github.com/feathersjs/feathers/issues/2478)) ([b8eb804](https://github.com/feathersjs/feathers/commit/b8eb804158556d9651a8607e3c3fda15e0bfd110))
61
84
 
85
+ # [5.0.0-pre.14](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.13...v5.0.0-pre.14) (2021-10-13)
62
86
 
87
+ **Note:** Version bump only for package @feathersjs/adapter-tests
63
88
 
64
- ## [4.5.11](https://github.com/feathersjs/databases/compare/v4.5.10...v4.5.11) (2020-12-05)
89
+ # [5.0.0-pre.13](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.12...v5.0.0-pre.13) (2021-10-13)
65
90
 
66
91
  **Note:** Version bump only for package @feathersjs/adapter-tests
67
92
 
93
+ # [5.0.0-pre.12](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.11...v5.0.0-pre.12) (2021-10-12)
68
94
 
95
+ **Note:** Version bump only for package @feathersjs/adapter-tests
69
96
 
97
+ # [5.0.0-pre.11](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.10...v5.0.0-pre.11) (2021-10-06)
70
98
 
99
+ **Note:** Version bump only for package @feathersjs/adapter-tests
71
100
 
72
- ## [4.5.4](https://github.com/feathersjs/databases/compare/@feathersjs/adapter-tests@4.5.3...@feathersjs/adapter-tests@4.5.4) (2020-09-27)
101
+ # [5.0.0-pre.10](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.9...v5.0.0-pre.10) (2021-09-19)
73
102
 
74
103
  **Note:** Version bump only for package @feathersjs/adapter-tests
75
104
 
105
+ # [5.0.0-pre.9](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.8...v5.0.0-pre.9) (2021-08-09)
76
106
 
107
+ **Note:** Version bump only for package @feathersjs/adapter-tests
77
108
 
109
+ # [5.0.0-pre.8](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.7...v5.0.0-pre.8) (2021-08-09)
78
110
 
111
+ **Note:** Version bump only for package @feathersjs/adapter-tests
79
112
 
80
- ## 4.5.3 (2020-09-24)
113
+ # [5.0.0-pre.7](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.6...v5.0.0-pre.7) (2021-08-09)
81
114
 
115
+ **Note:** Version bump only for package @feathersjs/adapter-tests
82
116
 
83
- ### Bug Fixes
117
+ # [5.0.0-pre.6](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.5...v5.0.0-pre.6) (2021-08-08)
84
118
 
85
- * **adapter-tests:** Update multi patch + query tests ([#5](https://github.com/feathersjs/databases/issues/5)) ([84f1fe4](https://github.com/feathersjs/databases/commit/84f1fe4f13dc3a26891e43b965f75d08243f6c6f))
119
+ **Note:** Version bump only for package @feathersjs/adapter-tests
86
120
 
121
+ # [5.0.0-pre.5](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.4...v5.0.0-pre.5) (2021-06-23)
87
122
 
123
+ ### Bug Fixes
88
124
 
125
+ - Update database adapter common repository urls ([#2380](https://github.com/feathersjs/feathers/issues/2380)) ([3f4db68](https://github.com/feathersjs/feathers/commit/3f4db68d6700c7d9023ecd17d0d39893f75a19fd))
89
126
 
127
+ ### Features
90
128
 
91
- ## [4.5.2](https://github.com/feathersjs/feathers/compare/v4.5.1...v4.5.2) (2020-03-04)
129
+ - **adapter-commons:** Add support for params.adapter option and move memory adapter to @feathersjs/memory ([#2367](https://github.com/feathersjs/feathers/issues/2367)) ([a43e7da](https://github.com/feathersjs/feathers/commit/a43e7da22b6b981a96d1321736ea9a0cb924fb4f))
92
130
 
93
- **Note:** Version bump only for package @feathersjs/adapter-tests
131
+ # [5.0.0-pre.4](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.3...v5.0.0-pre.4) (2021-05-13)
94
132
 
133
+ **Note:** Version bump only for package @feathersjs/adapter-tests
95
134
 
135
+ # [5.0.0-pre.3](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.2...v5.0.0-pre.3) (2021-04-21)
96
136
 
137
+ ### Bug Fixes
97
138
 
139
+ - **typescript:** Improve TypeScript backwards compatibility ([#2310](https://github.com/feathersjs/feathers/issues/2310)) ([f33be73](https://github.com/feathersjs/feathers/commit/f33be73fc46a533efb15df9aab0658e3240d3897))
98
140
 
99
- ## [4.5.1](https://github.com/feathersjs/feathers/compare/v4.5.0...v4.5.1) (2020-01-24)
141
+ # [5.0.0-pre.2](https://github.com/feathersjs/feathers/compare/v5.0.0-beta.1...v5.0.0-pre.2) (2021-04-06)
100
142
 
101
143
  **Note:** Version bump only for package @feathersjs/adapter-tests
102
144
 
145
+ # [5.0.0-beta.1](https://github.com/feathersjs/feathers/compare/v5.0.0-beta.0...v5.0.0-beta.1) (2021-04-03)
103
146
 
147
+ ### Bug Fixes
104
148
 
149
+ - **adapter-tests:** Add test that verified paginated total ([#2273](https://github.com/feathersjs/feathers/issues/2273)) ([879bd6b](https://github.com/feathersjs/feathers/commit/879bd6b24f42e04eeeeba110ddddda3e1e1dea34))
105
150
 
151
+ # [5.0.0-beta.0](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.1...v5.0.0-beta.0) (2021-03-28)
106
152
 
107
- # [4.5.0](https://github.com/feathersjs/feathers/compare/v4.4.3...v4.5.0) (2020-01-18)
153
+ ### Features
108
154
 
109
- **Note:** Version bump only for package @feathersjs/adapter-tests
155
+ - **core:** Remove Uberproto ([#2178](https://github.com/feathersjs/feathers/issues/2178)) ([ddf8821](https://github.com/feathersjs/feathers/commit/ddf8821f53317e6a378657f7d66acb03a037ee47))
156
+
157
+ ### BREAKING CHANGES
110
158
 
159
+ - **core:** Services no longer extend Uberproto objects and
160
+ `service.mixin()` is no longer available.
111
161
 
162
+ # [5.0.0-pre.1](https://github.com/feathersjs/feathers/compare/v4.5.11...v5.0.0-pre.1) (2020-12-17)
112
163
 
164
+ ### Features
113
165
 
166
+ - **memory:** Move feathers-memory into @feathersjs/memory ([#2153](https://github.com/feathersjs/feathers/issues/2153)) ([dd61fe3](https://github.com/feathersjs/feathers/commit/dd61fe371fb0502f78b8ccbe1f45a030e31ecff6))
114
167
 
115
- ## [4.4.3](https://github.com/feathersjs/feathers/compare/v4.4.1...v4.4.3) (2019-12-06)
168
+ ## [4.5.11](https://github.com/feathersjs/feathers/compare/v4.5.10...v4.5.11) (2020-12-05)
116
169
 
117
170
  **Note:** Version bump only for package @feathersjs/adapter-tests
118
171
 
172
+ ## [4.5.4](https://github.com/feathersjs/feathers/compare/v4.5.3...v4.5.4) (2020-09-27)
119
173
 
174
+ **Note:** Version bump only for package @feathersjs/adapter-tests
120
175
 
176
+ ## 4.5.3 (2020-09-24)
121
177
 
178
+ ### Bug Fixes
122
179
 
123
- ## [4.4.1](https://github.com/feathersjs/feathers/compare/v4.4.0...v4.4.1) (2019-11-27)
180
+ - **adapter-tests:** Update multi patch + query tests ([#5](https://github.com/feathersjs/databases/issues/5)) ([84f1fe4](https://github.com/feathersjs/databases/commit/84f1fe4f13dc3a26891e43b965f75d08243f6c6f))
181
+
182
+ ## [4.5.2](https://github.com/feathersjs/feathers/compare/v4.5.1...v4.5.2) (2020-03-04)
124
183
 
125
184
  **Note:** Version bump only for package @feathersjs/adapter-tests
126
185
 
186
+ ## [4.5.1](https://github.com/feathersjs/feathers/compare/v4.5.0...v4.5.1) (2020-01-24)
127
187
 
188
+ **Note:** Version bump only for package @feathersjs/adapter-tests
128
189
 
190
+ # [4.5.0](https://github.com/feathersjs/feathers/compare/v4.4.3...v4.5.0) (2020-01-18)
129
191
 
192
+ **Note:** Version bump only for package @feathersjs/adapter-tests
130
193
 
131
- # [4.4.0](https://github.com/feathersjs/feathers/compare/v4.3.11...v4.4.0) (2019-11-27)
194
+ ## [4.4.3](https://github.com/feathersjs/feathers/compare/v4.4.1...v4.4.3) (2019-12-06)
132
195
 
133
196
  **Note:** Version bump only for package @feathersjs/adapter-tests
134
197
 
198
+ ## [4.4.1](https://github.com/feathersjs/feathers/compare/v4.4.0...v4.4.1) (2019-11-27)
135
199
 
200
+ **Note:** Version bump only for package @feathersjs/adapter-tests
136
201
 
202
+ # [4.4.0](https://github.com/feathersjs/feathers/compare/v4.3.11...v4.4.0) (2019-11-27)
137
203
 
204
+ **Note:** Version bump only for package @feathersjs/adapter-tests
138
205
 
139
206
  ## [4.3.11](https://github.com/feathersjs/feathers/compare/v4.3.10...v4.3.11) (2019-11-11)
140
207
 
141
208
  **Note:** Version bump only for package @feathersjs/adapter-tests
142
209
 
143
-
144
-
145
-
146
-
147
210
  ## [4.3.10](https://github.com/feathersjs/feathers/compare/v4.3.9...v4.3.10) (2019-10-26)
148
211
 
149
212
  **Note:** Version bump only for package @feathersjs/adapter-tests
150
213
 
151
-
152
-
153
-
154
-
155
214
  ## [4.3.9](https://github.com/feathersjs/feathers/compare/v4.3.8...v4.3.9) (2019-10-26)
156
215
 
157
216
  **Note:** Version bump only for package @feathersjs/adapter-tests
158
217
 
159
-
160
-
161
-
162
-
163
218
  ## [4.3.7](https://github.com/feathersjs/feathers/compare/v4.3.6...v4.3.7) (2019-10-14)
164
219
 
165
220
  **Note:** Version bump only for package @feathersjs/adapter-tests
166
221
 
167
-
168
-
169
-
170
-
171
222
  ## [4.3.4](https://github.com/feathersjs/feathers/compare/v4.3.3...v4.3.4) (2019-10-03)
172
223
 
173
224
  **Note:** Version bump only for package @feathersjs/adapter-tests
174
225
 
175
-
176
-
177
-
178
-
179
226
  ## [4.3.3](https://github.com/feathersjs/feathers/compare/v4.3.2...v4.3.3) (2019-09-21)
180
227
 
181
228
  **Note:** Version bump only for package @feathersjs/adapter-tests
182
229
 
183
-
184
-
185
-
186
-
187
230
  ## [4.3.2](https://github.com/feathersjs/feathers/compare/v4.3.1...v4.3.2) (2019-09-16)
188
231
 
189
232
  **Note:** Version bump only for package @feathersjs/adapter-tests
190
233
 
191
-
192
-
193
-
194
-
195
234
  ## [4.3.1](https://github.com/feathersjs/feathers/compare/v4.3.0...v4.3.1) (2019-09-09)
196
235
 
197
236
  **Note:** Version bump only for package @feathersjs/adapter-tests
198
237
 
199
-
200
-
201
-
202
-
203
238
  # [4.3.0](https://github.com/feathersjs/feathers/compare/v4.3.0-pre.4...v4.3.0) (2019-08-27)
204
239
 
205
240
  **Note:** Version bump only for package @feathersjs/adapter-tests
206
241
 
207
-
208
-
209
-
210
-
211
242
  # [4.3.0-pre.4](https://github.com/feathersjs/feathers/compare/v4.3.0-pre.3...v4.3.0-pre.4) (2019-08-22)
212
243
 
213
244
  **Note:** Version bump only for package @feathersjs/adapter-tests
214
245
 
215
-
216
-
217
-
218
-
219
246
  # [4.3.0-pre.3](https://github.com/feathersjs/feathers/compare/v4.3.0-pre.2...v4.3.0-pre.3) (2019-08-19)
220
247
 
221
248
  **Note:** Version bump only for package @feathersjs/adapter-tests
222
249
 
223
-
224
-
225
-
226
-
227
250
  # [4.3.0-pre.2](https://github.com/feathersjs/feathers/compare/v4.3.0-pre.1...v4.3.0-pre.2) (2019-08-02)
228
251
 
229
252
  **Note:** Version bump only for package @feathersjs/adapter-tests
230
253
 
231
-
232
-
233
-
234
-
235
254
  # [4.3.0-pre.1](https://github.com/feathersjs/feathers/compare/v4.0.0-pre.5...v4.3.0-pre.1) (2019-07-11)
236
255
 
237
256
  **Note:** Version bump only for package @feathersjs/adapter-tests
238
257
 
239
-
240
-
241
-
242
-
243
258
  # [4.0.0-pre.5](https://github.com/feathersjs/feathers/compare/v4.0.0-pre.4...v4.0.0-pre.5) (2019-07-10)
244
259
 
245
-
246
260
  ### Bug Fixes
247
261
 
248
- * Fix feathers-memory dependency that did not get updated ([9422b13](https://github.com/feathersjs/feathers/commit/9422b13))
249
-
250
-
251
-
252
-
262
+ - Fix feathers-memory dependency that did not get updated ([9422b13](https://github.com/feathersjs/feathers/commit/9422b13))
253
263
 
254
264
  # [4.0.0-pre.4](https://github.com/feathersjs/feathers/compare/v4.0.0-pre.3...v4.0.0-pre.4) (2019-07-05)
255
265
 
256
266
  **Note:** Version bump only for package @feathersjs/adapter-tests
257
267
 
258
-
259
-
260
-
261
-
262
268
  # [4.0.0-pre.3](https://github.com/feathersjs/feathers/compare/v4.0.0-pre.2...v4.0.0-pre.3) (2019-06-01)
263
269
 
264
-
265
270
  ### Bug Fixes
266
271
 
267
- * Update dependencies and fix tests ([#1373](https://github.com/feathersjs/feathers/issues/1373)) ([d743a7f](https://github.com/feathersjs/feathers/commit/d743a7f))
268
-
269
-
270
-
271
-
272
+ - Update dependencies and fix tests ([#1373](https://github.com/feathersjs/feathers/issues/1373)) ([d743a7f](https://github.com/feathersjs/feathers/commit/d743a7f))
272
273
 
273
274
  # [4.0.0-pre.2](https://github.com/feathersjs/feathers/compare/v4.0.0-pre.1...v4.0.0-pre.2) (2019-05-15)
274
275
 
275
276
  **Note:** Version bump only for package @feathersjs/adapter-tests
276
277
 
277
-
278
-
279
-
280
-
281
278
  # [4.0.0-pre.1](https://github.com/feathersjs/feathers/compare/v4.0.0-pre.0...v4.0.0-pre.1) (2019-05-08)
282
279
 
283
280
  **Note:** Version bump only for package @feathersjs/adapter-tests
284
281
 
285
-
286
-
287
-
288
-
289
282
  # [4.0.0-pre.0](https://github.com/feathersjs/feathers/compare/v3.2.0-pre.1...v4.0.0-pre.0) (2019-04-21)
290
283
 
291
-
292
284
  ### Bug Fixes
293
285
 
294
- * Add test to make sure different id in adapter query works ([#1165](https://github.com/feathersjs/feathers/issues/1165)) ([0ba4580](https://github.com/feathersjs/feathers/commit/0ba4580))
295
- * Update adapter tests to not rely on error instance ([#1202](https://github.com/feathersjs/feathers/issues/1202)) ([6885e0e](https://github.com/feathersjs/feathers/commit/6885e0e))
296
- * Update all dependencies to latest ([#1206](https://github.com/feathersjs/feathers/issues/1206)) ([e51e0f6](https://github.com/feathersjs/feathers/commit/e51e0f6))
297
-
286
+ - Add test to make sure different id in adapter query works ([#1165](https://github.com/feathersjs/feathers/issues/1165)) ([0ba4580](https://github.com/feathersjs/feathers/commit/0ba4580))
287
+ - Update adapter tests to not rely on error instance ([#1202](https://github.com/feathersjs/feathers/issues/1202)) ([6885e0e](https://github.com/feathersjs/feathers/commit/6885e0e))
288
+ - Update all dependencies to latest ([#1206](https://github.com/feathersjs/feathers/issues/1206)) ([e51e0f6](https://github.com/feathersjs/feathers/commit/e51e0f6))
298
289
 
299
290
  ### chore
300
291
 
301
- * **package:** Move adapter tests into their own module ([#1164](https://github.com/feathersjs/feathers/issues/1164)) ([dcc1e6b](https://github.com/feathersjs/feathers/commit/dcc1e6b))
302
-
292
+ - **package:** Move adapter tests into their own module ([#1164](https://github.com/feathersjs/feathers/issues/1164)) ([dcc1e6b](https://github.com/feathersjs/feathers/commit/dcc1e6b))
303
293
 
304
294
  ### Features
305
295
 
306
- * Add TypeScript definitions ([#1275](https://github.com/feathersjs/feathers/issues/1275)) ([9dd6713](https://github.com/feathersjs/feathers/commit/9dd6713))
307
- * Authentication v3 core server implementation ([#1205](https://github.com/feathersjs/feathers/issues/1205)) ([1bd7591](https://github.com/feathersjs/feathers/commit/1bd7591))
308
-
296
+ - Add TypeScript definitions ([#1275](https://github.com/feathersjs/feathers/issues/1275)) ([9dd6713](https://github.com/feathersjs/feathers/commit/9dd6713))
297
+ - Authentication v3 core server implementation ([#1205](https://github.com/feathersjs/feathers/issues/1205)) ([1bd7591](https://github.com/feathersjs/feathers/commit/1bd7591))
309
298
 
310
299
  ### BREAKING CHANGES
311
300
 
312
- * **package:** Removes adapter tests from @feathersjs/adapter-commons
313
-
314
-
315
-
316
-
301
+ - **package:** Removes adapter tests from @feathersjs/adapter-commons
317
302
 
318
303
  ## [1.0.1](https://github.com/feathersjs/feathers/compare/@feathersjs/adapter-tests@1.0.0...@feathersjs/adapter-tests@1.0.1) (2019-01-10)
319
304
 
320
-
321
305
  ### Bug Fixes
322
306
 
323
- * Add test to make sure different id in adapter query works ([#1165](https://github.com/feathersjs/feathers/issues/1165)) ([0ba4580](https://github.com/feathersjs/feathers/commit/0ba4580))
324
-
325
-
326
-
327
-
307
+ - Add test to make sure different id in adapter query works ([#1165](https://github.com/feathersjs/feathers/issues/1165)) ([0ba4580](https://github.com/feathersjs/feathers/commit/0ba4580))
328
308
 
329
309
  # 1.0.0 (2019-01-10)
330
310
 
331
-
332
311
  ### chore
333
312
 
334
- * **package:** Move adapter tests into their own module ([#1164](https://github.com/feathersjs/feathers/issues/1164)) ([dcc1e6b](https://github.com/feathersjs/feathers/commit/dcc1e6b))
335
-
313
+ - **package:** Move adapter tests into their own module ([#1164](https://github.com/feathersjs/feathers/issues/1164)) ([dcc1e6b](https://github.com/feathersjs/feathers/commit/dcc1e6b))
336
314
 
337
315
  ### BREAKING CHANGES
338
316
 
339
- * **package:** Removes adapter tests from @feathersjs/adapter-commons
317
+ - **package:** Removes adapter tests from @feathersjs/adapter-commons
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2021 Feathers
3
+ Copyright (c) 2022 Feathers
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # Feathers Adapter Tests
2
2
 
3
3
  [![CI](https://github.com/feathersjs/feathers/workflows/Node.js%20CI/badge.svg)](https://github.com/feathersjs/feathers/actions?query=workflow%3A%22Node.js+CI%22)
4
- [![Dependency Status](https://img.shields.io/david/feathersjs/feathers.svg?style=flat-square&path=packages/adapter-tests)](https://david-dm.org/feathersjs/feathers?path=packages/adapter-tests)
5
4
  [![Download Status](https://img.shields.io/npm/dm/@feathersjs/adapter-commons.svg?style=flat-square)](https://www.npmjs.com/package/@feathersjs/adapter-commons)
5
+ [![Discord](https://badgen.net/badge/icon/discord?icon=discord&label)](https://discord.gg/qa8kez8QBx)
6
6
 
7
7
  > Feathers shared database adapter test suite
8
8
 
@@ -16,6 +16,6 @@ This is a repository that contains the test suite for the common database adapte
16
16
 
17
17
  ## License
18
18
 
19
- Copyright (c) 2021 [Feathers contributors](https://github.com/feathersjs/feathers/graphs/contributors)
19
+ Copyright (c) 2022 [Feathers contributors](https://github.com/feathersjs/feathers/graphs/contributors)
20
20
 
21
21
  Licensed under the [MIT license](LICENSE).
package/lib/basic.d.ts CHANGED
@@ -1,2 +1,3 @@
1
- declare const _default: (test: any, app: any, _errors: any, serviceName: string, idProp: string) => void;
1
+ import { AdapterBasicTest } from './declarations';
2
+ declare const _default: (test: AdapterBasicTest, app: any, _errors: any, serviceName: string, idProp: string) => void;
2
3
  export default _default;
package/lib/basic.js CHANGED
@@ -38,6 +38,24 @@ exports.default = (test, app, _errors, serviceName, idProp) => {
38
38
  test('._remove', () => {
39
39
  assert_1.default.strictEqual(typeof service._remove, 'function');
40
40
  });
41
+ test('.$get', () => {
42
+ assert_1.default.strictEqual(typeof service.$get, 'function');
43
+ });
44
+ test('.$find', () => {
45
+ assert_1.default.strictEqual(typeof service.$find, 'function');
46
+ });
47
+ test('.$create', () => {
48
+ assert_1.default.strictEqual(typeof service.$create, 'function');
49
+ });
50
+ test('.$update', () => {
51
+ assert_1.default.strictEqual(typeof service.$update, 'function');
52
+ });
53
+ test('.$patch', () => {
54
+ assert_1.default.strictEqual(typeof service.$patch, 'function');
55
+ });
56
+ test('.$remove', () => {
57
+ assert_1.default.strictEqual(typeof service.$remove, 'function');
58
+ });
41
59
  });
42
60
  });
43
61
  };
package/lib/basic.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"basic.js","sourceRoot":"","sources":["../src/basic.ts"],"names":[],"mappings":";;;;;AAAA,oDAA4B;AAE5B,kBAAe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C,OAAO,OAAO,CAAC,KAAK,EAAE,UAAU,CAAC,CAAA;YACtD,CAAC,CAAC,CAAA;YAEF,IAAI,CAAC,UAAU,EAAE,GAAG,EAAE;gBACpB,gBAAM,CAAC,WAAW,CAAC,OAAO,OAAO,CAAC,OAAO,EAAE,UAAU,CAAC,CAAA;YACxD,CAAC,CAAC,CAAA;YAEF,IAAI,CAAC,UAAU,EAAE,GAAG,EAAE;gBACpB,gBAAM,CAAC,WAAW,CAAC,OAAO,OAAO,CAAC,OAAO,EAAE,UAAU,CAAC,CAAA;YACxD,CAAC,CAAC,CAAA;YAEF,IAAI,CAAC,SAAS,EAAE,GAAG,EAAE;gBACnB,gBAAM,CAAC,WAAW,CAAC,OAAO,OAAO,CAAC,MAAM,EAAE,UAAU,CAAC,CAAA;YACvD,CAAC,CAAC,CAAA;YAEF,IAAI,CAAC,UAAU,EAAE,GAAG,EAAE;gBACpB,gBAAM,CAAC,WAAW,CAAC,OAAO,OAAO,CAAC,OAAO,EAAE,UAAU,CAAC,CAAA;YACxD,CAAC,CAAC,CAAA;QACJ,CAAC,CAAC,CAAA;IACJ,CAAC,CAAC,CAAA;AACJ,CAAC,CAAA"}
@@ -0,0 +1,8 @@
1
+ export declare type AdapterTest = (name: AdapterTestName, runner: any) => void;
2
+ export declare type AdapterBasicTest = (name: AdapterBasicTestName, runner: any) => void;
3
+ export declare type AdapterMethodsTest = (name: AdapterMethodsTestName, runner: any) => void;
4
+ export declare type AdapterSyntaxTest = (name: AdapterSyntaxTestName, runner: any) => void;
5
+ export declare type AdapterTestName = AdapterBasicTestName | AdapterMethodsTestName | AdapterSyntaxTestName;
6
+ export declare type AdapterBasicTestName = '.id' | '.options' | '.events' | '._get' | '._find' | '._create' | '._update' | '._patch' | '._remove' | '.$get' | '.$find' | '.$create' | '.$update' | '.$patch' | '.$remove';
7
+ export declare type AdapterMethodsTestName = '.get' | '.get + $select' | '.get + id + query' | '.get + NotFound' | '.get + id + query id' | '.find' | '.remove' | '.remove + $select' | '.remove + id + query' | '.remove + multi' | '.remove + multi no pagination' | '.remove + id + query id' | '.update' | '.update + $select' | '.update + id + query' | '.update + NotFound' | '.update + query + NotFound' | '.update + id + query id' | '.patch' | '.patch + $select' | '.patch + id + query' | '.patch multiple' | '.patch multiple no pagination' | '.patch multi query same' | '.patch multi query changed' | '.patch + NotFound' | '.patch + query + NotFound' | '.patch + id + query id' | '.create' | '.create + $select' | '.create multi' | 'internal .find' | 'internal .get' | 'internal .create' | 'internal .update' | 'internal .patch' | 'internal .remove';
8
+ export declare type AdapterSyntaxTestName = '.find + equal' | '.find + equal multiple' | '.find + $sort' | '.find + $sort + string' | '.find + $limit' | '.find + $limit 0' | '.find + $skip' | '.find + $select' | '.find + $or' | '.find + $in' | '.find + $nin' | '.find + $lt' | '.find + $lte' | '.find + $gt' | '.find + $gte' | '.find + $ne' | '.find + $gt + $lt + $sort' | '.find + $or nested + $sort' | 'params.adapter + paginate' | 'params.adapter + multi' | '.find + paginate' | '.find + paginate + query' | '.find + paginate + $limit + $skip' | '.find + paginate + $limit 0' | '.find + paginate + params';
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=declarations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"declarations.js","sourceRoot":"","sources":["../src/declarations.ts"],"names":[],"mappings":""}
package/lib/index.d.ts CHANGED
@@ -1,2 +1,4 @@
1
- declare const adapterTests: (testNames: string[]) => (app: any, errors: any, serviceName: any, idProp?: string) => void;
2
- export = adapterTests;
1
+ import { AdapterTestName } from './declarations';
2
+ declare const adapterTests: (testNames: AdapterTestName[]) => (app: any, errors: any, serviceName: any, idProp?: string) => void;
3
+ export * from './declarations';
4
+ export default adapterTests;
package/lib/index.js CHANGED
@@ -1,7 +1,22 @@
1
1
  "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
2
16
  var __importDefault = (this && this.__importDefault) || function (mod) {
3
17
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
18
  };
19
+ Object.defineProperty(exports, "__esModule", { value: true });
5
20
  /* eslint-disable no-console */
6
21
  const basic_1 = __importDefault(require("./basic"));
7
22
  const methods_1 = __importDefault(require("./methods"));
@@ -24,8 +39,7 @@ const adapterTests = (testNames) => {
24
39
  };
25
40
  describe(`Adapter tests for '${serviceName}' service with '${idProp}' id property`, () => {
26
41
  after(() => {
27
- console.log('\n');
28
- testNames.forEach(name => {
42
+ testNames.forEach((name) => {
29
43
  if (!allTests.includes(name)) {
30
44
  console.error(`WARNING: '${name}' test is not part of the test suite`);
31
45
  }
@@ -35,11 +49,15 @@ const adapterTests = (testNames) => {
35
49
  console.log(JSON.stringify(skippedTests, null, ' '));
36
50
  }
37
51
  });
38
- basic_1.default(test, app, errors, serviceName, idProp);
39
- methods_1.default(test, app, errors, serviceName, idProp);
40
- syntax_1.default(test, app, errors, serviceName, idProp);
52
+ (0, basic_1.default)(test, app, errors, serviceName, idProp);
53
+ (0, methods_1.default)(test, app, errors, serviceName, idProp);
54
+ (0, syntax_1.default)(test, app, errors, serviceName, idProp);
41
55
  });
42
56
  };
43
57
  };
44
- module.exports = adapterTests;
58
+ __exportStar(require("./declarations"), exports);
59
+ exports.default = adapterTests;
60
+ if (typeof module !== 'undefined') {
61
+ module.exports = Object.assign(adapterTests, module.exports);
62
+ }
45
63
  //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AAA;AAE3B,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE;IACjC,MAAM,CAAC,OAAO,GAAG,MAAM,CAAC,MAAM,CAAC,YAAY,EAAE,MAAM,CAAC,OAAO,CAAC,CAAA;CAC7D"}
package/lib/methods.d.ts CHANGED
@@ -1,2 +1,3 @@
1
- declare const _default: (test: any, app: any, _errors: any, serviceName: string, idProp: string) => void;
1
+ import { AdapterMethodsTest } from './declarations';
2
+ declare const _default: (test: AdapterMethodsTest, app: any, _errors: any, serviceName: string, idProp: string) => void;
2
3
  export default _default;