zero-to-production
zero-to-production copied to clipboard
deps: upgrade secrecy to v0.10 and use alpine images
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 andfake
to 2.10.0 - Upgraded
serde
,sqlx
, and several other libraries to their latest stable versions.
- Update
-
Password Handling Refactor:
- Switched from
Secret<String>
toSecretString
andSecretBox<String>
for enhanced security in password storage and handling. - Updated related code across multiple modules to reflect the new types, ensuring consistency and clarity.
- Switched from
-
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.
- Changed PostgreSQL to use the
-
Test Adjustments:
- Modified various tests to align with the new password handling logic and updated dependency versions