Version v0.2.0 π¦
What's new
Added:
- π§π»βπ» Implement
ErrorKind::SQLxError
when mysql-sqlx or pg-sqlx features are enabled [BREAKING CHANGE]. - π§π»βπ» Implement
is_sqlx_error()
method forErrorKind
according to its new structure when mysql-sqlx or pg-sqlx features are enabled [BREAKING CHANGE]. - π§π»βπ» Implement From<sqlx::Error> for
PaginationError
when mysql-sqlx or pg-sqlx features are enabled. - π§π»βπ» Including example of use with axum.
Changed:
- π¨ Derive and Display implementations for
PaginationError
andErrorKind
according to the newErrorKind
structure [BREAKING CHANGE]. - π¨ Rename
SqlxPagination
toSQLxPagination
[BREAKING CHANGE].
Removed:
- β Remove
ErrorKind::DatabaseError
andErrorKind::FromRowError
when mysql-sqlx or pg-sqlx features are enabled [BREAKING CHANGE]. - β Remove
is_database_error()
andis_from_row_error()
methods fromErrorKind
according to its new structure [BREAKING CHANGE]. - β Remove Clone implementation for
PaginationError
andErrorKind
[BREAKING CHANGE].
What's Changed
Full Changelog: v0.1.4...v0.2.0