This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.
Releases
futil-js@1.76.2
Patch Changes
652d71c: Improve performance of treeToArrayBy and leavesBy
Make intersperse handle more edge cases (undefined, null, stirngs, objects, etc)
Improve toSentence edge cases (mostly from improving intersperse, but also by making strings less surprising)
1.74.1
Remove async/await in async promiseProps method to avoid downstream regeneratorRuntime issues
1.74.0
Add flowAsync and promiseProps
Add flowAsyncDeep and resolveOnTree
Pass along all tree iteratee props in writeTreeNode (default writeNode for tree maps) and rename interally from writeProperty to writeTreeNode
1.73.3
Generate readme in CI
Tweak code docs to better align to formatted readme
1.73.2
Curried wrap, improved behavior with undefined content, and updated internal usage
Handle nulls for prefixes
Internal - set prettier to use single quotes again
1.73.1
Organized and added to lens test file.
1.73.0
Add keysToObject
Change wrap and dependents like parens to support empty content better (and remove weird "feature" where post would default to pre if falsey). Potentially a breaking change, but that behavior was extremely weird and there were no known usages.
curry moveIndex
1.72.0
Add recurry
Add uncurry
Add unlessTruthy
Add argument spreading support to logic functions
Add additional arrayLens test case
1.71.8
CI/CD correction
1.71.7
Doc Site UI Change: corrected presentation of home page
1.71.6
Doc Site UI Changes:
Added header to page: home
Hide logo on header when in page: home as it has one already
Fixed misc issues
1.71.5
Explicit build step in CI/CD
1.71.4
Responsive design implementation for the site to be mobile friendly and responsive on desktop.
1.71.3
Library issue resolution, two libraries where auto-updating minor versions and no longer compatible in those versions.
Added ignore for yarn as NPM is being used currently
Added versioning of package-lock files to resolve dependency issue.
1.71.2
Tests:
Replaced all eql with deep.equal
Replaced all unnecessary deep.equal assertions with .equal
Replaced to.equal(true) and to.equal(false) with to.be.true and to.be.false
1.71.1
Organized and added to regexp tests
1.71.0
New docs site! The new docs site is packed with awesome features. We've got dark mode, super fast search, embedded runkits, and the ability to search futil, lodash, and ramda based on input/output expectations.
1.70.0
Add state to deprecated methods so they can be inspected
1.69.9
Removed basic function tests from the misc.spec file. A separate PR moves them into the function.spec file.
1.69.8
Organized string tests
1.69.7
Organized and added to functions tests
1.69.6
Organized and added to logic tests
1.69.5
Organized and added lang tests
1.69.4
Organized and added to conversions tests
1.69.3
Moves tests from algebra file to collections file to mirror functions file system
1.69.2
Adds and revised the array tests
1.69.1
Fixed f and F discrepancy. Changed all f. to F. in all tests for consistency.
1.69.0
Add isPromise utility
1.68.0
Add mapTree, mapTreeLeaves, leavesBy
Improve leaves performance (by not adding branches at all instead of rejecting them later)
Passes all props to treeToArrayBy iteratees - previously only node was passed
1.67.3
Fixed import syntax in docs
1.67.2
change fixed issue, Logic functions behave unpredictably with undefined as predicate
add test cases to logic.spec for when.
drop IE 10 support
1.67.1
Fix isBlank docs
1.67.0
Improvements to unwind: use _.castArray to avoid unwinding strings and other array-likes
Add unwindArray
1.66.3
Use deep comparison on F.{simple,}diff
1.66.2
Allow walkAsync to handle non-async traversals
1.66.1
Kill promises in findIndexedAsync to fix regeneratorRuntime shenanigans
1.66.0
Add walkAsync
Add findIndexedAsync (used internally and not documented, but exported for testing)
Add mapArgs
Add commonKeys and firstCommonKey
1.65.0
Add support for regular expression arguments to highlight
Clarify highlight description in README
Add description for postingsForWords to README
1.64.4
Change domLens.hover to use onMouseEnter/onMouseLeave instead of onMouseOver/onMouseOut
1.64.3
Fix typo in README
1.64.2
Handle [], undefined, and null arguments in chunkBy
1.64.1
Use _.hasIn in targetBinding to account for objects with target as an inherited property (eg, in synthetic DOM events)
1.64.0
Add new native lens formats, arrayLens and functionPairLens
Make domLens.value more flexible by supporting non-native onChange events (allow targetBinding to fall back to the provided value if e.target[key] is not passed in)
Update a bunch of dev dependencies
1.63.1
Clarify chunkBy description in README
1.63.0
Add partial currying support to mergeOverAll
Add mergeOverAllWith and mergeOverAllArrays
1.62.1
Better currying for logic methods (ifElse, when, whenExists, etc)
1.62.0
Add getWith, expandObject, and expandObjectBy
1.61.0
Add compactMap
1.60.0
Add mergeOverAll
1.59.1
change all words regex to report full string as match rather than empty string
1.59.0
export anyWordToRegexp and wordsToRegexp
1.58.1
Fixed issue where renameProperty was not a pure function. Specifically:
The original object was mutated.
If the original object din't have the property to be renamed the function was
adding the property with a value of undefined.
If code was relying in this incorrect behavior this will be a braking change.
1.58.0
Add uniqueString and uniqueStringWith
1.57.0
Added new object functions:
omitNilomitNullomitBlankomitEmpty
Added new array functions:
replaceElementByreplaceElement
1.56.0
New lens helper for React users: stateLens
1.55.1
Fix issue with autoLabelOption not accepting correctly falsy values as valid options
1.55.0
Added intersperse, differentLast, toSentence and toSentenceWith.
Updating babel-eslint, eslint, chokidar and mocha.
1.40.1
Add docs link
1.40.0
[cascade, cascadeIn] added support for an optional defaultValue (last param) and iteratee support instead of just paths
1.39.0
Add transformTree
Add keyTreeByWith
1.38.0
Add allMatches. It creates regexp and returns all matched results with
indexes.
1.37.0
Added implicit lensProp support to all current lens functions (view,
views, set, sets, flip, on, off)
1.36.0
Add mergeAllArrays, invertByArray, zipObjectDeepWith, and flags
1.35.0
Add tree treeLookup
Add deep path support to lensProp
Add unsetOn
1.34.1
Ignore browser testing errors.
Add karma JSON reporter.
Only watch files and record videos/screenshots for the local test.
1.34.0
Fixed flattenObject and diffArray to properly say the paths of
arrays with only one object, by making them use a new function:
dotJoinWith, which is like dotJoin but allows you to provide a
function to select which elements to filter by.
1.33.2
Add cross browsers testing support with karma + webpack + saucelabs
Use babel-preset-latest instead of babel-preset-env
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.
Releases
futil-js@1.76.2
Patch Changes
1.76.0
findNode
1.75.0
renamePropertyOn
,popProperty
updateIfExists
,updateIfExistsOn
,updatePaths
,updatePathsOn
,updateAllPaths
,updateAllPathsOn
crunchWhitespace
writeTreeNode
chunkByValue
arrayToObject
omitByIndexed
conversionisSubset
sizeBy
matchesBy
,matchesBySome
1.74.2
intersperse
handle more edge cases (undefined, null, stirngs, objects, etc)toSentence
edge cases (mostly from improving intersperse, but also by making strings less surprising)1.74.1
promiseProps
method to avoid downstream regeneratorRuntime issues1.74.0
flowAsync
andpromiseProps
flowAsyncDeep
andresolveOnTree
writeTreeNode
(default writeNode for tree maps) and rename interally from writeProperty to writeTreeNode1.73.3
1.73.2
wrap
, improved behavior with undefined content, and updated internal usageprefixes
1.73.1
1.73.0
keysToObject
wrap
and dependents likeparens
to support empty content better (and remove weird "feature" where post would default to pre if falsey). Potentially a breaking change, but that behavior was extremely weird and there were no known usages.moveIndex
1.72.0
recurry
uncurry
unlessTruthy
1.71.8
1.71.7
1.71.6
1.71.5
1.71.4
1.71.3
1.71.2
eql
withdeep.equal
deep.equal
assertions with.equal
to.equal(true)
andto.equal(false)
withto.be.true
andto.be.false
1.71.1
1.71.0
1.70.0
1.69.9
1.69.8
1.69.7
1.69.6
1.69.5
1.69.4
1.69.3
1.69.2
1.69.1
1.69.0
isPromise
utility1.68.0
mapTree
,mapTreeLeaves
,leavesBy
leaves
performance (by not adding branches at all instead of rejecting them later)treeToArrayBy
iteratees - previously onlynode
was passed1.67.3
import
syntax in docs1.67.2
undefined
as predicate1.67.1
isBlank
docs1.67.0
unwind
: use_.castArray
to avoid unwinding strings and other array-likesunwindArray
1.66.3
1.66.2
walkAsync
to handle non-async traversals1.66.1
findIndexedAsync
to fix regeneratorRuntime shenanigans1.66.0
walkAsync
findIndexedAsync
(used internally and not documented, but exported for testing)mapArgs
commonKeys
andfirstCommonKey
1.65.0
highlight
highlight
description in READMEpostingsForWords
to README1.64.4
domLens.hover
to useonMouseEnter
/onMouseLeave
instead ofonMouseOver
/onMouseOut
1.64.3
1.64.2
[]
,undefined
, andnull
arguments inchunkBy
1.64.1
_.hasIn
intargetBinding
to account for objects withtarget
as an inherited property (eg, in synthetic DOM events)1.64.0
arrayLens
andfunctionPairLens
domLens.value
more flexible by supporting non-native onChange events (allowtargetBinding
to fall back to the provided value ife.target[key]
is not passed in)1.63.1
chunkBy
description in README1.63.0
mergeOverAll
mergeOverAllWith
andmergeOverAllArrays
1.62.1
logic
methods (ifElse
,when
,whenExists
, etc)1.62.0
getWith
,expandObject
, andexpandObjectBy
1.61.0
compactMap
1.60.0
mergeOverAll
1.59.1
1.59.0
anyWordToRegexp
andwordsToRegexp
1.58.1
renameProperty
was not a pure function. Specifically:undefined
.1.58.0
uniqueString
anduniqueStringWith
1.57.0
object
functions:omitNil
omitNull
omitBlank
omitEmpty
array
functions:replaceElementBy
replaceElement
1.56.0
stateLens
1.55.1
1.55.0
1.54.0
domLens
functions:domLens.value
domLens.checkboxValues
domLens.hover
domLens.focus
domLens.targetBinding
domLens.binding
1.53.0
moveIndex
toggleElement
toggleElementBy
setsWith
includeLens
insertAtIndex
support arrays and strings1.52.0
import F
instead ofimport * as F
futil
!1.51.0
_.iteratee
support tofindApply
1.50.0
chunkBy
.1.49.1
1.49.0
1.48.0
stampKey
1.47.1
1.47.0
1.46.0
mapProps
in favor of lodash _.update1.45.0
updateOn
1.44.0
matchesSome
1.43.4
postings
when a regex lacking theg
flag is passed1.43.3
Fixed webpack.config.js
1.43.2 (UNPUBLISHED because it breaks in NodeJS)
Upgraded some dependencies.
1.43.1
Fixed the conversion reference for pickBy.
1.43.0
Added pickByIndexed, and improved our conversion file performance by a significant ammount.
1.42.3
Made tree lookup curried.
1.42.2
Remove Standard JS badge in favor of Prettier.
1.42.1
Enable coveralls integration.
1.42.0
flurry
, a flow + curry preserving the arity of the initial function. See https://github.com/lodash/lodash/issues/3612.1.41.0
pullOn
,prefixes
encoder
,dotEncoder
,slashEncoder
flattenTree
,treePath
,propTreePath
,treeKeys
,treeValues
traverse
onTree
1.40.3
1.40.2
1.40.1
1.40.0
cascade
,cascadeIn
] added support for an optional defaultValue (last param) and iteratee support instead of just paths1.39.0
transformTree
keyTreeByWith
1.38.0
allMatches
. It creates regexp and returns all matched results with indexes.1.37.0
lensProp
support to all current lens functions (view
,views
,set
,sets
,flip
,on
,off
)1.36.0
mergeAllArrays
,invertByArray
,zipObjectDeepWith
, andflags
1.35.0
treeLookup
lensProp
unsetOn
1.34.1
1.34.0
dotJoinWith
, which is likedotJoin
but allows you to provide a function to select which elements to filter by.1.33.2
karma + webpack + saucelabs
1.33.1
1.33.0
debounceAsync
anddefer
1.32.1
1.32.0
diff
anddiffArray
, just likesimpleDiff
andsimpleDiffArray
, but they also take in count removed properties.1.31.0
pickOn
, which works aspick
in lodash but it mutates the object1.30.0
traverse
,walk
,reduceTree
,treeToArray
,treeToArrayBy
,leaves
, andtree
isBlank
,isNotBlank
, andisBlankDeep
findIndexed
1.29.9
1.29.8
_.curry
doesn't allow us to doF.push(_, array)
.1.29.7
push
1.29.6
matchAnyWord
1.29.5
1.29.4
1.29.3
1.29.2
deprecate
.1.29.1
matchallwords
.1.29.0 August 11th, 2017 18:53
1.28.4 August 10th, 2017 21:35
1.28.3 August 9th, 2017 15:10
1.28.2 August 8th, 2017 20:50
1.28.1
1.28.0 August 8th, 2017 03:29
Indexed
conversions(mapIndexed
,eachIndexed
,reduceIndexed
,mapValuesIndexed
)aspectSync
anddeprecate
unkeyBy
simpleDiff
andsimpleDiffArray
1.27.0 August 3rd, 2017 15:58
hasIn
,cascadeProp
andcascadePropKey
.1.26.4 - August 2nd, 2017 18:21
1.26.3 - August 2nd, 2017 17:54
1.26.2 - August 2nd, 2017 17:54
1.26.1 - August 2nd, 2017 14:37
1.26.0 - August 2nd, 2017 06:46
autoLabel
,autoLabelOption
, andautoLabelOptions
. Also rearranged test files a bit.1.25.1 - August 2nd, 2017 06:26
1.25.0 - July 31st, 2017 19:49
always
,name
, and bug fix for processing sample aspect. Also addedtapError
and new high level aspect,command
1.24.0 - July 28th, 2017 16:07
trimStrings
, and our new shiny logo on the README thanks to @giulianok1.23.0 - July 28th, 2017 05:40
setOn
(mutable set)1.22.0 - July 28th, 2017 03:25
error
aspect example1.21.0 - July 27th, 2017 21:37
aspect
now supports asyncbefore
,after
, andonError
1.20.0 - July 25th, 2017 20:04
findApply
,isNotNil
,exists
,unlessExists
,unlessTruth
,getOrReturn
,alias
,cascade
,cascadeIn
,cascadeKey
,isMultiple
,append
,composeApply
,comply
1.19.0 - July 13th, 2017 14:23
ifElse
,where
, andunless
to a newlogic
section1.18.1 - July 13th, 2017 14:23
1.18.0 - June 23rd, 2017 22:01
callOrReturn
,each
, andmergeOn
1.17.4 - June 23rd, 2017 21:58
1.17.3 - June 9th, 2017 23:47
1.17.2 - June 8th, 2017 21:27
1.17.1 - June 8th, 2017 19:18
async
functions1.17.0 - June 7th, 2017 22:51
unflattenObject
and a deprecation warning aboutmapProp
in favor of lodash_.update
1.16.0 - June 6th, 2017 22:30
aspect
and the reusable examples onaspects
(logs
,errors
,status
, andconcurrency
), as well asthrows
1.15.1 - May 30th, 2017 15:57
views
1.15.0 - May 26th, 2017 21:43
lens
functionsfunctionLens
,objectLens
,fnToObj
,objToFn
,lensProp
,lensOf
,view
,set
,sets
,flip
,on
,off
1.14.0 - May 24th, 2017 02:08
mapProp
.1.13.0 - May 16th, 2017 22:32
mapValues
.1.12.0 - May 16th, 2017 22:11
boundMethod
.1.11.1 - May 2nd, 2017 13:22
1.11.0 - April 6th, 2017 15:47
cycle
1.10.2 - March 30th, 2017 21:48
1.10.1 - March 30th, 2017 21:48
testRegex
1.10.0 - March 30th, 2017 18:32
matchAllWords
1.9.0 - March 29th, 2017 17:03
postings
,postingsForWords
,highlightFromPostings
,highlight
push
,mergeRanges
,insertAtIndex
makeRegex
curried implementation of the RegExp construction.makeAndTest
makes and tests a RegExp withmakeRegex
andtestRegex
matchAnyWord
takes a string and returns an array of matching words1.8.0-1.8.3 - February 27th, 2017 20:18
map
added to seamlessly map array and plain objects.deepMap
added to seamlessly map recursive arrays and plain objects. Also optionally allows mappings to any recursive algebraic data structure.1.7.3 - February 21st, 2017 19:57
compareDeep
is ok with ===, and it's now tested1.7.1 - February 17th, 2017 23:03
1.7.0 - February 17th, 2017 14:23
defaultsOn
1.6.0 - February 16th, 2017 21:35
extendOn
1.5.1 and 1.5.2 - February 16th, 2017 21:35
Travis related CI stuff
1.5.0 - February 15th, 2017 22:11
pickIn
1.4.1 - February 10th, 2017 23:40
maybeCall
fixed, rest params added to get thefn
arguments1.4.0 - February 10th, 2017 23:40
repeated
quote
parens
processQuotes
getUniqueWords
1.3.0 - February 10th, 2017 23:40
flattenObject
andsingleObjectR
1.2.2 - February 10th, 2017 20:14
futil-js
to match the current npm package name1.2.1 - February 10th, 2017 16:51
1.2.0 - February 9th, 2017 05:21
1.1.0 - February 8th, 2017 20:04
1.0.0 - February 6th, 2017 21:16