Commit Graph

  • dd25143ea1 fix(ts): ensure produce returns an immutable type aleclarson 2019-01-12 10:02:42 -05:00
  • 4bf4154013 dev: default to local typescript in vscode aleclarson 2019-01-12 10:00:37 -05:00
  • 89ab2b9dfb test(ts): produce always returns an immutable type aleclarson 2019-01-12 09:58:02 -05:00
  • 2b7c21eda3 test(ts): improved exact type detection aleclarson 2019-01-12 09:57:37 -05:00
  • b357e540c7 fix(ts): base type of curried producer v1.10.2 aleclarson 2019-01-11 19:17:49 -05:00
  • f94fcaaee9 test(ts): pass readonly array to curried producer aleclarson 2019-01-11 13:51:49 -05:00
  • 89f64433e2 fix(ts): parameter types of curried producers v1.10.1 aleclarson 2019-01-11 13:51:49 -05:00
  • f820657e9b test(ts): parameter types of curried producers aleclarson 2019-01-11 13:49:48 -05:00
  • 31bbe6419a test: patch the produce function for interweaved Immer instances too v1.10.0 aleclarson 2018-12-29 14:09:24 -05:00
  • be06ef5aeb test: interweaved Immer instances aleclarson 2018-12-29 13:52:10 -05:00
  • 9c53415eee feat: passing drafts to produce aleclarson 2018-12-28 20:18:47 -05:00
  • 483a27a3e2 refactor: Immer#finalizeTree method aleclarson 2018-12-27 21:16:51 -05:00
  • c46af36b77 test: add missing edge case aleclarson 2018-12-29 00:03:33 -05:00
  • 733e16f496 test: rename and expand a test aleclarson 2018-12-28 23:06:28 -05:00
  • 8e0325c240 test: rename and move a test aleclarson 2018-12-28 23:05:28 -05:00
  • ee49da3f11 test: tiny improvement aleclarson 2018-12-28 21:22:40 -05:00
  • 59788f21b9 test: remove old tests aleclarson 2018-12-28 21:15:17 -05:00
  • b0536378de test: returning an upvalue draft from a nested producer aleclarson 2018-12-28 21:13:38 -05:00
  • 76d4e0bb6d test: remove old recursion tests aleclarson 2018-12-28 16:24:46 -05:00
  • d9b91d58b9 test: base state that contains a draft aleclarson 2018-12-28 16:21:56 -05:00
  • 4523300325 test: remove debugger statement aleclarson 2018-12-27 19:18:28 -05:00
  • af55671cc0 Merge pull request #285 from epeli/patch-1 Michel Weststrate 2019-01-04 16:43:04 +01:00
  • 93f280d844 Add immer-reducer Esa-Matti Suuronen 2019-01-04 17:34:15 +02:00
  • ddc9b40d0a test: improve tests with Immer class aleclarson 2018-12-28 15:53:40 -05:00
  • a4a1e44b60 test: improve enumerableOnly function aleclarson 2018-12-28 13:10:03 -05:00
  • a14c26f199 feat: always use the return value return aleclarson 2018-12-18 13:11:17 -05:00
  • b9170d2b27 test(ts): curried producer with rest parameters aleclarson 2018-12-18 11:41:12 -05:00
  • d60db14717 fix(ts): return undefined from produce v1.9.3 aleclarson 2018-12-18 10:57:45 -05:00
  • 9536348535 chore: add tsconfig.json for src/immer.d.ts aleclarson 2018-12-18 10:41:56 -05:00
  • 6dc5f72bd5 chore: split build script into "yarn rollup" and "yarn typed" aleclarson 2018-12-16 16:03:23 -05:00
  • dc19e90d90 chore: include dist in __tests__/tsconfig.json aleclarson 2018-12-16 15:00:04 -05:00
  • caa44dcb2e chore: improve TypeScript tests aleclarson 2018-12-16 21:52:49 -05:00
  • 544122ba3e chore: put Draft<T> tests in their own file aleclarson 2018-12-16 11:52:28 -05:00
  • cc08cb7e9c fix(ts): improve Draft<T> with generics aleclarson 2018-12-16 13:10:39 -05:00
  • 8666d32d07 fix(ts): improve IProduce aleclarson 2018-12-16 10:44:18 -05:00
  • fa5bf5df06 fix(ts): produce function v1.9.2 aleclarson 2018-12-16 10:27:03 -05:00
  • 025841e349 chore: disable javascript validation in vscode v1.9.1 aleclarson 2018-12-16 09:41:10 -05:00
  • e8fe4ba2b1 fix(test): faulty .flowconfig aleclarson 2018-12-16 09:37:22 -05:00
  • a0bfaa6a2a nit: simplify "coveralls" script aleclarson 2018-12-16 09:04:26 -05:00
  • 55258a70f2 chore: run prettier on __tests__/flow/flow.js.flow aleclarson 2018-12-16 09:01:47 -05:00
  • b788457d06 test: fix errors from strict mode aleclarson 2018-12-16 09:00:41 -05:00
  • 721c488698 test: rename test.tsconfig.json so vscode can find it aleclarson 2018-12-16 08:56:15 -05:00
  • 382b32c849 test: add "strict" flag to test.tsconfig.json aleclarson 2018-12-16 08:54:06 -05:00
  • 603664b5c1 fix(test): use dist/immer.js in __tests__/types.ts aleclarson 2018-12-16 08:44:08 -05:00
  • dbb2eee8e8 ci: tell cpx to be verbose aleclarson 2018-12-16 08:39:22 -05:00
  • 44cf8432e5 fix: revert .d.ts and .js.flow module names aleclarson 2018-12-16 07:55:26 -05:00
  • 4b9b6375d8 perf(proxy): avoid has where possible aleclarson 2018-12-15 20:24:37 -05:00
  • 1803dd817c chore: add "Release notes" link to readme aleclarson 2018-12-15 18:39:23 -05:00
  • a7a8cfab2e chore: run prettier on readme v1.9.0 aleclarson 2018-12-15 18:09:27 -05:00
  • ab0574465d test: hooks (onAssign, onDelete, onCopy) aleclarson 2018-12-13 21:52:08 -05:00
  • 7f50364a8b feat: add hooks to the Immer class aleclarson 2018-11-30 16:09:15 -05:00
  • f36d329dbe feat: add types for Immer class aleclarson 2018-11-30 13:18:01 -05:00
  • cdc09b1a9d chore: update import paths in tests aleclarson 2018-11-30 11:40:05 -05:00
  • ecd04dc7fc feat: add Immer class aleclarson 2018-11-30 09:58:44 -05:00
  • 66e51e1ffd feat: drop typescript@3.0 support aleclarson 2018-12-15 18:05:49 -05:00
  • 04e3cdf24c feat: drop typescript@2 support aleclarson 2018-12-15 16:22:23 -05:00
  • 8a86e7c32a fix(ts): improve IProduce Alec Larson 2018-10-13 09:38:43 -04:00
  • b46f696c3c test(ts): improve test accuracy aleclarson 2018-11-07 17:03:40 -05:00
  • a682eafb07 test(ts): nested objects & interfaces aleclarson 2018-11-07 16:40:46 -05:00
  • 691e73b0cf test: deleting props added in the producer aleclarson 2018-12-14 22:02:03 -05:00
  • c0ce2523f0 perf(proxy): deletion of an undeclared property aleclarson 2018-12-13 21:17:06 -05:00
  • 90f75e2371 ci: abort when "yarn build" fails aleclarson 2018-12-15 14:11:53 -05:00
  • d02a797c9e test: stop using ts-jest aleclarson 2018-12-15 13:41:29 -05:00
  • 8a1c84c391 ci: collect coverage on node 10 only aleclarson 2018-12-14 00:27:31 -05:00
  • 674ae23316 ci: test types on node 10 only aleclarson 2018-12-13 23:57:04 -05:00
  • 9bf4dfbaa1 ci: test the minimum and latest versions of typescript aleclarson 2018-12-14 20:54:47 -05:00
  • 1a84e4b355 ci: skip deploy on non-master aleclarson 2018-12-15 09:39:30 -05:00
  • bb8e08734c ci: ensure every node version passes before releasing aleclarson 2018-12-14 21:02:43 -05:00
  • cadaf898de chore: transpile to es5 using sucrase sucrase aleclarson 2018-12-14 20:51:40 -05:00
  • 9345f13361 nit: change "yarn run build" to "yarn build" v1.8.2 aleclarson 2018-12-12 00:21:21 -05:00
  • e0d26ba3d8 chore: remove husky pre-publish hook aleclarson 2018-12-12 00:15:22 -05:00
  • 2f2eb9f9dc fix(ci): build before release aleclarson 2018-12-12 00:09:06 -05:00
  • e520350ab6 chore: remove unused scripts aleclarson 2018-12-11 23:59:20 -05:00
  • 7386c4b425 chore: remove changelog aleclarson 2018-12-11 23:51:31 -05:00
  • a7b9e3b1b3 chore: remove "np" dev dependency v1.8.1 aleclarson 2018-12-11 23:40:12 -05:00
  • 4a64599379 fix(ci): install semantic-release on ci only aleclarson 2018-12-11 23:13:01 -05:00
  • 1b9b84dd4c chore: add semantic-release aleclarson 2018-12-11 22:27:47 -05:00
  • db7d1757b7 chore: use pretty-quick aleclarson 2018-12-11 21:58:51 -05:00
  • d157d7a7d3 fix(tests): base state type aleclarson 2018-11-30 08:12:19 -05:00
  • 53e9ce89ef perf: proxy assign aleclarson 2018-11-27 14:39:38 -05:00
  • 4dd60708ac perf: es5 markChangesRecursively aleclarson 2018-11-27 15:12:10 -05:00
  • 241a6483ab fix: always use assign polyfill aleclarson 2018-11-29 10:10:13 -05:00
  • bd28ceb456 update yarn.lock aleclarson 2018-11-28 10:55:02 -05:00
  • f46659b488 test: draft nested in new object aleclarson 2018-11-28 09:50:24 -05:00
  • 3c7f374670 nit: simplify hasObjectChanges loop aleclarson 2018-11-28 09:37:46 -05:00
  • c9e1d98a1d nit: dedupe some code aleclarson 2018-11-26 17:21:17 -05:00
  • d83f4b5c13 test: renaming properties aleclarson 2018-11-26 21:47:48 -05:00
  • 00c622f90c v1.8.0 v1.8.0 Michel Weststrate 2018-11-19 11:23:34 +01:00
  • 77904176ea Merge remote-tracking branch 'origin/v1.8' Michel Weststrate 2018-11-19 11:22:48 +01:00
  • 8e7b371edd Merge pull request #250 from aleclarson/patch2 Michel Weststrate 2018-11-19 10:54:18 +01:00
  • 5360e6c4b1 Merge pull request #249 from aleclarson/patch1 Michel Weststrate 2018-11-19 10:53:33 +01:00
  • f12a7a8dac Merge pull request #236 from mweststrate/issue-233 Michel Weststrate 2018-11-19 10:51:34 +01:00
  • d6acff17f2 fix(tests): nested produce calls aleclarson 2018-11-09 16:36:47 -05:00
  • dbfaa02d00 add tests for all possible base state types aleclarson 2018-11-09 18:08:14 -05:00
  • ea81dfe48b fix(produce): avoid throwing on unproxyable objects aleclarson 2018-10-29 11:04:36 -04:00
  • 5792b837e8 simplify es5 object key diffing aleclarson 2018-11-09 12:53:12 -05:00
  • 4613b0685e add tests for function as base state aleclarson 2018-11-09 12:11:43 -05:00
  • 9a0f7d19ee fix(produce): never curry when 2nd argument is a function aleclarson 2018-10-29 13:20:56 -04:00
  • 2f381f534c fix: never auto-freeze new objects aleclarson 2018-10-25 10:45:26 -04:00
  • 41fdc55c9b improve tests for freezing of return values aleclarson 2018-10-25 08:36:33 -04:00