0.3.3 (2018-12-16)
- types/ModelDescription: Re-fixed missing import of lodash (1e539ae)
0.3.2 (2018-12-15)
- types/ModelDescription: Fixed missing import of lodash (0daf2b8)
0.3.1 (2018-12-01)
0.3.0 (2018-11-22)
- chore: Docs, lint, package stuff (d529890)
- chore: run
npm install
to clean the package-lock, fix version script (fd7e0ad) - chore: updated packages dependencies (26ff239)
- chore(LICENSE): Apply new licence to package.json (8a463dc)
- chore(LICENSE): Changed license from GPLv3 to Apache2.0 (9ebd70a)
- chore(package): Removed unused dependencies (7f34ebd)
- chore(package): update @types/node to version 10.11.6 (b004296)
- chore(package): update commitizen to version 3.0.2 (a4eaaf3)
- chore(package): update conventional-changelog-cli to version 2.0.11 (efacd24)
- chore(package): update jest-extended to version 0.11.0 (4e0adc0)
- chore(package): update jest-extended to version 0.9.0 (e419e6e)
- chore(package): update lockfile package-lock.json (30c0427)
- chore(package): update lockfile package-lock.json (268b62c)
- chore(package): update lockfile package-lock.json (a0a07f4)
- chore(package): update lockfile package-lock.json (971cd63)
- chore(package): update lockfile package-lock.json (828c62a)
- chore(package): update lockfile package-lock.json (5b5b739)
- chore(package): update lockfile package-lock.json (6a8e297)
- chore(package): update lockfile package-lock.json (9ed13a3)
- chore(package): update logform to version 1.10.0 (45eee2c)
- chore(package): update ts-jest to version 23.10.4 (5d6849d)
- chore(package): update typedoc to version 0.12.0 (0f14bf0)
- chore(package): update typedoc to version 0.13.0 (dfbd398)
- chore(README): Added link to Browserstack (b63f91d)
- test(AdapterEntity): Added test for id property (87fd8b1)
- test(ts-jest): Updated config to use presets (69af20e)
- test(unit-test): Fixed unit tests paths & imports (c0e0fbc)
- build(package): Catch up latest versions to resync with greenkeeper (2eb29dd)
- build(package): Use local rollup for build (with
npx
) (f586a9c) - build(package): Use local rollup for build (with
npx
) (438e68c) - build(rollup): Changed rollup builds for IIFE & ESM on browser, & ESM only for node (c717919), closes pstephan1187/vue-datatable#47
- build(rollup): Replaced rollup-plugin-uglify with rollup-plugin-terser (41ef4ae)
- docs: Regenerated docs (34cd207)
- docs: Removed all docs directories (458f9da)
- docs(README): Added Browserstack logo (5c9ebad)
- fix: The Shame WebApi fix (778113c)
- fix(Diaspora): Fixed target-env-specific imports (ea7bbf9)
- fix(Model): Fixed !st param
source
for insert actions. Now use type parameter (a25df9b) - refactor: Created more namespaces for Adapters & EntityTransformers (cfa6611)
- refactor(Test): Moved unit tests to
test/unit-test
(ac30115) - feature(AdapterEntity): Added id property accessor. (94f972d)
- Merge branch 'staging' into develop (64c67c1), closes #23 #27 #28
0.3.0-alpha.13 (2018-08-17)
- Adapters.Base.Adapter: Options fields authorize
undefined
values. (1fc50f6) - EntityTransformer.Default: Fixed deep defaulting on objects & arrays (fe71e30)
- Logger.NodeLogger: Use any to discard wrong TS acceptance for symbols as keys (a84519b)
- Model: Normalize
attributes
&of
fields for object & array descriptions (fe2fe1e)
- Adapters.InMemory.Adapter: Added insertMany, added several find iterators (3c23e09)
0.3.0-alpha.12 (2018-07-29)
- Adapters.DataAccessLayer: Cast partially query itself (465a2d2)
- Adapters.WebApiAdapter.Adapter: Better error handling (5e64ddd)
- Adapters.WebStorageAdapter.Adapter: Better config & errors testing (4f84599)
0.3.0-alpha.11 (2018-07-26)
- browser|node: Fixed target specific code with rollup-jscc (14a4652)
- Entity.Entity: Use same retrieved/generated ID for IDHash & ID update (a3bc61e)
0.3.0-alpha.10 (2018-07-19)
- Adapter/AdapterUtils: Fixed circular dependency (3e98057)
- Entity,AdapterEntity: Added the notion of
properties
andattributes
(1373fae) - Set:
toChainable()
now takes an optional transformation mode & source (96aaa2e)
0.3.0-alpha.9 (2018-07-02)
- EntityTransformer/DefaultTransformer: Default model functions can't be async anymore (2a453c3)
0.3.0-alpha.8 (2018-07-02)
- Adapters/WebApi/Node: Fixed stringification condition for object only (8f64b8e)
- Entity: Added handling of rejection on entity defaulting (f3f2a21)
- WebApiAdapter: catch undefined JSON response (45a9265)
0.3.0-alpha.7 (2018-05-20)
0.3.0-alpha.6 (2018-05-20)
0.3.0-alpha.5 (2018-05-19)
- ExtendableError: class is now abstract & must be subclassed (643b03a)
- Model: Fixed
Model.delete
that usedDataAccessLayer.deleteMany
(87ea3d6) - src/*: Fixed exports types + values, removed default export, changed Diaspora type to DiasporaStatic (9165f18)
- WebStorageAdapter: using
global
instead ofwindow
(3a4e984)
0.3.0-alpha.4 (2018-04-17)
- Diaspora: Diaspora assign new models to its private hash, not public copy via getter (86fc83c)
- Entities/EntityFactory: Fixed Entity.getDiff (c7fc230)
- Errors/*: Errors have the proper name (retrieved from
new.target.name
) (7facce3)
- Entities/EntityFactory: Entity methods allow more types for dataSource parameter (ab0ad68)
- Model: Model singular actions now accepts either a SelectQueryOrCondition or an EntityUid (bc34176)
0.3.0-alpha.3 (2018-04-08)
- src/entities/entityFactory: Entity has default parameter for
getId
, and new getter forid
(60c40b5)
- src/diaspora: Exposed getter for
models
hash (f1afbd6)
0.3.0-alpha.1 (2018-04-07)
- dependencies: Fixed require of sequential-event (de4db02)
- src/{diaspora,utils}: Fixed path to entity-related classes (48c2324)
- src/{validator,model}: Fixed validator prop wrong filter, use type guards for FieldDescriptor v (82ed057)
- src/*: Changed lodash import method, resolved circular dependency (60a9424)
- src/*: Fixed query types (2bf84f9)
- src/adapter/base/adapter: Fixed adapter ctor interface inheritance (34f8bf3)
- src/entities/entityFactory:
maybeEmit
bound to current Entity when preparing multi lifecycle (999edbe) - src/entity/*: Fixed entity create, attributes passed to event handlers, sourceName in Set actio (6971dfd)
- src/errors/ExtendableError: Fixed constructor inheritance (5344be2)
- adapters/*: Rewrite adapters (8b27ab4)
- Adapters/webApi/Adapter: WebApi adapter loads events from event providers for init (0f099ee)
- Diaspora: Better logger (9149c47)
- Model: Added modelDescription to model instance (f5550f7)
- src/{model,diaspora,adapters/dataAccessLayer}: Added DataAccessLayer (2265392), closes #4
- src/adapters/*: Added decorators for autoId & self-matching adapter entities (e1b5ef6)
0.2.0 (2017-23-12, Merry Christmas)
- Added class Set to manage several entities at the same time
- Added webApi adapter
- Added lifecycle events (see the documentation)
- Added Winston instance exposed as
Diaspora.logger
- Added more custom errors
- Added
Diaspora.registerAdapter
to register external adapters - Added entity & set validation before persisting
- Auto-retrieve Diaspora from Node
require
's cache
- Upgraded to sequential-event ^0.3.1
- Upgraded bluebird to ^3.5.1
- Upgraded Babel components (core, preset-env, polyfill, loader) to 7.0.0 beta.35 in @babel
- Reviewed deploy pipelines
- Dropped support of Node < 7.0.0
browserStorage
adapter renamed towebStorage
- Improved maintainability
- Custom errors now extend base JavaScript errors
0.1.0 (2017-03-10)
- Initial release