Skip to content

Releases: stable-packages/store

stable-store@1.0.0-beta.2

Pre-release

Choose a tag to compare

@github-actions github-actions released this 07 Sep 09:12
4097d12

Minor Changes

  • 93304c7: Drop support of MissingInit<>.
    It now allows creating store with type specified but not initial value.
    In that case, the resulting store will add | undefined to the value type.

    This change is made to accommodate the usage of options.

  • 5d3a0e2: getStore() takes an object instead.

Patch Changes

  • 66c0578: Pin type-plus to the exact version 8.0.0-beta.10.

    type-plus is a devDependency in both packages and its types do not leak into the
    emitted declarations (the only imports live in *.spec.ts, which files excludes
    from the published tarball). Consumers therefore inherit nothing from the upgrade —
    no new typescript >= 5.6.0 peer, no runtime dependency change — so this is a patch.

    The version is pinned rather than caret-ranged because ^8.0.0-beta.10 resolves to
    >=8.0.0-beta.10 <9.0.0-0, which admits every later 8.0.0 prerelease as well as
    8.0.0 and 8.1.0. The 8 line is a prerelease line where breaking changes land
    between betas (beta.10 -> beta.11 changed Equal's signature and removed
    isType.f). An exact version makes each bump a reviewable PR instead of something a
    lockfile refresh can do silently.

  • 998833b: Update TypeScript to 5.4.5.
    Adjust type to support exactOptionalPropertyTypes.

global-store@1.0.0-beta.23

Pre-release

Choose a tag to compare

@github-actions github-actions released this 07 Sep 09:11
4097d12

Patch Changes

  • 998833b: Fix handling when key is unknown in initializeAsyncStore()

  • 66c0578: Pin type-plus to the exact version 8.0.0-beta.10.

    type-plus is a devDependency in both packages and its types do not leak into the
    emitted declarations (the only imports live in *.spec.ts, which files excludes
    from the published tarball). Consumers therefore inherit nothing from the upgrade —
    no new typescript >= 5.6.0 peer, no runtime dependency change — so this is a patch.

    The version is pinned rather than caret-ranged because ^8.0.0-beta.10 resolves to
    >=8.0.0-beta.10 <9.0.0-0, which admits every later 8.0.0 prerelease as well as
    8.0.0 and 8.1.0. The 8 line is a prerelease line where breaking changes land
    between betas (beta.10 -> beta.11 changed Equal's signature and removed
    isType.f). An exact version makes each bump a reviewable PR instead of something a
    lockfile refresh can do silently.

  • 998833b: Update TypeScript to 5.4.5.
    Adjust type to support exactOptionalPropertyTypes.

stable-store@1.0.0-beta.1

Pre-release

Choose a tag to compare

@unional unional released this 06 Jun 06:07

Patch Changes

  • 2f26541: Add JSDocs comments for onGet and onSet.

    Hide the internal brandedSymbol.

stable-store@1.0.0-beta.0

Pre-release

Choose a tag to compare

@unional unional released this 12 May 04:14

Major Changes

  • fecb2b7: Beta release of [stable-store].

global-store@1.0.0-beta.22

Pre-release

Choose a tag to compare

Patch Changes

v1.0.0-beta.21

v1.0.0-beta.21 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 16 May 08:20

Patch Changes

  • 4e20bf5: Fix prototype polluting for createAsyncStore().

    Same issue as the createStore(),
    just fixing it to clear code analysis.

v1.0.0-beta.20

v1.0.0-beta.20 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 16 May 04:02

Patch Changes

  • d11a99a: Fix Prototype-polluting assignment.

    It is not really exploitable as they are stores and do not use any build-in methods.

    However, converting them to Object.create(null) is a better and cleaner approach anyway.

Last version before 1.0 (hopefully)

Choose a tag to compare

@unional unional released this 10 Feb 21:26
  • Removed get()/set() #49
  • Renamed create() to createStore() #52 (comment)
  • Add flowtype (experimental. It seems to work. But I'm not expert in flowtype)