diff --git a/CHANGELOG.md b/CHANGELOG.md index d51e3d196..8e4a5140b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,13 +4,25 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/). ## [Unreleased] + +--- + +## [1.6.1] - 2017-06-17 +### Changed +- Loosening visibility on `Traversables` methods to `public` + +## [1.6.0] - 2017-06-04 ### Added -- `Applicative` arrives; all functors gain applicative properties - `Either#invert` is pulled up into `CoProduct2` and additionally specialized for `Choice2` - `CoProductN#embed` - `not`, used for negating predicate functions - `empty`, used to test if an Iterable is empty - `groupBy`, for folding an Iterable into a Map given a key function +- `Applicative` arrives; all functors gain applicative properties +- `Traversable` arrives; `SingletonHList`, `Tuple*`, `Choice*`, `Either`, `Identity`, and `Const` gain traversable properties +- `TraversableOptional` and `TraversableIterable` for adapting `Optional` and `Iterable`, respectively, to `Traversable` +- `sequence` for wrapping a traversable in an applicative during traversal +- `Compose`, an applicative functor that represents type-level functor composition ### Changed - `Functor`, `Bifunctor`, and `Profunctor` (as well as all instances) get a unification parameter @@ -19,6 +31,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/). - `partition` now only requires iterables of `CoProudct2` - `CoProductN`s receive a unification parameter, which trickles down to `Either` and `Choice`s - `Concat` now represents a monoid for `Iterable`; previous `Concat` semigroup and monoid renamed to more appropriate `AddAll` +- `Lens` is now an instance of `Profunctor` ## [1.5.6] - 2017-02-11 ### Added @@ -115,7 +128,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/). - `Monadic/Dyadic/TriadicFunction`, `Predicate`, `Tuple2`, `Tuple3` - `Functor`, `BiFunctor`, `ProFunctor` -[Unreleased]: https://github.com/palatable/lambda/compare/lambda-1.5.6...HEAD +[Unreleased]: https://github.com/palatable/lambda/compare/lambda-1.6.1...HEAD +[1.6.0]: https://github.com/palatable/lambda/compare/lambda-1.6.0...lambda-1.6.1 +[1.6.0]: https://github.com/palatable/lambda/compare/lambda-1.5.6...lambda-1.6.0 [1.5.6]: https://github.com/palatable/lambda/compare/lambda-1.5.5...lambda-1.5.6 [1.5.5]: https://github.com/palatable/lambda/compare/lambda-1.5.4...lambda-1.5.5 [1.5.4]: https://github.com/palatable/lambda/compare/lambda-1.5.3...lambda-1.5.4 diff --git a/pom.xml b/pom.xml index 24aebdc36..d3c2ed049 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ lambda - 1.6.0 + 1.6.1 jar Lambda diff --git a/src/main/java/com/jnape/palatable/lambda/traversable/Traversables.java b/src/main/java/com/jnape/palatable/lambda/traversable/Traversables.java index 54a6b0903..4fc1443c4 100644 --- a/src/main/java/com/jnape/palatable/lambda/traversable/Traversables.java +++ b/src/main/java/com/jnape/palatable/lambda/traversable/Traversables.java @@ -17,7 +17,7 @@ private Traversables() { * @param the Iterable element type * @return a Traversable wrapper around as */ - static TraversableIterable traversable(Iterable as) { + public static TraversableIterable traversable(Iterable as) { return TraversableIterable.wrap(as); } @@ -28,7 +28,7 @@ static TraversableIterable traversable(Iterable as) { * @param the Optional type * @return a Traversable wrapper around opt */ - static TraversableOptional traversable(Optional opt) { + public static TraversableOptional traversable(Optional opt) { return TraversableOptional.wrap(opt); } }