All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
12.0.0-next.0 (2021-05-18)
- ng-dev: Linting config is now provided by
@s-libs/eslint-config-ng
. The old TSLint and ESLint configs are still available inng-dev
, but are deprecated. ESLint is no longer installed automatically withng-dev
, so to continue using its deprecated config you'll need to install the old dependencies via your ownpackage.json
. They were:"@typescript-eslint/eslint-plugin": "^4.8.0"
,"@typescript-eslint/parser": "^4.6.0"
, and"eslint": "^7.14.0"
. Consult the README for eslint-config-ng to to switch to the new configs. The old ones will be removed from this library in a future version. - all 3rd party dependencies require bumped version numbers
- ng-core:
AngularContextNext
andComponentContextNext
are renamed to replace their old, deprecated versions. If you are still using the old ones, switch to the "Next" versions and get your tests passing before upgrading to@s-libs
version 12. Once you are on the "Next" versions, this upgrade only requires removing "Next" from the ends of their names.
- ng-dev: Migrate from deprecated TSLint config to new ESLint config (acd734c)
- Update to Angular 12 (d527860)
- micro-dash: add
reject()
(915db96), closes #33 - ng-core: add
WrappedFormControlSuperclass.setUpInnerToOuter$()
and.setUpOuterToInner$
(6c90588), closes #37 - ng-core: Remove deprecated APIs (106962f)
- ng-core: WrappedFormControlSuperclass now sets
ng-touched
on the inner form control (ad1a474), closes #38
- ng-dev:
ComponentContextNext
now handles inputs that come from a component's superclass (f7830e6), closes #40
11.3.0 (2021-03-13)
- micro-dash: add
negate()
(1056836), closes #26 - micro-dash: improve typing of
forEach
(74dbdbf), closes #22 - ng-dev: remove the ESLint rule
max-statements
. It did not lead to better code. (339ab7f) - rxjs-core: add
keepWakeLock$()
(4a58461) - rxjs-core: add
SubscriptionManager.manage()
(4b1aad6)
11.2.1 (2021-01-07)
- ng-core: Fix for "Types of property 'ɵfac' are incompatible." (06f89f9)
11.2.0 (2021-01-07)
- micro-dash: improve typing of
reduce()
andreduceRight()
(6c5500d), closes #20 - ng-dev:
AngularContext
flushes pending timeouts automatically at the end of each test (instead of throwing the error "X timer(s) still in the queue.") (33d890a), closes #21
- js-core: no longer throw error when
localStorage
is not available (06be1e5), closes #17 - ng-core:
DirectiveSuperclass.getInput$()
emits synchronously if.ngOnChanges()
was already called (466415c)
11.2.0-next.2 (2021-01-05)
- ng-dev:
ComponentContextNext
runs async tests and uses normal async component harnesses. DeprecateAngularContext
in favor of the newAngularContextNext
(which powers some of this new behavior). (07cecef) - ng-dev: added
ComponentContextNext.assignWrapperStyles()
(b3fc051)
11.2.0-next.1 (2021-01-01)
- ng-core:
DirectiveSuperclass.getInput$()
wait until the input is set before emitting. Before, if called e.g. from the directive's constructor, it would emitundefined
immediately, then emit again duringngOnChanges
. Caveat: all emissions are now delayed on the microtask queue. (3b13611), closes #14 - ng-dev: add
ComponentContextNext
. This will replaceComponentContext
in a future major version release. See migration notes in the class-level docs forComponentContext
. Closes #15. (90bc99f)
11.2.0-next.0 (2020-12-19)
- js-core: add
isFalsy()
(62bd6da) - js-core: add
isTruthy()
(ca38c5d) - micro-dash: add
nth()
(61a37b1), closes #10 - micro-dash: add
sampleSize()
(05bf741) - micro-dash: add
shuffle()
(5e6f51a) - ng-dev: add
AsyncMethodController
(a8eb567), closes #9
11.1.0 (2020-11-27)
- app-state:
spreadArrayStore$()
handles null and undefined (16e0dce), closes #4 - app-state:
spreadObjectStore$()
handles null and undefined (c15b653) - js-core: add
Constructor
type to support the mixin pattern (f39a6b9) - micro-dash: improve the typing of
omit()
(48d267b) - micro-dash: improve the typing of
omitBy()
(a2c4280) - micro-dash: improve the typing of
pick()
(ecedb2e) - micro-dash: improve the typing of
pickBy()
(bcf1824) - micro-dash: reduce size of
isBoolean()
(a57466a) - ng-core: add
mixInInjectableSuperclass()
(e3cacf8) - rxjs-core:
mapAndCacheArrayElements()
handles null and undefined (7d19f47) - rxjs-core:
mapAndCacheObjectElements()
handles null and undefined (7829d6b) - rxjs-core: add
mixInSubscriptionManager()
(c173fa5) - add support for all libraries to be consumed as UMD bundles (8e9bec9), closes #7
11.0.0 (2020-11-23)
- ng-core: DirectiveSuperclass can now be used for a pipe (7fcd056)
11.0.0-next.0 (2020-11-21)
ng-core
andng-app-state
, andng-dev
now require angular 11
- Update dependenices (45eb28e)
10.0.0 (2020-11-21)
- app-state: improve performance when unsubscribing (6bdd873)
0.3.3 (2020-11-14)
- micro-dash: reduce size of
functions()
(e9efb9f)
- micro-dash:
functions()
no longer calls getters (145f301)
0.3.2 (2020-11-13)
- ng-dev:
AngularContext.tick()
better simulates real change detection (68fc5da)
0.3.1 (2020-11-13)
- ng-dev:
AngularContext
mocks performance.now (0ae92d6)
0.3.0 (2020-11-12)
- ng-dev: requires @angular/cdk as a peer dependency
- js-core: add
isPromiseLike()
(7cfec64) - micro-dash: add
isObject()
(6495ec3) - ng-dev:
AngularContext
supports component harnesses with fakeAsync (97a0fb9)
0.2.0 (2020-11-11)
- app-state:
.batch()
in now only available onRootStore
. There is a newStore.getRootStore()
to get a reference to it if needed.
- app-state: Batch API better reflects its semantics (56214c6)
0.1.0 (2020-11-09)
- requires libraries scaffolded by Angular 10.2
- support the latest Angular CLI scaffolding (900876d)
0.0.7 (2020-11-02)
- app-state: unsubscribing mid-emit could sometimes result in an error (c42585f)
0.0.6 (2020-11-01)
- include a copy of redux types, so its not a required dependency (0d567fc)
0.0.5 (2020-11-01)
- change internal import paths to match how they will be used externally (1020f8f)