Skip to content

Releases: Vanderhoof/PyDBML

1.0.8

14 May 11:57

Choose a tag to compare

  • Fix: (#27) allowing comments after Tables, Enums, etc. Thanks @marktaff for reporting

1.0.7

11 Dec 11:29

Choose a tag to compare

  • Fix: removing indentation bug

1.0.6

11 Dec 11:14

Choose a tag to compare

  • Fix: (#26) bug in note empty line stripping, thanks @Jaschenn for reporting
  • New: get_references_for_sql table method

1.0.5

20 Nov 08:36

Choose a tag to compare

  • Fix: junction table now has the schema of the first referenced table (as introduced in DBML 2.4.3)
  • Fix: typing issue which failed for Python 3.8 and Python 3.9

Compliant with DBML 2.4.4 syntax

1.0.4

23 Oct 09:25

Choose a tag to compare

Changelog:

  • New: referenced tables in SQL are now defined first in SQL (#23 reported by @minhl)
  • Fix: single quotes were not escaped in column notes (#24 reported by @fivegrant)

1.0.3

25 Sep 10:07

Choose a tag to compare

Changelog:

  • Fix: inline many-to-many references were not rendered in sql

1.0.2

06 Aug 11:37

Choose a tag to compare

  • New: "backslash newline" is supported in note text (line continuation)
  • New: notes have reference to their parent. Note.sql now depends on type of parent (for tables and columns it's COMMENT ON clause)
  • New: pydbml no longer splits long notes into multiple lines
  • Fix: inline ref schema bug, thanks to @jens-koster
  • Fix: (#16) notes were not idempotent, thanks @jens-koster for reporting
  • Fix: (#15) note objects were not supported in project definition, thanks @jens-koster for reporting
  • Fix: (#20) schema didn't work in table group definition, thanks @mjfii for reporting
  • Fix: quotes in note text broke sql and dbml
  • New: proper support of composite primary keys without creating an index
  • New: support of many-to-many relationships

1.0.1

28 May 08:45

Choose a tag to compare

1.0.0

22 May 10:20

Choose a tag to compare

  • New project architecture, full support for creating and editing DBML. See details in the docs
  • New Expression class
  • Support DBML 2.4.1 syntax:
    • Multiline comments
    • Multiple schemas

0.4.2

30 Jan 16:50

Choose a tag to compare

  • Fix: after editing column name index dbml was not updated.
  • Fix: enums with spaces in name were not applied.
  • Fix: after editing column name table dict was not updated.
  • Fix: after editing enum column type was not updated.
  • Removed EnumType class. Only Enum is used now.