Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

breaking: replace old api with v2 api #1671

Merged
merged 15 commits into from
Jan 31, 2023

Conversation

dai-shi
Copy link
Member

@dai-shi dai-shi commented Jan 7, 2023

  • remove v1 code, related tests and deprecated integrations
  • minimum ts version is 3.8 and improve tests
  • minimum react version is 17 (we still run tests on 16.9 though)

@vercel
Copy link

vercel bot commented Jan 7, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
jotai ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 31, 2023 at 1:02AM (UTC)

@codesandbox-ci
Copy link

codesandbox-ci bot commented Jan 7, 2023

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 843ba1e:

Sandbox Source
React Configuration
React Typescript Configuration
React Browserify Configuration
React Snowpack Configuration
Next.js Configuration
Next.js with custom Babel config Configuration
React with custom Babel config Configuration

@github-actions
Copy link

github-actions bot commented Jan 7, 2023

Size Change: -101 kB (-57%) 🏆

Total Size: 75.4 kB

Filename Size Change
dist/devtools.js 0 B -504 B (removed) 🏆
dist/esm/devtools.js 0 B -235 B (removed) 🏆
dist/esm/immer.js 0 B -200 B (removed) 🏆
dist/esm/index.js 61 B -5.25 kB (-99%) 🏆
dist/esm/optics.js 0 B -164 B (removed) 🏆
dist/esm/query.js 0 B -485 B (removed) 🏆
dist/esm/redux.js 0 B -168 B (removed) 🏆
dist/esm/urql.js 0 B -793 B (removed) 🏆
dist/esm/utils.js 67 B -5.28 kB (-99%) 🏆
dist/esm/valtio.js 0 B -169 B (removed) 🏆
dist/esm/xstate.js 0 B -183 B (removed) 🏆
dist/esm/zustand.js 0 B -172 B (removed) 🏆
dist/immer.js 0 B -453 B (removed) 🏆
dist/index.js 229 B -5.92 kB (-96%) 🏆
dist/optics.js 0 B -404 B (removed) 🏆
dist/query.js 0 B -737 B (removed) 🏆
dist/redux.js 0 B -409 B (removed) 🏆
dist/system/devtools.development.js 0 B -327 B (removed) 🏆
dist/system/devtools.production.js 0 B -241 B (removed) 🏆
dist/system/immer.development.js 0 B -286 B (removed) 🏆
dist/system/immer.production.js 0 B -213 B (removed) 🏆
dist/system/index.development.js 236 B -5.3 kB (-96%) 🏆
dist/system/index.production.js 167 B -2.85 kB (-94%) 🏆
dist/system/optics.development.js 0 B -251 B (removed) 🏆
dist/system/optics.production.js 0 B -189 B (removed) 🏆
dist/system/query.development.js 0 B -609 B (removed) 🏆
dist/system/query.production.js 0 B -423 B (removed) 🏆
dist/system/redux.development.js 0 B -255 B (removed) 🏆
dist/system/redux.production.js 0 B -192 B (removed) 🏆
dist/system/urql.development.js 0 B -938 B (removed) 🏆
dist/system/urql.production.js 0 B -625 B (removed) 🏆
dist/system/utils.development.js 241 B -5.5 kB (-96%) 🏆
dist/system/utils.production.js 175 B -3.43 kB (-95%) 🏆
dist/system/valtio.development.js 0 B -256 B (removed) 🏆
dist/system/valtio.production.js 0 B -193 B (removed) 🏆
dist/system/xstate.development.js 0 B -273 B (removed) 🏆
dist/system/xstate.production.js 0 B -210 B (removed) 🏆
dist/system/zustand.development.js 0 B -258 B (removed) 🏆
dist/system/zustand.production.js 0 B -194 B (removed) 🏆
dist/umd/devtools.development.js 0 B -647 B (removed) 🏆
dist/umd/devtools.production.js 0 B -463 B (removed) 🏆
dist/umd/immer.development.js 0 B -594 B (removed) 🏆
dist/umd/immer.production.js 0 B -437 B (removed) 🏆
dist/umd/index.development.js 365 B -5.88 kB (-94%) 🏆
dist/umd/index.production.js 316 B -3.17 kB (-91%) 🏆
dist/umd/optics.development.js 0 B -544 B (removed) 🏆
dist/umd/optics.production.js 0 B -408 B (removed) 🏆
dist/umd/query.development.js 0 B -881 B (removed) 🏆
dist/umd/query.production.js 0 B -624 B (removed) 🏆
dist/umd/redux.development.js 0 B -548 B (removed) 🏆
dist/umd/redux.production.js 0 B -413 B (removed) 🏆
dist/umd/urql.development.js 0 B -4.66 kB (removed) 🏆
dist/umd/urql.production.js 0 B -3.25 kB (removed) 🏆
dist/umd/utils.development.js 376 B -9.78 kB (-96%) 🏆
dist/umd/utils.production.js 327 B -6.21 kB (-95%) 🏆
dist/umd/valtio.development.js 0 B -549 B (removed) 🏆
dist/umd/valtio.production.js 0 B -413 B (removed) 🏆
dist/umd/xstate.development.js 0 B -579 B (removed) 🏆
dist/umd/xstate.production.js 0 B -436 B (removed) 🏆
dist/umd/zustand.development.js 0 B -550 B (removed) 🏆
dist/umd/zustand.production.js 0 B -413 B (removed) 🏆
dist/urql.js 0 B -4.48 kB (removed) 🏆
dist/utils.js 236 B -9.68 kB (-98%) 🏆
dist/valtio.js 0 B -408 B (removed) 🏆
dist/xstate.js 0 B -442 B (removed) 🏆
dist/zustand.js 0 B -411 B (removed) 🏆
ℹ️ View Unchanged
Filename Size
dist/babel/plugin-debug-label.js 876 B
dist/babel/plugin-react-refresh.js 1.11 kB
dist/babel/preset.js 1.35 kB
dist/esm/babel/plugin-debug-label.js 869 B
dist/esm/babel/plugin-react-refresh.js 1.08 kB
dist/esm/babel/preset.js 1.35 kB
dist/esm/react.js 1.01 kB
dist/esm/react/utils.js 535 B
dist/esm/vanilla.js 3.03 kB
dist/esm/vanilla/utils.js 4.09 kB
dist/react.js 1.06 kB
dist/react/utils.js 1.23 kB
dist/system/babel/plugin-debug-label.development.js 970 B
dist/system/babel/plugin-debug-label.production.js 728 B
dist/system/babel/plugin-react-refresh.development.js 1.18 kB
dist/system/babel/plugin-react-refresh.production.js 899 B
dist/system/babel/preset.development.js 1.45 kB
dist/system/babel/preset.production.js 1.1 kB
dist/system/react.development.js 1.17 kB
dist/system/react.production.js 714 B
dist/system/react/utils.development.js 677 B
dist/system/react/utils.production.js 424 B
dist/system/vanilla.development.js 3.12 kB
dist/system/vanilla.production.js 1.66 kB
dist/system/vanilla/utils.development.js 4.33 kB
dist/system/vanilla/utils.production.js 2.69 kB
dist/umd/babel/plugin-debug-label.development.js 1.04 kB
dist/umd/babel/plugin-debug-label.production.js 819 B
dist/umd/babel/plugin-react-refresh.development.js 1.26 kB
dist/umd/babel/plugin-react-refresh.production.js 985 B
dist/umd/babel/preset.development.js 1.49 kB
dist/umd/babel/preset.production.js 1.21 kB
dist/umd/react.development.js 1.19 kB
dist/umd/react.production.js 805 B
dist/umd/react/utils.development.js 1.39 kB
dist/umd/react/utils.production.js 1 kB
dist/umd/vanilla.development.js 3.92 kB
dist/umd/vanilla.production.js 1.82 kB
dist/umd/vanilla/utils.development.js 5.07 kB
dist/umd/vanilla/utils.production.js 3.14 kB
dist/vanilla.js 3.83 kB
dist/vanilla/utils.js 4.91 kB

compressed-size-action

@dai-shi dai-shi changed the title WIP: breaking: replace old api with v2 api breaking: replace old api with v2 api Jan 15, 2023
@dai-shi dai-shi added this to the v2.0.0 milestone Jan 23, 2023
@dai-shi dai-shi marked this pull request as ready for review January 23, 2023 05:51
@dai-shi dai-shi merged commit 5ef3ac0 into main Jan 31, 2023
@dai-shi dai-shi deleted the breaking/replace-old-api-with-v2-api branch January 31, 2023 01:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant