Skip to content

v2.0.0

Latest

Choose a tag to compare

@parthnarkar parthnarkar released this 19 Nov 19:31
· 9 commits to main since this release

FitMart v2.0.0 introduces a stronger security model, serverless deployment support, TypeScript foundations, and a more polished administration experience.

What’s New

Security and Access Control

  • Replaced authentication and payment bypasses with Firebase custom claims.
  • Added secure, server-side administrator authorization.
  • Added dynamic super-admin account provisioning.
  • Improved ownership and API error enforcement.

Backend and Deployment

  • Added Vercel serverless API support.
  • Improved MongoDB and database connection handling.
  • Added TypeScript tooling and shared domain types.
  • Enhanced product, quote, cart, payment, customer, and bug APIs.
  • Replaced race-prone cart updates with atomic MongoDB operations.

Administration and UX

  • Improved customers, inventory, orders, reports, and payment workflows.
  • Added expandable order details and accurate money formatting.
  • Added dynamic browser titles across admin pages.
  • Added customer pagination and inventory consistency improvements.
  • Improved accessibility for dialogs and the Fitness ChatBot.

Developer Experience

  • Added Zod validation and consistent API response utilities.
  • Updated core dependencies and fixed Vercel build conflicts.
  • Improved deployment documentation and configuration support.

Upgrade Notes

  • Configure Firebase Admin credentials and MongoDB environment variables.
  • Set the super-admin email and password through environment variables.
  • Existing admin users must sign out and sign in again after claims are assigned.

Full Changelog

v1.3.2...v2.0.0