Skip to content

Commit

Permalink
Merge pull request #3 from udecode/changeset-release/main
Browse files Browse the repository at this point in the history
[Release] Version packages
  • Loading branch information
12joan committed Dec 22, 2023
2 parents 7b6b669 + b1b227e commit da92041
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 14 deletions.
13 changes: 0 additions & 13 deletions .changeset/fluffy-llamas-dance.md

This file was deleted.

15 changes: 15 additions & 0 deletions packages/jotai-x/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/jotai-x/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit da92041

Please sign in to comment.