Skip to content

Releases: dhershman1/kyanite

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

v1.5.0

28 Jan 16:39
c91a779
Compare
Choose a tag to compare

New

  • Added new omitBy function which works like omit but uses a predicate function instead of a key list
  • Added new fromPairs function which takes an array of arrays that contain key value pairs

Enhanced

  • Tweaked a bit of the typings to allow more strict control
  • Updated pinet to v1.1.1 for improved documantation functionality
    • You can use the enter key with search now to find the function!
  • The dist folder is no longer located on Github but it STILL exists with npm (it's built on upload to npm)

v1.4.2

17 Nov 17:03
Compare
Choose a tag to compare

Enhanced

  • Removed commitizen and standard-version (It just wasn't working out with how far along this project already is and how I usually do changes/logs)
  • Updated all dev dependencies
  • Removed david-dm badges because it doesn't seem like david-dm is ever coming back

Fixed

  • Some linting errors with new version of standardjs
  • Dropped unused scripts