Skip to content

Releases: multum/metalize

v0.1.4

16 Jul 17:12
Compare
Choose a tag to compare

Enhancement

  • added support for the indexes[].using option

v0.1.3

03 May 09:51
Compare
Choose a tag to compare

Enhancement

  • constructor overload: dialect instead of config
- const meralize = new Meralize({ dialect: 'postgres' });
+ const meralize = new Meralize('postgres');

Bug fix

  • fixed reading indexes (postgres)

v0.1.2

03 May 09:47
Compare
Choose a tag to compare

Bug fix

  • removed search_path reset (postgres)
  • added missing values for ForeignKey.[onUpdate|onDelete] (postgres)

Internal

  • update devDependencies

v0.1.1

19 Apr 15:31
Compare
Choose a tag to compare

Enhancement

  • improved performance

Bug fix

  • fixed order of constraints and indexes

Internal

  • added docker-compose.yml to simplify contributions
  • moved CI from Travis CI to GitHub Actions
  • improved documentation

0.1.0

05 Apr 22:17
Compare
Choose a tag to compare

Enhancement

  • replaced read(objects) with find(objects, options)
  • removed unnecessary options.client
  • removed unnecessary metalize.end method (now the connection closes automatically if necessary)

Bug fix

  • added name attribute to all database objects

Internal

  • cosmetic improvement codebase ✨
  • update devDependencies 📦

v0.0.7

05 Apr 22:07
Compare
Choose a tag to compare
Release 0.0.7

v0.0.6

27 Feb 23:54
Compare
Choose a tag to compare

Enhancement

  • add support for identity columns
  • refactor column.type to object with details
  • rename function endConnection() to end()

Internal

  • update docs and add serviceWorker
  • mocha and chai replaced in favor of jest

v0.0.5

11 Feb 01:26
Compare
Choose a tag to compare

Enhancement

  • add support for quoted identifiers

Bug Fix

  • fix and test custom error messages

Internal

  • update devDependencies
  • test improvement

v0.0.4

13 Jan 20:34
a91edec
Compare
Choose a tag to compare

Enhancement

  • removed read.tables() and read.sequences() methods
  • added method read() for reading metadata of several types of objects at the same time
// v0.0.3
Promise.all([
  metalize.read.tables([ 'public.users' ]),
  metalize.read.sequences([ 'public.users_id_seq' ])
]).then(([tables, sequences]) => console.log(tables, sequences));

// v0.0.4
metalize.read({
  tables: [ 'public.users' ],
  sequences: [ 'public.users_id_seq'  ]
}).then((result) => console.log(result.tables, result.sequences));

Internal

  • updated devDependencies
  • test improvement
  • updated CI config

v0.0.3

26 Oct 12:15
Compare
Choose a tag to compare
v0.0.3 Pre-release
Pre-release

Enhancement

  • optimization RegExp for Postgres constraint definitions
  • Object result replaced by Map

Bug Fix

  • added filter for table names by table presence in the database

Internal

  • updated lint-staged config