Commit Graph

  • f2a79c7080 chore: fix travis deploy (?) v3.2.1 Michel Weststrate 2019-09-11 00:56:30 +02:00
  • a791bff298 chore: don't assign 'bug' label automatically for new issues Michel Weststrate 2019-09-11 00:58:09 +02:00
  • 99de8833db Fix: made sure non-plain & non-draftable objects are not cloned when applying patches Michel Weststrate 2019-09-11 00:54:35 +02:00
  • af3a59df95 fix: ensure that patches are reusable. Fixes #411 Michel Weststrate 2019-09-10 23:42:27 +01:00
  • d4833348df feat: Always use remove command in generateArrayPatches() jsdevtom 2019-09-06 19:01:06 +02:00
  • 49b2e7bc65 fix: ensure patches are reusable Shuumatsu 2019-08-31 10:13:38 +08:00
  • c2e69d9ea9 fix: ensure patches are reusable Shuumatsu 2019-08-28 15:46:16 +08:00
  • a16dedad9c Merge pull request #402 from immerjs/produce-with-patches v3.2.0 Michel Weststrate 2019-08-02 18:03:35 +02:00
  • 86be737d85 feat: introduced produceWithPatches. Implements #400 produce-with-patches Michel Weststrate 2019-08-02 17:52:27 +02:00
  • 615ca6f99d docs: add opensource award v3.1.4 Michel Weststrate 2019-08-02 17:16:32 +02:00
  • 96f2b2e58e fix: don't unnecessary modify draft if replaying patches results in a new state anyway Michel Weststrate 2019-08-02 16:48:24 +02:00
  • 7cd2dc1acc fix: If a property is added, then deleted, don't produce a patch Michel Weststrate 2019-08-02 16:14:14 +02:00
  • 1963da1f42 Fix: don't unnecessary modify draft if replaying patches results in a new state anyway patch-fixes Michel Weststrate 2019-08-02 16:48:24 +02:00
  • 66208350e3 Fix: If a property is added, then deleted, don't produce a patch Michel Weststrate 2019-08-02 16:14:14 +02:00
  • a46b9e7b97 Merge pull request #397 from snapwich/patch-1 Michel Weststrate 2019-07-26 21:21:34 +02:00
  • d51ac214d2 Added funding file Michel Weststrate 2019-07-25 12:30:00 +02:00
  • 79369f2a41 Include import statement in original example Rich Snapp 2019-07-16 09:57:22 -06:00
  • a9c0fd02c7 style: use tabs use-tabs 2019-06-27 12:15:12 -04:00
  • 39b1050b06 docs: immer-reducer works with React useReducer hook too (#391) Esa-Matti Suuronen 2019-06-26 00:53:37 +03:00
  • 48647bee56 feat: export "produceRO" for 100% immutable returns issue-381 Alec Larson 2019-06-07 19:23:51 -04:00
  • 2b57fc2427 chore: upgrade typescript Alec Larson 2019-06-07 19:23:12 -04:00
  • fa1f5e60b5 fix(build): add unpkg and jsdelivr fields to package.json (#384) v3.1.3 Tom MacWright 2019-06-07 13:38:37 -07:00
  • f247d60dbb docs: add redux-immer to "Cool things built with immer" (#383) Salvatore Ravidà 2019-06-07 20:15:25 +02:00
  • 13eab80844 4.0.0-beta.0 Alec Larson 2019-05-29 14:48:49 -04:00
  • 1f5806c21f refactor: avoid unnecessary function wrapper Alec Larson 2019-05-28 12:17:06 -04:00
  • 594d637947 docs: remove warning Alec Larson 2019-05-28 12:12:33 -04:00
  • a2c475493e nit: minor refactoring Alec Larson 2019-05-28 12:11:35 -04:00
  • ddf5dbbebd refactor: "get" trap for Maps Alec Larson 2019-05-28 12:10:30 -04:00
  • eba300fc60 refactor: rename "source" helper to "latest" Alec Larson 2019-05-28 12:06:32 -04:00
  • b6b542d23a refactor: helper functions Alec Larson 2019-05-28 12:01:08 -04:00
  • 221d6017ff test: remove defuseProxies helper Alec Larson 2019-05-28 11:59:52 -04:00
  • e56ad54b22 feat: onCopy for Sets keenondrums 2019-05-19 23:14:17 +03:00
  • aa24f65b92 feat: onAssign for Sets keenondrums 2019-05-19 23:04:53 +03:00
  • 8de78f23be feat: onCopy for Maps keenondrums 2019-05-19 21:31:38 +03:00
  • 1ca49ef614 feat: onDelete for Maps keenondrums 2019-05-19 21:24:44 +03:00
  • eaea1b02b7 feat: onAssign for Maps keenondrums 2019-05-19 21:07:08 +03:00
  • 00fb26a152 docs: add a migration guide for 4.0 keenondrums 2019-05-19 20:41:14 +03:00
  • c34ff3ec46 docs: add a note about patch serialization for Maps keenondrums 2019-05-19 20:34:40 +03:00
  • 6501ec524f feat: add support of non-primitive keys for Maps keenondrums 2019-05-19 20:27:33 +03:00
  • 65b9d087af docs: fix example code formatting (#373) bsky 2019-05-28 23:37:02 +09:00
  • c8ecbad52a fix: ensure Symbol.for exists before calling it (#366) v3.1.2 Fabrizio Catitti 2019-05-14 22:00:19 +01:00
  • 762f7c1662 Better error message for missing prop descriptor fix-362 Michel Weststrate 2019-05-14 09:47:06 +02:00
  • 4443cace6c Added test reproducing #356 Michel Weststrate 2019-04-30 13:13:09 +02:00
  • 5093fd0ee2 refactor: makeTrapsForGetters function Alec Larson 2019-04-22 18:52:47 -04:00
  • 4164f0dee1 nit: merge isMap and isSet checks Alec Larson 2019-04-22 18:41:33 -04:00
  • 5857d63460 refactor: markChanged function Alec Larson 2019-04-22 09:29:53 -04:00
  • 930b4ab27a fix: add more traps for Maps and Sets Andrey Goncharov 2019-04-22 16:03:25 +03:00
  • 6255a58660 docs: es6 map support Alec Larson 2019-04-17 15:15:23 -04:00
  • dd82d8986e refactor: traps for Maps and Sets keenondrums 2019-04-22 09:49:31 +03:00
  • 4355b6311b feat: Set drafts Andrey Goncharov 2019-04-18 15:44:42 +03:00
  • a674a78ffb nit: argument names Alec Larson 2019-04-18 09:13:54 -04:00
  • 53d0cdfbd9 nit: ensure isEnumerable returns a boolean Alec Larson 2019-04-18 08:53:26 -04:00
  • 700120102f fix: Map.prototype.set should return a draft Andrey Goncharov 2019-04-18 15:09:21 +03:00
  • 7bbec0a42e fix: add Map getter for DRAFT_STATE, make isEnumerable more resilient keenondrums 2019-04-18 10:23:52 +03:00
  • 08d88b83a6 fix: remove "function*" syntax Alec Larson 2019-04-17 17:34:28 -04:00
  • 3298a77d59 refactor: simplify mapGetters.keys Alec Larson 2019-04-17 16:34:07 -04:00
  • 3163a7d5c9 chore: reorganize src/proxy.js Alec Larson 2019-04-17 16:05:17 -04:00
  • 30db0f3f6b feat: Map drafts and patches keenondrums 2019-04-14 22:44:38 +03:00
  • 47529d3190 fix: revert Map support v3.1.1 Alec Larson 2019-04-18 10:09:30 -04:00
  • b3a9aab6d7 docs: fix size badge Alec Larson 2019-04-18 09:37:40 -04:00
  • 30514d0354 tests, taken from #149, to verify map behavior failing-map-tests Michel Weststrate 2019-04-18 15:36:52 +02:00
  • 946cf90a0a nit: argument names v3.1.0 Alec Larson 2019-04-18 09:13:54 -04:00
  • b967bab63b nit: ensure isEnumerable returns a boolean Alec Larson 2019-04-18 08:53:26 -04:00
  • cef5859fc2 fix: Map.prototype.set should return a draft Andrey Goncharov 2019-04-18 15:09:21 +03:00
  • 5c728a4a5e fix: add Map getter for DRAFT_STATE, make isEnumerable more resilient keenondrums 2019-04-18 10:23:52 +03:00
  • 6a359e1dd5 fix: remove "function*" syntax Alec Larson 2019-04-17 17:34:28 -04:00
  • bbaa6dc8fe refactor: simplify mapGetters.keys Alec Larson 2019-04-17 16:34:07 -04:00
  • e809ffc5b1 chore: reorganize src/proxy.js Alec Larson 2019-04-17 16:05:17 -04:00
  • 1cb564acdf docs: es6 map support Alec Larson 2019-04-17 15:15:23 -04:00
  • 8276a6c319 feat: Map support keenondrums 2019-04-14 22:44:38 +03:00
  • a437755eb0 docs: add migration guide for v3 v3.0.0 Alec Larson 2019-04-17 10:57:41 -04:00
  • 4191969934 docs: Fixed some badges Michel Weststrate 2019-04-17 16:30:50 +02:00
  • 487e3d7703 test(ts): stop testing latest typescript Michel Weststrate 2019-04-17 15:24:46 +02:00
  • b5abaed537 test(ts): use spec.ts Alec Larson 2019-04-16 15:20:34 -04:00
  • bce282d5d6 refactor(ts): simplify IProduce type tests Alec Larson 2019-04-16 14:59:52 -04:00
  • 1282f04c5a refactor(ts): curriedProduce function Alec Larson 2019-04-16 14:58:29 -04:00
  • 8925080ec8 refactor(ts): tweak IProduce type Alec Larson 2019-04-16 14:58:01 -04:00
  • 3f402988b9 feat: this in recipe is no longer the draft, but unbound Michel Weststrate 2019-04-15 19:43:26 +02:00
  • 907785131a chore: processed review comment from #348 Michel Weststrate 2019-04-15 19:29:56 +02:00
  • 980474acec docs: Readme fixes Michel Weststrate 2019-04-15 13:12:48 +02:00
  • 7820eee1b5 docs: remove install size badge Michel Weststrate 2019-04-15 13:07:55 +02:00
  • eecc773923 feat: Dropped node 6 support Michel Weststrate 2019-04-15 12:57:27 +02:00
  • 17d69c3b81 feat: Immer now has it's own Github org, immerjs Michel Weststrate 2019-04-15 12:53:59 +02:00
  • dfb66aebeb chore(ts): Clean up this from typings Michel Weststrate 2019-04-15 12:52:45 +02:00
  • fe2473f8dc docs: Update readme Michel Weststrate 2019-04-15 09:38:43 +02:00
  • 71f7bbeb3e chore: prettier 1.17 Michel Weststrate 2019-04-15 09:19:46 +02:00
  • 52a34bd9f8 test(ts): fix type assertions Michel Weststrate 2019-04-15 09:18:08 +02:00
  • 3cb0fb3344 feat(ts): improve curried producers Michel Weststrate 2019-04-12 01:21:09 +02:00
  • 6624aa8bbc test(ts): some more test cases Michel Weststrate 2019-04-12 00:11:58 +02:00
  • acf8a57ed9 feat(ts): Improve type inference based on the first arg of the recipe function Michel Weststrate 2019-04-10 22:46:35 +02:00
  • 7e971b6642 refactor(ts): Simpler draft / immutable implementation Michel Weststrate 2019-04-10 20:13:32 +02:00
  • df68c23744 chore: Revert "ci: avoid typescript@3.4 for now" Alec Larson 2019-04-04 14:04:35 -04:00
  • 2868065a93 feat(ts): Support typescript 3.4 Alec Larson 2019-03-30 16:00:12 -04:00
  • 2c27133d45 fix(ts): Immutable<T> / read-only arrays in TS 3.4+ Alec Larson 2019-03-07 08:39:20 -05:00
  • e6b0e52f23 Merge pull request #309 from immerjs/immer3 v2.2.0 Michel Weststrate 2019-04-17 15:33:21 +02:00
  • d8f77737d9 Fixed test case, removed using flaky TS version Michel Weststrate 2019-04-17 15:24:46 +02:00
  • 6ea4da9725 test: use spec.ts Alec Larson 2019-04-16 15:20:34 -04:00
  • cc5f52bfcb refactor: simplify IProduce type tests Alec Larson 2019-04-16 14:59:52 -04:00
  • 3361bd5097 refactor: curriedProduce function Alec Larson 2019-04-16 14:58:29 -04:00
  • 9a7a1caad6 refactor: tweak IProduce type Alec Larson 2019-04-16 14:58:01 -04:00