zero-to-production icon indicating copy to clipboard operation
zero-to-production copied to clipboard

deps: upgrade secrecy to v0.10 and use alpine images

Open rootCircle opened this issue 4 months ago • 0 comments

This PR upgrades various dependencies in the project to their latest versions and refactors password handling mechanisms for improved security and maintainability. Key changes include:

  • Dependency Upgrades:

    • Update secrecy to 0.10.3 and fake to 2.10.0
    • Upgraded serde, sqlx, and several other libraries to their latest stable versions.
  • Password Handling Refactor:

    • Switched from Secret<String> to SecretString and SecretBox<String> for enhanced security in password storage and handling.
    • Updated related code across multiple modules to reflect the new types, ensuring consistency and clarity.
  • Database and Redis Docker Images:

    • Changed PostgreSQL to use the 17-alpine variant for a more lightweight setup.
    • Updated Redis initialization to use the 7-alpine variant.
  • Test Adjustments:

    • Modified various tests to align with the new password handling logic and updated dependency versions

rootCircle avatar Oct 18 '24 08:10 rootCircle