Skip to content

Releases: srittau/dbupgrade

Release 2023.10.0

08 Oct 16:02
Compare
Choose a tag to compare

Drop support for Python 3.7 and 3.8.

dbupgrade is now easier to use as a library:

  • db_upgrade, VersionInfo, MAX_VERSION, and MAX_API_LEVEL are now
    re-exported from dbupgrade.
  • Add a py.typed file to indicate that dbupgrade is a typed package.

Release 2023.2.0

03 Feb 12:31
Compare
Choose a tag to compare

Switch to Calendar Versioning (CalVer).

  • Fix percent characters when using SQLAlchemy 1 as well.

Release 2.3.3

30 Jan 14:03
Compare
Choose a tag to compare
  • Don't escape percent characters when using SQLAlchemy 2.

Release 2.3.2

30 Jan 13:35
Compare
Choose a tag to compare
  • Make compatible with SQLAlchemy 2.

Release 2.3.0

28 Feb 17:41
Compare
Choose a tag to compare
  • Add a --json option to print update information in JSON format.

Release 2.2.0

28 Feb 17:36
Compare
Choose a tag to compare
  • Return with exit code 1 when encountering an SQL error.

Release 2.1.0

06 May 17:07
Compare
Choose a tag to compare

Add dbupgrade.__main__. dbupgrade can now be executed using python3 -m dbupgrade.

Release 2.0.0

06 Aug 16:43
Compare
Choose a tag to compare

Incompatible Changes

  • Drop support for Python 3.5 and 3.6.
  • Use sqlparse to split SQL statements. While this will provide greater
    SQL compatibility overall, it may be incompatible with some existing
    SQL files.

Release 1.0.0

16 Jul 11:27
Compare
Choose a tag to compare

Improvements

  • Add --quiet option.

Release 0.2.2

14 Jun 14:44
Compare
Choose a tag to compare
Release 0.2.2 Pre-release
Pre-release

Improvements

  • Relax type requirements for the stream arguments of
    parse_sql_stream(), split_sql(), and execute_stream().

Bug Fixes

  • Fix escaping of percent signs.