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

4.0.0 - Migrate to async/await #22

Merged
merged 19 commits into from
Feb 5, 2024
Merged

4.0.0 - Migrate to async/await #22

merged 19 commits into from
Feb 5, 2024

Conversation

jankapunkt
Copy link
Member

@jankapunkt jankapunkt commented Jan 3, 2024

Might be breaking for older setups!

  • bump minimal node to 16
  • upgrade @node-oauth/oauth2-server to 5.1.0
  • drop bluebird dependency
  • upgrade all deps / dev-deps
  • refactor all code to minimum es6
  • use native async/await
  • update ci to use minimum node 16
  • update readme and changelog
  • make express peer depdendency with * value so there will always be the express version used that is installed by users
  • test coverage to 100%

@jankapunkt jankapunkt changed the title Migrate es 6 4.0.0 - Migrate to async/await Jan 3, 2024
index.js Outdated Show resolved Hide resolved
test/integration/index_test.js Dismissed Show dismissed Hide dismissed
test/integration/index_test.js Dismissed Show dismissed Hide dismissed
@jankapunkt
Copy link
Member Author

@jorenvandeweyer please note that express is now a peer dependency, since there will soon be a major transition to express 5 while many ppl will still run on express 4 and from what I see this peer dependency is a good way to avoid major version conflicts by always pointing to the user's express installation. On the tests we use latest express 4 rn, though

@jankapunkt
Copy link
Member Author

@jorenvandeweyer resolved the issues, can you please review, again?

docs/scripts/prettify/lang-css.js Dismissed Show dismissed Hide dismissed
docs/scripts/prettify/lang-css.js Dismissed Show dismissed Hide dismissed
docs/scripts/prettify/lang-css.js Dismissed Show dismissed Hide dismissed
docs/scripts/prettify/lang-css.js Dismissed Show dismissed Hide dismissed
@jankapunkt
Copy link
Member Author

Published @node-oauth/express-oauth-server@4.0.0-rc.0

@jankapunkt jankapunkt linked an issue Jan 9, 2024 that may be closed by this pull request
This was referenced Jan 27, 2024
@jankapunkt jankapunkt merged commit deb11f2 into master Feb 5, 2024
5 checks passed
@dhensby dhensby deleted the migrate-es-6 branch February 5, 2024 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants