github javedh-dev/tracktor 0.4.0
v0.4.x

16 hours ago

Highlights: ๐Ÿš€ VIN display fix, vehicle images in cards, stronger backend logging & validation, tests added, and a breaking auth route rename.

What's new

  • ๐Ÿ–ผ๏ธ Frontend: Vehicle images are now supported and displayed in the vehicle card โ€” richer UI.
  • ๐Ÿงพ Backend: Added structured logging using Winston for clearer, searchable logs.
  • โœ… Common: Multi-environment configuration added (dev/staging/prod) for safer deployments.

Improvements

  • ๐Ÿ” Frontend: Fixed VIN number display so VINs render correctly in the UI.
  • ๐Ÿ” Frontend: Added a fetch wrapper to standardize API calls (consistent error handling, headers, etc.).
  • ๐Ÿฌ Frontend: Migrated to class-based stores for more consistent data fetching and state usage.
  • ๐Ÿงฐ Backend: Added data validation via a common wrapper at the route level (improves request validation & reduces duplicate code).
  • โ†•๏ธ Backend: Added secondary sort for fuel logs filled on the same day (stable, predictable ordering).

Testing

  • ๐Ÿงช Frontend: Added frontend helper tests.
  • ๐Ÿ”ฌ Backend: Added backend API tests.

Breaking changes / Migration notes

  • โš ๏ธ Backend: Auth route renamed from /api/pin to /api/auth โ€” update any clients, integrations, or documentation to use /api/auth. This is a breaking change for consumers calling the old endpoint.

Developer / Ops notes

  • ๐Ÿ”ง Logging: Winston configuration is in place โ€” ensure log aggregation/forwarding is updated if you rely on a specific log format or transport.
  • โ™ป๏ธ Validation: Route-level validation wrapper centralizes schema checks โ€” review any custom per-route validation that may now be redundant.
  • ๐ŸŒ Environments: Multi-environment config requires environment-specific variables; verify CI/CD and deployment configs contain the new keys.

Recommended actions

  • Update all clients/integrations to use /api/auth instead of /api/pin.
  • Verify logging/monitoring dashboards post-deploy (Winston format).
  • Run full regression focusing on vehicle cards (VIN and images) and fuel log ordering.
  • Confirm environment variables for each environment are present before deploying.

Don't miss a new tracktor release

NewReleases is sending notifications on new releases.