Skip to content

Releases: izelnakri/memoria

Release 0.0.33

22 Jun 20:19
Compare
Choose a tag to compare

[email protected] changelog:unreleased
node scripts/change-entrypoints.js js && node_modules/.bin/auto-changelog --stdout --commit-limit false --package --unreleased-only --hide-credit

LIBRARY TARGET ENTRYPOINTS("main") ARE: dist/index.js

Changelog

All notable changes to this project will be documented in this file. Dates are displayed in UTC.

0.0.32

  • Belongs-To-Has-Many-Tests #73
  • Bump docker/login-action from 2.0.0 to 2.1.0 #59
  • Bump actions/checkout from 3.0.2 to 3.3.0 #64
  • Bump docker/build-push-action from 3.1.1 to 4.0.0 #67
  • Bump docker/setup-buildx-action from 2.0.0 to 2.5.0 #69
  • package.json adjusted to new test structure 1cdd6f7
  • update packages 6f82f42
  • belongs-to-id-for-has-many-tests on every adapter f598808
  • reverse rel checks added to belongs to tests 2bc431e
  • First finished belongsTo->HasMany tests 6c2d7f6
  • Base changes prior belongs-to-has-many tests 9fb0713
  • Refactor Model.build() setters to own modules 6f625a2
  • Major DX Improvement: validatePartialModelInput() 5a8ec27
  • update typeorm to [email protected] 56f4f17
  • @BelongsTo for @hasmany initial fetch tests 3f45b14
  • initial validators for relationship & columns fc694a2
  • Adjust mutated relation tests for new HasManyArray 99012fe
  • Cleanup relationship assignment logic 1d90739
  • Initial clean up on notes & new implementation 0155b3a
  • Initial BelongsTo->HasMany test cases ecb9c3d
  • @BelongsTo tests fkey enchancements 77c7cc5
  • add initial validators for relationship sets 13efb19
  • Improve internal cleanRelationshipsOn logic 34b7196
  • cleanRelationshipsOn optimized for HasMany: 7b44916
  • Fix all type errors fa77d20
  • Improve foreign key relationship tests 80a68a8
  • remove unreliable match-json dependency 1e43870

Release 0.0.32

20 Apr 13:26
Compare
Choose a tag to compare

[email protected] changelog:unreleased
node scripts/change-entrypoints.js js && node_modules/.bin/auto-changelog --stdout --commit-limit false --package --unreleased-only --hide-credit

LIBRARY TARGET ENTRYPOINTS("main") ARE: dist/index.js

Changelog

All notable changes to this project will be documented in this file. Dates are displayed in UTC.

0.0.31

  • Major RelationshipCache optimization #71
  • major RelationshipCache lookup optimizations 944a51a
  • Memoria now more strict: runtime reflection checks c7a8c6f
  • Disable @manytomany functionality for now 61774e0
  • FIX: sql peek test ordering 142fcb6
  • RelationshipQuery -> RelationshipMutation 26788e5
  • Cleanup RelationshipMetadata's d9474c5
  • Optimize ReverseRelationshipsTable lookup 642c097
  • Cleanup & optimize RelationshipSchema code a36bd08

Release 0.0.31

16 Apr 04:27
Compare
Choose a tag to compare

[email protected] changelog:unreleased
node scripts/change-entrypoints.js js && node_modules/.bin/auto-changelog --stdout --commit-limit false --package --unreleased-only --hide-credit

LIBRARY TARGET ENTRYPOINTS("main") ARE: dist/index.js

Changelog

All notable changes to this project will be documented in this file. Dates are displayed in UTC.

0.0.30

  • Big relationship query refactor #70
  • SQLAdapter relationship tests now mature 50a2edb
  • @BelongsTo memory & rest tests refactored 1bee564
  • @hasone memory and rest tests refactored b5ec691
  • @hasone memory tests refactored cc22e7a
  • Simplify & improve relationship fetching 0e468b9
  • Cleanup for Relationship Query Refactor branch a4ed5d0
  • first belongsTo tests refactored, apply to others dcac4ff
  • Correct relationship tracking & mutation on CRUD 657bd80
  • Foreign key id memory & rest tests refactored 4f7cc10
  • Advanced & better fresh relationship lookups db290bf
  • CRUD tests refactored for memory & rest adapters 189b540
  • First very smart relationship lookup query logic b7ab463
  • Fix all SQLAdapter tests b1c7faf
  • Final relation implementation for BelongsTo/HasOne 271a370
  • use persistedRelationship cache for Model.build() 4fcc43a
  • persistedRelationship cache for Model.build()'s cd32e28
  • Correct HasMany mutations across instances 9e7701f
  • Smarter HasOne in-memory lookup & utils refactor 976e929
  • Fix all types before release 3012aea
  • Format test descriptions for relationship tests 0c5dbd2
  • FIX: Model.build mutate unknownInstanceCache right 6f60366
  • assert.hasMany & assert.strictHasMany helpers 1d1fc0a
  • options.cache changed to options.cacheDuration 2e235a7
  • RelationshipQuery checks relationship.isPersisted 73661cf
  • dont fetchRelationship OneToOne when model is null 2bb7684
  • slightly improve prepareTargetObjectFromInstance 9626e93
  • Fix CI test script e1f1084
  • Improved TODO for relationship tests improvements 17a152c
  • @memoria/model tests fixed for new .isPersisted 380b9fd
  • make insert-test memory checks bit more strict 123ad4d

Release 0.0.30

16 Sep 14:34
Compare
Choose a tag to compare

[email protected] changelog:unreleased
node scripts/change-entrypoints.js js && node_modules/.bin/auto-changelog --stdout --commit-limit false --package --unreleased-only --hide-credit

LIBRARY TARGET ENTRYPOINTS("main") ARE: dist/index.js

Changelog

All notable changes to this project will be documented in this file. Dates are displayed in UTC.

0.0.29

  • Initial basic HasMany Mutation Tests #54
  • Run prettier on all JS code #55
  • Initial HasMany mutation tests and adjustments c997c8d
  • models initial HasManyArray generation c1bbf6d
  • extend HasManyArray for ownerModel and relation 93ece6b
  • HasMany id mutation tests 70762c9

Release 0.0.29

11 Sep 13:53
Compare
Choose a tag to compare

[email protected] changelog:unreleased
node scripts/change-entrypoints.js js && node_modules/.bin/auto-changelog --stdout --commit-limit false --package --unreleased-only --hide-credit

LIBRARY TARGET ENTRYPOINTS("main") ARE: dist/index.js

Changelog

All notable changes to this project will be documented in this file. Dates are displayed in UTC.

0.0.28

  • Bump actions/checkout from 2.4.0 to 3.0.2 #44
  • Bump docker/login-action from 1.12.0 to 2.0.0 #46
  • Bump docker/setup-buildx-action from 1.6.0 to 2.0.0 #48
  • Bump docker/build-push-action from 2.9.0 to 3.1.1 #52
  • HasManyArray tracking test spies #53
  • test tracking on HasManyArray prototype mutations da34d84
  • HasManyArray adjustments for hasMany tracking bac42e0
  • cleanup HasManyArray implementation 87c1bed
  • TODO note add 225e1a7

Release 0.0.28

01 Sep 15:59
Compare
Choose a tag to compare

[email protected] changelog:unreleased
node scripts/change-entrypoints.js js && node_modules/.bin/auto-changelog --stdout --commit-limit false --package --unreleased-only --hide-credit

LIBRARY TARGET ENTRYPOINTS("main") ARE: dist/index.js

Changelog

All notable changes to this project will be documented in this file. Dates are displayed in UTC.

0.0.27

  • HasManyArray implementation #50
  • refactor/optimize deepEqual 2fbbf8c
  • initial cyclicalReference aware match() function bd81ac0
  • test & ship Enum functions c63e8a7
  • initial working match() pattern-matching & tests 855a84b
  • HasManyArray DX mutation tests part 1 4a493e4
  • improvements to HasManyArray & its method tests 5cbc584
  • base has-many-array-test added b1bae9c
  • initial genius JS match() algorithm tests 5fa8ea6
  • HasManyArray DX mutation tests part 3 b7bb42c
  • cyclical reference methods & tests complete 613e125
  • initial tests on base getCyclicalReferences() func 45628ab
  • cleanup hasManyArray further, add splice() tests 0e937a8
  • hasManyArray tests reorganized & dx mutation tests 34830cf
  • constructor instanceOf utils implementation 7b0dad3
  • isCyclical(obj) util method & tests 11573df
  • HasManyArray init & HasManyArray.push() sketch 7c593fc
  • typeOf util method with tests 30c7c58
  • Mature & fast deepEqual implementation a31a16b
  • HasManyArray DX mutation tests part 2 6761099
  • compare util function implementation and test 1efa5aa
  • HasManyArray DX enumeration tests done 244c5a5
  • has-many-array-methods-test complete abfbdd5
  • Fix typeOf for multiplatform node/browser 1aaa0a1
  • Major - Make peekBy accept a pattern 2fab9dd
  • add tests and format type-of.js af3b7ca
  • important array object bugfix for isCyclical(obj) 2a9f5e5
  • HasManyArray.of() tests b1dca16
  • supercomplex match() function initial sketch ff15297
  • add nan, symbol, set, map typeOf returns 382a984
  • utils: printSchema,printColumns,printRelationships a371525
  • Enum ala Elixir Enum module added 0cd0a2a
  • setup HasManyArray with notes 8e12dc1
  • add EnumFreeze module dbf053a
  • optimize deep setting of getCyclicalReferences 087f0ad
  • additional typeOf tests for classes b6ce8d6
  • getCyclicalReferences() remove parentObject ref 7c11649
  • hasManyArray.spliceCallOnNullSetting simplified c43ff06
  • getCyclicalReferences() remove parentObject ref 2ecbccd
  • fix HTTP and RESTAdapter.host origin ref runtime 1a4781c
  • fix HasManyArray node.js tests f9cc8de

Release 0.0.27

17 Jun 19:16
Compare
Choose a tag to compare

[email protected] changelog:unreleased
node scripts/change-entrypoints.js js && node_modules/.bin/auto-changelog --stdout --commit-limit false --package --unreleased-only --hide-credit

LIBRARY TARGET ENTRYPOINTS("main") ARE: dist/index.js

Changelog

All notable changes to this project will be documented in this file. Dates are displayed in UTC.

0.0.26

  • HasOne Feature Tests complete #49
  • @hasone() tests & adjustments #37
  • removed custom assert.propContains c2bd0a6
  • refactor and stablize belongs-to test for hasOne 17c776d
  • foreign-key relationship tests complete 56f021e
  • rest&sql instance & relationship insert-tests done b640e04
  • add all @hasone() tests for all adapters 9150b74
  • peek & find tests with new instance-on-call e0d25d7
  • refactored adapter query tests to find tests 2da016d
  • update-test Reference and assoc tests are complete 8570a03
  • Model primary key change functionality&build tests d147e90
  • delete-tests now use fixture and helper models ce15078
  • belongs-to tests with reflection finalized f61432c
  • first full foreign-key test file with impl changes f744ae3
  • add insert-tests fixture based, add inserted_at 5d4f808
  • mixed id models and fixtures as test helpers 2692e7a
  • Reflexive relationship trial/sketch 2ff1f36
  • memory update-test cleaned up using helper models 29ae713
  • add Reference and assoc tests for delete-tests c3ae1e6
  • rest & sql update-tests now use test helper models 902b5be
  • move utils.js to utils modules ed924a2
  • add foreignKey clearance impact on belongsTo tests fee90ec
  • first complete hasOne tests ea7c6fc
  • snapshot has-one initial test adjustments 6241c99
  • major refactor for relationship/db|utils 78861ab
  • snapshot for OneToOne reflection implementation e4a41a2
  • initial satisfactory memory/belongs-to-id tests 7cbe7ce
  • findPossibleReferenceInMemory() implementation 18f1512
  • update RelationshipDB.cache fkey mutations 861d90a
  • remove redundant relation impl comments & cleanup 72535ef
  • smarter reflection & reverseRelationshipCache look 7870e39
  • CRUD methods now update all related instances be9c254
  • foreign key test specimen stabilized 4b379e6
  • resetRecords tests now uses default fixtures 36a5a80
  • cleaned up model.js instanceReference impl f535113
  • @hasone() is now correctly reflexive 8817215
  • initial foreign-key test design 276d005
  • cleaned up some internal relation implementation 7b9ab12
  • memory instance & relationships insert-tests done 4ee2e9f
  • default attr tests now uses default fixtures 7caceda
  • belongsTo tests adjustments discovery cf16604
  • improvements for tests, reflection, instance db 8032e50
  • belongs-to tests stabilized 22507f1
  • snapshot for initial hasOne feature full impl 6164b9e
  • $Model.update(x) resets x hasOne relationships 0d778d3
  • Bugfixes for frozen and instance insert objects! ac929fb
  • $Model.insert(x) resets x hasOne relationships c837358
  • InstanceDB module b6109aa
  • rename foreign-key tests setupSQLModels() c96a6c8
  • bugfix: Model.delete() relation adjustments ec3aad5
  • eagerly create relationship caches on decorators c133c0b
  • bugfix: MemoryAdapter Model.update() relations c8abe9e
  • BUGFIX: foreign key mutations now reflection aware 63794f5
  • cleanup unused comment and import 43e854b
  • optimize RelationshipDB.referenceRelatedTo lookups 0ccc032
  • adjust OneToOne reflection previous foreignKey 9f9e6f1
  • http module now relationship aware on inputs 6e83610
  • update code comments related to relation logic caa4104
  • small code format changes 798e1ea
  • bugfix RESTAdapter findBy query serialization f0db6b2
  • update provided instance on $Model.cache() 65fee29
  • seal naively built instance on $Model.cache() 55ec0d6

Release 0.0.26

02 Feb 18:01
Compare
Choose a tag to compare

[email protected] changelog:unreleased
node scripts/change-entrypoints.js js && node_modules/.bin/auto-changelog --stdout --commit-limit false --package --unreleased-only --hide-credit

LIBRARY TARGET ENTRYPOINTS("main") ARE: dist/index.js

Changelog

All notable changes to this project will be documented in this file. Dates are displayed in UTC.

0.0.25

  • Bump docker/login-action from 1.10.0 to 1.12.0 #30
  • Bump docker/build-push-action from 2.7.0 to 2.9.0 #35
  • @BelongsTo tests complete #33
  • RESTAdapter belongsTo test and relation adjustment 5deb896
  • belongsTo tests roughly complete for SQLAdapter ff1e193
  • Tested/Durable LazyPromise abstraction b41ea24
  • fix sql belongs-to tests f95afc0
  • adjust helper models for SQL tests de777eb
  • upgrade LazyPromise interface 4f0d2ac
  • fix pretender instance shutdowns for new tests bcab739
  • LazyPromise.hash() tests & module improvements 4dd1991
  • BUGFIX: internal cleanRelationships() for typeorm aed43ca
  • removed comments & small code adjustments b2bc01c
  • MAJOR BUGFIX: relationship fetching reload works 4143fbd
  • add advanced Model.build(instance) test for assoc 8d1ae01
  • improve Memoria description a3ebfc4
  • tests fix for weird v8 bug edb3b96
  • RelationshipDB notes update 37752cf
  • cleanup redundant code and comments for release a2f9839
  • add LazyPromise hash and HTTP export 45b22ab

Release 0.0.25

02 Jan 19:38
Compare
Choose a tag to compare

[email protected] changelog:unreleased
node scripts/change-entrypoints.js js && node_modules/.bin/auto-changelog --stdout --commit-limit false --package --unreleased-only --hide-credit

LIBRARY TARGET ENTRYPOINTS("main") ARE: dist/index.js

Changelog

All notable changes to this project will be documented in this file. Dates are displayed in UTC.

0.0.24

  • Implement advanced relationship references/caches #32
  • major refactor: Config modules refactord to Schema ba7433b
  • made new RelationshipDB compile 47e346f
  • RelationshipDB.get(relationship) based adjustments c3e1034
  • Introduce first optimized RelationshipDB mutations c2bce14
  • major changes to relationship assignment and gets 6a02525
  • RelationshipDB initial skeleton! 0e94561
  • Clean up @memoria/model store abstractions to test d52ab60
  • new advanced relationship tracking tests now pass 7cc738d
  • RelationshipDB gets ready for tests, first changes f3079f6
  • RelationshipDB update with hasMany & other caches e84701b
  • MemoryAdapter logic cleanups before refactor 23d30b6
  • RelationshipSchema ready for RelationshipDB fa22ed2
  • cleanup relationship tracking code for release 810635f
  • SQLAdapter is now correctly relationship aware 189a0c5
  • introduce $Model.relationshipsSummary caching 43274f1
  • RevisionHistory class and .add(): no model getters c1dd243
  • Correct type annotations for LazyPromise 90e69ca
  • RelationConfig.getForeignKeyFromBelongsTo rename b1ced31

Release 0.0.24

14 Dec 23:26
Compare
Choose a tag to compare

[email protected] changelog:unreleased
node scripts/change-entrypoints.js js && node_modules/.bin/auto-changelog --stdout --commit-limit false --package --unreleased-only --hide-credit

LIBRARY TARGET ENTRYPOINTS("main") ARE: dist/index.js

Changelog

All notable changes to this project will be documented in this file. Dates are displayed in UTC.

0.0.23

  • DB.resetForTests method removed for DB.resetRecords #28
  • Bump actions/checkout from 2.3.5 to 2.4.0 #19
  • Change internal stores to use JS Map #27
  • move stores to Config, RelationshipConfig, DB, RelationshipDB #26
  • rename Klass to Class word #25
  • Refactor Config to ConfigStore, DB & RelationshipStore #24
  • Relationship store & RESTAdapter relationship setup #23
  • initial rest models setup for relation tests 3ce7fc5
  • refactor Config to ConfigStore and ModelStore a8e84ed
  • move model instance relationship cache to a module 4615234
  • rename ModelStore to DB 40229a5
  • make correct relationship casting on instance CRUD 971e12e
  • improve/fix RESTAdapter modelKeyNameForPayload 76aae1e