Skip to content

Commit 2320866

Browse files
committed
chore: Merge with latest dove
2 parents 364aab5 + 83d84f0 commit 2320866

File tree

25 files changed

+4068
-7304
lines changed

25 files changed

+4068
-7304
lines changed

.github/workflows/nodejs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,5 @@ jobs:
1818
node-version: ${{ matrix.node-version }}
1919
- run: npm install
2020
- run: npm test
21+
env:
22+
CI: true

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,20 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [5.0.34](https://github.com/feathersjs/feathers/compare/v5.0.33...v5.0.34) (2025-05-03)
7+
8+
### Bug Fixes
9+
10+
- **knex:** Add support for extended operators in query builder ([#3578](https://github.com/feathersjs/feathers/issues/3578)) ([c355ae3](https://github.com/feathersjs/feathers/commit/c355ae3184f07b15b4a313aa64fb9e7fdd0524d5))
11+
- Update dependencies ([#3584](https://github.com/feathersjs/feathers/issues/3584)) ([119fa4e](https://github.com/feathersjs/feathers/commit/119fa4e1ade8b0078aa235083d566e2538b3a084))
12+
13+
## [5.0.33](https://github.com/feathersjs/feathers/compare/v5.0.32...v5.0.33) (2025-02-24)
14+
15+
### Bug Fixes
16+
17+
- **dependencies:** Update dependencies ([#3571](https://github.com/feathersjs/feathers/issues/3571)) ([ad611cb](https://github.com/feathersjs/feathers/commit/ad611cb6ffb1dc31d603ba5817331318c5a23217))
18+
- **knex:** Add tableOptions parameter for inheritance on knex adapter options to pass on knex builder ([#3539](https://github.com/feathersjs/feathers/issues/3539)) ([ba5621b](https://github.com/feathersjs/feathers/commit/ba5621bfe5e7ab01189b6b7bccb00891bc2b14c7))
19+
620
## [5.0.32](https://github.com/feathersjs/feathers/compare/v5.0.31...v5.0.32) (2025-02-01)
721

822
### Bug Fixes

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
---
66

77
[![CI](https://github.com/feathersjs/feathers/workflows/CI/badge.svg)](https://github.com/feathersjs/feathers/actions?query=workflow%3ACI)
8-
[![Maintainability](https://api.codeclimate.com/v1/badges/cb5ec42a2d0cc1a47a02/maintainability)](https://codeclimate.com/github/feathersjs/feathers/maintainability)
9-
[![Test Coverage](https://api.codeclimate.com/v1/badges/cb5ec42a2d0cc1a47a02/test_coverage)](https://codeclimate.com/github/feathersjs/feathers/test_coverage)
108
[![Download Status](https://img.shields.io/npm/dm/@feathersjs/feathers.svg?style=flat-square)](https://www.npmjs.com/package/@feathersjs/feathers)
119
[![Discord](https://badgen.net/badge/icon/discord?icon=discord&label)](https://discord.gg/qa8kez8QBx)
1210

docs/api/databases/knex.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ The Knex specific adapter options are:
6262
- `Model {Knex}` (**required**) - The KnexJS database instance
6363
- `name {string}` (**required**) - The name of the table
6464
- `schema {string}` (_optional_) - The name of the schema table prefix (example: `schema.table`)
65+
- `tableOptions {only: boolean` (_optional_) - For PostgreSQL only. Argument for passing options to knex db builder. ONLY keyword is used before the tableName to discard inheriting tables' data. (https://knexjs.org/guide/query-builder.html#common)
66+
- `extendedOperators {[string]: string}` (_optional_) - A map defining additional operators for the query builder. Example: `{ $fulltext: '@@' }` for PostgreSQL full text search. See [Knex source](https://github.com/knex/knex/blob/master/lib/formatter/wrappingFormatter.js#L10) for operators supported by Knex.
6567

6668
The [common API options](./common.md#options) are:
6769

docs/api/databases/mongodb.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ The `find` method has been split into separate utilities for converting params i
9090

9191
### Custom Params
9292

93-
The `@feathersjs/mongodb` adapter utilizes three custom params which control adapter-specific features: `params.pipeline`, `params.mongodb`, and `params.adapter`.
93+
The `@feathersjs/mongodb` adapter utilizes three custom params which control adapter-specific features: `params.pipeline`, `params.mongodb`, and `params.adapter`. As mentioned [here](/api/services#params), these custom params are not intended to be used directly from the client. Directly exposing `params.pipeline` or `params.mongodb` to the client directly would expose the entire database to the client through powerful pipeline queries.
9494

9595
#### params.adapter
9696

docs/api/events.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ messages.remove(1)
151151

152152
## Custom events
153153

154-
By default, real-time clients will only receive the [standard events](#service-events). However, it is possible to define a list of custom events that should also be sent to the client when registering the service with [app.use](./application.md##use-path-service-options) when `service.emit('customevent', data)` is called on the server. The `context` for custom events won't be a full hook context but just an object containing `{ app, service, path, result }`.
154+
By default, real-time clients will only receive the [standard events](#service-events). However, it is possible to define a list of custom events that should also be sent to the client when registering the service with [app.use](./application.md##use-path-service-options), when `service.emit('customevent', data)` is called on the server. The `context` for custom events won't be a full hook context but just an object containing `{ app, service, path, result }`.
155155

156156
<BlockQuote type="warning" label="important">
157157

docs/api/express.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ The following options can be passed when creating a new error handler:
524524

525525
### authenticate()
526526

527-
`express.authenticate(...strategies)` allows to protect an Express middleware with an [authentication service](./authentication/service.md) that has [strategies](./authentication/strategy.md) registered that can parse HTTP headers. It will set the authentication information on the `req` object (e.g. `req.user`). The following example protects the `/hello` endpoint with the JWT strategy (so the `Authorization: Bearer <JWT>` header needs to be set) and uses the user email to render the message:
527+
`express.authenticate(...strategies)` allows to protect an Express middleware with an [authentication service](./authentication/service.md) that has [strategies](./authentication/strategy.md) registered that can parse HTTP headers. It will set the authentication information on the `req.feathers` object (e.g. `req.feathers.user`). The following example protects the `/hello` endpoint with the JWT strategy (so the `Authorization: Bearer <JWT>` header needs to be set) and uses the user email to render the message:
528528

529529
```ts
530530
import { authenticate } from '@feathersjs/express'

docs/cookbook/authentication/auth0.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ In `src/authentication.ts` like this:
4040
import { ServiceAddons, Params } from '@feathersjs/feathers';
4141
import { AuthenticationService, JWTStrategy } from '@feathersjs/authentication';
4242
import { LocalStrategy } from '@feathersjs/authentication-local';
43-
import { expressOauth, OAuthStrategy, OAuthProfile } from '@feathersjs/authentication-oauth';
43+
import { oauth, OAuthStrategy, OAuthProfile } from '@feathersjs/authentication-oauth';
4444

4545
import { Application } from './declarations';
4646

@@ -69,7 +69,7 @@ export default function(app: Application) {
6969
authentication.register('auth0', new Auth0Strategy());
7070

7171
app.use('/authentication', authentication);
72-
app.configure(expressOauth());
72+
app.configure(oauth());
7373
}
7474
```
7575

docs/guides/basics/login.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ class GitHubStrategy extends OAuthStrategy {
220220
// The GitHub profile image
221221
avatar: profile.avatar_url,
222222
// The user email address (if available)
223-
email: profile.email
223+
email: profile.email || profile.login
224224
}
225225
}
226226
}

docs/package.json

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -14,36 +14,36 @@
1414
"start": "npm run dev"
1515
},
1616
"dependencies": {
17-
"@vueuse/core": "^12.5.0",
17+
"@vueuse/core": "^13.6.0",
1818
"date-fns": "^4.1.0",
19-
"element-plus": "^2.9.3",
20-
"query-string": "^9.1.1",
21-
"shiki": "^2.2.0",
22-
"vue": "^3.5.13"
19+
"element-plus": "^2.10.5",
20+
"query-string": "^9.2.2",
21+
"shiki": "^3.9.1",
22+
"vue": "^3.5.18"
2323
},
2424
"devDependencies": {
25-
"@feathersjs/generators": "^5.0.31",
26-
"@iconify-json/carbon": "^1.2.5",
27-
"@types/node": "^22.13.0",
28-
"@unocss/preset-typography": "^65.4.3",
29-
"@unocss/reset": "^65.4.3",
30-
"@unocss/transformer-directives": "^65.4.3",
31-
"@vitejs/plugin-vue": "^5.2.1",
25+
"@feathersjs/generators": "^5.0.34",
26+
"@iconify-json/carbon": "^1.2.11",
27+
"@types/node": "^24.1.0",
28+
"@unocss/preset-typography": "^66.4.0",
29+
"@unocss/reset": "^66.4.0",
30+
"@unocss/transformer-directives": "^66.4.0",
31+
"@vitejs/plugin-vue": "^6.0.1",
3232
"esno": "^4.8.0",
3333
"fast-glob": "^3.3.3",
34-
"flexsearch": "^0.7.43",
34+
"flexsearch": "^0.8.205",
3535
"https-localhost": "^4.7.1",
3636
"markdown-it": "^14.1.0",
37-
"sass": "^1.83.4",
37+
"sass": "^1.89.2",
3838
"sitemap": "^8.0.0",
39-
"unocss": "^65.4.3",
40-
"unplugin-auto-import": "^19.0.0",
41-
"unplugin-vue-components": "^28.0.0",
42-
"vite-plugin-pwa": "^0.21.1",
39+
"unocss": "^66.4.0",
40+
"unplugin-auto-import": "^19.3.0",
41+
"unplugin-vue-components": "^28.8.0",
42+
"vite-plugin-pwa": "^1.0.2",
4343
"vitepress": "^1.6.3",
4444
"vitepress-plugin-google-analytics": "^1.0.2",
4545
"vitepress-plugin-search": "^1.0.4-alpha.22",
46-
"vitest": "^3.0.5",
46+
"vitest": "^3.2.4",
4747
"workbox-window": "^7.3.0"
4848
}
4949
}

0 commit comments

Comments
 (0)