Releases: canjs/can-connect-feathers
Releases · canjs/can-connect-feathers
Workaround for can-zone-storage bug
The can-zone-storage
module has a bug outside of the DoneSSR environment. This patch uses an internal copy of it that is DoneSSR aware, which fixes the bug.
PR: #49
Catch 'not-authenticated' errors in Session.current
Use official FeathersJS Client with can-connect behaviors
- This is a big update with a dramatically different API.
- Not yet compatible with Done-SSR. Keep using the 2.x.x version if you need SSR.
- You can now directly use the official Feathers Client library.
- Includes a service behavior for connecting to Feathers services.
- Includes a session behavior for assisting with Feathers's JWT authentication.
- Requires the feathers-authentication-client library to be used in the Feathers Client setup.
- Augments the provided Map constructor with a current property. ie. Your Session Map will now have a Session.current property with the authenticated "session" data. Remember that the term "session" is just a formality here, since Feathers uses stateless JWT and not actual sessions on the server.
- Includes feathers-authentication-popups support for automatically handling OAuth provider logins (Twitter, Facebook, GitHub)
PR: #39
v2.0.0
- This version is exactly the same as the 1.x.x versions with a single breaking change.
- Solved a bug where the internal version of jQuery would conflict with the version used in your app. Added jquery as a required option. You must provide the version of jquery that you plan to use in your app.