@briebug/ngrx-auto-entity
Advanced tools
Changelog
0.2.2 Beta (2019-08-07)
This release focuses on reducing the intrinsic package size and total package+dependency size of the library. Total library size is now ~10k or so smaller than before. Third party dependency on changeCase, which included a lot of casing functionality this library did not directly require, has been removed in favor of integrated case conversion code. Further size optimizations may be made possible in the future with some additional internal restructuring.
For the most compatibility with future internal (but otherwise non-breaking) changes, make sure you are importing from @briebug/ngrx-auto-entity and not from child paths within the library!
buildSelectorMap
utility functionbuildFacade
utility function<a name="0.2.1"></a>
Changelog
0.2.0 Beta (2019-07-25)
This version introduces some fundamental changes to how NgRx Auto-Entity is initialized, additional features and functionality, as well as some breaking changes to facade properties. Many of these changes further reduce the already minimal boilerplate with Auto-Entity.
Extensive documentation, examples and a proper quickstart guide have been added to our GitBook.
This release involves a major update to the minimum required Angular and NgRx versions. In order to leverage updated functionality from both libraries, as well as begin phasing in improved use of TypeScript, both platforms have been updated to the 8.x versions. We apologize for any inconvenience this may cause, however we do believe the changes and future improvements allowed by making this change will be welcome.
ExtraEffects
class containing selection and clearing related effectsNgrxAutoEntityModule
will now automatically provide autoEntityMetaReducer
in META_REDUCERS
NgrxAutoEntityModule
will now automatically provide EntityEffects
and ExtraEffects
.forRoot(()
or .forFeature()
as appropriate to import module.forRootNoEntityEffects()
can be used instead of .forRoot()
to disable auto-provisioning of entity effects (keeps extra effects).forRootNoEffects()
can be used instead of .forRoot()
to disable auto-provisioning of all effects.forRoot()
and .forFeature()
calls on NgrxAutoEntityModule
to fix broken support for lazy loaded modulesNgrxAutoEntityService
to support aggregate Injector tree so that models/entity services in lazy loaded modules will be found by root entity serviceinterface ITModelType<TModel>
to a type IModelType<TModel>
to better conform to TypeScript best practices<a name="0.1.1"></a>
Changelog
0.1.1 Beta (2019-06-20)
many
alts of: Load, Create, Replace, Deletemany
alts of: Load, Create, Replace, Deletemany
alts of: Load, Create, Replace, Deleteindex.ts
, re-export index from public_api.ts
, to improve auto-import functionality in IDEsmany
altsbuildFeatureState
will not function at runtime due to issues locating lazy module Injector
instances<a name="0.1.0"></a>
Changelog
0.0.15 Alpha (2019-02-20)
SelectByKey
actionIEntityPageRef<TModel>
's .page
property from number
to IPageInfo
number
to IPageInfo
LoadMany
action to retrieve many, but not all, entitiesCreateMany
action to bulk create many entities at onceDeleteMany
action to bulk delete many entities at onceReplaceMany
action to bulk replace (PUT) many entities at oncecurrentEntityKey
selector to retrieve just the key of current entity<a name="0.0.13"></a>
Changelog
0.0.13 Alpha (2018-11-04)
UpdateMany
action to update (PATCH) many, but not all, entities<a name="0.0.12"></a>
Changelog
0.0.12 Alpha (2018-10-16)
<a name="0.0.11"></a>
Changelog
0.0.11 Alpha (2018-09-27)
<a name="0.0.10"></a>