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.10.2
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.10.3
Choose a head ref
  • 14 commits
  • 79 files changed
  • 6 contributors

Commits on Nov 13, 2024

  1. test: add jest-dom matchers and eslint plugin (#2808)

    * test: add jest-dom matchers and eslint plugin
    
    * Update .github/workflows/test-old-typescript.yml
    
    ---------
    
    Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
    kretajak and dai-shi authored Nov 13, 2024
    Configuration menu
    Copy the full SHA
    47fef4d View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2024

  1. fix: flushPending in async write (#2804)

    * fix: flushPending in async write
    
    * isSync in onMount to
    
    * apply the change
    
    * add test for flushPending (#2809)
    
    * Fix/flush pending finally everywhere (#2816)
    
    * call onmount flushPending in finally block
    
    * temp remove unmount test cases. to be fixed later with pending injection (#2810)
    
    * flushpending everywhere
    
    * Apply suggestions from code review
    
    ---------
    
    Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
    
    * fix type assertion
    
    ---------
    
    Co-authored-by: David Maskasky <dmaskasky@gmail.com>
    dai-shi and dmaskasky authored Nov 14, 2024
    Configuration menu
    Copy the full SHA
    6ff4eb2 View commit details
    Browse the repository at this point in the history
  2. fix: flush pending finally everywhere (#2818)

    * add failing tests for 'should mount and trigger listeners even when an error is thrown'
    
    * improve error handling for flushPending
    dmaskasky authored Nov 14, 2024
    Configuration menu
    Copy the full SHA
    d9091a1 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2024

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

Commits on Nov 17, 2024

  1. fix: setAtom uses stale pending on atom unmount (#2811)

    * fix: setAtom should use the correct pending on unmount
    
    * ideating with overwritable setAtom pattern
    
    * encapsulate isSync inside setAtom
    
    * refactor
    
    * refactor 2
    
    * refactor to use createRuntime
    
    * refactor 3
    
    * how about this?
    
    ---------
    
    Co-authored-by: daishi <daishi@axlight.com>
    dmaskasky and dai-shi authored Nov 17, 2024
    Configuration menu
    Copy the full SHA
    29662ea View commit details
    Browse the repository at this point in the history
  2. add tests: can read sync derived atom in write without initializing (#…

    …2824)
    
    * add tests: atoms accessed with write get should have their dependencies updated
    
    * Update tests/vanilla/dependency.test.tsx
    
    ---------
    
    Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
    dmaskasky and dai-shi authored Nov 17, 2024
    Configuration menu
    Copy the full SHA
    1bf91ce View commit details
    Browse the repository at this point in the history
  3. call subscribers when setatom changes value in onmount (#2815)

    Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
    dmaskasky and dai-shi authored Nov 17, 2024
    Configuration menu
    Copy the full SHA
    c41a6de View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    474e369 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2024

  1. Configuration menu
    Copy the full SHA
    14c028a View commit details
    Browse the repository at this point in the history
  2. feat(website): UI/UX improvements (#2829)

    * feat(website): UI/UX improvements
    
    * feat: UI/UX improvements
    
    * feat: UI/UX improvements
    sandren authored Nov 18, 2024
    Configuration menu
    Copy the full SHA
    cc3f3b6 View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2024

  1. docs: add jotai-derive extension documentation (#2656)

    * docs: add derive extension documentation
    
    * fix typo in derive docs
    
    * reorder docs
    
    ---------
    
    Co-authored-by: Sophia Michelle Andren <20441876+sandren@users.noreply.github.com>
    iwoplaza and sandren authored Nov 20, 2024
    Configuration menu
    Copy the full SHA
    ad2f83c View commit details
    Browse the repository at this point in the history
  2. feat(docs): update docs for jotai-history (#2736)

    * feat(docs): update docs for jotai-history
    
    * reorder docs
    
    ---------
    
    Co-authored-by: Sophia Michelle Andren <20441876+sandren@users.noreply.github.com>
    dmaskasky and sandren authored Nov 20, 2024
    Configuration menu
    Copy the full SHA
    71d4a6b View commit details
    Browse the repository at this point in the history
  3. chore(deps): update dev dependencies (#2830)

    * chore(deps): update dev dependencies
    
    * fix: react basic&async tests
    
    * change eslint exceptions
    
    * Revert "change eslint exceptions"
    
    This reverts commit a313108.
    
    * Revert "fix: react basic&async tests"
    
    This reverts commit 992e263.
    
    * patch RTL and hack userEvent
    
    * do not patch for old RTL
    
    * test hack for react 18
    
    * remove garbage in the patch
    
    * update lock
    dai-shi authored Nov 20, 2024
    Configuration menu
    Copy the full SHA
    6a854a9 View commit details
    Browse the repository at this point in the history
  4. 2.10.3

    dai-shi committed Nov 20, 2024
    Configuration menu
    Copy the full SHA
    6b406ff View commit details
    Browse the repository at this point in the history
Loading