Releases: evgomes/supermarket-api
Releases · evgomes/supermarket-api
2.1.0
- Updated .NET version to .NET 8.
- Updated libraries to match the most recent .NET version.
- Added Docker support.
- Refactored code to use expression body methods, primary constructors, and new object and collection initialization.
- Added
required
constraint to resources.
2.0.0
- Updated .NET version to .NET 7.
- Updated AutoMapper, Entity Framework Core, and Swashbuckle dependencies to match .NET 7.
- Enabled implicit usings and nullable types.
- Added global usings and removed implicit namespaces from the source code.
- Renamed the
UnitOfMeasurement
enum type to make it follow the official naming convention. - Removed
CategoryResponse
andProductReponse
types to use a genericResponse<T>
record type instead. - Changed API resources to use record types instead of classes, and to initialize values in an immutable way using
init
. - Added configuration to make all API routes lower-case.
- Refactored services to include logging using the standar .NET logging provider and to make code cleaner.
1.4.0
- Updated .NET version to .NET 5.
- Updated AutoMapper, Entity Framework Core, and Swashbuckle dependencies to match .NET 5.
- Created BaseApiController class to standardize routes and to automatically apply data annotations validation by using the ApiController attribute.
- Refactored logic to seed database data and to apply entity type configuration for application models.