Skip to content

Latest commit

 

History

History
1565 lines (1178 loc) · 79.6 KB

File metadata and controls

1565 lines (1178 loc) · 79.6 KB

v7.1.2 (2026-04-28)

🤖 Dependencies Update

  • dbml-connector, dbml-core, dbml-parse

Committers: 1

v7.1.1 (2026-04-17)

🐛 Bug Fix

  • dbml-parse
  • dbml-core, dbml-parse

Committers: 2

v7.1.0 (2026-04-16)

📝 Documentation

🐛 Bug Fix

  • dbml-cli, dbml-connector, dbml-core, dbml-parse

🏡 Internal

  • dbml-cli, dbml-connector, dbml-core, dbml-parse
  • dbml-connector
  • dbml-parse
    • #787 DBX-6749 chore(deps): bump node-forge from 1.3.1 to 1.3.3 in /dbml-homepage (@dependabot[bot])
  • Other

Committers: 3

v7.0.0 (2026-04-10)

🚀 New Feature

  • dbml-core, dbml-parse

Committers: 2

v6.6.0 (2026-04-02)

📝 Documentation

🚀 New Feature

  • dbml-core, dbml-parse
    • #850 feat: add token position to TableRecord for source location tracking (@nguyenalter)

Committers: 2

v6.5.0 (2026-03-24)

📝 Documentation

  • #837 Refactor documentation structure and improve wording (@TeaNguyen)

🐛 Bug Fix

  • dbml-core
    • #839 fix(postgres): support UNIQUE NULLS NOT DISTINCT constraint syntax (@frenzzy)
  • dbml-connector
    • #835 Short-circuit null check constraints (db2dbml mssql) (@ajar)

🚀 New Feature

Committers: 4

v6.4.0 (2026-02-26)

🐛 Bug Fix

  • dbml-core
    • #830 Remove "type": "module" from @dbml/core's package.json so that CJS consumers can consume .d.ts files (@hdnax)

🚀 New Feature

  • dbml-core
    • #831 Add options object to exporter and importer to control record generation (@hdnax)

Committers: 1

v6.3.0 (2026-02-13)

🚀 New Feature

  • dbml-cli, dbml-core, dbml-parse
    • #800 Support sample table data in DBML - Add Records blocks to define sample data within tables or as standalone elements with full constraint validation (PK, FK, unique, not null) (@hdnax)
    • #800 Support parsing INSERT statements from SQL and converting to DBML Records (MySQL, PostgreSQL, Oracle, MSSQL, Snowflake) (@hdnax)
    • #800 Support exporting Records to INSERT statements in all SQL dialects with automatic constraint handling (@hdnax)
    • #800 Add support for scientific notation in number literals (e.g., 1.23e5, -4.56e-3) (@hdnax)
    • #800 Add DBMLDiagnosticsProvider class with provideDiagnostics(), provideErrors(), provideWarnings() methods (@hdnax)

💥 Breaking Change

  • dbml-core
    • #800 Hardcode Report<T, E> to Report<T> - E is now always CompileError, added support for CompileWarning. Use getErrors() and getWarnings() methods to access diagnostics (@hdnax)

🐛 Bug Fix

  • dbml-core
    • Fix null values to be consistently lowercased in SQL export instead of varying cases (NULL, null, Null) (@hdnax)
    • Fix missing type definitions in @dbml/core (added missing RecordValue, NormalizedRecord and other exported types) (@hdnax)
    • Fix incorrect Token import from antlr4 package (@hdnax)

🏡 Internal

  • dbml-core
    • Build output now uses .cjs and .esm file extensions for non-ambiguity in module loaders (@hdnax)

Committers: 1

v6.2.1 (2026-02-11)

🏡 Internal

  • dbml-core
    • #821 Expose raw and non-raw model structure types (@hdnax)
    • #821 Make RawField's dbdefault a precise type (@hdnax)
    • #821 Add missing records field to NormalizedModel (@hdnax)
    • #821 Add NormalizedRecord and NormalizedRecordIdMap and remove NormalizedRecords for consistency with other types (@hdnax)

Committers: 1

v6.2.0 (2026-02-10)

🏡 Internal

  • dbml-cli, dbml-connector, dbml-core, dbml-parse
    • #798 Migrate to vite & vitest to speed up build & test process and reduce bundle size (@hdnax)
      • Bundle size:
        • Before: 33MB (CJS)
        • After: 15MB (CJS), 25MB (ESM)
      • Build performance:
        • Before: ~1.5 min
        • After: ~10 sec
      • Test performance:
        • Before: ~10 min
        • After: ~3 min
    • #798 No longer upload unnecessary HTML coverage reports to github to reduce CI cost (@hdnax)
  • dbml-core
    • #798 Disable coverage tests & run normal tests for @dbml/core in CI as the package is too large (@hdnax)

Committers: 1

v6.1.0 (2026-02-06)

🏡 Internal

  • dbml-core
    • #816 Centralize and expose normalized model structure types from @dbml/core (@hdnax)

Committers: 1

v6.0.0 (2026-02-05)

🐛 Bug Fix

  • dbml-parse
    • #811 Use unwrap_or instead of unwrap to avoid validation error when validating the scope of DBML elements (@hdnax)

💥 Breaking Change

  • dbml-core
    • #812 Fix: update postgres lexer and base class to support json operators (@NQPhuc)

Committers: 2

v5.5.1 (2026-01-30)

🐛 Bug Fix

  • dbml-parse
    • #808 Properly validate column reference in incomplete ref elements (@hdnax)

Committers: 1

v5.5.0 (2026-01-30)

🐛 Bug Fix

  • dbml-core
    • #806 Add support for ALTER TABLE WITH CHECK/NOCHECK in MSSQL parser/AST generator (@hdnax)

💥 Breaking Change

  • dbml-parse
    • #530 Refactor binder and partial injection handling (@hdnax)

Committers: 1

v5.4.1 (2026-01-13)

🐛 Bug Fix

  • dbml-connector
    • #782 Avoid connection leak in @dbml/connector
    • #782 Minor parser bugs related to token's offset and handlings of empty element names (@hdnax)

🏡 Internal

  • dbml-cli, dbml-connector, dbml-core, dbml-parse
  • dbml-parse
    • #782 Setup property-based, example-based & fuzz testing (@hdnax)

Committers: 1

v5.4.0 (2026-01-09)

📝 Documentation

  • dbml-core
    • #791 Doc/Document database features support (@H-DNA)

🚀 New Feature

Committers: 3

v5.3.1 (2025-12-23)

🤖 Dependencies Update

  • dbml-connector
  • Other
    • #790 chore(deps)/bump node-glob to v10.5.0 (@H-DNA)

Committers: 2

v5.3.0 (2025-12-04)

🚀 New Feature

  • dbml-cli, dbml-connector, dbml-core

Committers: 1

v5.2.0 (2025-11-19)

🐛 Bug Fix

  • dbml-cli, dbml-connector, dbml-core, dbml-parse
    • #774 db2dbml not marking primary key composite indexes with pk (@H-DNA)
    • #774 @dbml/connector's fetchSchemaJson now respects the Field type definition defined in @dbml/connector and @dbml/core's generateDatabase now expects pk key instead of primary in Field object (@H-DNA)
  • dbml-core
    • #654 fix(dbml/core): avoid dangling 'default: ' in DbmlExporter when field.dbdefault.type is invalid (@Mrxyy)

🚀 New Feature

  • dbml-core
    • #778 Support dynamic delimiter in mysql parser (@H-DNA)
  • dbml-cli, dbml-core
  • dbml-parse
    • #777 Feat/support enum as default value (@H-DNA)

🏡 Internal

  • dbml-cli, dbml-connector, dbml-core, dbml-parse

Committers: 2

v5.1.0 (2025-10-28)

🚀 New Feature

  • dbml-cli, dbml-connector, dbml-core
    • #766 Support check constraints in @dbml/connector (@H-DNA)

Committers: 1

v5.0.0 (2025-10-28)

💥 Breaking Change

  • dbml-cli, dbml-core, dbml-parse
    • #770 Breaking change: Change constraint keyword to check (@H-DNA)

Committers: 1

v4.0.0 (2025-10-23)

🚀 New Feature

  • dbml-cli, dbml-core, dbml-parse

💥 Breaking Change

  • dbml-cli, dbml-core, dbml-parse
    • #765 fix!: Remove CONSTRAINT from pl_unreserved_keywords in PostgreSQL ANTLR syntax (@H-DNA)

Committers: 1

v3.14.1 (2025-09-22)

🐛 Bug Fix

  • dbml-core
    • #759 fix: export dbml to oracle - export default value before inline constraint (@huyleminh01)

🤖 Dependencies Update

Committers: 1

v3.14.0 (2025-09-16)

📝 Documentation

🐛 Bug Fix

  • #745 DBX-6210 misc: bump form-data v4 to 4.0.4 and v2 to 2.5.5 to fix security issues (@NQPhuc)

🚀 New Feature

🤖 Dependencies Update

Committers: 5

v3.13.9 (2025-07-22)

🐛 Bug Fix

  • dbml-cli, dbml-connector, dbml-core, dbml-parse
    • #743 fix: remove lodash-es from external config and update lodash import to have better tree shaking (@nguyenalter)

Committers: 1

v3.13.8 (2025-07-22)

🤖 Dependencies Update

  • dbml-cli, dbml-connector, dbml-core, dbml-parse
    • #739 perf(dbml-parse): Migrate lodash to lodash-es to reduce bundle size and fix indirect import issue (@xuantho573)

Committers: 1

v3.13.7 (2025-07-16)

🐛 Bug Fix

  • dbml-cli, dbml-connector, dbml-core, dbml-parse
    • #738 Fix builtin data types with uppercase characters are double-quoted when export DBML to Postgres (@xuantho573)

🤖 Dependencies Update

  • #737 DBX-6165 - chore(deps): bump brace-expansion from 1.1.11 to 1.1.12 in /dbml-homepage (@dependabot[bot])

Committers: 2

v3.13.6 (2025-06-19)

📝 Documentation

🐛 Bug Fix

  • dbml-cli, dbml-core
    • #735 DBX-4495 Surround column type with quotes when export if it contain uppercase character (@NQPhuc)

🤖 Dependencies Update

Committers: 4

v3.13.5 (2025-05-08)

🐛 Bug Fix

  • dbml-cli, dbml-connector, dbml-core, dbml-parse
  • dbml-parse

Committers: 2

v3.13.4 (2025-05-06)

🐛 Bug Fix

  • dbml-cli, dbml-connector, dbml-core, dbml-parse
    • #728 Feat: allow unlimited prefix expression in column type with argument and default value (@NQPhuc)
    • #720 Fix not handling column type with arguments in TablePartial (@xuantho573)
  • dbml-core, dbml-parse
    • #727 Fix table must define column when have partials with columns (@xuantho573)

🚀 New Feature

  • dbml-cli, dbml-connector, dbml-core, dbml-parse
    • #728 Feat: allow unlimited prefix expression in column type with argument and default value (@NQPhuc)

Committers: 2

v3.13.2 (2025-05-05)

🐛 Bug Fix

  • dbml-cli, dbml-connector

Committers: 2

v3.13.1 (2025-04-28)

🐛 Bug Fix

  • dbml-core

🤖 Dependencies Update

Committers: 2

v3.13.0 (2025-04-24)

📝 Documentation

  • dbml-cli, dbml-connector, dbml-core, dbml-parse

🐛 Bug Fix

  • dbml-connector
    • #714 Fix flaky db2dbml/mssql test cause by inconsistent table ordering (@NQPhuc)
  • dbml-core
    • #713 fix(antlr.pg): filter null table when importing postgresql (@NQPhuc)

🚀 New Feature

  • dbml-cli, dbml-connector, dbml-core, dbml-parse

🏡 Internal

  • dbml-connector
    • #714 Fix flaky db2dbml/mssql test cause by inconsistent table ordering (@NQPhuc)
  • dbml-cli, dbml-connector, dbml-core, dbml-parse

Committers: 2

v3.12.0 (2025-04-08)

📝 Documentation

  • dbml-cli, dbml-connector, dbml-core, dbml-parse
    • #690 Support parse insert from SQL DDL and new parser for MSSQL (@huyleminh01)
  • Other

🚀 New Feature

  • dbml-cli, dbml-connector, dbml-core, dbml-parse
    • #690 Support parse insert from SQL DDL and new parser for MSSQL (@huyleminh01)

Committers: 2

v3.11.0 (2025-04-01)

📝 Documentation

🚀 New Feature

  • dbml-cli, dbml-connector
    • #692 [DBX-5925] Add key pair authentication for Snowflake connector (@xuantho573)

🤖 Dependencies Update

  • dbml-cli, dbml-connector
    • #692 [DBX-5925] Add key pair authentication for Snowflake connector (@xuantho573)

Committers: 4

v3.10.2 (2025-03-03)

🐛 Bug Fix

  • dbml-cli, dbml-connector

🤖 Dependencies Update

Committers: 2

v3.10.1 (2025-02-28)

🐛 Bug Fix

  • dbml-core, dbml-parse
    • #683 fix: Incorrect Ref color settings position (@NQPhuc)

🚀 New Feature

  • dbml-core, dbml-parse
    • #678 ft: support color and name for short & long forms of the relationship (@NQPhuc)

Committers: 1

v3.9.6 (2025-02-20)

🐛 Bug Fix

  • dbml-parse
    • #677 DBX-5750: Fix an issue where tab characters are not recognized as white-space characters (@xuantho573)
  • dbml-core, dbml-parse
    • #679 Fix: Unset not_null if null or not_null setting is not specified (@nguyenalter)
  • dbml-connector

Committers: 4

v3.9.5 (2024-12-13)

📝 Documentation

🐛 Bug Fix

🤖 Dependencies Update

v3.9.4 (2024-12-05)

🐛 Bug Fix

  • dbml-connector
    • #660 fix: db2dbml bigquery connector's query (@kenzht)

🤖 Dependencies Update

Committers: 2

v3.9.3 (2024-10-30)

🐛 Bug Fix

  • dbml-cli, dbml-connector

Committers: 2

v3.9.2 (2024-10-15)

🐛 Bug Fix

  • dbml-core

Committers: 1

v3.9.1 (2024-10-14)

🐛 Bug Fix

  • dbml-cli, dbml-connector
    • #645 Fix mssql connector - Missing data type size for numeric-based and string-based columns (@huyleminh01)
  • dbml-core

Committers: 3

v3.9.0 (2024-09-13)

🐛 Bug Fix

  • dbml-parse
    • #632 chore/upgrade vite plugin dts & fix tsconfig to properly include all sources (@Huy-DNA)

💥 Breaking Change

  • dbml-core, dbml-parse
    • #594 Parse/fix!/no longer support escaping triple quote (@Huy-DNA)

🤖 Dependencies Update

Committers: 2

v3.8.1 (2024-09-11)

📝 Documentation

🐛 Bug Fix

  • dbml-cli, dbml-connector
  • dbml-core
    • #629 Fix: When the parameter format is JSON in Parser.parse, the first parameter 'parse' must be RawDatabase (@Mrxyy)

Committers: 3

v3.8.0 (2024-08-27)

📝 Documentation

🚀 New Feature

🤖 Dependencies Update

Committers: 3

v3.7.4 (2024-08-26)

📝 Documentation

🚀 New Feature

Committers: 2

v3.7.3 (2024-08-19)

📝 Documentation

🐛 Bug Fix

  • dbml-core, dbml-parse
  • dbml-parse

Committers: 4

v3.7.2 (2024-08-14)

📝 Documentation

🚀 New Feature

Committers: 3

v3.7.1 (2024-08-13)

🐛 Bug Fix

  • dbml-cli, dbml-core
    • #609 Fix - Clean build cache and required using node 18 or higher (@huyleminh01)

Committers: 1

v3.7.0 (2024-08-12)

🚀 New Feature

Committers: 3

v3.6.2 (2024-07-31)

🏃‍♀️ Performance

🏡 Internal

  • dbml-parse
    • #592 chore: config vite to gen .d.ts file on build (@Huy-DNA)

Committers: 3

v3.6.1 (2024-07-23)

🐛 Bug Fix

  • dbml-parse
    • #588 fix: safe unwrapping in suggesting attribute value when name is blank (@Huy-DNA)

🤖 Dependencies Update

Committers: 2

v3.6.0 (2024-07-17)

🚀 New Feature

🤖 Dependencies Update

Committers: 2

v3.5.1 (2024-06-11)

🐛 Bug Fix

  • dbml-parse
    • #579 Fix/silent errors in compiler api stack container (@Huy-DNA)

Committers: 2

v3.5.0 (2024-06-04)

📝 Documentation

🐛 Bug Fix

  • dbml-parse

🚀 New Feature

Committers: 3

v3.4.3 (2024-04-26)

🐛 Bug Fix

  • dbml-cli, dbml-core, dbml-parse
  • dbml-core, dbml-parse

🤖 Dependencies Update

Committers: 3

v3.4.2 (2024-04-25)

🐛 Bug Fix

  • dbml-core, dbml-parse
    • #561 parse/fix/throw undefined at primary expression (@Huy-DNA)
  • dbml-cli, dbml-core
    • #549 fix(postgresql): properly handle definition of unique and PK constraints in ALTER TABLE statements (@pierresouchay)

🤖 Dependencies Update

Committers: 3

v3.4.1 (2024-04-16)

🐛 Bug Fix

  • dbml-core, dbml-parse

🚀 New Feature

  • dbml-core, dbml-parse
  • dbml-parse
    • #535 Support continuation mark and catch invalid escape sequence (@Huy-DNA)

💥 Breaking Change

  • dbml-cli, dbml-core

Committers: 3

v3.4.0 (2024-03-19)

🐛 Bug Fix

  • dbml-parse

🚀 New Feature

  • dbml-cli, dbml-core

Committers: 3

v3.3.0 (2024-03-19)

📝 Documentation

🐛 Bug Fix

🚀 New Feature

  • dbml-parse
    • #521 Parser/support non ascii letters in identifiers (@Huy-DNA)

Committers: 4

v3.2.0 (2024-02-26)

🚀 New Feature

Committers: 1

v3.1.8 (2024-02-21)

🐛 Bug Fix

  • dbml-parse

Committers: 2

v3.1.7 (2024-02-20)

🐛 Bug Fix

Committers: 2

v3.1.6 (2024-02-20)

📝 Documentation

🐛 Bug Fix

💥 Breaking Change

Committers: 3

v3.1.5 (2024-02-06)

🐛 Bug Fix

  • dbml-parse

Committers: 2

v3.1.4 (2024-02-05)

🐛 Bug Fix

  • dbml-core, dbml-parse

Committers: 2

v3.1.3 (2024-02-01)

🐛 Bug Fix

  • dbml-parse
    • #504 Fix/dbml alias & primary key & note content bug (@Huy-DNA)

Committers: 2

v3.1.2 (2024-01-24)

📝 Documentation

  • dbml-parse
    • #498 feat: support strings and identifiers in column caller type (@huy-dna)

🐛 Bug Fix

  • dbml-core
  • dbml-parse
    • #498 feat: support strings and identifiers in column caller type (@huy-dna)

Committers: 3

v3.1.1 (2024-01-18)

  • Fix wrong casing file names in published package

v3.1.0 (2024-01-18)

📝 Documentation

🐛 Bug Fix

  • dbml-core
    • #487 fix: type of note field that is string doesn show (@Mrxyy)
  • dbml-cli, dbml-parse

🚀 New Feature

  • dbml-cli, dbml-core

💥 Breaking Change

  • dbml-cli, dbml-core

Committers: 3

v3.0.0 (2023-11-23)

🐛 Bug Fix

🚀 New Feature

  • dbml-cli, dbml-core, dbml-parse

💥 Breaking Change

  • dbml-cli, dbml-core, dbml-parse

🤖 Dependencies Update

Committers: 4

v2.6.1 (2023-10-16)

📝 Documentation

  • #437 Update CLI documentation about postgres-legacy option (@NQPhuc)

🐛 Bug Fix

Committers: 2

v2.6.0 (2023-09-06)

📝 Documentation

🐛 Bug Fix

  • dbml-cli, dbml-core
    • #416 Add antlr grammar and visitor for postgresql (@NQPhuc)

🚀 New Feature

  • dbml-cli, dbml-core
    • #416 Add antlr grammar and visitor for postgresql (@NQPhuc)

💥 Breaking Change

  • dbml-cli, dbml-core
    • #416 Add antlr grammar and visitor for postgresql (@NQPhuc)

🏡 Internal

Committers: 7

v2.5.4 (2023-07-18)

📝 Documentation

🐛 Bug Fix

  • dbml-core

🏡 Internal

🤖 Dependencies Update

Committers: 4

v2.5.3 (2023-04-17)

🏃‍♀️ Performance

🏡 Internal

🤖 Dependencies Update

Committers: 1

v2.5.2 (2023-03-27)

🤖 Dependabot security fixes

🐛 Bug Fix

  • dbml-core
    • #342 Rendering schema name for table comments (@mhueck)

Committers: 1

v2.5.1 (2023-02-17)

🤖 Dependabot security fixes

🏃‍♀️ Performance

📝 Documentation

🏡 Internal

  • dbml-cli, dbml-core

Committers: 2

v2.5.0 (2023-02-07)

🚀 New Feature

💥 Breaking Change

Committers: 1

v2.4.4 (2022-11-08)

🐛 Bug Fix

Committers: 1

v2.4.3 (2022-10-13)

🐛 Bug Fix

  • dbml-core
  • dbml-core
  • dbml-core
    • #283 Support schema name for the junction table of many-to-many relationship (@baolequoc)
  • dbml-core
    • #291 Support timestamptz and timetz type for import postgresSQL (@baolequoc)

Committers: 2

v2.4.2 (2022-06-02)

🚀 New Feature

  • dbml-cli, dbml-core

Committers: 2

v2.4.1 (2022-04-26)

🐛 Bug Fix

  • dbml-cli, dbml-core
    • #256 Ignore unsupported Posgrest ALTER commands (@NQPhuc)
  • dbml-core
    • #257 Ignore unsupported Mysql ALTER commands (@NQPhuc)

🚀 New Feature

  • dbml-cli, dbml-core

Committers: 2

v2.4 (2022-03-08)

📝 Documentation

🐛 Bug Fix

  • dbml-cli, dbml-core
  • dbml-cli

🚀 New Feature

  • dbml-cli, dbml-core

💥 Breaking Change

  • dbml-cli, dbml-core

Committers: 4

v2.3.1 (2021-07-26)

🐛 Bug Fix

  • dbml-core
    • #192 Dbml core/support postgres array and fix mysql bugs (@NQPhuc)

🚀 New Feature

  • dbml-core

Committers: 1

v2.3.0 (2021-01-04)

🚀 New Feature

Committers: 1

v2.2.0 (2020-12-30)

📝 Documentation

🐛 Bug Fix

  • dbml-core
    • #111 Fix export table note (@khanhtmn)
    • #102 Fix endpoint error handling and support for implicit foreign key reference for mssql (@phanbaominh)

🚀 New Feature

  • dbml-core
    • #150 Support parse time data type. (@t-duc)
    • #131 [Enhancement]support symbol for mysql importer (@khoahuynhdev)
    • #102 Fix endpoint error handling and support for implicit foreign key reference for mssql (@phanbaominh)

Committers: 5

v2.1.0 (2020-06-05)

📝 Documentation

🚀 New Feature

Committers: 10

v2.0.1 (2020-04-16)

🐛 Bug Fix

Committers: 2

v2.0.0-alpha.0 (2020-02-27)

💥 Breaking Change

🚀 New Feature

📝 Documentation

🐛 Bug Fix

Committers: 2

v1.3.1 (2020-01-22)

🐛 Bug Fix

Committers: 2

v1.3.0 (2019-12-24)

🚀 New Feature

🏡 Internal

Committers: 3

v1.2.1 (2019-10-30)

🐛 Bug Fix

Committers: 1

v1.2.0 (2019-10-24)

🚀 New Feature

  • dbml-core

Committers: 2

v1.1.3 (2019-10-10)

🚀 New Feature

  • dbml-cli, dbml-core

Committers: 1

v1.1.2 (2019-09-04)

🐛 Bug Fix

  • dbml-core

🚀 New Feature

Committers: 3

v1.1.1 (2019-09-03)

🐛 Bug Fix

Committers: 1

v1.1.0 (2019-09-02)

📝 Documentation

💥 Breaking Change

🏡 Internal

Committers: 1

v1.0.0 (2019-08-19)

💥 Breaking Change

🏡 Internal

Committers: 2