Commit Graph

115 Commits

Author SHA1 Message Date
Kai Moseley a755b82465
Merge pull request #1 from sanchapereira/master
Add new array method to push or remove element
2018-08-30 09:24:55 +01:00
Sancha Pereira 2290909803 1.6.0 2018-08-24 16:48:47 +01:00
Sancha Pereira 537a2f5e30 Support any type in the pushOrRemove array method 2018-08-24 16:48:47 +01:00
Sancha Pereira 1445408e11 Add new array method 2018-08-22 23:51:25 +01:00
Kai Moseley cdc083665c 1.5.1 2018-06-13 09:47:21 +01:00
Kai Moseley 5dccc991e0 refactor(interface): Move resetAll to top level 2018-06-13 09:47:14 +01:00
Kai Moseley 9fe5f3f0b7 chore(readme): Update readme 2018-06-13 09:35:28 +01:00
Kai Moseley a0ab58e948 1.5.0 2018-06-13 09:31:42 +01:00
Kai Moseley db44dc69f5 feature(actions): Add reset all action 2018-06-13 09:31:37 +01:00
Kai Moseley 4925c77728 refactor(prettier): Apply prettier styling 2018-06-13 08:29:54 +01:00
Kai Moseley 13f5bf1649 Merge branch 'master' of github.com:TheComfyChair/redux-scc 2018-05-19 10:59:40 +01:00
Kai Moseley ba7e4baaec 1.4.1 2018-05-19 10:57:48 +01:00
Kai Moseley ff702dbc64 1.4.0 2018-05-19 10:57:42 +01:00
Kai Moseley 992622a929 Dependency updates 2018-05-19 10:57:29 +01:00
Kai Moseley e1e15c8284 1.3.3 2018-05-19 10:54:14 +01:00
Kai Moseley bad7fe65df dependency update 2018-05-19 10:54:10 +01:00
Kai Moseley d06c521de8 1.4.0 2018-04-07 16:03:14 +01:00
Kai Moseley cdf9a144b5 1.3.2 2018-04-07 15:55:05 +01:00
Kai Moseley f903fcefae 1.3.1 2018-04-07 15:54:05 +01:00
Kai Moseley bc60a8f9ae Clean up package contents 2018-04-07 15:47:00 +01:00
Kai Moseley 4ff81b4035 feat(object-reducers): replace will now shallow merge with initial state 2017-10-17 17:28:25 +01:00
Kai Moseley 751ccdd629 1.3.0 2017-10-17 17:20:57 +01:00
Kai Moseley 89ca4bf8fa feat(object-reducer): object reducer reset payloads can be provided
The payload for an object reset action will be applied on top of the default
state of an object.
2017-10-17 17:19:22 +01:00
Kai Moseley 877d3646d5 1.2.3 2017-09-01 12:19:35 +01:00
Kai Moseley c0429059e8 fix(Object): Prevent removed wildcard object properties persisting when replacing/resetting 2017-09-01 11:44:22 +01:00
Kai Moseley c3d80b4223 Minor readme tweaks 2017-08-13 20:43:19 +01:00
Kai Moseley 66108efaa2 1.2.1 2017-08-08 16:12:17 +01:00
Kai Moseley 09e5b9c922 fix(object): retain deletions to properties/array elements 2017-08-08 16:10:41 +01:00
Kai Moseley cb4f155a29 Add travis/coveralls 2017-08-08 08:56:31 +01:00
Kai Moseley 3afd314f5a 1.1.0 2017-08-07 08:29:46 +01:00
Kai Moseley cf0ed297a2 update batchUpdate to createCombinedAction 2017-08-07 08:25:43 +01:00
Kai Moseley 7c6d909a24 1.0.1 2017-08-06 18:36:22 +01:00
Kai Moseley 6e759ca4fe 1.0.0 2017-08-06 18:34:27 +01:00
Kai Moseley 6bedb267da Implement batched updates and custom types 2017-08-06 18:06:01 +01:00
Kai Moseley 41d7ae611f 0.5.0 2017-05-07 19:01:55 +01:00
Kai Moseley a5875b273f feat(reducers): Introduce unique id to reducer actions 2017-05-07 19:01:32 +01:00
Kai Moseley 231fd8bd53 Update readme.md 2017-05-07 18:52:47 +01:00
Kai Moseley e779551291 Update readme.md 2017-05-07 18:50:50 +01:00
Kai Moseley e5fd3cf183 Update readme.md 2017-05-07 18:50:22 +01:00
Kai Moseley a899de7144 fix(non-nested): Address issue where non-nested actions and selectors required nesting in return object 2017-05-07 18:25:26 +01:00
Kai Moseley 003501c00e chore(jest): Update jest configuration 2017-05-07 17:56:48 +01:00
Kai Moseley b5f26135c1 chore(dependencies): Introduce yarn 2017-05-07 17:55:54 +01:00
Kai Moseley 452775db02 0.4.1 2017-02-27 17:27:03 +00:00
Kai Moseley b33e21d0b9 Prevent the wildcard key adding a default value 2017-02-27 17:26:53 +00:00
Kai Moseley 8b743e16c4 0.4.0 2017-02-23 10:00:26 +00:00
Kai Moseley bfa06ac17f Add wildcardKey type
Being able to type a known structure ahead of time is super useful. Sometimes, however, this isn't possible. What if
your application has an entirely dynamic portion, where you use data from the server to build, day, a form? In this situation
it'd be great to still be able to type. This commit introduces the basic implementation of the 'wildcardKey' type, for use
in defining an object property. At the moment, every object can have one wildcardKey which specifies a specific type (including any()) which the reducer will happily accept, if an unknown property has it. The aim is to introduce regex to this type, and the ability to use multiple instances of the type, in order to specifically craft dynamic reducer structures (e.g. all properties with _date in them will be assigned to the Type.any(), but all others must be Type.string()).
2017-02-23 09:56:43 +00:00
Kai Moseley be42ab5958 0.3.5 2017-02-22 10:17:10 +00:00
Kai Moseley 9534c25adc Minor tweak to flowRight dependency use 2017-02-22 10:17:03 +00:00
Kai Moseley 260ac4edcf 0.3.4 2017-02-22 10:03:46 +00:00
Kai Moseley e88f936329 Update lodash dependency 2017-02-22 10:03:36 +00:00