Skip to content

Latest commit

 

History

History
191 lines (113 loc) · 14.3 KB

CHANGELOG.md

File metadata and controls

191 lines (113 loc) · 14.3 KB

Changelog

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)

⚠ BREAKING CHANGES

  • ng-dev: Linting config is now provided by @s-libs/eslint-config-ng. The old TSLint and ESLint configs are still available in ng-dev, but are deprecated. ESLint is no longer installed automatically with ng-dev, so to continue using its deprecated config you'll need to install the old dependencies via your own package.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 and ComponentContextNext 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.

Features

  • 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

Bug Fixes

  • ng-dev: ComponentContextNext now handles inputs that come from a component's superclass (f7830e6), closes #40

11.3.0 (2021-03-13)

Features

  • 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)

Bug Fixes

  • ng-core: Fix for "Types of property 'ɵfac' are incompatible." (06f89f9)

11.2.0 (2021-01-07)

Features

  • micro-dash: improve typing of reduce() and reduceRight() (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

Bug Fixes

  • 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)

Features

  • ng-dev: ComponentContextNext runs async tests and uses normal async component harnesses. Deprecate AngularContext in favor of the new AngularContextNext (which powers some of this new behavior). (07cecef)
  • ng-dev: added ComponentContextNext.assignWrapperStyles() (b3fc051)

11.2.0-next.1 (2021-01-01)

Features

  • ng-core: DirectiveSuperclass.getInput$() wait until the input is set before emitting. Before, if called e.g. from the directive's constructor, it would emit undefined immediately, then emit again during ngOnChanges. Caveat: all emissions are now delayed on the microtask queue. (3b13611), closes #14
  • ng-dev: add ComponentContextNext. This will replace ComponentContext in a future major version release. See migration notes in the class-level docs for ComponentContext. Closes #15. (90bc99f)

11.2.0-next.0 (2020-12-19)

Features

  • 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)

Features

  • 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)

Bug Fixes

  • ng-core: DirectiveSuperclass can now be used for a pipe (7fcd056)

11.0.0-next.0 (2020-11-21)

⚠ BREAKING CHANGES

  • ng-core and ng-app-state, and ng-dev now require angular 11

Features

10.0.0 (2020-11-21)

Features

  • app-state: improve performance when unsubscribing (6bdd873)

0.3.3 (2020-11-14)

Features

  • micro-dash: reduce size of functions() (e9efb9f)

Bug Fixes

  • micro-dash: functions() no longer calls getters (145f301)

0.3.2 (2020-11-13)

Features

  • ng-dev: AngularContext.tick() better simulates real change detection (68fc5da)

0.3.1 (2020-11-13)

Features

  • ng-dev: AngularContext mocks performance.now (0ae92d6)

0.3.0 (2020-11-12)

⚠ BREAKING CHANGES

  • ng-dev: requires @angular/cdk as a peer dependency

Features

  • 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)

⚠ BREAKING CHANGES

  • app-state: .batch() in now only available on RootStore. There is a new Store.getRootStore() to get a reference to it if needed.

Features

  • app-state: Batch API better reflects its semantics (56214c6)

0.1.0 (2020-11-09)

⚠ BREAKING CHANGES

  • requires libraries scaffolded by Angular 10.2

Bug Fixes

  • support the latest Angular CLI scaffolding (900876d)

0.0.7 (2020-11-02)

Bug Fixes

  • app-state: unsubscribing mid-emit could sometimes result in an error (c42585f)

0.0.6 (2020-11-01)

Features

  • include a copy of redux types, so its not a required dependency (0d567fc)

0.0.5 (2020-11-01)

Bug Fixes

  • change internal import paths to match how they will be used externally (1020f8f)

0.0.4 (2020-11-01)