Skip to content

Releases: spautz/dynamic-selectors

v1.2.1

06 May 13:01
fb373dc

Choose a tag to compare

v1.2.0

30 Apr 22:24
c779a19

Choose a tag to compare

  • Add NPM provenance via Github actions (83ff1ee)
  • Confirm support for Node 20 (83ff1ee)
  • Update dependencies and devDependencies (83ff1ee)

Full changelog: https://github.com/spautz/dynamic-selectors/blob/main/CHANGELOG.md#120-2023-04-30

v1.1.1

19 Sep 00:30
85911c8

Choose a tag to compare

What's Changed

  • Add esm-related fixes that were supposed to be in v1.1.0 (#41) (f598f24)

Full Changelog: v1.1.0...v1.1.1

v1.1.0

18 Sep 19:15
d2ceb8e

Choose a tag to compare

All docs have been updated for clarity and accuracy.

  • Improve bundle size and add size-limit checks to build (#40) (7ec596c)
  • Use core lodash get for default state accessor, instead of a standalone package (#39) (e16ae4f)

Full Changelog: v1.0.0...v1.1.0

v1.0.0

13 Sep 01:20
6755755

Choose a tag to compare

What's Changed

Typescript typings for Dynamic-Selectors have been rewritten from the ground up: the typings for a dynamic selector are
now inferred from the typings of the internal function you pass to createDynamicSelector. This includes the return
type, any key params, and any extra args.

  • The getState argument passed to a selector now accepts a generic param for its return value.
  • Default typings are more restrictive, and will result in unknown being returned if not inferrable or specified.
  • dynamicSelectorForState now accepts a generic type param for the State, which affects its own options and the
    typings for the createDynamicSelector function it returns.

Aside from these typing changes, there are no changes to the overall algorithm or functionality: everything should work
the same now as before.

  • Selector parameter and return-type typings are now inferred based on the function you provide (#37) (c36ba19)
  • Update build system and supported Node versions (#35) (42dfbc2)
  • Clean up docs (#36) (1a1ffe4)

Full Changelog: v0.4.0...v1.0.0

v0.4.0

04 Nov 01:19
v0.4.0
6fe1282

Choose a tag to compare

0.4.0 (2021-11-03)

Full Changelog: v0.3.1...v0.4.0

v0.3.1

04 Nov 01:16
v0.3.1
36bb890

Choose a tag to compare

0.3.1 (2021-05-29)

  • Fix an invalid peerDependency in @dynamic-selectors/with-reselect

v0.3.0

04 Nov 01:16
v0.3.0
b98e20c

Choose a tag to compare

0.3.0 (2021-05-29)

Features

  • Publish multiple typesVersions for different versions of Typescript (#19) (5eb08ab)

v0.2.1

04 Nov 01:16
v0.2.1
70ce071

Choose a tag to compare

0.2.1 (2020-10-30)

Features

  • Add @dynamic-selectors/with-reselect package (#7) (be26b0c)
  • Emit a warning if invalid options are passed in (dev only) (#6) (66d3b48)

v0.1.0

04 Nov 01:16
v0.1.0
1e4f79e

Choose a tag to compare

0.1.0 (2020-10-15)

Features

  • @dynamic-selectors/core: Add read-only dependencies as first-class dependencies (#3) (7963789)
  • @dynamic-selectors/core: Add resetCache, with more tests (#4) (f39492d)