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

fix(deps): update server dependencies #735

Merged
merged 4 commits into from
Mar 20, 2023
Merged

fix(deps): update server dependencies #735

merged 4 commits into from
Mar 20, 2023

Conversation

Birkbjo
Copy link
Member

@Birkbjo Birkbjo commented Mar 14, 2023

Updating most important server deps and their related dependencies.

Breaking changes include:

  • Most of the upgraded deps now require node@14
    - We should probably look into requiring node@16, @hapipal/schmervice@3 requires that. But that involves updating Dockerfile
  • Most notably knex@1 onwards changes returning API to always return object - before if only one column was supplied it returned it directly. See https://github.com/knex/knex/releases/tag/1.0.0
  • hapi-pino has removed prettyPrint-option, and now requires specifiying the transport. Also updated to not use it in production, since pino-pretty recommends against using it in prod.
    • We recommend against using pino-pretty in production and highly recommend installing pino-pretty as a development dependency.

Base automatically changed from next to master March 20, 2023 14:16
@Birkbjo Birkbjo changed the base branch from master to next March 20, 2023 14:31
@Birkbjo Birkbjo merged commit ff18ecb into next Mar 20, 2023
@Birkbjo Birkbjo deleted the update-deps branch March 20, 2023 14:51
@dhis2-bot
Copy link
Contributor

🎉 This PR is included in version 2.32.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants