RA.Utilities.Core.Constants
· 2 min read
Version 10.0.0-rc.2
This release focuses on enhancing the clarity, consistency, and completeness of the constants provided by the package. The changes make the constants more intuitive to use and align the code with the documentation.
✨ Key Features
- Expanded
BaseResponseMessages:- Added new constants for
Created,Updated,Deleted,Forbidden, andConflictto provide a more comprehensive set of standard messages. - Improved the wording of existing messages for better clarity (e.g.,
Success,BadRequest,NotFound).
- Added new constants for
- Refined
ResponseTypeEnum:- Removed the
Databasemember to abstract away implementation details from the API contract, promoting a cleaner separation of concerns. - Removed the redundant
Unknownmember, asErrorserves as a better general-purpose error type.
- Removed the
- Improved Documentation:
- The
README.mdhas been significantly updated to accurately reflect all available constants inBaseResponseCode,BaseResponseMessages,HeaderParameters, and theResponseTypeenum. - Added clear tables and usage examples to improve the developer experience.
- The
📝 Notes
The goal of this update is to make the RA.Utilities.Core.Constants package a more robust and self-documenting source of truth for your application's core values. These changes ensure that developers have a consistent and predictable set of constants for building API responses and handling HTTP headers.
Thank you for using RA.Utilities!