Skip to content

Releases: ForbesLindesay/atdatabases

@databases/[email protected]

09 Aug 16:26
f62a1bc

Choose a tag to compare

New Features

  • Sort generated type declarations alphabetically (#257)

    This makes the output more stable when adding & removing foreign keys

  • Add getIgnoreTest utility (#256)

    Given lists of tables to include and ignore, this returns a function to test if a given table should be ignored

@databases/[email protected]

09 Aug 16:26
f62a1bc

Choose a tag to compare

Bug Fixes

  • Types were sometimes generated for ignored tables if referenced by other tables (#256)

@databases/[email protected]

09 Aug 16:26
f62a1bc

Choose a tag to compare

Bug Fixes

  • Types were sometimes generated for ignored tables if referenced by other tables (#256)

@databases/[email protected]

08 Aug 10:35
585bcab

Choose a tag to compare

New Features

  • Add options to ignore tables when generating types (#254)

    • includeTables - if specified, types will only be generated for the tables listed
    • ignoreTables - if specified, types will not be generated for the tables listed, even if they are also listed in includeTables

@databases/[email protected]

08 Aug 10:35
585bcab

Choose a tag to compare

Bug Fixes

  • Add options to ignore tables when generating types (#254)

    • types.includeTables - if specified, types will only be generated for the tables listed
    • types.ignoreTables - if specified, types will not be generated for the tables listed, even if they are also listed in types.includeTables

@databases/[email protected]

08 Aug 10:35
585bcab

Choose a tag to compare

New Features

  • Add options to ignore tables when generating types (#254)

    • includeTables - if specified, types will only be generated for the tables listed
    • ignoreTables - if specified, types will not be generated for the tables listed, even if they are also listed in includeTables

@databases/[email protected]

08 Aug 10:35
585bcab

Choose a tag to compare

New Features

  • Add options to ignore tables when generating types (#254)

    • types.includeTables - if specified, types will only be generated for the tables listed
    • types.ignoreTables - if specified, types will not be generated for the tables listed, even if they are also listed in types.includeTables

@databases/[email protected]

05 Aug 10:43
ac19f8f

Choose a tag to compare

Bug Fixes

  • Support CommonJS style require (#253)

@databases/[email protected]

02 Aug 13:05
61043da

Choose a tag to compare

Bug Fixes

  • Force container to run with --platform linux/amd64 (#248)

    This ensures the container works when run on otherwise unsupported platforms such as M1 MacBooks

@databases/[email protected]

02 Aug 13:05
61043da

Choose a tag to compare

Bug Fixes

  • Prioritise foreign keys over primary keys (#250)

    If a key was both a foreign key and a primary key, we would incorrectly generate a branded type for it, rather than referencing the column being referenced by the foreign key.