New features
- Add
each(Dir, Fun) - Add
filter(Dir, pattern) - Add
Iter(Set) - Add
partitionk(Eachable2, pattern) - Add
partitionv(Eachable2, pattern) - Add
fields() - Add experimental
retry_assert() - Add
Durationtype - Add experimental
finally(Block, Fun) - Add
Path + StrandStr + Path - Add
avg(Eachable1) - Add
Valuepseudo-type for converting values and functions into values - Add
when(val, pattern, new_val) - Add
code(ArrLike) - Add
code(Type) - Add
flat_map(Eachable1, Fun) - Add
COR- Chain of Responsibility - Add
assert(val, pattern, Exception) - Add
connect() - Add
apply(Eachable1, Fun)andapply(Eachable2, Fun) - Add experimental
ensure(x, pat, how) - Patterns
- Add
F f(x:PATTERN_HERE) ...named parameter pattern syntax (previouslyPATTERN_HEREhad to be a type) - Add
F f(PATTERN_HERE) ...unnamed parameter pattern syntax (can be a type) - Add
Transformedpattern - Add experimental
Capturepattern for capturing values - Add experimental
Branchpattern for multiple matches
- Add
- Add
$[...]syntax for running external programs without capturing output - Add
x::{ ... }syntax and::(x, f:Fun)method definition. Works liketap().
Fixes and improvements
- Fix
AtPathfor non-eachables - Improve
decode()for AWS CLI commands Setcomparison now ignores order- Fix
after_last(Str, Str) encode_json()- now supports{'pretty': 'best-effort'}hint- Various build improvements
- Fix edge case in
del(Hash, Any) echo(Table2::Table)now warns about hidden columns
Deprecated
- Deprecated
Deepin favor ofAtPath - Deprecated
~(Any, Type)in favor of=~(Any, Type) - Deprecated
only()in favor ifwhen()
Breaking changes
- Remove deprecated
Pred - Remove deprecated
~(Any, Any)adapter for=~ - Remove deprecated
~(Any, Type) - Remove unused
get(MatchSuccess) - Remove unused
get(MatchFailure)
Additionally, work on UI was done but there is not much to show yet.