Skip to content

Latest commit

 

History

History
162 lines (123 loc) · 6.93 KB

CHANGELOG.md

File metadata and controls

162 lines (123 loc) · 6.93 KB

Change Log

[1.2.4]

  • Fixed omit and omitBy so that they can accept null as the object - Thanks @ianschuster for the report.

[1.2.3]

  • No changes

[1.2.2]

  • Omitting a key that does not exist will reuse the object, rather than creating a new, identical object - Thanks @yanick

[1.2.1]

  • Improved TypeScript types - Thanks @yanick
  • Check for existence of process before testing environment variables - Thanks @yanick

[1.2.0]

  • Add TypeScript types - Thanks @yanick (#83)

[1.1.0]

  • Add _.omitted to omit properties - Thanks @yanick (#78)
  • Allow Number type in updateIn function - Thanks @AveVlad (#67)
  • Do not freeze regexp (#65)
  • u.reject should return same instance if no changes (#62)
  • Add u.omitBy (#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. (#59)
  • Allow updeep to be required from CommonJS (#56)
  • Upgrade to lodash ^4.2.0 (#50)
  • Make lodash a dependency instead of a peerDependency - Thanks @epeli (#43 #48)
  • 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. (#42)
  • Fix support for Date objects and other non-plain objects (#36)
  • Add support for wildcards (*) to u.updateIn. (#27)
  • Do not add object during false branch of u.if. (#35)
  • Default to empty array if update keys are integers. (#22)
  • Fix curried functions not reporting their correct arity. (#31)
  • Fix update omitting empty object. (#29)
  • Add u._ placeholder for curried functions.
  • Add u.constant for replacing an object outright. (#10)
  • Fix handling null differently than undefined. u and friends will now coerce null to an object if there are updates for it. (#20)
  • Remove support for _.placeholder in curried methods. This may come back, but it was necessary for the next item.
  • Improve performance of curried methods. (#16)
  • Improve examples in docs, thanks hedgerh.
  • u.map will now return the same instance if nothing changes.
  • Improve performance of u.map.
  • Removed a couple lodash dependencies.
  • Add u.is to test predicates in a single path. (#13)
  • Rename u.in to u.updateIn. With u.is and u.if it was too confusing.
  • Make u available at u.update as well.
  • Add u.if and u.ifElse to conditionally update objects. (#12)
  • Add u.map to update all values in an array or object.
  • 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.
  • Actually expose u.in.
  • Add u.freeze to freeze an object deeply. (#7)
  • Add u.in to update a single value in an object with a specified path. (#6)
  • Fix cannot update value to null (#8)
  • Add umd distribution builds via webpack. (#3)
  • Fix Object.isFrozen breaking on null in chrome. (#5)
  • Fix Object.isFrozen breaking on non-freezables in PhantomJS. (#1)
  • 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.
  • Update README.
  • Fix package description.
  • Update README and description.

0.1.0

  • Initial release