Releases: multum/metalize
Releases · multum/metalize
v0.1.4
Enhancement
- added support for the
indexes[].using
option
v0.1.3
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
Bug fix
- removed
search_path
reset (postgres)
- added missing values for
ForeignKey.[onUpdate|onDelete]
(postgres)
Internal
v0.1.1
Enhancement
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
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.6
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
Enhancement
- add support for quoted identifiers
Bug Fix
- fix and test custom error messages
Internal
- update devDependencies
- test improvement
v0.0.4
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
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