Skip to content

Releases: evgomes/supermarket-api

2.1.0

09 Feb 21:52
436897e
Compare
Choose a tag to compare
  • 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

05 Jul 17:54
bd1fa83
Compare
Choose a tag to compare
  • 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 and ProductReponse types to use a generic Response<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

26 Nov 19:51
3d05025
Compare
Choose a tag to compare
  • 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.

1.3.0

15 Dec 17:21
Compare
Choose a tag to compare
  • Updated ASP.NET Core to 3.1;
  • Updated Swagger;
  • Fixed InMemoryProvider and AutoMapper issues;
  • Fixed paging calculation mistake;
  • Updated descriptions.

1.2.1

11 Aug 22:01
Compare
Choose a tag to compare

Changed BaseResponse to use generics as a way to simplify responses.

1.2.0

15 Jul 22:48
Compare
Choose a tag to compare
  • Changed api/products endpoint to allow pagination.

1.1.0

19 Jun 02:01
Compare
Choose a tag to compare
  • Added Swashbuckle;
  • Added memory cache through IMemoryCache;
  • Changed ModelState validation to use ApiController and InvalidModelStateResponseFactory;
  • Changed products listing to enable filtering by category.

1.0.0

19 Jun 02:02
Compare
Choose a tag to compare

The first version of the API, presented in the tutorial.