Skip to content

Commit

Permalink
Release v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
spautz committed Sep 13, 2022
1 parent 572ca30 commit 6755755
Show file tree
Hide file tree
Showing 8 changed files with 91 additions and 39 deletions.
6 changes: 0 additions & 6 deletions .changeset/breezy-teachers-try.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/mighty-pianos-promise.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/strong-nails-trade.md

This file was deleted.

48 changes: 38 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,32 @@
# Changelog

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
## [1.0.0](https://github.com/spautz/dynamic-selectors/compare/v0.4.0...v1.0.0) (2022-09-12)

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](https://github.com/spautz/dynamic-selectors/issues/37)) ([c36ba19](https://github.com/spautz/dynamic-selectors/commit/c36ba19bfd964a05c6e6847184e6e1ec19eabc81))
- Update build system and supported Node
versions ([#35](https://github.com/spautz/dynamic-selectors/issues/35)) ([42dfbc2](https://github.com/spautz/dynamic-selectors/commit/42dfbc2a7a856aaf82d400e08220d3f09c7c38b0))
- Clean up
docs ([#36](https://github.com/spautz/dynamic-selectors/issues/36)) ([1a1ffe4](https://github.com/spautz/dynamic-selectors/commit/1a1ffe40c8e8efd672e3d11c2a4115dc3a1541e0))

## [0.4.0](https://github.com/spautz/dynamic-selectors/compare/v0.3.1...v0.4.0) (2021-11-03)

- Confirm support for Node 17 ([#24](https://github.com/spautz/dynamic-selectors/issues/24)) ([cc80c38](https://github.com/spautz/dynamic-selectors/commit/cc80c38afc70b42f5715a03e78507eba7aeb7b8f))
- Internal package updates ([#25](https://github.com/spautz/dynamic-selectors/issues/25)) ([aaca930](https://github.com/spautz/dynamic-selectors/commit/aaca93092391991deb4f630707d2ac3583c85a59))
- Confirm support for Node
17 ([#24](https://github.com/spautz/dynamic-selectors/issues/24)) ([cc80c38](https://github.com/spautz/dynamic-selectors/commit/cc80c38afc70b42f5715a03e78507eba7aeb7b8f))
- Internal package
updates ([#25](https://github.com/spautz/dynamic-selectors/issues/25)) ([aaca930](https://github.com/spautz/dynamic-selectors/commit/aaca93092391991deb4f630707d2ac3583c85a59))

### [0.3.1](https://github.com/spautz/dynamic-selectors/compare/v0.3.0...v0.3.1) (2021-05-29)

Expand All @@ -15,7 +36,8 @@ All notable changes to this project will be documented in this file. See [standa

### Features

- Publish multiple typesVersions for different versions of Typescript ([#19](https://github.com/spautz/dynamic-selectors/issues/19)) ([5eb08ab](https://github.com/spautz/dynamic-selectors/commit/5eb08ab8d8c151d592aa90b59737f8f1060b74b6))
- Publish multiple typesVersions for different versions of
Typescript ([#19](https://github.com/spautz/dynamic-selectors/issues/19)) ([5eb08ab](https://github.com/spautz/dynamic-selectors/commit/5eb08ab8d8c151d592aa90b59737f8f1060b74b6))

### [0.2.2](https://github.com/spautz/dynamic-selectors/compare/v0.2.1...v0.2.2) (2021-02-20)

Expand All @@ -25,29 +47,35 @@ Update dependencies and peerDependencies. No functional changes.

### Features

- Add `@dynamic-selectors/with-reselect` package ([#7](https://github.com/spautz/dynamic-selectors/issues/7)) ([be26b0c](https://github.com/spautz/dynamic-selectors/commit/be26b0c95f7b0e7df3562d8b7bfc629dbebfbc46))
- Emit a warning if invalid options are passed in (dev only) ([#6](https://github.com/spautz/dynamic-selectors/issues/6)) ([66d3b48](https://github.com/spautz/dynamic-selectors/commit/66d3b4859679262f198ea2d4ceee49201e7996fd))
- Add `@dynamic-selectors/with-reselect`
package ([#7](https://github.com/spautz/dynamic-selectors/issues/7)) ([be26b0c](https://github.com/spautz/dynamic-selectors/commit/be26b0c95f7b0e7df3562d8b7bfc629dbebfbc46))
- Emit a warning if invalid options are passed in (dev
only) ([#6](https://github.com/spautz/dynamic-selectors/issues/6)) ([66d3b48](https://github.com/spautz/dynamic-selectors/commit/66d3b4859679262f198ea2d4ceee49201e7996fd))

### [0.1.1](https://github.com/spautz/dynamic-selectors/compare/v0.1.0...v0.1.1) (2020-10-18)

- Improve documentation

### Features

- `@dynamic-selectors/core`: Cleanup and validate options (dev only) ([#6](https://github.com/spautz/dynamic-selectors/issues/6)) ([66d3b48](https://github.com/spautz/dynamic-selectors/commit/66d3b4859679262f198ea2d4ceee49201e7996fd))
- `@dynamic-selectors/core`: Cleanup and validate options (dev
only) ([#6](https://github.com/spautz/dynamic-selectors/issues/6)) ([66d3b48](https://github.com/spautz/dynamic-selectors/commit/66d3b4859679262f198ea2d4ceee49201e7996fd))

## [0.1.0](https://github.com/spautz/dynamic-selectors/compare/v0.0.3...v0.1.0) (2020-10-15)

### Features

- `@dynamic-selectors/core`: Add read-only dependencies as first-class dependencies ([#3](https://github.com/spautz/dynamic-selectors/issues/3)) ([7963789](https://github.com/spautz/dynamic-selectors/commit/796378969f0384eafa31a775ce63c02cfbabbb07))
- `@dynamic-selectors/core`: Add resetCache, with more tests ([#4](https://github.com/spautz/dynamic-selectors/issues/4)) ([f39492d](https://github.com/spautz/dynamic-selectors/commit/f39492d5f7fc271fcac99ff6c55ae38357597e15))
- `@dynamic-selectors/core`: Add read-only dependencies as first-class
dependencies ([#3](https://github.com/spautz/dynamic-selectors/issues/3)) ([7963789](https://github.com/spautz/dynamic-selectors/commit/796378969f0384eafa31a775ce63c02cfbabbb07))
- `@dynamic-selectors/core`: Add resetCache, with more
tests ([#4](https://github.com/spautz/dynamic-selectors/issues/4)) ([f39492d](https://github.com/spautz/dynamic-selectors/commit/f39492d5f7fc271fcac99ff6c55ae38357597e15))

### [0.0.3](https://github.com/spautz/dynamic-selectors/compare/v0.0.2...v0.0.3) (2020-10-14)

### Bug Fixes

- `@dynamic-selectors/core`: Bugfix for readonly runs, with test coverage ([#2](https://github.com/spautz/dynamic-selectors/issues/2)) ([954cf6b](https://github.com/spautz/dynamic-selectors/commit/954cf6b997a8b09a97fc63cf24e1a29e09516e0d))
- `@dynamic-selectors/core`: Bugfix for readonly runs, with test
coverage ([#2](https://github.com/spautz/dynamic-selectors/issues/2)) ([954cf6b](https://github.com/spautz/dynamic-selectors/commit/954cf6b997a8b09a97fc63cf24e1a29e09516e0d))

### 0.0.2 (2020-10-12)

Expand Down
45 changes: 36 additions & 9 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,39 @@
# Changelog

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
## [1.0.0](https://github.com/spautz/dynamic-selectors/compare/v0.4.0...v1.0.0) (2022-09-12)

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](https://github.com/spautz/dynamic-selectors/issues/37)) ([c36ba19](https://github.com/spautz/dynamic-selectors/commit/c36ba19bfd964a05c6e6847184e6e1ec19eabc81))
- Update build system and supported Node
versions ([#35](https://github.com/spautz/dynamic-selectors/issues/35)) ([42dfbc2](https://github.com/spautz/dynamic-selectors/commit/42dfbc2a7a856aaf82d400e08220d3f09c7c38b0))
- Clean up
docs ([#36](https://github.com/spautz/dynamic-selectors/issues/36)) ([1a1ffe4](https://github.com/spautz/dynamic-selectors/commit/1a1ffe40c8e8efd672e3d11c2a4115dc3a1541e0))

## [0.4.0](https://github.com/spautz/dynamic-selectors/compare/v0.3.1...v0.4.0) (2021-11-03)

- Confirm support for Node 17 ([#24](https://github.com/spautz/dynamic-selectors/issues/24)) ([cc80c38](https://github.com/spautz/dynamic-selectors/commit/cc80c38afc70b42f5715a03e78507eba7aeb7b8f))
- Internal package updates ([#25](https://github.com/spautz/dynamic-selectors/issues/25)) ([aaca930](https://github.com/spautz/dynamic-selectors/commit/aaca93092391991deb4f630707d2ac3583c85a59))
- Confirm support for Node
17 ([#24](https://github.com/spautz/dynamic-selectors/issues/24)) ([cc80c38](https://github.com/spautz/dynamic-selectors/commit/cc80c38afc70b42f5715a03e78507eba7aeb7b8f))
- Internal package
updates ([#25](https://github.com/spautz/dynamic-selectors/issues/25)) ([aaca930](https://github.com/spautz/dynamic-selectors/commit/aaca93092391991deb4f630707d2ac3583c85a59))

## [0.3.0](https://github.com/spautz/dynamic-selectors/compare/v0.2.1...v0.3.0) (2021-05-29)

### Features

- Publish multiple typesVersions for different versions of Typescript ([#19](https://github.com/spautz/dynamic-selectors/issues/19)) ([5eb08ab](https://github.com/spautz/dynamic-selectors/commit/5eb08ab8d8c151d592aa90b59737f8f1060b74b6))
- Publish multiple typesVersions for different versions of
Typescript ([#19](https://github.com/spautz/dynamic-selectors/issues/19)) ([5eb08ab](https://github.com/spautz/dynamic-selectors/commit/5eb08ab8d8c151d592aa90b59737f8f1060b74b6))

### [0.2.2](https://github.com/spautz/dynamic-selectors/compare/v0.2.1...v0.2.2) (2021-02-20)

Expand All @@ -21,28 +43,33 @@ Update dependencies and peerDependencies. No functional changes.

### Features

- Emit a warning if invalid options are passed in (dev only) ([#6](https://github.com/spautz/dynamic-selectors/issues/6)) ([66d3b48](https://github.com/spautz/dynamic-selectors/commit/66d3b4859679262f198ea2d4ceee49201e7996fd))
- Emit a warning if invalid options are passed in (dev
only) ([#6](https://github.com/spautz/dynamic-selectors/issues/6)) ([66d3b48](https://github.com/spautz/dynamic-selectors/commit/66d3b4859679262f198ea2d4ceee49201e7996fd))

### [0.1.1](https://github.com/spautz/dynamic-selectors/compare/v0.1.0...v0.1.1) (2020-10-18)

- Improve documentation

### Features

- Cleanup and validate options (dev only) ([#6](https://github.com/spautz/dynamic-selectors/issues/6)) ([66d3b48](https://github.com/spautz/dynamic-selectors/commit/66d3b4859679262f198ea2d4ceee49201e7996fd))
- Cleanup and validate options (dev
only) ([#6](https://github.com/spautz/dynamic-selectors/issues/6)) ([66d3b48](https://github.com/spautz/dynamic-selectors/commit/66d3b4859679262f198ea2d4ceee49201e7996fd))

## [0.1.0](https://github.com/spautz/dynamic-selectors/compare/v0.0.3...v0.1.0) (2020-10-15)

### Features

- Add read-only dependencies as first-class dependencies ([#3](https://github.com/spautz/dynamic-selectors/issues/3)) ([7963789](https://github.com/spautz/dynamic-selectors/commit/796378969f0384eafa31a775ce63c02cfbabbb07))
- Add resetCache, with more tests ([#4](https://github.com/spautz/dynamic-selectors/issues/4)) ([f39492d](https://github.com/spautz/dynamic-selectors/commit/f39492d5f7fc271fcac99ff6c55ae38357597e15))
- Add read-only dependencies as first-class
dependencies ([#3](https://github.com/spautz/dynamic-selectors/issues/3)) ([7963789](https://github.com/spautz/dynamic-selectors/commit/796378969f0384eafa31a775ce63c02cfbabbb07))
- Add resetCache, with more
tests ([#4](https://github.com/spautz/dynamic-selectors/issues/4)) ([f39492d](https://github.com/spautz/dynamic-selectors/commit/f39492d5f7fc271fcac99ff6c55ae38357597e15))

### [0.0.3](https://github.com/spautz/dynamic-selectors/compare/v0.0.2...v0.0.3) (2020-10-14)

### Bug Fixes

- Bugfix for readonly runs, with test coverage ([#2](https://github.com/spautz/dynamic-selectors/issues/2)) ([954cf6b](https://github.com/spautz/dynamic-selectors/commit/954cf6b997a8b09a97fc63cf24e1a29e09516e0d))
- Bugfix for readonly runs, with test
coverage ([#2](https://github.com/spautz/dynamic-selectors/issues/2)) ([954cf6b](https://github.com/spautz/dynamic-selectors/commit/954cf6b997a8b09a97fc63cf24e1a29e09516e0d))

### 0.0.2 (2020-10-12)

Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dynamic-selectors/core",
"version": "0.4.0",
"version": "1.0.0",
"description": "Dynamic selector functions",
"keywords": [
"dynamic selector",
Expand Down
16 changes: 15 additions & 1 deletion packages/with-reselect/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
# Changelog

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
## [1.0.0](https://github.com/spautz/dynamic-selectors/compare/v0.4.0...v1.0.0) (2022-09-12)

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.

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](https://github.com/spautz/dynamic-selectors/issues/37)) ([c36ba19](https://github.com/spautz/dynamic-selectors/commit/c36ba19bfd964a05c6e6847184e6e1ec19eabc81))
- Update build system and supported Node
versions ([#35](https://github.com/spautz/dynamic-selectors/issues/35)) ([42dfbc2](https://github.com/spautz/dynamic-selectors/commit/42dfbc2a7a856aaf82d400e08220d3f09c7c38b0))
- Clean up
docs ([#36](https://github.com/spautz/dynamic-selectors/issues/36)) ([1a1ffe4](https://github.com/spautz/dynamic-selectors/commit/1a1ffe40c8e8efd672e3d11c2a4115dc3a1541e0))

## [0.4.0](https://github.com/spautz/dynamic-selectors/compare/v0.3.1...v0.4.0) (2021-11-03)

Expand Down
2 changes: 1 addition & 1 deletion packages/with-reselect/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dynamic-selectors/with-reselect",
"version": "0.4.0",
"version": "1.0.0",
"description": "Use dynamic selector functions with Reselect",
"keywords": [
"dynamic selector",
Expand Down

0 comments on commit 6755755

Please sign in to comment.