Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: pmndrs/jotai
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.12.1
Choose a base ref
...
head repository: pmndrs/jotai
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.12.2
Choose a head ref
  • 17 commits
  • 97 files changed
  • 12 contributors

Commits on Feb 18, 2025

  1. docs: update jotai-effect docs for sync effect (#2983)

    Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
    dmaskasky and dai-shi authored Feb 18, 2025
    Configuration menu
    Copy the full SHA
    9490a24 View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2025

  1. chore(package.json): update fix script to run sequentially (#2994)

    * chore(package.json): update fix script to run sequentially
    
    * chore(package.json): reorder the fix-related scripts
    sukvvon authored Feb 19, 2025
    Configuration menu
    Copy the full SHA
    b29a0fb View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2025

  1. Chore/enhance prettier config (#2990)

    * chore: enhance prettier config
    
    * chore: fix prettier issues
    
    ---------
    
    Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
    kretajak and dai-shi authored Feb 20, 2025
    Configuration menu
    Copy the full SHA
    9d46ca2 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2025

  1. Configuration menu
    Copy the full SHA
    df53eb2 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2025

  1. fix(atomWithRefresh): non-writable refreshables throw an error if imp…

    …licitly passed an argument (#2996)
    
    * docs(atomWithRefresh): doesn't refresh with arguments passed
    
    * fix(#2995): error instead of noop when fetch-only refreshable atom's setter is called with args
    
    * Update tests/vanilla/utils/atomWithRefresh.test.ts
    
    * Update test-multiple-builds.yml
    
    * Update test-multiple-builds.yml
    
    * Update test-multiple-builds.yml
    
    ---------
    
    Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
    a10nik and dai-shi authored Feb 22, 2025
    Configuration menu
    Copy the full SHA
    bc39611 View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2025

  1. Configuration menu
    Copy the full SHA
    996d4f9 View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2025

  1. Configuration menu
    Copy the full SHA
    34f0db6 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2025

  1. refactor(vanilla, react): change exported functions to 'function decl…

    …arations' and non-exported ones to 'arrow functions' (#3002)
    
    * refactor(react): change all exported functions to 'function declarations'
    
    * refactor(vanilla): change all exported functions to 'function declarations'
    
    * refactor(vanilla): change all non-exported functions to 'arrow functions'
    sukvvon authored Feb 26, 2025
    Configuration menu
    Copy the full SHA
    268ab95 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2025

  1. Configuration menu
    Copy the full SHA
    ee7d3cf View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2025

  1. disable blank issues

    dai-shi committed Feb 28, 2025
    Configuration menu
    Copy the full SHA
    64b4e2a View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2025

  1. fix: examples/mega-form remove itemAtom; (#3017)

    * fix: examples/mega-form remove itemAtom;
    
    * chore: rname remove to dispatch;
    
    ---------
    
    Co-authored-by: 哗哗哗 <zakudriver@huahuahuadeMacBook-Pro.local>
    zakudriver and 哗哗哗 authored Mar 8, 2025
    Configuration menu
    Copy the full SHA
    dd6625d View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2025

  1. fix(core): improve error handling with multiple errors in flashCallba…

    …cks (#3011)
    
    * feat(flushCallbacks): improve error handling with multiple errors
    
    Previously, only the first error was thrown and subsequent errors were ignored.
    Now all errors are collected and:
    - If there's only one error, throw it directly
    - If there are multiple errors, throw them as AggregateError
    
    This change improves debugging by preserving all error information during callback execution.
    
    Co-authored-by: daishi <daishi@axlight.com>
    
    * Update src/vanilla/internals.ts
    
    ---------
    
    Co-authored-by: daishi <daishi@axlight.com>
    Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
    3 people authored Mar 10, 2025
    Configuration menu
    Copy the full SHA
    d06e958 View commit details
    Browse the repository at this point in the history
  2. fix(utils): atomWithObservable option for React 19 behavior (#3016)

    * fix: micro-suspenses
    
    * hack atomWithObservable not useAtomValue
    
    * change test
    
    * fix typo
    
    ---------
    
    Co-authored-by: Tiến Nguyễn Khắc <tien.nguyenkhac@icloud.com>
    dai-shi and tien authored Mar 10, 2025
    Configuration menu
    Copy the full SHA
    5f42e12 View commit details
    Browse the repository at this point in the history
  3. fix(utils): Fix deepFreeze fails for boolean, number, string (#3018)

    * Fix deepFreeze fails for boolean, number, string
    
    * Update src/vanilla/utils/freezeAtom.ts
    
    * Update src/vanilla/utils/freezeAtom.ts
    
    * fix format
    
    ---------
    
    Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
    Co-authored-by: daishi <daishi@axlight.com>
    3 people authored Mar 10, 2025
    Configuration menu
    Copy the full SHA
    e0289af View commit details
    Browse the repository at this point in the history
  4. refactor(core): avoid onCancel hack (#3019)

    * wip: refactor: avoid onCancel hack
    
    * fix typo
    
    * fix useAtomValue
    
    * refactor internals
    
    * refactor agian to keep the behavior
    
    * small refactor
    
    * refactor a bit
    
    * recover a line
    
    * another refactor
    dai-shi authored Mar 10, 2025
    Configuration menu
    Copy the full SHA
    6f2ae77 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5ee412a View commit details
    Browse the repository at this point in the history
  6. 2.12.2

    dai-shi committed Mar 10, 2025
    Configuration menu
    Copy the full SHA
    a38128d View commit details
    Browse the repository at this point in the history
Loading