Releases: DentallApp/back-end
Releases · DentallApp/back-end
v1.0.0-alpha.12
What's Changed
- feat: Implement a strategy to select the language/culture for each request in a localized ASP.NET Core app by @MrDave1999 in #254
- refactor: Get language options from the constructor to avoid memory reallocations by @MrDave1999 in #255
- feat: Add resource files in English by @MrDave1999 in #256
Full Changelog: v1.0.0-alpha.11...v1.0.0-alpha.12
v1.0.0-alpha.11
- Add unit tests for CurrentUserService and CurrentEmployeeService types by @MrDave1999 in #250
- Add integration tests for the login use case by @MrDave1999 in #251
- Create bash scripts to avoid repeating the same dotnet build and restore command in the Dockerfile by @MrDave1999 in #252
- Remove "version" from docker-compose file by @MrDave1999 in #253
v1.0.0-alpha.10
- Plug-in architecture has been implemented using the library called CPlugin.Net.
Check here for more information. - This release provides a way to dynamically load libraries (DLLs) from a configuration file (.env).
This means that the host application can decide which module to load, because there is no static reference. - CQRS pattern was applied. MediatR is not needed to apply this pattern.
- Result pattern has been implemented using the SimpleResults library.
- YeSQL.NET has been used to avoid embedding SQL code in the C# source files.
- Docker support has been added.
- A workflow has been added to run the tests on each pull request.
GitHub Actions has been used to apply continuous integration. - Integration test project has been created.
- Integration tests have been added to test the use cases with database and a test web server.
- A library called Respawn has been added to clear data from tables after a test is run.
- Project documentation has been added to README.md.
- The solution has been divided into different projects to have a better control of third-party dependencies.
- References to nuget packages have been added in a single file called Directory.Packages.props.
- Global properties have been added for all projects from a file called Directory.Build.props.
See https://devblogs.microsoft.com/nuget/introducing-central-package-management - .NET 8 support added.
- Migrated to EF Core 8.0.
- The middleware for exception handling has been removed. The current solution implements the IExceptionHandler interface to follow the OCP principle.
- Fluent Validation library has been added to use predefined validation rules and also to create custom rules.
- XML comments have been added to the controller actions to expose it in the Swagger UI.
- Scrutor library has been added to automatically register use case classes in the service collection.
This is a similar approach to what MediatR does with handlers.
v1.0.0-alpha.9
- Applied the null-condition operator to format dates. (#171, #173)
- Applied an index on some fields of the
Person
table to speed up queries. (#169, #174) - Applied a unique index to the username field. (#168, #175)
- Added the
AddJobAndTrigger
extension method. (#177) - Added the DTO to represent the inserted id in the database. (#178)
- Added support with Fluent Assertions. (#166, #179)
- Added support with NUnit for testing. (#180, #181)
- Use
[Test]
decorator in some tests. (2f464a7)
- Use
- Added middleware to handle exceptions. (#172, #182)
- Added the bot dialog tests to the integration test project. (#176, #183)
- Added support for handle database errors. (#184)
v1.0.0-alpha.8
- Removed abstractions that represent application logic. (#152, #157)
- Added new properties for database settings. (#158)
- Replaced whitespaces with underscores in the image name. (#160, #161)
- Added the use of MediatR for the
reports
module. (#159, #162) - Added new components in the
DataAccess
layer. (#163)
v1.0.0-alpha.7
- Fixed signature validation failed. (#135, #136)
- Load bot credentials from an .env file. (#137, #138)
- Added a custom endpoint for generate a Direct Line token. (#139, #142)
- Fixed
FormatException
exception thrown by the bot. (#150)
- Fixed
- Reduced code in POST/PUT operations of controllers. (#141, #143)
- Removed child layer repositories: Kinship, Gender and Appointment Status. (#140, #144)
- Fixed
InvalidOperationException
thrown by container DI. (#151)
- Fixed
- Added classes to represent the bot queries and appointment reminders. (#145)
- Added adaptive cards in the
Chatbot
module. (#146) - Added filters in the choices set. (#147, #148)
- Changed test project name to
DentalApp.UnitTests
. (#153) - Added new unit tests for the bot. (#154)
- Added a mechanism so that the user cannot use the chatbot if he is not authenticated. (#48, #155)
- Added unit tests for issue 48. (#156)
v1.0.0-alpha.6
v1.0.0-alpha.5
- Added message templates as constants. (6a6cfed)
- Added XML comments in
AdaptiveCardPrompt
. (a4862ca) - Reduce code to make it easier to read. (e57780d)
Reduce the condition that checks if the working hour is not available. - Removed the feature of sending appointment information to the patient by WhatsApp. (#127)
- Added unit tests for
AvailabilityService
. (#128) - Separate seeding data from the entity configuration. (#129)
- Avoid coupling classes with
DateTime.Now
. (#58, #130)
v1.0.0-alpha.4.2
- Removed check if current employee is a dentist. (8421b9e)
- This check caused a bug, since the admin or superadmin must be a dentist in order to assign one or more specialties to the employee.