Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Library Dependencies and Code for Feathers 5 (Dove) #210

Merged
merged 6 commits into from
Sep 20, 2023

Conversation

pdfowler
Copy link
Contributor

@pdfowler pdfowler commented Jun 11, 2023

Summary

I'm putting the final touches on our upgrade to Feathers v5 Dove, and keep running into inconsistent builds, with probelms traced back to v4.x feathers-common and feathers-adapter-commons libraries getting referenced from this library. This PR brings feathers-authentication-management in-line with the v5 release.

This PR builds on the branch from @mdartic and ensures that the test suite is passing. I am currently testing an internaly published package based on this branch and will update as needed.

Todo

  • Complete internal testing and validation
  • Audit documentation for necessary changes

Other Information

mdartic and others added 6 commits June 10, 2023 20:17
* Upgrade feathers to dove

* Add typings related for dove migration

* First iteration on tests, need more work

* Update dependencies to pre.30

* Transform hooks in a generic way for HookContext

* Add @sinclair/typebox in dev dependency (need to be removed later)

* Set node >= 14 for github CI and package.json as feathers dove supports node >= 14

* Fix tests and implementation
* use NullableId for checkUnique
* update hashPassword for reusing same context instead of new one (never transmitted)
* replace typing for hooks as @fratzinger advice

* Update to dove pre.31
@netlify
Copy link

netlify bot commented Jun 11, 2023

Deploy Preview for feathers-a-m ready!

Name Link
🔨 Latest commit a7a010c
🔍 Latest deploy log https://app.netlify.com/sites/feathers-a-m/deploys/6485407cb417360008e47a32
😎 Deploy Preview https://deploy-preview-210--feathers-a-m.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@pdfowler pdfowler changed the title refactor!: migrate to feathers dove (#196) refactor!: migrate to feathers dove Jun 11, 2023
@pdfowler pdfowler changed the title refactor!: migrate to feathers dove upgrade dependencies to feathers dove Jun 11, 2023
@pdfowler pdfowler changed the title upgrade dependencies to feathers dove Update Library Dependencies and Code for Feathers 5 (Dove) Jun 12, 2023
@ymarcon
Copy link

ymarcon commented Sep 20, 2023

Anyone to review this PR?

@claustres
Copy link
Collaborator

As far as I can see I don't see any breaking changes or doubtful refactoring and tests are passing, good job. However, as I am less familiar with latest typescript version I suggest @fratzinger to review it as well.

@fratzinger
Copy link
Collaborator

I'll merge and do some chore work like updating dependencies right now. I'll release a major version afterwards. Thank you all for your work and sorry for the delay! ❤️

@fratzinger fratzinger merged commit a949c84 into feathersjs-ecosystem:master Sep 20, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants