Skip to content

Releases: ayoub3bidi/mercury

0.4.0

30 May 09:23

Choose a tag to compare

Mercury v0.4.0

2026 upgrade release: production-ready auth, configuration, and community standards.

Highlights

  • pydantic-settings — typed Settings replaces manual env parsing
  • Production hardening — env-gated Swagger/CORS, TrustedHost middleware, startup validation for weak secrets
  • Auth — constant-time login, unified 401 errors, pwdlib Argon2 (legacy hash upgrade on login), active-user check on admin routes
  • Architecture — FastAPI lifespan (Redis init), Flyway-only schema (no create_all), sync UserRepository
  • DX — pre-commit (Ruff), README endpoint guide, Docker Hub docs (ayoub3bidi/mercury)
  • Community — CODE_OF_CONDUCT, CONTRIBUTING, SECURITY, issue/PR templates
  • CI — integration tests fixed for TrustedHostMiddleware (testserver host)

Upgrade notes

  • Set ALLOWED_HOSTS for your domains in production (default includes localhost, testserver for tests).
  • With APP_ENV=production, use strong JWT_SECRET_KEY (32+ chars) and non-default POSTGRES_PASSWORD or the API will refuse to start.
  • Remove or disable the seeded admin (test@admin.com) in production.
  • Existing sha256_crypt passwords are upgraded to Argon2 on next successful login.

Docker

docker pull ayoub3bidi/mercury:latest

Full stack: docker compose up --build (see README).

0.3.2

27 May 10:43

Choose a tag to compare

Full Changelog: v0.3.1...v0.3.2

0.3.1

15 Mar 11:45

Choose a tag to compare

Full Changelog: v0.3.0...v0.3.1

0.3.0

01 Feb 14:20

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.2.1...v0.3.0

0.2.4-beta

18 Feb 14:35

Choose a tag to compare

What's Changed

Full Changelog: v0.2.3-beta...v0.2.4-beta

0.2.3-beta

04 Feb 17:26

Choose a tag to compare

What's Changed

Full Changelog: v0.2.2-beta...v0.2.3-beta

v0.2.2-beta

10 Oct 12:11

Choose a tag to compare

This is the first official release 🥳

  • Unit & Integration tests added 🧪
  • Constant variables refactoring ♻️

Project Maturity: Admin focus

08 Oct 17:09
692c0cd

Choose a tag to compare

Pre-release

For this release we focused on the admin side, providing an auth_guard for the admin along with user CRUD.
The project is getting mature for future public release.

Project architecture: Refactoring

05 Oct 16:41

Choose a tag to compare

Pre-release

A lot of refactoring has been done for better dev experience.

Initial release

04 Oct 17:30

Choose a tag to compare

Initial release Pre-release
Pre-release

This will be the first version of Mercury template, which has the basics of any FastApi project from authentication and auth guards to Dockerization for faster deployment. Of course, there will be a lot of improvements coming in the subsequent releases.