All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Year format is defined as: YYYY-m-d
- Introduced support to work with MySQL Databases
Fixed a bug related to migrations that prevented compiling if features were not specified.
-The "Like" operator has been added with 3 options:
Full: allows a search filtering by the field provided and the value contains the String provided.
Left: allows you to perform a filtered search by the field provided and the value ends with the String provided.
Right: allows a search filtering by the provided field and the value starts with the provided String.
The logic of the operators has been changed a bit.
The corresponding tests have been added to validate that the queries with "Like" are generated correctly.
- Added the migrations cfg feature. Removed the arguments of the Canyon main macro for enabling migrations. Now, the way to enable them is this new cfg feature.
- No changes
- Enabled conditional compilation for the database dependencies of the project. This caused a major rework in the codebase, but none of the client APIs has been affected. Now, Canyon-SQL comes with two features, ["postgres", "mssql"]. There's no default features enabled for the project.
- The configuration file has been reworked, by providing a whole category dedicated to the authentication against the database server.
- We removed the database type property, since the database type can be inferred by the new mandatory auth property
- Included support for the
MSSQL
integrated authentication via the cfg featuremssql-integrated-auth
- Implemented bool types for QueryParameters<'_>.
- Minimal performance improvements
- Adding more types to the supported ones for Tiberius in the row mapper
- Launched the first release. Published at crates.io