Skip to content

Releases: dhershman1/kyanite

v3.2.0

14 Oct 00:51
18b0779
Compare
Choose a tag to compare

New

  • Added objOf function
    • Creates a new object based on the key value pair provided
  • fuzzySearch has been Deprecated as of this version and will be removed in v4.0.0
  • Reimplemented code coverage

Improved

  • amend now uses Object spread rather than Object.assign for that small performance boost
    • When using Object.assign with an empty object, Object spread is consistently faster
  • Converted map to use a while loop assoc combo
  • Moved *.js -> *.spec.js for unit tests
  • Expanded upon some more tests to get to 100% coverage

v3.1.0

22 Sep 23:08
b3e61a2
Compare
Choose a tag to compare

New

  • Added memoizeWith function

v3.0.0

19 Mar 01:31
a03bd61
Compare
Choose a tag to compare

🚨 Breaking Changes

  • update now uses adjust under the hood which gives it all the same rules
    • Meaning it will also return the list back with an out of bounds index

💅 New

  • Added some a new test to find to test Set Data types
  • Added new adjust function which applies a function to a supplied array data at a provided index
  • Added new keys function which takes the keys of a provided object and gives them back as an array

🎊 Improved

  • values now uses the built in keys function instead of Object.keys
  • draft now uses the built in keys function instead of Object.keys
  • Converted any, omit, omitBy, plan, sift, whole, and withDefaults to use keys instead of Object.keys
  • Greatly expanded the unit testing around values
  • Expanded the unit tests for groupBy
  • Expanded the unit tests for gt and gte
  • Expanded the unit tests for difference
  • Added an extra unit test for plan

🔧 Fixed

  • Documentation link in readme now goes to kyanites website instead of 404ing

v2.1.0

28 Jan 21:13
268a9df
Compare
Choose a tag to compare

💅 New

  • Added new takeLast function
    • Which takes from the end of an array instead of the beginning
  • Added new dropLast function
    • Returns a list containing all but the last n elements of the given list
  • Added new pick function
    • Picks only the requested keys from a provided object

🎊 Enhanced

  • Updated types for pathOr so that it can be specified if needed (still defaults to any)

🔧 Fixed

  • Updated drop to use Math.max when deciding a starting index
    • This shouldn't affect the output of drop which is why its not a breaking change
    • It does however allow usage in other functions to work as expected

Chore

  • Updated Dependencies

v2.0.1

16 Aug 20:39
Compare
Choose a tag to compare

Fixed

  • Bad typings, package json was pointing to the wrong type files

v2.0.0

16 Aug 19:24
Compare
Choose a tag to compare

Breaking Changes

  • Converted kyanite to a full blown javascript module
    • This may cause support issues for IE 11
  • Converted from UMD to CJS support
    • This may cause support issues for IE 11
  • The minified scripts now use K instead of kyanite as the TS files specificy
  • Removed unminified version of the library in favor of breaking down supporting of multiple formats
  • Removed "local copy" future support for direct html script tags

Chore

  • Export script completely re written
  • Updated all dev dependencies

Fixed

  • Rollup build stuff to be easier to use on my end and offer more stable support when I run builds

v1.6.3

10 Feb 20:08
9e2e830
Compare
Choose a tag to compare

Changed

  • Removed LGTM badge
  • Fixed build badge
  • Added preset to babel compiler

Chore

  • Dev dependency updates
  • Removed unused dependency
  • Removed mean type error test since this isn't really needed

v1.6.2

17 Feb 16:45
d2ebcf1
Compare
Choose a tag to compare

Fixed

  • reject was in the wrong category

Enhanced

  • Updated dev dependencies

v1.6.1

15 Nov 19:14
3b80327
Compare
Choose a tag to compare

Fixed

  • Unreachable overloads in types
  • Removed duplicated overloads in types

Improved

  • Replaced tap-spec with tap-on
  • Replaced CircleCI with github Actions
  • Replaced README badge

v1.6.0

27 Apr 17:48
385754e
Compare
Choose a tag to compare

New

  • Added new pathSatisfies function, which runs a path to a value which is then passed through a function to see if it satisfies that condition and returns value of predicate
  • Added new propSatisfies function, which pulls a prop from an object and runs a function on it, returns value of predicate

Enhanced

  • Created an internal reducer that is used by other functions, this should help reduce any circular dependencies with that function
  • Created an internal reduced that should help reduce any circular dependencies issues internally
  • Tweaked typings for path function to use a new Path type

Fixed

  • The documentation for difference was outdated and incorrect