2015-08-01 16:22:05 +00:00
# Change Log
2015-09-11 19:00:02 +00:00
## [unreleased]
2019-09-18 15:42:33 +00:00
2021-08-10 15:08:26 +00:00
## [1.2.1]
* Improved TypeScript types - Thanks @yanick
* Check for existence of `process` before testing environment variables - Thanks @yanick
2019-09-18 15:42:33 +00:00
## [1.2.0]
2019-09-18 15:38:20 +00:00
* Add TypeScript types - Thanks @yanick (https://github.com/substantial/updeep/pull/83)
2015-11-16 16:30:11 +00:00
2018-11-28 01:00:10 +00:00
## [1.1.0]
* Add _.omitted to omit properties - Thanks @yanick (https://github.com/substantial/updeep/pull/78)
2016-10-07 21:12:24 +00:00
## [1.0.0]
* Allow Number type in updateIn function - Thanks @AveVlad (https://github.com/substantial/updeep/pull/67)
2016-07-07 18:52:26 +00:00
## [0.16.1]
* Do not freeze regexp (https://github.com/substantial/updeep/pull/65)
2016-06-07 18:33:10 +00:00
## [0.16.0]
* `u.reject` should return same instance if no changes (https://github.com/substantial/updeep/pull/62)
2016-05-30 21:37:59 +00:00
## [0.15.0]
* Add `u.omitBy` (https://github.com/substantial/updeep/pull/60)
* Add `dangerously_never_freeze` , which I wouldn't recommend using unless you
absolutely have to and you know exactly what the effects will be.
(https://github.com/substantial/updeep/pull/59)
2016-03-20 03:46:57 +00:00
## [0.14.0]
* Allow updeep to be required from CommonJS (https://github.com/substantial/updeep/pull/56)
2016-02-11 16:30:34 +00:00
## [0.13.0]
* Upgrade to lodash ^4.2.0 (https://github.com/substantial/updeep/pull/50)
2016-01-13 15:35:18 +00:00
## [0.12.0]
* Make lodash a dependency instead of a peerDependency - Thanks @epeli
(https://github.com/substantial/updeep/issues/43 https://github.com/substantial/updeep/pull/48)
2015-11-16 16:30:11 +00:00
## [0.11.0]
* **BREAKING CHANGE** Revert: "Default to empty array if update keys are integers." A new object will always be created. If you need an array, use `u.withDefault` . (https://github.com/substantial/updeep/pull/42)
2015-09-15 14:51:25 +00:00
## [0.10.1]
2015-09-15 14:50:36 +00:00
* Fix support for Date objects and other non-plain objects (https://github.com/substantial/updeep/issues/36)
2015-09-12 06:53:53 +00:00
## [0.10.0]
2015-09-12 05:48:02 +00:00
* Add support for wildcards (`*`) to `u.updateIn` . (https://github.com/substantial/updeep/issues/27)
2015-09-11 19:00:02 +00:00
## [0.9.0]
* Do not add object during false branch of `u.if` .
(https://github.com/substantial/updeep/issues/35)
2015-08-31 04:07:53 +00:00
## [0.8.0]
2015-08-31 00:03:30 +00:00
* Default to empty array if update keys are integers. (https://github.com/substantial/updeep/issues/22)
## [0.7.2]
2015-08-21 16:33:18 +00:00
* Fix curried functions not reporting their correct arity. (https://github.com/substantial/updeep/issues/31)
2015-08-18 11:28:19 +00:00
## [0.7.1]
* Fix update omitting empty object. (https://github.com/substantial/updeep/issues/29)
2015-08-13 05:20:45 +00:00
## [0.7.0]
2015-08-12 15:35:10 +00:00
* Add `u._` placeholder for curried functions.
2015-08-13 05:19:04 +00:00
* Add `u.constant` for replacing an object outright. (https://github.com/substantial/updeep/issues/10)
2015-08-13 05:04:31 +00:00
* Fix handling null differently than undefined. `u` and friends will now coerce null to an object if there are updates for it. (https://github.com/substantial/updeep/issues/20)
2015-08-12 07:25:55 +00:00
## [0.6.0]
* Remove support for `_.placeholder` in curried methods. This may come back, but it was necessary for the next item.
2015-08-12 07:34:31 +00:00
* Improve performance of curried methods. (https://github.com/substantial/updeep/issues/16)
2015-08-12 07:30:19 +00:00
* Improve examples in docs, thanks [hedgerh][].
2015-08-09 07:21:24 +00:00
* `u.map` will now return the same instance if nothing changes.
2015-08-12 07:25:55 +00:00
* Improve performance of `u.map` .
2015-08-09 06:32:52 +00:00
* Removed a couple lodash dependencies.
2015-08-07 04:41:55 +00:00
## [0.5.0]
2015-08-07 03:48:04 +00:00
* Add `u.is` to test predicates in a single path. (https://github.com/substantial/updeep/issues/13)
2015-08-07 03:52:06 +00:00
* Rename `u.in` to `u.updateIn` . With `u.is` and `u.if` it was too confusing.
2015-08-07 04:40:36 +00:00
* Make `u` available at `u.update` as well.
2015-08-06 06:12:00 +00:00
## [0.4.0]
2015-08-07 03:48:04 +00:00
* Add `u.if` and `u.ifElse` to conditionally update objects. (https://github.com/substantial/updeep/issues/12)
2015-08-05 07:25:34 +00:00
* Add `u.map` to update all values in an array or object.
2015-08-05 11:29:30 +00:00
* Replace object outright if null or constant provided as `updates` .
* Freeze objects returned by helper methods that use `update` like `withDefault` , `map` , `in` , etc. Previously, only `u` did freezing.
2015-08-05 05:30:41 +00:00
2015-08-05 05:34:02 +00:00
## [0.3.1]
* Actually expose `u.in` .
2015-08-05 05:30:41 +00:00
## [0.3.0]
2015-08-05 04:56:01 +00:00
* Add `u.freeze` to freeze an object deeply. (https://github.com/substantial/updeep/issues/7)
2015-08-05 05:28:31 +00:00
* Add `u.in` to update a single value in an object with a specified path. (https://github.com/substantial/updeep/issues/6)
2015-08-05 04:35:23 +00:00
## [0.2.3]
2015-08-05 04:33:27 +00:00
* Fix cannot update value to null (https://github.com/substantial/updeep/issues/8)
2015-08-04 17:08:44 +00:00
* Add umd distribution builds via webpack. (https://github.com/aaronjensen/updeep/issues/3)
2015-08-02 14:20:52 +00:00
2015-08-03 17:40:22 +00:00
## [0.2.2]
* Fix `Object.isFrozen` breaking on null in chrome. (https://github.com/aaronjensen/updeep/pull/5)
2015-08-02 14:20:52 +00:00
## [0.2.1]
2015-08-02 14:08:00 +00:00
* Fix `Object.isFrozen` breaking on non-freezables in PhantomJS. (https://github.com/aaronjensen/updeep/issues/1)
2015-08-01 16:22:05 +00:00
2015-08-02 07:42:02 +00:00
## [0.2.0]
* Freeze objects returned by default. It doesn't actually make sense to return
unfrozen objects, as the original object could be mutated and it would
affect the new object. Object freezing is disabled if `NODE_ENV` is
`"production'` .
* Update README with example for `reject` .
2015-08-01 17:10:27 +00:00
## [0.1.3]
2015-08-02 14:08:00 +00:00
* Update README.
2015-08-01 17:10:27 +00:00
2015-08-01 16:24:53 +00:00
## [0.1.2]
2015-08-02 14:08:00 +00:00
* Fix package description.
2015-08-01 16:24:53 +00:00
2015-08-01 16:22:05 +00:00
## [0.1.1]
2015-08-02 14:08:00 +00:00
* Update README and description.
2015-08-01 16:22:05 +00:00
## 0.1.0
* Initial release
2016-10-07 21:12:24 +00:00
[unreleased]: https://github.com/aaronjensen/updeep/compare/v1.0.0...HEAD
[1.0.0]: https://github.com/aaronjensen/updeep/compare/v0.16.1...v1.0.0
2016-07-07 18:52:26 +00:00
[0.16.1]: https://github.com/aaronjensen/updeep/compare/v0.16.0...v0.16.1
2016-06-07 18:33:10 +00:00
[0.16.0]: https://github.com/aaronjensen/updeep/compare/v0.15.0...v0.16.0
[0.15.0]: https://github.com/aaronjensen/updeep/compare/v0.14.0...v0.15.0
2016-03-20 03:46:57 +00:00
[0.14.0]: https://github.com/aaronjensen/updeep/compare/v0.13.0...v0.14.0
2016-02-11 16:30:34 +00:00
[0.13.0]: https://github.com/aaronjensen/updeep/compare/v0.12.0...v0.13.0
2016-01-13 15:35:18 +00:00
[0.12.0]: https://github.com/aaronjensen/updeep/compare/v0.11.0...v0.12.0
2015-11-16 16:30:11 +00:00
[0.11.0]: https://github.com/aaronjensen/updeep/compare/v0.10.1...v0.11.0
2015-09-15 14:51:25 +00:00
[0.10.1]: https://github.com/aaronjensen/updeep/compare/v0.10.0...v0.10.1
2015-09-12 06:53:53 +00:00
[0.10.0]: https://github.com/aaronjensen/updeep/compare/v0.9.0...v0.10.0
[0.9.0]: https://github.com/aaronjensen/updeep/compare/v0.8.0...v0.9.0
2015-08-31 04:07:53 +00:00
[0.8.0]: https://github.com/aaronjensen/updeep/compare/v0.7.2...v0.8.0
[0.7.2]: https://github.com/aaronjensen/updeep/compare/v0.7.1...v0.7.2
2015-08-18 11:28:19 +00:00
[0.7.1]: https://github.com/aaronjensen/updeep/compare/v0.7.0...v0.7.1
2015-08-13 05:20:45 +00:00
[0.7.0]: https://github.com/aaronjensen/updeep/compare/v0.6.0...v0.7.0
2015-08-12 07:25:55 +00:00
[0.6.0]: https://github.com/aaronjensen/updeep/compare/v0.5.0...v0.6.0
2015-08-07 04:41:55 +00:00
[0.5.0]: https://github.com/aaronjensen/updeep/compare/v0.4.0...v0.5.0
2015-08-06 06:12:00 +00:00
[0.4.0]: https://github.com/aaronjensen/updeep/compare/v0.3.1...v0.4.0
2015-08-05 05:34:02 +00:00
[0.3.1]: https://github.com/aaronjensen/updeep/compare/v0.3.0...v0.3.1
2015-08-05 05:30:41 +00:00
[0.3.0]: https://github.com/aaronjensen/updeep/compare/v0.2.3...v0.3.0
2015-08-05 04:35:23 +00:00
[0.2.3]: https://github.com/aaronjensen/updeep/compare/v0.2.2...v0.2.3
2015-08-03 17:40:22 +00:00
[0.2.2]: https://github.com/aaronjensen/updeep/compare/v0.2.1...v0.2.2
[0.2.1]: https://github.com/aaronjensen/updeep/compare/v0.2.0...v0.2.1
2015-08-02 07:42:02 +00:00
[0.2.0]: https://github.com/aaronjensen/updeep/compare/v0.1.3...v0.2.0
2015-08-01 17:11:09 +00:00
[0.1.3]: https://github.com/aaronjensen/updeep/compare/v0.1.2...v0.1.3
[0.1.2]: https://github.com/aaronjensen/updeep/compare/v0.1.1...v0.1.2
2015-08-01 16:22:05 +00:00
[0.1.1]: https://github.com/aaronjensen/updeep/compare/v0.1.0...v0.1.1
2015-08-12 07:30:19 +00:00
[hedgerh]: https://github.com/hedgerh