Skip to content

Version v0.2.0 πŸ¦€

Compare
Choose a tag to compare
@JMTamayo JMTamayo released this 01 Jun 13:29
· 126 commits to main since this release
d0b9519

What's new

Added:

  • πŸ§‘πŸ»β€πŸ’» Implement ErrorKind::SQLxError when mysql-sqlx or pg-sqlx features are enabled [BREAKING CHANGE].
  • πŸ§‘πŸ»β€πŸ’» Implement is_sqlx_error() method for ErrorKind 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 and ErrorKind according to the new ErrorKind structure [BREAKING CHANGE].
  • πŸ”¨ Rename SqlxPagination to SQLxPagination [BREAKING CHANGE].

Removed:

  • ❌ Remove ErrorKind::DatabaseError and ErrorKind::FromRowError when mysql-sqlx or pg-sqlx features are enabled [BREAKING CHANGE].
  • ❌ Remove is_database_error() and is_from_row_error() methods from ErrorKind according to its new structure [BREAKING CHANGE].
  • ❌ Remove Clone implementation for PaginationError and ErrorKind [BREAKING CHANGE].

What's Changed

Full Changelog: v0.1.4...v0.2.0