diff --git a/.changeset/fluffy-llamas-dance.md b/.changeset/fluffy-llamas-dance.md deleted file mode 100644 index 13b6b45..0000000 --- a/.changeset/fluffy-llamas-dance.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -'jotai-x': minor ---- - -- Atoms other than `atom` can now be passed in the `initialState` argument to `createAtomStore`. Primitive values use `atom` by default -- Added an `extend` option to `createAtomStore` that lets you add derived atoms to the store -- New accessors on `UseStoreApi` - - `useMyStore().store()` returns the `JotaiStore` for the current context, or undefined if no store exists - - `useMyStore().{get,set,use}.atom(someAtom)` accesses `someAtom` through the store -- Types: remove exports for some internal types - - `GetRecord` - - `SetRecord` - - `UseRecord` diff --git a/packages/jotai-x/CHANGELOG.md b/packages/jotai-x/CHANGELOG.md index 4c4ab09..b203228 100644 --- a/packages/jotai-x/CHANGELOG.md +++ b/packages/jotai-x/CHANGELOG.md @@ -1,5 +1,20 @@ # jotai-x +## 1.1.0 + +### Minor Changes + +- [#2](https://github.com/udecode/jotai-x/pull/2) by [@12joan](https://github.com/12joan) – + - Atoms other than `atom` can now be passed in the `initialState` argument to `createAtomStore`. Primitive values use `atom` by default + - Added an `extend` option to `createAtomStore` that lets you add derived atoms to the store + - New accessors on `UseStoreApi` + - `useMyStore().store()` returns the `JotaiStore` for the current context, or undefined if no store exists + - `useMyStore().{get,set,use}.atom(someAtom)` accesses `someAtom` through the store + - Types: remove exports for some internal types + - `GetRecord` + - `SetRecord` + - `UseRecord` + ## 1.0.1 ### Patch Changes diff --git a/packages/jotai-x/package.json b/packages/jotai-x/package.json index fd027d3..dfead35 100644 --- a/packages/jotai-x/package.json +++ b/packages/jotai-x/package.json @@ -1,6 +1,6 @@ { "name": "jotai-x", - "version": "1.0.1", + "version": "1.1.0", "description": "Jotai store factory for a best-in-class developer experience.", "license": "MIT", "homepage": "https://platejs.org",