Releases: stable-packages/store
Release list
stable-store@1.0.0-beta.2
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| undefinedto the value type.This change is made to accommodate the usage of
options. -
5d3a0e2:
getStore()takes an object instead.
Patch Changes
-
66c0578: Pin
type-plusto the exact version8.0.0-beta.10.type-plusis a devDependency in both packages and its types do not leak into the
emitted declarations (the only imports live in*.spec.ts, whichfilesexcludes
from the published tarball). Consumers therefore inherit nothing from the upgrade —
no newtypescript >= 5.6.0peer, no runtime dependency change — so this is a patch.The version is pinned rather than caret-ranged because
^8.0.0-beta.10resolves to
>=8.0.0-beta.10 <9.0.0-0, which admits every later8.0.0prerelease as well as
8.0.0and8.1.0. The 8 line is a prerelease line where breaking changes land
between betas (beta.10 -> beta.11 changedEqual'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 supportexactOptionalPropertyTypes.
global-store@1.0.0-beta.23
Patch Changes
-
998833b: Fix handling when
keyis unknown ininitializeAsyncStore() -
66c0578: Pin
type-plusto the exact version8.0.0-beta.10.type-plusis a devDependency in both packages and its types do not leak into the
emitted declarations (the only imports live in*.spec.ts, whichfilesexcludes
from the published tarball). Consumers therefore inherit nothing from the upgrade —
no newtypescript >= 5.6.0peer, no runtime dependency change — so this is a patch.The version is pinned rather than caret-ranged because
^8.0.0-beta.10resolves to
>=8.0.0-beta.10 <9.0.0-0, which admits every later8.0.0prerelease as well as
8.0.0and8.1.0. The 8 line is a prerelease line where breaking changes land
between betas (beta.10 -> beta.11 changedEqual'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 supportexactOptionalPropertyTypes.
stable-store@1.0.0-beta.1
stable-store@1.0.0-beta.0
global-store@1.0.0-beta.22
v1.0.0-beta.21
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
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)
- Removed
get()/set()#49 - Renamed
create()tocreateStore()#52 (comment) - Add flowtype (experimental. It seems to work. But I'm not expert in flowtype)