3.16.21 • Published 2 days ago

@clairejs/orm v3.16.21

Weekly downloads
-
License
ISC
Repository
-
Last release
2 days ago

Change Log

3.16.21:

  • upgrade deps

3.16.20:

  • fix mapModel typing issue

3.16.19:

  • fix convert data object null

3.16.18:

  • fix flatten Date object

3.16.17:

  • fix geo point coordinate default undefined

3.16.16:

  • fix convert to data object
  • export getSafeUpdate
  • fix convert to data for mongo to convert id fields

3.16.10:

  • improve mongo join hoisting $match
  • set autoIndex false for mongo
  • upgrade mongo, mongoose, claire core
  • fix using $push for array map
  • fix isArrayDiff
  • fix optional returning in updateMany
  • fix lean: true in Mongo updateOne
  • fix fkMap
  • fix the returning in updateMany, deleteMany to return projection

3.15.16:

  • add updateOne
  • fix Mongo update unset null & undefined
  • fix MongoQuery mapToQuery
  • fix convert to logic object & utils
  • fix mongo query update & flatten function
  • export toMongoIds function
  • fix several issues with get nested query
  • fix typing issue in QueryOperator
  • update claire core & adapt change of MODEL_FIELD_SEPARATOR
  • update claire core & fix issue wiht removeal of DataType.POINT
  • allow nested field query (mongodb only)
  • update claire core
  • fix MongoDbAdapter getOne
  • refactor transaction

3.14.11:

  • update tx use return
  • fix parse array of ids
  • fix id metadata type
  • fix flatten update data
  • fix model id prefix for MongoDbAdapter
  • fix mongo db adapter FK with vector props
  • fix MongoDbAdapter not init
  • fix orm-gen -> migration
  • refactor & rename query, database adapters

3.13.0:

  • implement Nosql database and migrator (mongodb)

3.12.4:

  • update core, force group by in join clause
  • fix prettier pluginSearchDir calling to __dirname
  • fix _neq comparision with null
  • fix array aggregator return null array for left join
  • allow _array to accept AggregatorMap

3.11.2:

  • fix total in rows and getMany, fix is null in eq, neq comparision
  • fix OrderDirective

3.10.12:

  • move pg and mysql to peer dependencies
  • fix @LocaleOf column data type

3.10.8:

  • add raw: true to getMany
  • remove projection filter so old migrations can run without fields in metadata
  • fix migrator cannot create new database
  • change abstract migration interface, not relying to fs and path anymore

3.9.2:

  • fix timestamps in model define
  • suppress warning
  • remove webpack
  • compile as esm module

3.8.5:

  • fix skip require in requiring migration files
  • remove unnecessary logic
  • fix not create db if not exist

3.8.2:

  • fix template generation
  • revert connection options to string
  • remove sequelize-cli
  • update DefaultSqlDatabaseMigrator constructor, no more cliPath argument
  • update DefaultSqlDatabaseAdapter, add two static from factory function
  • forward-migration-strategy, no more down script generated

3.7.3:

  • add cli command to generate migration

3.7.2:

  • convertToData & convertToLogic removekeys with undefined value
  • filter projection with class functional field

3.7.0: handle point geometry data

  • fix index for geometry column
  • add type check in QueryCondition

3.6.0: breaking change

  • change updateOne -> updateById
  • change deleteOne -> deleteById

3.5.1: breaking change

  • updateMany return Partial[] instead of string[]

3.4.2:

  • fix object data type serialization

3.4.1:

  • fix test on mysql

3.4.0:

  • join.rows now can infer correct type from mapping aggregations
  • replace _join aggregation fn by _array aggregation fn

3.3.9:

  • update claire core
  • handle query error in SqlModelAdapter

3.3.8:

  • fix NaN when convert null FK in convertToDataObjects

3.3.7:

  • fix getByIds return empty array if ids is empty

3.3.6:

  • fix data type object in FK

3.3.5:

  • fix index

3.3.4:

  • fix rawQuery
  • fix parseInt issue with PK and FK when perform read operation

3.3.2:

  • fix data type of @LocaleOf column in migration
  • Sql database adapter & migrator update for abstract model id change of datatype from number to string

3.2.8:

  • move cli config file to tmp dir
  • remove cli config file after migration
  • add setting for SequelizeMeta table schema on DefaultSqlDatabaseMigrator

3.2.5:

  • export adapter util functions

3.2.4:

  • fix abstract query try parse array as json in vectorProps field when calling convertToLogicObjects
  • add order option in getOne

3.2.2:

  • add createdAt information in metadata.json and sort the array to reduce conflicts when perform migration

3.2.1: breaking change

  • DefaultSqlDatabaseAdapter require object as connection string (for read/write replica)
  • using prettier to format migration files automatically

3.1.2

  • add _not operator

3.1.1

  • update core to get accent data
  • rename TransactionLink -> PropagationMode
  • allow INHERIT_OR_CREATE to create new transaction if previous tx is commited or rolled-back

3.0.11

  • fix order by in raw join query
  • fix min aggrerate function not working on boolean field (postgres)
  • fix self-reference FK
  • fix _is aggregate function
  • convert data format in join result

3.0.7

  • fix duplicated associations, update sequelize 1.0.3
  • export utils functions
  • fix issue with multiple table join
  • split from @clairejs/server package
3.16.21

2 days ago

3.16.20

1 month ago

3.16.19

2 months ago

3.16.18

2 months ago

3.16.17

2 months ago

3.16.16

2 months ago

3.16.15

2 months ago

3.16.14

2 months ago

3.16.13

2 months ago

3.16.12

2 months ago

3.16.11

2 months ago

3.16.9

2 months ago

3.16.8

2 months ago

3.16.10

2 months ago

3.16.7

3 months ago

3.16.6

3 months ago

3.16.5

3 months ago

3.16.3

4 months ago

3.16.4

4 months ago

3.15.16

5 months ago

3.16.1

5 months ago

3.16.0

5 months ago

3.16.2

5 months ago

3.12.1

10 months ago

3.12.0

10 months ago

3.14.9

8 months ago

3.14.8

8 months ago

3.14.1

8 months ago

3.14.0

8 months ago

3.14.3

8 months ago

3.14.2

8 months ago

3.14.5

8 months ago

3.14.4

8 months ago

3.14.7

8 months ago

3.14.6

8 months ago

3.15.15

6 months ago

3.15.14

7 months ago

3.15.13

7 months ago

3.13.0

8 months ago

3.15.12

7 months ago

3.15.11

7 months ago

3.15.10

7 months ago

3.14.11

8 months ago

3.15.8

7 months ago

3.15.7

7 months ago

3.15.9

7 months ago

3.14.10

8 months ago

3.15.0

8 months ago

3.15.2

7 months ago

3.15.1

7 months ago

3.15.4

7 months ago

3.15.3

7 months ago

3.15.6

7 months ago

3.15.5

7 months ago

3.12.3

10 months ago

3.12.2

10 months ago

3.12.4

9 months ago

3.11.2

10 months ago

3.11.0

11 months ago

3.11.1

11 months ago

3.10.10

12 months ago

3.10.11

12 months ago

3.10.12

12 months ago

3.10.1

1 year ago

3.10.0

1 year ago

3.10.3

1 year ago

3.10.2

1 year ago

3.10.5

1 year ago

3.10.4

1 year ago

3.10.7

1 year ago

3.10.6

1 year ago

3.10.9

12 months ago

3.10.8

1 year ago

3.8.4-rc1

1 year ago

3.9.2

1 year ago

3.9.1

1 year ago

3.9.0

1 year ago

3.7.2

1 year ago

3.8.0

1 year ago

3.8.3

1 year ago

3.8.2

1 year ago

3.8.1

1 year ago

3.8.5

1 year ago

3.7.1

1 year ago

3.3.9

1 year ago

3.4.0

1 year ago

3.7.0

1 year ago

3.6.0

1 year ago

3.5.1

1 year ago

3.4.2

1 year ago

3.5.0

1 year ago

3.4.1

1 year ago

3.3.8

1 year ago

3.3.7

1 year ago

3.3.6

1 year ago

3.3.5

1 year ago

3.3.1

1 year ago

3.3.0

1 year ago

3.3.4

1 year ago

3.3.3

1 year ago

3.3.2

1 year ago

3.2.6-alpha

1 year ago

3.2.8

1 year ago

3.2.7

1 year ago

3.2.6

1 year ago

3.2.5

1 year ago

3.2.4

2 years ago

3.2.3

2 years ago

3.2.2

2 years ago

3.2.1

2 years ago

3.1.2

2 years ago

3.2.0

2 years ago

3.1.1

2 years ago

3.1.0

2 years ago

3.0.11

2 years ago

3.0.10

2 years ago

3.0.9

2 years ago

3.0.8

2 years ago

3.0.7

2 years ago

3.0.6

2 years ago

3.0.5

2 years ago

3.0.4

2 years ago

3.0.3

2 years ago

3.0.2

2 years ago

3.0.1

2 years ago

3.0.0

2 years ago