-
-
Notifications
You must be signed in to change notification settings - Fork 280
Comparing changes
Open a pull request
base repository: pmndrs/valtio
base: v2.0.0
head repository: pmndrs/valtio
compare: v2.1.0
- 17 commits
- 99 files changed
- 5 contributors
Commits on Aug 31, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d0a6a5f - Browse repository at this point
Copy the full SHA d0a6a5fView commit details -
Added valtio-zod to library list in docs (#940)
* added valtio-zod to libraries section * added link to Zod library --------- Co-authored-by: Daishi Kato <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b41bd56 - Browse repository at this point
Copy the full SHA b41bd56View commit details
Commits on Sep 1, 2024
-
* Added typescript example for easily access state in your application * Ran prettier on docs * Lots of documenation fixes * added diff styles * fixed prettier lintin warnings * added diff below code examples in migration-to-v2 * Update docs/api/utils/devtools.mdx Co-authored-by: Daishi Kato <[email protected]> * testing github links * update link to correct path * updated migration to v2 docs * fixed typo in some-gotchas * prettier write * Apply suggestions from code review --------- Co-authored-by: Daishi Kato <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7734e7b - Browse repository at this point
Copy the full SHA 7734e7bView commit details
Commits on Sep 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d5c06fc - Browse repository at this point
Copy the full SHA d5c06fcView commit details
Commits on Sep 14, 2024
-
docs - Added a note in how-tos/reset on how to use structuredClone (#947
Configuration menu - View commit details
-
Copy full SHA for d30dddd - Browse repository at this point
Copy the full SHA d30ddddView commit details
Commits on Sep 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e5209d7 - Browse repository at this point
Copy the full SHA e5209d7View commit details
Commits on Sep 16, 2024
-
fix(docs): changed cloneDeep to deepClone (#951)
* changed cloneDeep to deepClone * fixed typo
Configuration menu - View commit details
-
Copy full SHA for 2587214 - Browse repository at this point
Copy the full SHA 2587214View commit details
Commits on Sep 27, 2024
-
* init * update * update * update * fix actions setup * Revert "fix actions setup" This reverts commit 42f4d11. * update * update * fix ci error * remove few files * editor-proxyWithHistory * todo * todo-with-proxyMap
Configuration menu - View commit details
-
Copy full SHA for 0700ed4 - Browse repository at this point
Copy the full SHA 0700ed4View commit details
Commits on Oct 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 98ea29b - Browse repository at this point
Copy the full SHA 98ea29bView commit details -
Configuration menu - View commit details
-
Copy full SHA for dd91043 - Browse repository at this point
Copy the full SHA dd91043View commit details -
Configuration menu - View commit details
-
Copy full SHA for b19dec9 - Browse repository at this point
Copy the full SHA b19dec9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 487ded5 - Browse repository at this point
Copy the full SHA 487ded5View commit details
Commits on Oct 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b52290a - Browse repository at this point
Copy the full SHA b52290aView commit details
Commits on Oct 16, 2024
-
New implementation of proxyMap and proxySet with performance improvem…
…ents (#965) * pushing up to get more eyes on it * added test for snapshot * taking a break * taking a break * removing extra set methods for now * sealed proxied obects * got all tests to pass * got rid of comma * got rid of set tests in utils folder * update version after update * updated to allow values to be keys * updated to allow values to be keys * updated package.json scripts * 2.0.1 * changing brances so storing attempts * updates * fixed get * added return type to fix types on snapshot * added this.data.length in has method * updated has to only show this.data.map if key doesn't exist * updated has to only show this.data.map if key doesn't exist * changed has to check if it's in a snapshot * remove getVersion - doesn't work * added back in canProxy * imported canProxy from valtio * removed unneeded functions and checks that are done in valtio core * changed canProxy * pushing up for proxyMap testing * removed unused file * updated proxyMap to use sparse array * removed use of internal map * added proxySet * moved proxySet to be the main one * added old proxySet in for reference * fixed proxySet * made proxyMap get set and delete consistent * better syntax for maybeProxify * added benchmarks for proxyMap * added benchmarks for proxySet * removed deno from lock file * removed all test files * updated maybeproxify in proxySet * pnpm frozen lockfile * change autoinstall peers to true in pnpm-lock * changed vitest.config.mts to ts * changed version number back and updated import paths to be relative * fixed toJSON to remain in order and proxified keys in .has() for proxyMap * tested set vs filter on empty slots * fixed pnpm lock file * ran pnpm install * auto-install-peers fix * added isSnapshot function for better readability * removed unused package * removed linked package in package.json * fixed lock file * changed to isProxy with this context * Update src/vanilla/utils/proxyMap.ts Co-authored-by: Daishi Kato <[email protected]> * pushing up for testing * pushing up for testing * fixed delete, has and get * fixed delete, has and get * uploading newest changes * uploading newest changes * reverting * fixed import in test file * updated to use nextIndex * put nextIndex on the object itself * added undefined values to initialization * updated entries check * changed nextIndex to use local var * cached indexMap.has to index * removed unneeded index.has call * added this.nextIndex * replaced this.data.length with this.nextIndex * refactor * updated initial data and initial next data * added filled proxyMap and new benchmark * benchmark minSize * Revert "benchmark minSize" This reverts commit 91206eb. * compare 3 * compare 3 * keyVal * new keyval * minor optimization * added MIN_DATA_SIZE constant * move keyval * revert some changes * rename * removed old benchmarks and added vitest benchmarks for proxyMap * fixed lock file * added ts extension for older versions of ts in test file * changed MapIterator to IterableIterator * no longer importing with .ts extension * no longer importing with .ts extension * proxySet changes and added keyvals solution * removed ts extension from imports in proxySet and proxyMap-indexMap-keyvals * fixed toJSON in proxySet * change MapIterator to IterableIterator * add tree1 impl * got lock file from main * fixing lock file * added ts extensions backf * removed test example * extensions added back * recreating lockfile * reverting changes for website lockfile and todo-with-proxyMap lockfile * removed ts extension from proxyMap.bench.ts * reverted changes for lockfile and package.json * removed old btree implementation * changed MapIterator to IterableIterator * incomplete rawMap impl * a minor fix * fix? * export them properly * rename a little bit * revert default * fixed size issue * removed unneeded copy of key-vals * snap map * just to avoid warnings * an improvement to rawMap1, not sure if it works * enumerable size * Revert "enumerable size" This reverts commit 5acaed0. * hack with _registerSnap * added benchmarks * do not enumerate index * added snap registry to keyval * fixed index check * added snap awareness to proxySet * added snap test to proxySet * fix * removed variations * removed subscribes in proxyMap * recover tree1 -> tree2 * fix a bug * added old file for reference * tree2 impl * refactor * bench tree2 * tests * updated proxySet * refactor proxyMap&Set * removed test file * merged branch and got to merge status * removed todo comment * added review suggestions * added review suggestions for proxySet as well * avoid maybeProxify * no need to add key in this data * removed isProxy check on has calls * removed maybeProxify from proxySet * added back in maybeProxify to proxySet * refactor --------- Co-authored-by: Daishi Kato <[email protected]> Co-authored-by: daishi <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 131df82 - Browse repository at this point
Copy the full SHA 131df82View commit details -
added jsdoc comments for proxyMap and proxySet (#974)
* added jsdoc comments for proxyMap and proxySet * fixed spacing in jsdoc comment
Configuration menu - View commit details
-
Copy full SHA for 2a96acf - Browse repository at this point
Copy the full SHA 2a96acfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 90bf703 - Browse repository at this point
Copy the full SHA 90bf703View commit details -
Configuration menu - View commit details
-
Copy full SHA for 552992c - Browse repository at this point
Copy the full SHA 552992cView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v2.0.0...v2.1.0