Releases: dhershman1/kyanite
Releases · dhershman1/kyanite
v3.2.0
New
- Added
objOf
function- Creates a new object based on the key value pair provided
fuzzySearch
has beenDeprecated
as of this version and will be removed inv4.0.0
- Reimplemented code coverage
Improved
amend
now uses Object spread rather thanObject.assign
for that small performance boost- When using
Object.assign
with an empty object, Object spread is consistently faster
- When using
- 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
New
- Added
memoizeWith
function
v3.0.0
🚨 Breaking Changes
update
now usesadjust
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 inkeys
function instead ofObject.keys
draft
now uses the built inkeys
function instead ofObject.keys
- Converted
any
,omit
,omitBy
,plan
,sift
,whole
, andwithDefaults
to usekeys
instead ofObject.keys
- Greatly expanded the unit testing around
values
- Expanded the unit tests for
groupBy
- Expanded the unit tests for
gt
andgte
- 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
💅 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
forpathOr
so that it can be specified if needed (still defaults toany
)
🔧 Fixed
- Updated
drop
to useMath.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
- This shouldn't affect the output of
Chore
- Updated Dependencies
v2.0.1
Fixed
- Bad typings, package json was pointing to the wrong type files
v2.0.0
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 ofkyanite
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
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
Fixed
reject
was in the wrong category
Enhanced
- Updated dev dependencies
v1.6.1
Fixed
- Unreachable overloads in types
- Removed duplicated overloads in types
Improved
- Replaced
tap-spec
withtap-on
- Replaced CircleCI with github Actions
- Replaced README badge
v1.6.0
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 newPath
type
Fixed
- The documentation for
difference
was outdated and incorrect