Skip to content

Latest commit

 

History

History
1209 lines (805 loc) · 120 KB

CHANGELOG.md

File metadata and controls

1209 lines (805 loc) · 120 KB

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

5.0.29 (2024-07-10)

Bug Fixes

5.0.28 (2024-07-10)

Bug Fixes

  • Fix update-dependencies task (49b9f70)
  • transport-commons: Fix HTTP status precedence (#3511) (5d999a0)

5.0.27 (2024-06-18)

Bug Fixes

  • authentication-oauth: Allow POST oauth callbacks (#3497) (ffcc90b)

5.0.26 (2024-06-09)

Bug Fixes

  • adapter-commons: Faster sorter (#3495) (22243e4)
  • generators: Fix migrate:make script in generated app (#3490) (c7b0111)
  • mongodb: Added Update Method Prototype to MongoDBService Class (#3494) (428f23a)
  • mongodb: MongoDB Aggregation improvements (#3366) (f2829b1)
  • schema: Allow regular functions in resolvers (#3487) (187868e)
  • typebox: Add TRecord to getValidator arg1 type (#3488) (ffbcc0a)

5.0.25 (2024-05-03)

Bug Fixes

5.0.24 (2024-03-13)

Bug Fixes

  • generators: Use module format for JS Knex migrations (#3444) (3feaa71)
  • socketio: Handle ackTimeout of socket.io (#3437) (2642072)

5.0.23 (2024-02-25)

Bug Fixes

  • core: Update to latest feathersjs/hooks (#3434) (1499ccc)
  • transport-commons: Properly delete route data (#3433) (af01bdb)

5.0.22 (2024-02-15)

Bug Fixes

  • knex: Fix Knex adapter date comparison queries (#3429) (23bafe1)

5.0.21 (2024-01-25)

Note: Version bump only for package feathers

5.0.20 (2024-01-24)

Bug Fixes

  • generators: Use cross-platform ES module __dirname (#3402) (0ac4882)

5.0.19 (2024-01-23)

Bug Fixes

5.0.18 (2024-01-22)

Bug Fixes

  • cli: Another fix for CLI ES module loading (#3397) (3cb3bc9)

5.0.17 (2024-01-22)

Bug Fixes

5.0.16 (2024-01-22)

Bug Fixes

5.0.15 (2024-01-22)

Bug Fixes

  • generators: Move generators and CLI to featherscloud/pinion (#3386) (eb87c99)
  • knex: Add sqlite to returning clients (#3389) (59fb40b)

5.0.14 (2024-01-05)

Bug Fixes

  • generators: Harden mongodb.js to reliably extract database from any connection string (#3264) (7b0f82c)
  • knex: Add Error Handler to knex _update function (#3371) (210f103)
  • schema: Fix setting dispatch on existing nested objects (#3380) (04efd5a)

5.0.13 (2023-12-29)

Note: Version bump only for package feathers

5.0.12 (2023-11-28)

Bug Fixes

  • allow _patch to modify the entire base schema (#3300) (0f41622)
  • authentication-client: Allow to abort fetch (#3310) (ff3e104)
  • express: Re-export Router (#3349) (0cbdb03)
  • generators: use export type vs export (#3246) (82d30fd)
  • knex: Add includeTriggerModifications for MSSQL support (#3355) (cbe44b0)
  • schema: Allow $in and $nin queries to work for arrays (#3352) (677c214)
  • schema: Remove undefined $select when using resolveResult hook (#3354) (c43e009)
  • transport-commons: Allow case insensitive route lookups (#3353) (a4a5ab6)

5.0.11 (2023-10-11)

Bug Fixes

  • client: Replace placeholders in URL with route params (#3270) (a0624eb)
  • core: context.path is now typed correctly (#3303) (ff18b3f)
  • knex: Update all dependencies and Knex peer (#3308) (d2f9860)
  • memory: Ensure correct pagination totals (#3307) (c59e1b8)
  • schema: HookContext is now typed in schema (#3306) (65fab86)

5.0.10 (2023-10-03)

Bug Fixes

  • authentication-oauth: Move Grant error handling to the correct spot (#3297) (e9c0828)
  • schema: Add typescript as peerDependency (#3287) (cb562ee)
  • typebox: Allow default value in StringEnum (#3281) (25af09a)

5.0.9 (2023-09-27)

Bug Fixes

  • authentication-oauth: Properly handle all oAuth errors (#3284) (148a9a3)
  • client: Add underscored methods to clients (#3176) (f3c01f7)
  • generators: Fix configure channels when not real-time app (#3271) (c619ab2)
  • typebox: allow TUnion<TObject[]> inside getValidator (#3262) (cf9df96)

5.0.8 (2023-07-19)

Bug Fixes

  • add missing word (#3237) (9a32184)
  • transport-commons: Handle invalid service paths on socket lookups (#3241) (c397ab3)

5.0.7 (2023-07-14)

Bug Fixes

  • core: Ensure .service does not access Object properties (#3235) (c0b670a)
  • generators: Fix channel/service configuration order for Koa based apps (580344e)
  • koa: Ensure .teardown works without a server (#3234) (818572d)

5.0.6 (2023-06-15)

Bug Fixes

  • authentication-client: Do not trigger storage methods if storage not defined (#3210) (261acbc)
  • authentication-client: removeAccessToken throws error if storage not defined (#3195) (b8e2769)
  • authentication-local: Local Auth - Nested username & Password fields (#3091) (d135526)
  • authentication-oauth: Update OAuth redirect to handle user requested redirect paths (#3186) (3742028)
  • authentication: Export JwtVerifyOptions (#3214) (d59896e)

5.0.5 (2023-04-28)

Bug Fixes

5.0.4 (2023-04-12)

Bug Fixes

  • adapter-commons: Support non-default import to ease use with ESM projects (d06f2cf)
  • Make sure all Readme files are up to date (#3154) (a5f0b38)
  • memory: Fix memory adapter readme (#3153) (a9d826a)
  • typebox: Implement custom TypeBuilder for backwards compatibility (#3150) (962bd87)

5.0.3 (2023-04-05)

Bug Fixes

  • authentication: Ensure authentication.entity configuration can be null (#3136) (c47349b)
  • dependencies: Update all dependencies (#3139) (f24276e)
  • generators: Properly log unhandled rejection (#3149) (eda8f78)
  • knex: Ensure that columns are selected unambigiously and avoid duplicate id selection (#3144) (3eb7428)
  • knex: Get by id and transactions should work with params.knex (#3146) (b172b5e)
  • knex: Only apply default order for MSSQL (#3145) (28c2627)
  • mongodb: Add MongoDB as peerDependency (#3148) (0137b40)
  • typebox: Upgrade to TypeBox 0.26.0 (#3113) (d1d9598)

5.0.2 (2023-03-23)

Bug Fixes

  • generators: Make sure TypeScript version in generated app matches (#3122) (f0acfdf)
  • socketio-client: Move core dependency to the right spot (#3117) (6cd66f1)

5.0.1 (2023-03-15)

Bug Fixes

  • core: Add PaginationParams to general find method (#3095) (8ebdcf5)
  • core: Use Symbol.for to instantiate shared symbols (#3087) (7f3fc21)
  • generators: Conditionally import channels in Express app (#3106) (c2dbaaa)
  • koa: Replace koa-bodyparser with koa-body (#3093) (2456bf8)
  • memory/mongodb: $select as only property & force 'id' in '$select' (#3081) (fbe3cf5)
  • transport-commons: Fix dispatching of arrays (#3075) (98fdda5)

5.0.0 (2023-02-24)

Bug Fixes

5.0.0-pre.38 (2023-02-17)

Bug Fixes

  • koa: Fix missing dependency on feathers (#3061) (80dc95f)
  • schema: validateQuery - move next function outside of try-catch (#3053) (37fe5c4)

Features

  • generators: Final tweaks to the generators (#3060) (1bf1544)
  • schema: Add schema helper for handling Object ids (#3058) (1393bed)

5.0.0-pre.37 (2023-02-09)

Bug Fixes

  • generators: Add schema selection to CI test matrix (#3035) (7484b16)
  • generators: Fix Knex migration generated filename (#3033) (1ac18a7)
  • generators: Generated app does not start when choosing JSON schema (#3034) (7b8250b)
  • knex: The method getModel in the knex adapter (#3043) (77e14dd)
  • schema: Do not change the hook context in resolvers (#3048) (bfd8c04)
  • schema: Ensure that resolveResult and resolveExternal are run as around hooks (#3032) (71942f4)
  • typebox: Allow nested or in and queries (#3029) (39e0b78)

Features

  • mongodb: Add Object ID keyword converter and update MongoDB CLI & docs (#3041) (ca0994e)

5.0.0-pre.36 (2023-01-29)

Bug Fixes

  • authentication-oauth: Use original headers in oauth flow (#3025) (fb3d8cc)
  • configuration: Add pool and connection object to SQL database default configuration (#3023) (092c749)
  • databases: Ensure that query sanitization is not necessary when using query schemas (#3022) (dbf514e)
  • databases: Improve documentation for adapters and allow dynamic Knex adapter options (#3019) (66c4b5e)
  • feathers: Run after all hooks first, and then after method hooks (#3004) (3692fd5)
  • generators: Add main schema to all validators (#2997) (5854dea)
  • generators: Add TypeScript as normal instead of dev dependency (#3011) (2f67398)
  • generators: Do not removeAdditional in queries (#3000) (ef501bc)
  • schema: Allow any type in resolver hooks (#3006) (f01281f)
  • schema: Ensure all types of nested data are securely dispatched (#3005) (e4a9da5)
  • schema: Fix TypeBox extension value query syntax inference (#3010) (f1c7a76)
  • Update all dependencies (#3024) (283dc47)

Features

  • database: Add and to the query syntax (#3021) (00cb0d9)
  • generators: Add service file for shared information (#3008) (0a1665d)

5.0.0-pre.35 (2023-01-12)

Bug Fixes

  • cli: Add unhandledRejection handler to generated index file (#2932) (e3cedc8)
  • cli: Minor generated app improvements (#2936) (ba1a550)
  • cli: Properly log validation errors in log-error hook (54c883c)
  • cli: Use correct package manager when installing an app (#2973) (99c2a70)
  • databases: Make sure adapter method signatures are exported properly (#2943) (458d668)
  • knex: Ensure custom ids are returned on create (#2934) (c4fa3cf)

Features

  • generators: Move core code generators to shared generators package (#2982) (0328d22)
  • schema: Allow to add additional operators to the query syntax (#2941) (f324940)

5.0.0-pre.34 (2022-12-14)

Bug Fixes

  • adapter-commons: multiple type definition issues (#2876) (4ff1ed0)
  • authentication-client: Do not cache authentication errors (#2892) (cc4e767)
  • authentication-client: Improve socket reauthentication handling (#2895) (9db5e7a)
  • authentication-client: Remove access token for fatal 400 errors (#2894) (cfc6c7a)
  • authentication: Fix order of connection and login event handling (#2909) (801a503)
  • cli: mongodb connection string for node 17+ (#2875) (7fa2012)
  • core: context.type for around hooks (#2890) (d606ac6)
  • core: Allow services with no external methods (#2921) (df56918)
  • core: Improve service option usage and method option typings (#2902) (164d75c)
  • schema: Allow query schemas with no properties, error on unsupported types (#2904) (b66c734)
  • schema: Check for undefined value in resolveQueryObjectId resolver (#2914) (d9449fa)
  • socketio: Disconnect socket on app disconnect event (#2896) (4ba0039)
  • typebox: Improve query syntax defaults (#2888) (59f3cdc)

Features

  • adapter: Add patch data type to adapters and refactor AdapterBase usage (#2906) (9ddc2e6)
  • cli: Use separate patch schema and types (#2916) (7088af6)
  • docs: CLI and application structure guide (#2818) (142914f)
  • schema: Split resolver options and property resolvers (#2889) (4822c94)
  • schema: Virtual property resolvers (#2900) (7d03b57)

5.0.0-pre.33 (2022-11-08)

Bug Fixes

  • cli: Fix MongoDB connection database name parsing (#2845) (50e7463)
  • cli: Use proper MSSQL client (#2853) (bae5176)
  • docs: Add JavaScript web app frontend guide (#2834) (68cf03f)
  • memory: Use for loop in _find() for better performance (#2844) (d6ee5f1)

Features

  • docs: Add Awesome Ecosystem page (f66177d)
  • mongodb: Add ObjectId resolvers and MongoDB option in the guide (#2847) (c5c1fba)
  • schema: Add StringEnum to TypeBox module (#2827) (65d3665)

5.0.0-pre.32 (2022-10-26)

Bug Fixes

  • authentication: Improve logout and disconnect connection handling (#2813) (dd77379)
  • cli: Ensure code injection points are not code style dependent (#2832) (0776e26)
  • cli: Only generate authentication setup when selected (#2823) (7d219d9)
  • docs: Review transport API docs and update Express middleware setup (#2811) (1b97f14)
  • schema: Improve resolver performance (#2822) (5fa900f)
  • schema: Use the same options for resolveData hook (#2833) (ed3b050)
  • transports: Add remaining middleware for generated apps to Koa and Express (#2796) (0d5781a)

Features

  • cli: Add authentication client to generated client (#2801) (bd59f91)
  • docs: New website and documentation pages (#2802) (ae85fa2)

5.0.0-pre.31 (2022-10-12)

Bug Fixes

  • errors: Allows to pass no error message (#2794) (f3ddab6)
  • koa: Only set error code for Feathers errors (#2793) (d3ee41e)

Features

  • cli: Generate full client test suite and improve typed client (#2788) (57119b6)
  • cli: Improve generated schema definitions (#2783) (474a9fd)

5.0.0-pre.30 (2022-10-07)

Bug Fixes

  • authentication-oauth: Fix regression with prefix handling in OAuth (#2773) (b1844b1)
  • core: Ensure setup and teardown can be overriden and maintain hook functionality (#2779) (ab580cb)

Features

  • cli: Add ability to npm init feathers (#2755) (d734931)
  • cli: Improve CLI interface (#2753) (c7e1b7e)
  • core: Allow to unregister services at runtime (#2756) (d16601f)
  • schema: Make schemas validation library independent and add TypeBox support (#2772) (44172d9)

5.0.0-pre.29 (2022-09-16)

Bug Fixes

  • authentication-oauth: Fix oAuth origin and error handling (#2752) (f7e1c33)
  • schema: Fix for Ajv global collision bug #2681 (#2702) (0b2def6)
  • socketio: Reinitialize hooks on overriden setup method (#2722) (5e8e7c4)

Features

  • Add CORS support to oAuth, Express, Koa and generated application (#2744) (fd218f2)
  • authentication-oauth: Koa and transport independent oAuth authentication (#2737) (9231525)
  • cli: Add custom environment variable support to generated application (#2751) (c7bf80d)
  • cli: Adding ClientService to CLI (#2750) (1d45427)

5.0.0-pre.28 (2022-08-03)

Bug Fixes

  • authentication-client: Properly handle missing token error (#2700) (160746e)
  • cli: Improve generated application and client (#2701) (bd55ffb)
  • core: Get hooks to work reliably with custom methods (#2714) (8d7e04a)
  • knex: Fix PostgreSQL integration issues and run CI tests against pg (#2698) (1f71d78)
  • mongodb: Ensure transactions are used properly in create (#2699) (fe22615)

5.0.0-pre.27 (2022-07-13)

Bug Fixes

  • authentication-client: Ensure reAuthenticate works in parallel with other requests (#2690) (41b3761)
  • cli: Fix flaky authentication migration and SQL id schema types (#2676) (04ce9a5)
  • Freeze the resolver context (#2685) (247dccb)
  • socketio-client: Make Socket.io client event target compatible (#2686) (716c49a)

Features

5.0.0-pre.26 (2022-06-22)

Bug Fixes

  • cli: Fix compilation folders that got mixed up (fc4cb74)

5.0.0-pre.25 (2022-06-22)

Bug Fixes

  • cli: Generator fixes to work with the new guide (#2674) (b773fa5)

5.0.0-pre.24 (2022-06-21)

Bug Fixes

  • authentication-oauth: Fix bug and properly set Grant defaults (#2659) (cb93bb9)
  • authentication: Add safe dispatch data for authentication requests (#2662) (d8104a1)
  • schema: Fix dispatch resovler hook to convert actually resolved data (#2663) (f7e87db)

Features

  • authentication-local: Add passwordHash property resolver (#2660) (b41279b)
  • cli: Add generators for new Knex SQL database adapter (#2673) (0fb2c0f)
  • cli: Add hook generator (#2667) (24e4bc0)
  • cli: Add support for JavaScript to the new CLI (#2668) (ebac587)
  • cli: Add typed client to a generated app (#2669) (5b801b5)
  • cli: Initial Feathers v5 CLI and Pinion generator (#2578) (7f59ae7)
  • knex: Add KnexJS SQL database adapter to core (#2671) (9380fff)

5.0.0-pre.23 (2022-06-06)

Bug Fixes

  • express: Ensure Express options can be set before configuring REST transport (#2655) (c9b8f74)
  • schema: Always resolve dispatch in resolveAll and add getDispatch method (#2645) (145b366)
  • schema: remove default from queryProperty schemas (#2646) (940a2b6)

Features

  • client: Improve client side custom method support (#2654) (c138acf)
  • core: Rename async hooks to around hooks, allow usual registration format (#2652) (2a485a0)

5.0.0-pre.22 (2022-05-24)

Bug Fixes

  • schema: Allows resolveData with different resolvers based on method (#2644) (be71fa2)

5.0.0-pre.21 (2022-05-23)

Bug Fixes

  • authentication-oauth: Fix regression using incorrect callback and redirect_uri (#2631) (43d8a08)
  • core: Do not throw missing method error for regular hook methods (#2636) (afe9a3b)
  • schema: Add Combine helper to allow merging schema types that use (#2637) (06d03e9)
  • typescript: Make additional types generic to work with extended types (#2625) (269fdec)

Features

  • schema: Add resolveAll hook (#2643) (85527d7)
  • schema: Add resolver for safe external data dispatching (#2641) (72b980e)
  • schema: Add schema resolver converter functionality (#2640) (26d9e05)

5.0.0-pre.20 (2022-05-04)

Bug Fixes

  • authentication-oauth: Don't send origins in Grant's config, as it will be considered another provider (#2617) (ae3dddd)
  • configuration: Only validate the initial configuration against the schema (#2622) (386c5e2)
  • dependencies: Lock monorepo package version numbers (#2623) (5640c10)

Features

  • schema: Add querySyntax helper to create full query schemas (#2621) (2bbb103)

5.0.0-pre.19 (2022-05-01)

Bug Fixes

  • adapter-commons: Clarify adapter query filtering (#2607) (2dac771)
  • adapter-tests: Ensure multi tests can run standalone (#2608) (d7243f2)
  • authentication-oauth: Fix issue with overriding the default Grant configuration (#2615) (b345857)
  • authentication-oauth: Make oAuth authentication work with cookie-session (#2614) (9f10bfc)
  • client: Fix @feathersjs/client types field (#2596) (d719f54)
  • express: Fix typo in types reference in package.json (#2613) (eacf1b3)
  • transport-commons: Ensure socket queries are always plain objects (#2597) (97313e1)

Features

  • mongodb: Add feathers-mongodb adapter as @feathersjs/mongodb (#2610) (6d43734)
  • schema: Allow hooks to run resolvers in sequence (#2609) (d85c507)
  • typescript: Improve adapter typings (#2605) (3b2ca0a)
  • typescript: Improve params and query typeability (#2600) (df28b76)

BREAKING CHANGES

  • adapter-commons: Changes the common adapter base class to use sanitizeQuery and sanitizeData

5.0.0-pre.18 (2022-04-11)

Bug Fixes

  • adapter-tests: Add tests for pagination in multi updates (#2472) (98a811a)
  • core: Ensure that dynamically registered services are always set up (#2593) (27cc7d0)
  • schema: result resolver correctly resolves paginated find result (#2594) (6511e45)

Features

  • authentication: Add setup method for auth strategies (#1611) (a3c3581)
  • configuration: Allow app configuration to be validated against a schema (#2590) (a268f86)
  • core: Add app.setup and app.teardown hook support (#2585) (ae4ebee)
  • core: Add app.teardown functionality (#2570) (fcdf524)
  • core: Finalize app.teardown() functionality (#2584) (1a166f3)
  • transport-commons: add context.http.response (#2524) (5bc9d44)

5.0.0-pre.17 (2022-02-15)

Bug Fixes

  • express: Fix application typings to work with typed configuration (#2539) (b9dfaee)
  • hooks: Allow all built-in hooks to be used the async and regular way (#2559) (8f9f631)
  • queryProperty: allow compound oneOf (#2545) (3077d2d)
  • schema: Properly handle resolver errors (#2540) (31fbdff)

5.0.0-pre.16 (2022-01-12)

Bug Fixes

  • authentication-oauth: OAuth redirect lost sometimes due to session store race (#2514) (#2515) (6109c44)
  • schema: Do not error for schemas without properties (#2519) (96fdb47)
  • schema: Fix resolver data type and use new validation feature in test fixture (#2523) (1093f12)

Features

  • express, koa: make transports similar (#2486) (26aa937)
  • schema: Allow to use custom AJV and test with ajv-formats (#2513) (ecfa4df)
  • schema: Improve schema typing, validation and extensibility (#2521) (8c1b350)

5.0.0-pre.15 (2021-11-27)

Bug Fixes

  • adapter-commons: clean up in sort.ts and select function (#2492) (c3ec8a4)
  • adapter-commons: Fix sorting for embedded objects (#2488) (9c22f70)
  • missing express types for Request, Response (#2498) (ee67131)
  • typescript: Overall typing improvements (#2478) (b8eb804)

Features

  • authentication-oauth: Allow dynamic oAuth redirect (#2469) (b7143d4)
  • core: add context.http and move statusCode there (#2496) (b701bf7)
  • core: Improve legacy hooks integration (08c8b40)
  • transport-commons: Ability to register routes with custom params (#2482) (497990a)

5.0.0-pre.14 (2021-10-13)

Note: Version bump only for package feathers

5.0.0-pre.13 (2021-10-13)

Note: Version bump only for package feathers

5.0.0-pre.12 (2021-10-12)

Note: Version bump only for package feathers

5.0.0-pre.11 (2021-10-06)

Bug Fixes

  • core: Allow to return a new hook context in basic hooks (#2462) (422b6fc)

Features

  • schema: Allow resolvers to validate a schema (#2465) (7d9590b)

5.0.0-pre.10 (2021-09-19)

Bug Fixes

  • authentication-local: adds error handling for undefined/null password field (#2444) (4323f98)

Features

  • schema: Initial version of schema definitions and resolvers (#2441) (c57a5cd)

5.0.0-pre.9 (2021-08-09)

Note: Version bump only for package feathers

5.0.0-pre.8 (2021-08-09)

Note: Version bump only for package feathers

5.0.0-pre.7 (2021-08-09)

Bug Fixes

  • core: Clean up readme (eb3b4f2)
  • core: Set version back to development (b328767)

5.0.0-pre.6 (2021-08-08)

Bug Fixes

  • koa: Throw a NotFound Feathers error on missing paths (#2415) (e013f98)

5.0.0-pre.5 (2021-06-23)

Bug Fixes

  • authentication-oauth: Omit query from internal calls (#2398) (04c7c83)
  • core: Add list of protected methods that can not be used for custom methods (#2390) (6584a21)
  • hooks: Migrate built-in hooks and allow backwards compatibility (#2358) (759c5a1)
  • koa: Use extended query parser for compatibility (#2397) (b2944ba)
  • Update database adapter common repository urls (#2380) (3f4db68)

Features

  • typescript: Allow to pass generic service options to adapter services (#2392) (f9431f2)
  • Support being a built-in CodeSandbox sandbox (#2381) (a2ac25a)
  • adapter-commons: Add support for params.adapter option and move memory adapter to @feathersjs/memory (#2367) (a43e7da)

5.0.0-pre.4 (2021-05-13)

Bug Fixes

  • transport-commons: Fix route placeholder registration and improve radix router performance (#2336) (4d84dfd)
  • typescript: Move Paginated type back for better compatibility (#2350) (2917d05)

Features

5.0.0-pre.3 (2021-04-21)

Bug Fixes

  • typescript: Improve TypeScript backwards compatibility (#2310) (f33be73)

Features

5.0.0-pre.2 (2021-04-06)

Note: Version bump only for package feathers

5.0.0-beta.1 (2021-04-03)

Bug Fixes

  • adapter-tests: Add test that verified paginated total (#2273) (879bd6b)
  • dependencies: Fix transport-commons dependency and update other dependencies (#2284) (05b03b2)
  • feathers: Always enable hooks on default service methods (#2275) (827cc9b)

Features

  • adapter-commons: Added mongoDB like search in embedded objects (687e3c7)

5.0.0-beta.0 (2021-03-28)

Bug Fixes

  • adapter-commons: Always respect paginate.max (#2267) (f588257)
  • transport-commons: Do not error when adding an undefined connection to a channel (#2268) (28114c4)
  • Resolve some type problems (#2260) (a3d75fa)
  • Update Grant usage and other dependencies (#2264) (7b0f8fa)
  • adapter-commons: Return missing overloads (#2203) (bbe7e2a)
  • socketio-client: Fix client transport-commons reference (#2164) (3a42c54)

Features

  • core: Public custom service methods (#2270) (e65abfb)
  • Application service types default to any (#1566) (d93ba9a)
  • Feathers v5 core refactoring and features (#2255) (2dafb7c)
  • authentication-client: Throw separate OauthError in authentication client (#2189) (fa45ec5)
  • core: Remove Uberproto (#2178) (ddf8821)
  • transport-commons: New built-in high performance radix router (#2177) (6d18065)

BREAKING CHANGES

  • core: Services no longer extend Uberproto objects and service.mixin() is no longer available.

5.0.0-pre.1 (2020-12-17)

Features

  • memory: Move feathers-memory into @feathersjs/memory (#2153) (dd61fe3)

5.0.0-pre.0 (2020-05-19)

Bug Fixes

  • errors: Format package.json with spaces (cbd31c1)

chore

  • configuration: Remove environment variable substitution (#1942) (caaa21f)
  • package: Remove @feathersjs/primus packages from core (#1919) (d20b7d5), closes #1899

Features

  • core: Migrate @feathersjs/feathers to TypeScript (#1963) (7812529)
  • core: use @feathers/hooks and add async type (#1929) (a5c4756)
  • transport-commons: Remove legacy message format and unnecessary client timeouts (#1939) (5538881)

BREAKING CHANGES

  • configuration: Falls back to node-config instead of adding additional functionality like path replacements and automatic environment variable insertion.
  • transport-commons: Removes the old message format and client service timeout
  • package: Remove primus packages to be moved into the ecosystem.

5.0.0-pre.0 (2020-05-19)

Bug Fixes

  • authentication-oauth: Updated typings for projects with strictNullChecks (#1941) (be91206)
  • errors: Format package.json with spaces (cbd31c1)

chore

  • configuration: Remove environment variable substitution (#1942) (caaa21f)
  • package: Remove @feathersjs/primus packages from core (#1919) (d20b7d5), closes #1899

Features

  • core: Migrate @feathersjs/feathers to TypeScript (#1963) (7812529)
  • core: use @feathers/hooks and add async type (#1929) (a5c4756)
  • transport-commons: Remove legacy message format and unnecessary client timeouts (#1939) (5538881)

BREAKING CHANGES

  • configuration: Falls back to node-config instead of adding additional functionality like path replacements and automatic environment variable insertion.
  • transport-commons: Removes the old message format and client service timeout
  • package: Remove primus packages to be moved into the ecosystem.

4.5.11 (2020-12-05)

Bug Fixes

  • authentication-client: Allow reAuthentication using specific strategy (#2140) (2a2bbf7)
  • socketio-client: Throw an error and show a warning if someone tries to use socket.io-client v3 (#2135) (cc3521c)
  • typescript: Fix data property definition in @feathersjs/errors (#2018) (ef1398c)

4.5.10 (2020-11-08)

Bug Fixes

  • authentication: consistent response return between local and jwt strategy (#2042) (8d25be1)
  • authentication-oauth: session.destroy is undefined when use cookie-session package (#2100) (46e84b8)
  • package: Fix clean script in non Unix environments (#2110) (09b62c0)
  • typescript: Add user property to the Params. (#2090) (1e94265)

4.5.9 (2020-10-09)

Bug Fixes

  • authentication-local: Keep non-objects in protect hook (#2085) (5a65e2e)
  • authentication-oauth: Always end session after oAuth flows are finished (#2087) (d219d0d)
  • configuration: Fix handling of config values that start with . or .. but are not actually relative paths; e.g. ".foo" or "..bar" (#2065) (d07bf59)
  • rest-client: Handle non-JSON errors with fetch adapter (#2086) (e24217a)

4.5.8 (2020-08-12)

  • authentication-client: Fix storage type so it works with all supported interfaces (#2041) (6ee0e78)

4.5.7 (2020-07-24)

Bug Fixes

  • authentication: Add JWT getEntityQuery (#2013) (e0e7fb5)
  • typescript: Revert add overload types for find service methods (#1972)" (#2025) (a9501ac)

4.5.6 (2020-07-12)

Bug Fixes

  • authentication: Omit query in JWT strategy (#2011) (04ce7e9)

4.5.5 (2020-07-11)

Bug Fixes

  • authentication: Include query params when authenticating via authenticate hook #2009 (4cdb7bf)
  • authentication-oauth: Updated typings for projects with strictNullChecks (#1941) (be91206)
  • typescript: add overload types for find service methods (#1972) (ef55af0)

4.5.4 (2020-04-29)

Bug Fixes

  • authentication-local: Allow to hash passwords in array data (#1936) (64705f5)
  • authentication-oauth: Add getEntity method to oAuth authentication and remove provider field for other calls (#1935) (d925c1b)

4.5.3 (2020-04-17)

Bug Fixes

  • authentication: Remove entity from connection information on logout (#1889) (b062753)
  • authentication-oauth: Allow req.feathers to be used in oAuth authentication requests (#1886) (854c9ca)
  • errors: Add 410 Gone to errors (#1849) (6801428)
  • typescript: Add type keys to service pagination options. (#1888) (859c601)
  • typescript: Use stricter type for HookContext 'method' prop (#1896) (24a41b7)

4.5.2 (2020-03-04)

Bug Fixes

  • Updated typings for express middleware (#1839) (6b8e897)
  • authentication: Improve JWT strategy configuration error message (#1844) (2c771db)
  • package: update grant-profile to version 0.0.11 (#1841) (5dcd2aa)
  • test: typo in password (#1797) (dfba6ec)
  • typescript: Make HookMap and HookObject generics. (#1815) (d10145d)

4.5.1 (2020-01-24)

Note: Version bump only for package feathers

4.5.0 (2020-01-18)

Bug Fixes

  • Add params.authentication type, remove hook.connection type (#1732) (d46b7b2)

Features

  • authentication-oauth: Set oAuth redirect URL dynamically and pass query the service (#1737) (0b05f0b)
  • rest-client: Allow for customising rest clients (#1780) (c5cfec7)

4.4.3 (2019-12-06)

Bug Fixes

  • adapter-commons: Filter arrays in queries (#1724) (872b669)

4.4.1 (2019-11-27)

Bug Fixes

4.4.0 (2019-11-27)

Bug Fixes

  • authentication-client: Reset authentication promise on socket disconnect (#1696) (3951626)
  • core: Improve hook missing parameter message by adding the service name (#1703) (2331c2a)
  • rest-client: Allow to customize getting the query (#1594) (5f21272)
  • transport-commons: Allow to properly chain SocketIo client.off (#1706) (a4aecbc)
  • typescript: Allow specific service typings for Hook and HookContext (#1688) (f5d0ddd)

Features

  • authentication: Add parseStrategies to allow separate strategies for creating JWTs and parsing headers (#1708) (5e65629)
  • authentication-oauth: Set oAuth redirect URL dynamically (#1608) (1293e08)

4.3.11 (2019-11-11)

Bug Fixes

  • authentication: Retain object references in authenticate hook (#1675) (e1939be)
  • authentication-oauth: Allow hash based redirects (#1676) (ffe7cf3)

4.3.10 (2019-10-26)

Note: Version bump only for package feathers

4.3.9 (2019-10-26)

Bug Fixes

  • Add jsonwebtoken TypeScript type dependency (317c80a)
  • Only initialize default Express session if oAuth is actually used (#1648) (9b9b43f)
  • Small type improvements (#1624) (50162c6)

4.3.8 (2019-10-14)

Bug Fixes

  • Remove adapter commons type alternatives (#1620) (c9f3086)

4.3.7 (2019-10-14)

Bug Fixes

  • Improve authentication client default storage initialization (#1613) (d7f5107)
  • improve Service and AdapterService types (#1567) (baad6a2)
  • make __hooks writable and configurable (#1520) (1c6c374)
  • Typings for express request and response properties (#1609) (38cf8c9)

4.3.6 (2019-10-07)

Bug Fixes

4.3.5 (2019-10-07)

Bug Fixes

  • Authentication type improvements and timeout fix (#1605) (19854d3)
  • Change this reference in client libraries to explicitly passed app (#1597) (4e4d10a)
  • Improve error message when authentication strategy is not allowed (#1600) (317a312)

4.3.4 (2019-10-03)

Bug Fixes

4.3.3 (2019-09-21)

Bug Fixes

  • check for undefined access token (#1571) (976369d)
  • Small improvements in dependencies and code sturcture (#1562) (42c13e2)

4.3.2 (2019-09-16)

Bug Fixes

4.3.1 (2019-09-09)

Bug Fixes

  • Fix regression in transport commons (#1551) (ed9e934)
  • Omit standard protocol ports from the default hostname (#1543) (ef16d29)
  • Use long-timeout for JWT expiration timers (#1552) (65637ec)

4.3.0 (2019-08-27)

Bug Fixes

  • Only remove token on NotAuthenticated error in authentication client and handle error better (#1525) (13a8758)

4.3.0-pre.4 (2019-08-22)

Bug Fixes

  • Fix auth publisher mistake (08bad61)

4.3.0-pre.3 (2019-08-19)

Bug Fixes

  • Expire and remove authenticated real-time connections (#1512) (2707c33)
  • Update all dependencies (7d53a00)
  • Use WeakMap to connect socket to connection (#1509) (64807e3)

Features

4.3.0-pre.2 (2019-08-02)

Bug Fixes

  • @feathersjs/adapter-commons: update id is non-nullable (#1468) (43ec802)
  • Add getEntityId to JWT strategy and fix legacy Socket authentication (#1488) (9a3b324)
  • Add method to reliably get default authentication service (#1470) (e542cb3)
  • Do not error in authentication client on logout (#1473) (8211b98)
  • Improve Params typing (#1474) (54a3aa7)

4.3.0-pre.1 (2019-07-11)

Note: Version bump only for package feathers

4.0.0-pre.5 (2019-07-10)

Bug Fixes

  • Fix feathers-memory dependency that did not get updated (9422b13)
  • Remove unnecessary top level export files in @feathersjs/express (#1442) (73c3fb2)

Features

  • @feathersjs/express allow to pass an existing Express application instance (#1446) (853a6b0)

4.0.0-pre.4 (2019-07-05)

Bug Fixes

  • @feathersjs/adapter-commons: remove data from remove arguments (#1426) (fd54ae9)
  • @feathersjs/express: allow middleware arrays (#1421) (b605ab8)
  • @feathersjs/express: replace reduce with map (#1429) (44542e9)
  • Clean up hooks code (#1407) (f25c88b)
  • Fix @feathersjs/feathers typings http import (abbc07b)
  • Fix OpenCollective link (28888a1)
  • Improve transport-commons types (#1396) (f9d8536)
  • Updated typings for ServiceMethods (#1409) (b5ee7e2)

Features

  • adapter-commons: add allowsMulti(method) to AdapterService (#1431) (e688851)
  • Add hook-less methods and service option types to adapter-commons (#1433) (857f54a)

4.0.0-pre.3 (2019-06-01)

Bug Fixes

  • Make oAuth paths more consistent and improve authentication client (#1377) (adb2543)
  • Set authenticated: true after successful authentication (#1367) (9918cff)
  • Typings fix and improvements. (#1364) (515b916)
  • Update dependencies and fix tests (#1373) (d743a7f)

4.0.0-pre.2 (2019-05-15)

Bug Fixes

Features

4.0.0-pre.1 (2019-05-08)

Bug Fixes

  • Add registerPublisher alias for .publish (#1302) (98fe8f8)
  • Always require strategy parameter in authentication (#1327) (d4a8021)
  • Bring back params.authenticated (#1317) (a0ffd5e)
  • Do not log as errors below a 500 response (#1256) (33fd0e4)
  • Guard against null in client side logout function (#1319) (fa7f057)
  • Handle error oAuth redirect in authentication client (#1307) (12d48ee)
  • Improve authentication parameter handling (#1333) (6e77204)
  • Improve oAuth option handling and usability (#1335) (adb137d)
  • Merge httpStrategies and authStrategies option (#1308) (afa4d55)
  • Rename jwtStrategies option to authStrategies (#1305) (4aee151)
  • Update version number check (53575c5)
  • Updated HooksObject typings (#1300) (b28058c)

Features

4.0.0-pre.0 (2019-04-21)

Bug Fixes

  • Add test to make sure different id in adapter query works (#1165) (0ba4580)
  • Add whitelist and filter support to common adapter service (#1132) (df1daaa)
  • Added path and method in to express request for passport (#1112) (afa1cb4)
  • Authentication core improvements (#1260) (c5dc7a2)
  • Catch connection initialization errors (#1043) (4f9acd6)
  • Compare socket event data using lodash's isEqual instead of indexOf (#1061) (f706db3)
  • Do not inherit app object from Object prototype (#1153) (ed8c2e4)
  • Fix AdapterService multi option when set to true (#1134) (40402fc)
  • Improve JWT authentication option handling (#1261) (31b956b)
  • make codeclimate conform to rule of three (#1076) (0a2ce87)
  • Make Mocha a proper devDependency for every repository (#1053) (9974803)
  • More robust parsing of mongodb connection string. Use new url parser. (#1002) (74b31df)
  • Normalize params to object even when it is falsy (#1012) (af97818)
  • Only merge authenticated property on update (8a564f7)
  • reduce authentication connection hook complexity and remove unnecessary checks (fa94b2f)
  • support a secretProvider (#1063) (9da26ad)
  • Support Logger swallowing (#995) (5b3b37e), closes /github.com/feathersjs/generator-feathers/pull/392#issuecomment-420408312
  • Throw error in filterQuery when query parameter is unknown (#1131) (cd1a183)
  • Update 401.html (#983) (cec6bae)
  • Update 404.html (#984) (72132d1)
  • Update adapter common tests (#1135) (8166dda)
  • Update adapter common tests to check for falsy (#1140) (2856722)
  • Update adapter tests to not rely on error instance (#1202) (6885e0e)
  • Update all dependencies to latest (#1206) (e51e0f6)
  • adapter-commons: Keep Symbols when filtering a query (#1141) (c9f55d8)
  • authentication: Fall back when req.app is not the application when emitting events (#1185) (6a534f0)
  • chore: Add .npmignore to adapter-commons (8e129d8)
  • chore: Properly configure and run code linter (#1092) (fd3fc34)
  • chore: Remove CLI and generators that belong in their own repositories (#1091) (e894ac8)
  • compile-task: on windows machine (#60) (617e0a4)
  • docs/new-features: syntax highlighting (#347) (4ab7c95)
  • knex: Fix knex + sql server issues when using authentication generator (#257) (8f8f75f)
  • package: update @feathersjs/commons to version 2.0.0 (#31) (c1ef5b1)
  • package: update @feathersjs/commons to version 2.0.0 (#692) (ca665ab)
  • package: update config to version 3.0.0 (#1100) (c9f4b42)
  • use minimal RegExp matching for better performance (#977) (3ca7e97)
  • package: update @feathersjs/commons to version 2.0.0 (#45) (9e82595)
  • package: update @feathersjs/commons to version 2.0.0 (#84) (78ed39c)
  • package: update debug to version 3.0.0 (#2) (7e19603)
  • package: update debug to version 3.0.0 (#22) (0b62606)
  • package: update debug to version 3.0.0 (#30) (baf7a00)
  • package: update debug to version 3.0.0 (#31) (902ddf5)
  • package: update debug to version 3.0.0 (#31) (f23d617)
  • package: update debug to version 3.0.0 (#45) (2391434)
  • package: update debug to version 3.0.0 (#45) (9b9bde5)
  • package: update debug to version 3.0.0 (#555) (f788804)
  • package: update debug to version 3.0.0 (#59) (fedcf06)
  • package: update debug to version 3.0.0 (#61) (6f5009c)
  • package: update debug to version 3.0.0 (#83) (49f1de9)
  • package: update debug to version 3.0.0 (#86) (fd1bb6b)
  • package: update debug to version 3.0.1 (#46) (f8ada69)
  • package: update generator-feathers to version 1.0.3 (#81) (0c66bc5)
  • package: update generator-feathers to version 1.0.5 (#83) (229caba)
  • package: update generator-feathers to version 1.0.6 (#86) (7ae8e56)
  • package: update generator-feathers to version 1.1.0 (#93) (f393e4c)
  • package: update generator-feathers to version 1.1.1 (#95) (3279ba9)
  • package: update generator-feathers to version 1.2.0 (#96) (8eb5674)
  • package: update generator-feathers to version 1.2.10 (#115) (c1db2b2)
  • package: update generator-feathers to version 1.2.11 (#116) (bba6550)
  • package: update generator-feathers to version 1.2.12 (#119) (e5c737d)
  • package: update generator-feathers to version 1.2.2 (#98) (ee629e3), closes #97
  • package: update generator-feathers to version 1.2.3 (#99) (b6cf361)
  • package: update generator-feathers to version 1.2.4 (#101) (2182fef)
  • package: update generator-feathers to version 1.2.5 (#104) (295f6aa)
  • package: update generator-feathers to version 1.2.6 (#106) (66125dc)
  • package: update generator-feathers to version 1.2.9 (#110) (17e55dc)
  • package: update generator-feathers to version 2.0.0 (#126) (eff6627)
  • package: update generator-feathers to version 2.1.0 (#128) (b712355)
  • package: update generator-feathers to version 2.1.1 (#129) (1f91c0b)
  • package: update generator-feathers to version 2.2.0 (#130) (308ad0b)
  • package: update generator-feathers to version 2.3.0 (#131) (7894807)
  • package: update generator-feathers to version 2.3.1 (#132) (c3e3187)
  • package: update generator-feathers to version 2.4.0 (#137) (1645d2e)
  • package: update generator-feathers to version 2.4.1 (#140) (e5a5f7c)
  • package: update generator-feathers to version 2.4.4 (#151) (3dcd480)
  • package: update generator-feathers to version 2.5.2 (#155) (493ca4b)
  • package: update generator-feathers to version 2.5.3 (#156) (ef570a8)
  • package: update generator-feathers to version 2.5.4 (#158) (787f30c)
  • package: update generator-feathers to version 2.5.5 (#159) (bbd1b29)
  • package: update generator-feathers to version 2.5.6 (#161) (cb72a5c)
  • package: update generator-feathers to version 2.6.0 (#164) (6212ec9)
  • package: update generator-feathers-plugin to version 0.11.0 (#105) (d40bb75)
  • package: update generator-feathers-plugin to version 0.12.1 (#112) (f374e01)
  • package: update generator-feathers-plugin to version 1.0.0 (#134) (ee905b0)
  • package: update jsonwebtoken to version 8.0.0 (#567) (6811626)
  • package: update ms to version 2.0.0 (#509) (7e4b0b6)
  • package: update passport to version 0.4.0 (#558) (dcb14a5)
  • package: update passport-jwt to version 4.0.0 (#58) (77a3800)
  • package: update socket.io to version 2.0.0 (#75) (d4a4b71)
  • package: update yeoman-environment to version 2.0.0 (#89) (2355652)
  • package: update yeoman-generator to version 2.0.0 (#279) (4f38e8b)
  • package: update yeoman-generator to version 2.0.0 (#46) (7071095)
  • package: update yeoman-generator to version 3.0.0 (#374) (acdbbca)

chore

  • package: Move adapter tests into their own module (#1164) (dcc1e6b)
  • drop support for Node.js 0.10 (#48) (3f7555a)

Features

  • @feathers/cli: introduce option to choose jest for tests instead of mocha (#1057) (1356a1c)
  • @feathersjs/authentication-oauth (#1299) (656bae7)
  • Add authentication through oAuth redirect to authentication client (#1301) (35d8043)
  • Add AuthenticationBaseStrategy and make authentication option handling more explicit (#1284) (2667d92)
  • Add TypeScript definitions (#1275) (9dd6713)
  • Added generators for feathers-objection & feathers-cassandra (#1010) (c8b27d0)
  • Allow registering a service at the root level (#1115) (c73d322)
  • Allow to skip sending service events (#1270) (b487bbd)
  • Authentication v3 client (#1240) (65b43bd)
  • Authentication v3 core server implementation (#1205) (1bd7591)
  • Authentication v3 Express integration (#1218) (82bcfbe)
  • Authentication v3 local authentication (#1211) (0fa5f7c)
  • Common database adapter utilities and test suite (#1130) (17b3dc8)
  • Make custom query for oAuth authentication (#1124) (5d43e3c)
  • Remove (hook, next) signature and SKIP support (#1269) (211c0f8)
  • Support params symbol to skip authenticate hook (#1296) (d16cf4d)

BREAKING CHANGES

  • Rewrite for authentication v3
  • Update authentication strategies for @feathersjs/authentication v3
  • package: Removes adapter tests from @feathersjs/adapter-commons
  • Move database adapter utilities from @feathersjs/commons into its own module
  • This module no longer supports Node.js 0.10