Skip to content

Releases: SeaQL/sea-schema

0.16.0

17 Oct 07:17
33f77f1
Compare
Choose a tag to compare

Upgrades

  • Upgrade sea-query to 0.32.0 #136
  • Upgrade sea-query-binder to 0.7.0 #136
  • Upgrade sqlx to 0.8 #136

0.16.0-rc.1

09 Aug 10:21
9b8559e
Compare
Choose a tag to compare
0.16.0-rc.1 Pre-release
Pre-release

Upgrades

  • Upgrade sea-query to 0.32.0-rc #136
  • Upgrade sea-query-binder to 0.7.0-rc #136
  • Upgrade sqlx to 0.8 #136

0.15.0

09 Aug 10:11
dd5eafe
Compare
Choose a tag to compare

Features

  • Rework SQLite data type mapping #117
  • Update binary and bit data types mapping #122

Bug fixes

  • Fix constraint query when table is partitioned #125
  • Fix Postgres foreign key column without unique constraint #131
  • Fix discovery of MySQL, SQLite and PostgreSQL unique indexes #133

Breaking changes

  • SchemaProbe::query_tables(..) changed to SchemaProbe::query_tables(&self, ..) #127
  • SchemaProbe::has_table(..) changed to SchemaProbe::has_table(&self, ..) #126
  • SchemaProbe::has_column(..) changed to SchemaProbe::has_column(&self, ..) #126
  • SchemaProbe::has_index(..) changed to SchemaProbe::has_index(&self, ..) #126

Enhancements

  • Added non-TLS runtime #134

Upgrades

  • Upgrade syn to 2 #129

0.15.0-rc.7

15 Mar 23:40
b24a13b
Compare
Choose a tag to compare
0.15.0-rc.7 Pre-release
Pre-release

Features

  • Rework SQLite data type mapping #117
  • Update binary and bit data types mapping #122

Bug fixes

  • Fix constraint query when table is partitioned #125
  • Fix Postgres foreign key column without unique constraint #131
  • Fix discovery of MySQL, SQLite and PostgreSQL unique indexes #133

Breaking changes

  • SchemaProbe::query_tables(..) changed to SchemaProbe::query_tables(&self, ..) #127
  • SchemaProbe::has_table(..) changed to SchemaProbe::has_table(&self, ..) #126
  • SchemaProbe::has_column(..) changed to SchemaProbe::has_column(&self, ..) #126
  • SchemaProbe::has_index(..) changed to SchemaProbe::has_index(&self, ..) #126

Enhancements

  • Added non-TLS runtime #134

0.14.2

18 Jan 11:00
Compare
Choose a tag to compare

Bug fixes

  • Fix composite foreign key discovery for Postgres #118
  • Fix composite foreign key discovery for SQLite #119

House keeping

  • Fix clippy warnings on 1.75 #121

0.14.1

14 Sep 07:36
Compare
Choose a tag to compare
  • Added has_index to SchemaProbe #115

0.14.0

21 Jul 14:00
Compare
Choose a tag to compare

Upgrades

  • Upgrade sea-query to 0.30 #114
  • Upgrade sea-query-binder to 0.5 #114
  • Upgrade sqlx to 0.7 #114

Bug fixes

  • Fix PostgreSQL enum arrays and case-sensitive types #108

New Contributors

Full Changelog: 0.12.0...0.14.0

0.12.0

20 Jul 14:50
Compare
Choose a tag to compare

Features and upgrades

  • Skip parsing partitioned Postgres tables #105
  • Upgrade heck dependency in sea-schema-derive to 0.4 #103
  • Upgrade sea-query to 0.29 #104
  • Upgrade sea-query-binder to 0.4 #104
  • Replace the use of SeaRc<T> where T isn't dyn Iden with RcOrArc<T> #107
  • Customized parsing logic for MySQL and MariaDB column default #110
    • Properly distinguish between Value and Expression, and the very special CURRENT_TIMESTAMP
  • Improve SQLite's column default parsing logic #112

Breaking changes

  • API now returns Result instead of panic on errors #109
  • ColumnDefault changed from a struct into an enum #110
  • Added CurrentTimestamp variant to SQLite's DefaultType #112

New Contributors

Full Changelog: 0.11.0...0.12.0

0.11.0

05 Jan 09:55
Compare
Choose a tag to compare
  • Upgrade SeaQuery to 0.28 #90
  • Changed all version = "^x.y.z" into version = "x.y.z" and disabled default features and enable only the needed ones #93
  • Skip parsing Postgres check constraints when check expression is empty #96
  • Parsing Postgres citext column type #94

0.10.3

16 Nov 05:06
Compare
Choose a tag to compare
  • Backward compatible schema discovery for MySQL 5.6 #86