diff --git a/changelog.md b/changelog.md index 1ed8f15482..5c0251cd6a 100644 --- a/changelog.md +++ b/changelog.md @@ -3,6 +3,27 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [4.4.0](https://github.com/feathersjs/feathers/compare/v4.3.11...v4.4.0) (2019-11-27) + + +### Bug Fixes + +* **authentication-client:** Reset authentication promise on socket disconnect ([#1696](https://github.com/feathersjs/feathers/issues/1696)) ([3951626](https://github.com/feathersjs/feathers/commit/395162633ff22e95833a3c2900cb9464bb5b056f)) +* **core:** Improve hook missing parameter message by adding the service name ([#1703](https://github.com/feathersjs/feathers/issues/1703)) ([2331c2a](https://github.com/feathersjs/feathers/commit/2331c2a3dd70d432db7d62a76ed805d359cbbba5)) +* **rest-client:** Allow to customize getting the query ([#1594](https://github.com/feathersjs/feathers/issues/1594)) ([5f21272](https://github.com/feathersjs/feathers/commit/5f212729849414c4da6f0d51edd1986feca992ee)) +* **transport-commons:** Allow to properly chain SocketIo client.off ([#1706](https://github.com/feathersjs/feathers/issues/1706)) ([a4aecbc](https://github.com/feathersjs/feathers/commit/a4aecbcd3578c1cf4ecffb3a58fb6d26e15ee513)) +* **typescript:** Allow specific service typings for `Hook` and `HookContext` ([#1688](https://github.com/feathersjs/feathers/issues/1688)) ([f5d0ddd](https://github.com/feathersjs/feathers/commit/f5d0ddd9724bf5778355535d2103d59daaad6294)) + + +### Features + +* **authentication:** Add parseStrategies to allow separate strategies for creating JWTs and parsing headers ([#1708](https://github.com/feathersjs/feathers/issues/1708)) ([5e65629](https://github.com/feathersjs/feathers/commit/5e65629b924724c3e81d7c81df047e123d1c8bd7)) +* **authentication-oauth:** Set oAuth redirect URL dynamically ([#1608](https://github.com/feathersjs/feathers/issues/1608)) ([1293e08](https://github.com/feathersjs/feathers/commit/1293e088abbb3d23f4a44680836645a8049ceaae)) + + + + + ## [4.3.11](https://github.com/feathersjs/feathers/compare/v4.3.10...v4.3.11) (2019-11-11) diff --git a/lerna.json b/lerna.json index 7074634d2f..003569b7fd 100644 --- a/lerna.json +++ b/lerna.json @@ -3,7 +3,7 @@ "packages": [ "packages/*" ], - "version": "4.4.0", + "version": "4.4.1", "command": { "bootstrap": { "hoist": true @@ -22,7 +22,6 @@ "**/yarn.lock", "**/test/**", "lerna.json", - "readme.md", - "package.json" + "readme.md" ] } diff --git a/package.json b/package.json index 5288690f90..5a9f65e3ea 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "url": "https://github.com/feathersjs/feathers/issues" }, "engines": { - "node": ">= 12" + "node": ">= 10" }, "scripts": { "install": "lerna bootstrap", diff --git a/packages/adapter-commons/CHANGELOG.md b/packages/adapter-commons/CHANGELOG.md index d04415a62a..34c98d8d93 100644 --- a/packages/adapter-commons/CHANGELOG.md +++ b/packages/adapter-commons/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.4.1](https://github.com/feathersjs/feathers/compare/v4.4.0...v4.4.1) (2019-11-27) + +**Note:** Version bump only for package @feathersjs/adapter-commons + + + + + # [4.4.0](https://github.com/feathersjs/feathers/compare/v4.3.11...v4.4.0) (2019-11-27) **Note:** Version bump only for package @feathersjs/adapter-commons diff --git a/packages/adapter-commons/package.json b/packages/adapter-commons/package.json index 56b60fcafa..9b36574c81 100644 --- a/packages/adapter-commons/package.json +++ b/packages/adapter-commons/package.json @@ -1,6 +1,6 @@ { "name": "@feathersjs/adapter-commons", - "version": "4.4.0", + "version": "4.4.1", "description": "Shared database adapter utility functions", "homepage": "https://feathersjs.com", "keywords": [ @@ -25,7 +25,7 @@ "url": "https://github.com/feathersjs/feathers/issues" }, "engines": { - "node": ">= 12" + "node": ">= 10" }, "main": "lib/", "types": "lib/", @@ -41,9 +41,9 @@ "access": "public" }, "dependencies": { - "@feathersjs/commons": "^4.3.7", - "@feathersjs/errors": "^4.4.0", - "@feathersjs/feathers": "^4.4.0" + "@feathersjs/commons": "^4.4.1", + "@feathersjs/errors": "^4.4.1", + "@feathersjs/feathers": "^4.4.1" }, "devDependencies": { "@types/mocha": "^5.2.7", diff --git a/packages/adapter-tests/CHANGELOG.md b/packages/adapter-tests/CHANGELOG.md index 3cd854aee2..0cec8d009b 100644 --- a/packages/adapter-tests/CHANGELOG.md +++ b/packages/adapter-tests/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.4.1](https://github.com/feathersjs/feathers/compare/v4.4.0...v4.4.1) (2019-11-27) + +**Note:** Version bump only for package @feathersjs/adapter-tests + + + + + # [4.4.0](https://github.com/feathersjs/feathers/compare/v4.3.11...v4.4.0) (2019-11-27) **Note:** Version bump only for package @feathersjs/adapter-tests diff --git a/packages/adapter-tests/package.json b/packages/adapter-tests/package.json index 7a406d98dd..fe180ca5ad 100644 --- a/packages/adapter-tests/package.json +++ b/packages/adapter-tests/package.json @@ -1,6 +1,6 @@ { "name": "@feathersjs/adapter-tests", - "version": "4.4.0", + "version": "4.4.1", "description": "Feathers shared database adapter test suite", "homepage": "https://feathersjs.com", "keywords": [ @@ -25,7 +25,7 @@ "url": "https://github.com/feathersjs/feathers/issues" }, "engines": { - "node": ">= 12" + "node": ">= 10" }, "main": "lib/index.js", "scripts": { @@ -38,8 +38,8 @@ "access": "public" }, "devDependencies": { - "@feathersjs/errors": "^4.4.0", - "@feathersjs/feathers": "^4.4.0", + "@feathersjs/errors": "^4.4.1", + "@feathersjs/feathers": "^4.4.1", "feathers-memory": "^4.1.0", "mocha": "^6.2.1" }, diff --git a/packages/authentication-client/CHANGELOG.md b/packages/authentication-client/CHANGELOG.md index 1e67583282..ce7c48f4f8 100644 --- a/packages/authentication-client/CHANGELOG.md +++ b/packages/authentication-client/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.4.1](https://github.com/feathersjs/feathers/compare/v4.4.0...v4.4.1) (2019-11-27) + +**Note:** Version bump only for package @feathersjs/authentication-client + + + + + # [4.4.0](https://github.com/feathersjs/feathers/compare/v4.3.11...v4.4.0) (2019-11-27) diff --git a/packages/authentication-client/package.json b/packages/authentication-client/package.json index a960ab69be..d8930f77b6 100644 --- a/packages/authentication-client/package.json +++ b/packages/authentication-client/package.json @@ -1,7 +1,7 @@ { "name": "@feathersjs/authentication-client", "description": "The authentication plugin for feathers-client", - "version": "4.4.0", + "version": "4.4.1", "homepage": "https://feathersjs.com", "main": "lib/", "types": "lib/", @@ -28,7 +28,7 @@ "url": "https://github.com/feathersjs/feathers/issues" }, "engines": { - "node": ">= 12" + "node": ">= 10" }, "scripts": { "prepublish": "npm run compile", @@ -43,20 +43,20 @@ "access": "public" }, "dependencies": { - "@feathersjs/authentication": "^4.4.0", - "@feathersjs/commons": "^4.3.7", - "@feathersjs/errors": "^4.4.0", - "@feathersjs/feathers": "^4.4.0", + "@feathersjs/authentication": "^4.4.1", + "@feathersjs/commons": "^4.4.1", + "@feathersjs/errors": "^4.4.1", + "@feathersjs/feathers": "^4.4.1", "debug": "^4.1.1" }, "devDependencies": { - "@feathersjs/authentication-local": "^4.4.0", - "@feathersjs/express": "^4.4.0", - "@feathersjs/primus": "^4.4.0", - "@feathersjs/primus-client": "^4.4.0", - "@feathersjs/rest-client": "^4.4.0", - "@feathersjs/socketio": "^4.4.0", - "@feathersjs/socketio-client": "^4.4.0", + "@feathersjs/authentication-local": "^4.4.1", + "@feathersjs/express": "^4.4.1", + "@feathersjs/primus": "^4.4.1", + "@feathersjs/primus-client": "^4.4.1", + "@feathersjs/rest-client": "^4.4.1", + "@feathersjs/socketio": "^4.4.1", + "@feathersjs/socketio-client": "^4.4.1", "@types/debug": "^4.1.5", "@types/mocha": "^5.2.7", "@types/node": "^12.7.12", diff --git a/packages/authentication-local/CHANGELOG.md b/packages/authentication-local/CHANGELOG.md index cff637815b..73ebdb7662 100644 --- a/packages/authentication-local/CHANGELOG.md +++ b/packages/authentication-local/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.4.1](https://github.com/feathersjs/feathers/compare/v4.4.0...v4.4.1) (2019-11-27) + +**Note:** Version bump only for package @feathersjs/authentication-local + + + + + # [4.4.0](https://github.com/feathersjs/feathers/compare/v4.3.11...v4.4.0) (2019-11-27) diff --git a/packages/authentication-local/package.json b/packages/authentication-local/package.json index f059b628cf..ec7ee958da 100644 --- a/packages/authentication-local/package.json +++ b/packages/authentication-local/package.json @@ -1,7 +1,7 @@ { "name": "@feathersjs/authentication-local", "description": "Local authentication strategy for @feathers/authentication", - "version": "4.4.0", + "version": "4.4.1", "homepage": "https://feathersjs.com", "main": "lib/", "types": "lib/", @@ -28,7 +28,7 @@ "url": "https://github.com/feathersjs/feathers/issues" }, "engines": { - "node": ">= 12" + "node": ">= 10" }, "scripts": { "prepublish": "npm run compile", @@ -43,9 +43,9 @@ "access": "public" }, "dependencies": { - "@feathersjs/authentication": "^4.4.0", - "@feathersjs/errors": "^4.4.0", - "@feathersjs/feathers": "^4.4.0", + "@feathersjs/authentication": "^4.4.1", + "@feathersjs/errors": "^4.4.1", + "@feathersjs/feathers": "^4.4.1", "bcryptjs": "^2.4.3", "debug": "^4.1.1", "lodash": "^4.17.15" diff --git a/packages/authentication-oauth/CHANGELOG.md b/packages/authentication-oauth/CHANGELOG.md index 627042b827..92908574bc 100644 --- a/packages/authentication-oauth/CHANGELOG.md +++ b/packages/authentication-oauth/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.4.1](https://github.com/feathersjs/feathers/compare/v4.4.0...v4.4.1) (2019-11-27) + +**Note:** Version bump only for package @feathersjs/authentication-oauth + + + + + # [4.4.0](https://github.com/feathersjs/feathers/compare/v4.3.11...v4.4.0) (2019-11-27) diff --git a/packages/authentication-oauth/package.json b/packages/authentication-oauth/package.json index e32d5415cd..4759f6a8cf 100644 --- a/packages/authentication-oauth/package.json +++ b/packages/authentication-oauth/package.json @@ -1,7 +1,7 @@ { "name": "@feathersjs/authentication-oauth", "description": "oAuth 1 and 2 authentication for Feathers. Powered by Grant.", - "version": "4.4.0", + "version": "4.4.1", "homepage": "https://feathersjs.com", "main": "lib/", "types": "lib/", @@ -28,7 +28,7 @@ "url": "https://github.com/feathersjs/feathers/issues" }, "engines": { - "node": ">= 12" + "node": ">= 10" }, "scripts": { "start": "ts-node test/app", @@ -43,10 +43,10 @@ "access": "public" }, "dependencies": { - "@feathersjs/authentication": "^4.4.0", - "@feathersjs/errors": "^4.4.0", - "@feathersjs/express": "^4.4.0", - "@feathersjs/feathers": "^4.4.0", + "@feathersjs/authentication": "^4.4.1", + "@feathersjs/errors": "^4.4.1", + "@feathersjs/express": "^4.4.1", + "@feathersjs/feathers": "^4.4.1", "debug": "^4.1.1", "express-session": "^1.17.0", "grant": "^4.6.3", diff --git a/packages/authentication/CHANGELOG.md b/packages/authentication/CHANGELOG.md index 993a6d7502..e6646c800c 100644 --- a/packages/authentication/CHANGELOG.md +++ b/packages/authentication/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.4.1](https://github.com/feathersjs/feathers/compare/v4.4.0...v4.4.1) (2019-11-27) + +**Note:** Version bump only for package @feathersjs/authentication + + + + + # [4.4.0](https://github.com/feathersjs/feathers/compare/v4.3.11...v4.4.0) (2019-11-27) **Note:** Version bump only for package @feathersjs/authentication diff --git a/packages/authentication/package.json b/packages/authentication/package.json index 9b93c24c09..6a75b74c2b 100644 --- a/packages/authentication/package.json +++ b/packages/authentication/package.json @@ -1,7 +1,7 @@ { "name": "@feathersjs/authentication", "description": "Add Authentication to your FeathersJS app.", - "version": "4.4.0", + "version": "4.4.1", "homepage": "https://feathersjs.com", "main": "lib/", "types": "lib/", @@ -28,7 +28,7 @@ "url": "https://github.com/feathersjs/feathers/issues" }, "engines": { - "node": ">= 12" + "node": ">= 10" }, "scripts": { "prepublish": "npm run compile", @@ -43,9 +43,9 @@ "access": "public" }, "dependencies": { - "@feathersjs/errors": "^4.4.0", - "@feathersjs/feathers": "^4.4.0", - "@feathersjs/transport-commons": "^4.4.0", + "@feathersjs/errors": "^4.4.1", + "@feathersjs/feathers": "^4.4.1", + "@feathersjs/transport-commons": "^4.4.1", "@types/jsonwebtoken": "8.3.4", "debug": "^4.1.1", "jsonwebtoken": "^8.5.1", diff --git a/packages/client/CHANGELOG.md b/packages/client/CHANGELOG.md index 974eb838e6..0283922f5c 100644 --- a/packages/client/CHANGELOG.md +++ b/packages/client/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.4.1](https://github.com/feathersjs/feathers/compare/v4.4.0...v4.4.1) (2019-11-27) + +**Note:** Version bump only for package @feathersjs/client + + + + + # [4.4.0](https://github.com/feathersjs/feathers/compare/v4.3.11...v4.4.0) (2019-11-27) **Note:** Version bump only for package @feathersjs/client diff --git a/packages/client/package.json b/packages/client/package.json index 7921f53ba4..43a713f587 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -1,7 +1,7 @@ { "name": "@feathersjs/client", "description": "A module that consolidates Feathers client modules for REST (jQuery, Request, Superagent) and Websocket (Socket.io, Primus) connections", - "version": "4.4.0", + "version": "4.4.1", "repository": { "type": "git", "url": "https://github.com/feathersjs/feathers.git" @@ -21,7 +21,7 @@ ], "author": "Feathers contributors", "engines": { - "node": ">= 12" + "node": ">= 10" }, "main": "index.js", "types": "index.d.ts", @@ -41,16 +41,16 @@ "devDependencies": { "@babel/core": "^7.6.4", "@babel/preset-env": "^7.6.3", - "@feathersjs/authentication-client": "^4.4.0", - "@feathersjs/errors": "^4.4.0", - "@feathersjs/express": "^4.4.0", - "@feathersjs/feathers": "^4.4.0", - "@feathersjs/primus": "^4.4.0", - "@feathersjs/primus-client": "^4.4.0", - "@feathersjs/rest-client": "^4.4.0", - "@feathersjs/socketio": "^4.4.0", - "@feathersjs/socketio-client": "^4.4.0", - "@feathersjs/tests": "^4.4.0", + "@feathersjs/authentication-client": "^4.4.1", + "@feathersjs/errors": "^4.4.1", + "@feathersjs/express": "^4.4.1", + "@feathersjs/feathers": "^4.4.1", + "@feathersjs/primus": "^4.4.1", + "@feathersjs/primus-client": "^4.4.1", + "@feathersjs/rest-client": "^4.4.1", + "@feathersjs/socketio": "^4.4.1", + "@feathersjs/socketio-client": "^4.4.1", + "@feathersjs/tests": "^4.4.1", "babel-loader": "^8.0.6", "body-parser": "^1.19.0", "feathers-memory": "^4.1.0", diff --git a/packages/commons/CHANGELOG.md b/packages/commons/CHANGELOG.md index f42fc65785..8df1a9039e 100644 --- a/packages/commons/CHANGELOG.md +++ b/packages/commons/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.4.1](https://github.com/feathersjs/feathers/compare/v4.4.0...v4.4.1) (2019-11-27) + +**Note:** Version bump only for package @feathersjs/commons + + + + + ## [4.3.7](https://github.com/feathersjs/feathers/compare/v4.3.6...v4.3.7) (2019-10-14) diff --git a/packages/commons/package.json b/packages/commons/package.json index e00bb2909d..93c71e5aa4 100644 --- a/packages/commons/package.json +++ b/packages/commons/package.json @@ -1,6 +1,6 @@ { "name": "@feathersjs/commons", - "version": "4.3.7", + "version": "4.4.1", "description": "Shared Feathers utility functions", "homepage": "https://feathersjs.com", "keywords": [ @@ -25,7 +25,7 @@ "url": "https://github.com/feathersjs/feathers/issues" }, "engines": { - "node": ">= 12" + "node": ">= 10" }, "main": "lib/", "types": "lib/", diff --git a/packages/configuration/CHANGELOG.md b/packages/configuration/CHANGELOG.md index 250cbdc466..765f331ce6 100644 --- a/packages/configuration/CHANGELOG.md +++ b/packages/configuration/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.4.1](https://github.com/feathersjs/feathers/compare/v4.4.0...v4.4.1) (2019-11-27) + +**Note:** Version bump only for package @feathersjs/configuration + + + + + # [4.4.0](https://github.com/feathersjs/feathers/compare/v4.3.11...v4.4.0) (2019-11-27) **Note:** Version bump only for package @feathersjs/configuration diff --git a/packages/configuration/package.json b/packages/configuration/package.json index 89f5f1f29c..9795f7ed9f 100644 --- a/packages/configuration/package.json +++ b/packages/configuration/package.json @@ -1,7 +1,7 @@ { "name": "@feathersjs/configuration", "description": "A small configuration module for your Feathers application.", - "version": "4.4.0", + "version": "4.4.1", "homepage": "https://feathersjs.com", "main": "lib/", "types": "lib/", @@ -28,7 +28,7 @@ "url": "https://github.com/feathersjs/feathers/issues" }, "engines": { - "node": ">= 12" + "node": ">= 10" }, "scripts": { "prepublish": "npm run compile", @@ -48,7 +48,7 @@ "access": "public" }, "dependencies": { - "@feathersjs/feathers": "^4.4.0", + "@feathersjs/feathers": "^4.4.1", "config": "^3.2.3", "debug": "^4.1.1" }, diff --git a/packages/errors/CHANGELOG.md b/packages/errors/CHANGELOG.md index 81feb210a1..8ee36490a5 100644 --- a/packages/errors/CHANGELOG.md +++ b/packages/errors/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.4.1](https://github.com/feathersjs/feathers/compare/v4.4.0...v4.4.1) (2019-11-27) + +**Note:** Version bump only for package @feathersjs/errors + + + + + # [4.4.0](https://github.com/feathersjs/feathers/compare/v4.3.11...v4.4.0) (2019-11-27) **Note:** Version bump only for package @feathersjs/errors diff --git a/packages/errors/package.json b/packages/errors/package.json index 9fbfa2d9fa..eab260faf0 100644 --- a/packages/errors/package.json +++ b/packages/errors/package.json @@ -1,7 +1,7 @@ { "name": "@feathersjs/errors", "description": "Common error types for Feathers apps", - "version": "4.4.0", + "version": "4.4.1", "homepage": "https://feathersjs.com", "main": "lib/index", "types": "index.d.ts", @@ -24,7 +24,7 @@ "url": "https://github.com/feathersjs/feathers/issues" }, "engines": { - "node": ">= 12" + "node": ">= 10" }, "directories": { "lib": "lib" @@ -39,7 +39,7 @@ "debug": "^4.1.1" }, "devDependencies": { - "@feathersjs/feathers": "^4.4.0", + "@feathersjs/feathers": "^4.4.1", "chai": "^4.2.0", "express": "^4.17.1", "mocha": "^6.2.1", diff --git a/packages/express/CHANGELOG.md b/packages/express/CHANGELOG.md index 4f3e3d3e5e..0ccd2e751d 100644 --- a/packages/express/CHANGELOG.md +++ b/packages/express/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.4.1](https://github.com/feathersjs/feathers/compare/v4.4.0...v4.4.1) (2019-11-27) + +**Note:** Version bump only for package @feathersjs/express + + + + + # [4.4.0](https://github.com/feathersjs/feathers/compare/v4.3.11...v4.4.0) (2019-11-27) diff --git a/packages/express/package.json b/packages/express/package.json index 67caf9b2d5..c226d05511 100644 --- a/packages/express/package.json +++ b/packages/express/package.json @@ -1,7 +1,7 @@ { "name": "@feathersjs/express", "description": "Feathers Express framework bindings and REST provider", - "version": "4.4.0", + "version": "4.4.1", "homepage": "https://feathersjs.com", "main": "lib/", "types": "index.d.ts", @@ -28,7 +28,7 @@ "url": "https://github.com/feathersjs/feathers/issues" }, "engines": { - "node": ">= 12" + "node": ">= 10" }, "scripts": { "test": "mocha --opts ../../mocha.opts" @@ -40,8 +40,8 @@ "access": "public" }, "dependencies": { - "@feathersjs/commons": "^4.3.7", - "@feathersjs/errors": "^4.4.0", + "@feathersjs/commons": "^4.4.1", + "@feathersjs/errors": "^4.4.1", "@types/express": "^4.17.1", "debug": "^4.1.1", "express": "^4.17.1", @@ -49,10 +49,10 @@ "uberproto": "^2.0.4" }, "devDependencies": { - "@feathersjs/authentication": "^4.4.0", - "@feathersjs/authentication-local": "^4.4.0", - "@feathersjs/feathers": "^4.4.0", - "@feathersjs/tests": "^4.4.0", + "@feathersjs/authentication": "^4.4.1", + "@feathersjs/authentication-local": "^4.4.1", + "@feathersjs/feathers": "^4.4.1", + "@feathersjs/tests": "^4.4.1", "axios": "^0.19.0", "chai": "^4.2.0", "lodash": "^4.17.15", diff --git a/packages/feathers/CHANGELOG.md b/packages/feathers/CHANGELOG.md index c0fa77059f..287b86ecdf 100644 --- a/packages/feathers/CHANGELOG.md +++ b/packages/feathers/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.4.1](https://github.com/feathersjs/feathers/compare/v4.4.0...v4.4.1) (2019-11-27) + +**Note:** Version bump only for package @feathersjs/feathers + + + + + # [4.4.0](https://github.com/feathersjs/feathers/compare/v4.3.11...v4.4.0) (2019-11-27) diff --git a/packages/feathers/package.json b/packages/feathers/package.json index a49060f1ed..8cb0bf86a3 100644 --- a/packages/feathers/package.json +++ b/packages/feathers/package.json @@ -1,7 +1,7 @@ { "name": "@feathersjs/feathers", "description": "A framework for real-time applications and REST API with JavaScript and TypeScript", - "version": "4.4.0", + "version": "4.4.1", "homepage": "http://feathersjs.com", "repository": { "type": "git", @@ -39,13 +39,13 @@ "publish": "npm run reset-version" }, "engines": { - "node": ">= 12" + "node": ">= 10" }, "publishConfig": { "access": "public" }, "dependencies": { - "@feathersjs/commons": "^4.3.7", + "@feathersjs/commons": "^4.4.1", "debug": "^4.1.1", "events": "^3.0.0", "uberproto": "^2.0.4" diff --git a/packages/primus-client/CHANGELOG.md b/packages/primus-client/CHANGELOG.md index 0c0dedf155..b79e31f13d 100644 --- a/packages/primus-client/CHANGELOG.md +++ b/packages/primus-client/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.4.1](https://github.com/feathersjs/feathers/compare/v4.4.0...v4.4.1) (2019-11-27) + +**Note:** Version bump only for package @feathersjs/primus-client + + + + + # [4.4.0](https://github.com/feathersjs/feathers/compare/v4.3.11...v4.4.0) (2019-11-27) **Note:** Version bump only for package @feathersjs/primus-client diff --git a/packages/primus-client/package.json b/packages/primus-client/package.json index b79cca66e5..2ed6f5278e 100644 --- a/packages/primus-client/package.json +++ b/packages/primus-client/package.json @@ -1,7 +1,7 @@ { "name": "@feathersjs/primus-client", "description": "Client services for Primus and feathers-primus", - "version": "4.4.0", + "version": "4.4.1", "homepage": "https://feathersjs.com", "main": "lib/index.js", "types": "index.d.ts", @@ -40,13 +40,13 @@ "access": "public" }, "dependencies": { - "@feathersjs/transport-commons": "^4.4.0" + "@feathersjs/transport-commons": "^4.4.1" }, "devDependencies": { - "@feathersjs/commons": "^4.3.7", - "@feathersjs/feathers": "^4.4.0", - "@feathersjs/primus": "^4.4.0", - "@feathersjs/tests": "^4.4.0", + "@feathersjs/commons": "^4.4.1", + "@feathersjs/feathers": "^4.4.1", + "@feathersjs/primus": "^4.4.1", + "@feathersjs/tests": "^4.4.1", "chai": "^4.2.0", "feathers-memory": "^4.1.0", "mocha": "^6.2.1", diff --git a/packages/primus/CHANGELOG.md b/packages/primus/CHANGELOG.md index c8209be617..bb14d05c29 100644 --- a/packages/primus/CHANGELOG.md +++ b/packages/primus/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.4.1](https://github.com/feathersjs/feathers/compare/v4.4.0...v4.4.1) (2019-11-27) + +**Note:** Version bump only for package @feathersjs/primus + + + + + # [4.4.0](https://github.com/feathersjs/feathers/compare/v4.3.11...v4.4.0) (2019-11-27) **Note:** Version bump only for package @feathersjs/primus diff --git a/packages/primus/package.json b/packages/primus/package.json index 6adb0dd47c..db05ca89e0 100644 --- a/packages/primus/package.json +++ b/packages/primus/package.json @@ -1,7 +1,7 @@ { "name": "@feathersjs/primus", "description": "The Feathers Primus real-time API provider", - "version": "4.4.0", + "version": "4.4.1", "homepage": "https://feathersjs.com", "main": "lib/", "types": "index.d.ts", @@ -28,7 +28,7 @@ "url": "https://github.com/feathersjs/feathers/issues" }, "engines": { - "node": ">= 12" + "node": ">= 10" }, "scripts": { "test": "mocha --opts ../../mocha.opts" @@ -40,17 +40,17 @@ "access": "public" }, "dependencies": { - "@feathersjs/transport-commons": "^4.4.0", + "@feathersjs/transport-commons": "^4.4.1", "debug": "^4.1.1", "primus": "^7.3.4", "primus-emitter": "^3.1.1", "uberproto": "^2.0.4" }, "devDependencies": { - "@feathersjs/commons": "^4.3.7", - "@feathersjs/express": "^4.4.0", - "@feathersjs/feathers": "^4.4.0", - "@feathersjs/tests": "^4.4.0", + "@feathersjs/commons": "^4.4.1", + "@feathersjs/express": "^4.4.1", + "@feathersjs/feathers": "^4.4.1", + "@feathersjs/tests": "^4.4.1", "feathers-memory": "^4.1.0", "lodash": "^4.17.15", "mocha": "^6.2.1", diff --git a/packages/rest-client/CHANGELOG.md b/packages/rest-client/CHANGELOG.md index 089216f224..04b9e06dbd 100644 --- a/packages/rest-client/CHANGELOG.md +++ b/packages/rest-client/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.4.1](https://github.com/feathersjs/feathers/compare/v4.4.0...v4.4.1) (2019-11-27) + +**Note:** Version bump only for package @feathersjs/rest-client + + + + + # [4.4.0](https://github.com/feathersjs/feathers/compare/v4.3.11...v4.4.0) (2019-11-27) diff --git a/packages/rest-client/package.json b/packages/rest-client/package.json index 0b80b5d9ad..0ab3e89ebd 100644 --- a/packages/rest-client/package.json +++ b/packages/rest-client/package.json @@ -1,7 +1,7 @@ { "name": "@feathersjs/rest-client", "description": "REST client services for different Ajax libraries", - "version": "4.4.0", + "version": "4.4.1", "homepage": "https://feathersjs.com", "main": "lib/index.js", "types": "index.d.ts", @@ -28,7 +28,7 @@ "url": "https://github.com/feathersjs/feathers/issues" }, "engines": { - "node": ">= 12" + "node": ">= 10" }, "scripts": { "test": "mocha --opts ../../mocha.opts" @@ -40,8 +40,8 @@ "access": "public" }, "dependencies": { - "@feathersjs/commons": "^4.3.7", - "@feathersjs/errors": "^4.4.0", + "@feathersjs/commons": "^4.4.1", + "@feathersjs/errors": "^4.4.1", "qs": "^6.9.0" }, "devDependencies": { @@ -49,9 +49,9 @@ "@angular/core": "^8.2.10", "@angular/http": "^7.2.15", "@angular/platform-browser": "^8.2.10", - "@feathersjs/express": "^4.4.0", - "@feathersjs/feathers": "^4.4.0", - "@feathersjs/tests": "^4.4.0", + "@feathersjs/express": "^4.4.1", + "@feathersjs/feathers": "^4.4.1", + "@feathersjs/tests": "^4.4.1", "axios": "^0.19.0", "body-parser": "^1.19.0", "feathers-memory": "^4.1.0", diff --git a/packages/socketio-client/CHANGELOG.md b/packages/socketio-client/CHANGELOG.md index 6b3a615af1..b15a49580f 100644 --- a/packages/socketio-client/CHANGELOG.md +++ b/packages/socketio-client/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.4.1](https://github.com/feathersjs/feathers/compare/v4.4.0...v4.4.1) (2019-11-27) + +**Note:** Version bump only for package @feathersjs/socketio-client + + + + + # [4.4.0](https://github.com/feathersjs/feathers/compare/v4.3.11...v4.4.0) (2019-11-27) **Note:** Version bump only for package @feathersjs/socketio-client diff --git a/packages/socketio-client/package.json b/packages/socketio-client/package.json index 6cdc234b63..56abf97963 100644 --- a/packages/socketio-client/package.json +++ b/packages/socketio-client/package.json @@ -1,7 +1,7 @@ { "name": "@feathersjs/socketio-client", "description": "The client for Socket.io through feathers-socketio", - "version": "4.4.0", + "version": "4.4.1", "homepage": "https://feathersjs.com", "main": "lib/index.js", "types": "index.d.ts", @@ -28,7 +28,7 @@ "url": "https://github.com/feathersjs/feathers/issues" }, "engines": { - "node": ">= 12" + "node": ">= 10" }, "scripts": { "test": "mocha --opts ../../mocha.opts" @@ -40,14 +40,14 @@ "access": "public" }, "dependencies": { - "@feathersjs/transport-commons": "^4.4.0", + "@feathersjs/transport-commons": "^4.4.1", "@types/socket.io-client": "^1.4.32" }, "devDependencies": { - "@feathersjs/commons": "^4.3.7", - "@feathersjs/feathers": "^4.4.0", - "@feathersjs/socketio": "^4.4.0", - "@feathersjs/tests": "^4.4.0", + "@feathersjs/commons": "^4.4.1", + "@feathersjs/feathers": "^4.4.1", + "@feathersjs/socketio": "^4.4.1", + "@feathersjs/tests": "^4.4.1", "chai": "^4.2.0", "feathers-memory": "^4.1.0", "mocha": "^6.2.1", diff --git a/packages/socketio/CHANGELOG.md b/packages/socketio/CHANGELOG.md index 60b9ee1432..0e4b4ece1f 100644 --- a/packages/socketio/CHANGELOG.md +++ b/packages/socketio/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.4.1](https://github.com/feathersjs/feathers/compare/v4.4.0...v4.4.1) (2019-11-27) + +**Note:** Version bump only for package @feathersjs/socketio + + + + + # [4.4.0](https://github.com/feathersjs/feathers/compare/v4.3.11...v4.4.0) (2019-11-27) diff --git a/packages/socketio/package.json b/packages/socketio/package.json index 8b0f9381cd..f13e4daa5f 100644 --- a/packages/socketio/package.json +++ b/packages/socketio/package.json @@ -1,7 +1,7 @@ { "name": "@feathersjs/socketio", "description": "The Feathers Socket.io real-time API provider", - "version": "4.4.0", + "version": "4.4.1", "homepage": "https://feathersjs.com", "main": "lib/", "types": "index.d.ts", @@ -28,7 +28,7 @@ "url": "https://github.com/feathersjs/feathers/issues" }, "engines": { - "node": ">= 12" + "node": ">= 10" }, "scripts": { "test": "mocha --opts ../../mocha.opts" @@ -40,17 +40,17 @@ "access": "public" }, "dependencies": { - "@feathersjs/transport-commons": "^4.4.0", + "@feathersjs/transport-commons": "^4.4.1", "@types/socket.io": "^2.1.4", "debug": "^4.1.1", "socket.io": "^2.3.0", "uberproto": "^2.0.4" }, "devDependencies": { - "@feathersjs/commons": "^4.3.7", - "@feathersjs/express": "^4.4.0", - "@feathersjs/feathers": "^4.4.0", - "@feathersjs/tests": "^4.4.0", + "@feathersjs/commons": "^4.4.1", + "@feathersjs/express": "^4.4.1", + "@feathersjs/feathers": "^4.4.1", + "@feathersjs/tests": "^4.4.1", "feathers-memory": "^4.1.0", "lodash": "^4.17.15", "mocha": "^6.2.1", diff --git a/packages/tests/CHANGELOG.md b/packages/tests/CHANGELOG.md index 74805b6a58..79f3fe46a1 100644 --- a/packages/tests/CHANGELOG.md +++ b/packages/tests/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.4.1](https://github.com/feathersjs/feathers/compare/v4.4.0...v4.4.1) (2019-11-27) + +**Note:** Version bump only for package @feathersjs/tests + + + + + # [4.4.0](https://github.com/feathersjs/feathers/compare/v4.3.11...v4.4.0) (2019-11-27) **Note:** Version bump only for package @feathersjs/tests diff --git a/packages/tests/package.json b/packages/tests/package.json index af1818a3b2..c2a73dc7c7 100644 --- a/packages/tests/package.json +++ b/packages/tests/package.json @@ -2,7 +2,7 @@ "name": "@feathersjs/tests", "private": true, "description": "Feathers core module common tests", - "version": "4.4.0", + "version": "4.4.1", "homepage": "https://feathersjs.com", "main": "lib/", "keywords": [ @@ -27,7 +27,7 @@ "url": "https://github.com/feathersjs/feathers/issues" }, "engines": { - "node": ">= 12" + "node": ">= 10" }, "scripts": { "prepublish": "npm run compile", @@ -46,7 +46,7 @@ "lodash": "^4.17.15" }, "devDependencies": { - "@feathersjs/feathers": "^4.4.0", + "@feathersjs/feathers": "^4.4.1", "@types/axios": "^0.14.0", "@types/debug": "^4.1.5", "@types/lodash": "^4.14.144", diff --git a/packages/transport-commons/CHANGELOG.md b/packages/transport-commons/CHANGELOG.md index 85ced3fb6a..6f1af58d2e 100644 --- a/packages/transport-commons/CHANGELOG.md +++ b/packages/transport-commons/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.4.1](https://github.com/feathersjs/feathers/compare/v4.4.0...v4.4.1) (2019-11-27) + + +### Bug Fixes + +* Gracefully handle errors in publishers ([#1710](https://github.com/feathersjs/feathers/issues/1710)) ([0616306](https://github.com/feathersjs/feathers/commit/061630696762e9dbf1dc4e738094992ba16989fc)) + + + + + # [4.4.0](https://github.com/feathersjs/feathers/compare/v4.3.11...v4.4.0) (2019-11-27) diff --git a/packages/transport-commons/package.json b/packages/transport-commons/package.json index c2377a6b6a..2241c77295 100644 --- a/packages/transport-commons/package.json +++ b/packages/transport-commons/package.json @@ -1,7 +1,7 @@ { "name": "@feathersjs/transport-commons", "description": "Shared functionality for websocket providers", - "version": "4.4.0", + "version": "4.4.1", "homepage": "https://feathersjs.com", "main": "lib/", "types": "lib/", @@ -28,7 +28,7 @@ "url": "https://github.com/feathersjs/feathers/issues" }, "engines": { - "node": ">= 12" + "node": ">= 10" }, "scripts": { "prepublish": "npm run compile", @@ -43,14 +43,14 @@ "access": "public" }, "dependencies": { - "@feathersjs/commons": "^4.3.7", - "@feathersjs/errors": "^4.4.0", + "@feathersjs/commons": "^4.4.1", + "@feathersjs/errors": "^4.4.1", "debug": "^4.1.1", "lodash": "^4.17.15", "radix-router": "^3.0.1" }, "devDependencies": { - "@feathersjs/feathers": "^4.4.0", + "@feathersjs/feathers": "^4.4.1", "@types/debug": "^4.1.5", "@types/mocha": "^5.2.7", "@types/node": "^12.7.12", diff --git a/packages/transport-commons/src/channels/index.ts b/packages/transport-commons/src/channels/index.ts index eacc8ee861..84d43bfbc1 100644 --- a/packages/transport-commons/src/channels/index.ts +++ b/packages/transport-commons/src/channels/index.ts @@ -67,6 +67,7 @@ export function channels () { debug('Publishing event', event, hook.path); + const logError = (error: any) => debug(`Error in '${hook.path} ${event}' publisher`, error); const servicePublishers = (service as unknown as PublishMixin)[keys.PUBLISHERS]; const appPublishers = (app as unknown as PublishMixin)[keys.PUBLISHERS]; // This will return the first publisher list that is not empty @@ -84,20 +85,24 @@ export function channels () { noop ); - Promise.resolve(publisher(data, hook)).then(result => { - if (!result) { - return; - } - - const results = Array.isArray(result) ? compact(flattenDeep(result)) : [result]; - const channel = new CombinedChannel(results); - - if (channel && channel.length > 0) { - app.emit('publish', event, channel, hook, data); - } else { - debug('No connections to publish to'); - } - }); + try { + Promise.resolve(publisher(data, hook)).then(result => { + if (!result) { + return; + } + + const results = Array.isArray(result) ? compact(flattenDeep(result)) : [result]; + const channel = new CombinedChannel(results); + + if (channel && channel.length > 0) { + app.emit('publish', event, channel, hook, data); + } else { + debug('No connections to publish to'); + } + }).catch(logError); + } catch (error) { + logError(error); + } }); }); }); diff --git a/packages/transport-commons/test/channels/dispatch.test.ts b/packages/transport-commons/test/channels/dispatch.test.ts index 15c328bf74..543fab9c58 100644 --- a/packages/transport-commons/test/channels/dispatch.test.ts +++ b/packages/transport-commons/test/channels/dispatch.test.ts @@ -42,6 +42,18 @@ describe('app.publish', () => { }); }); + it('error in publisher is handled gracefully (#1707)', async () => { + app.service('test').publish('created', () => { + throw new Error('Something went wrong'); + }); + + try { + await app.service('test').create({ message: 'something' }); + } catch (error) { + assert.fail('Should never get here'); + } + }); + it('simple event registration and dispatching', done => { app.channel('testing').join(c1);