From 50555fee2995a0c5cb04b7bd74d61547152a05b3 Mon Sep 17 00:00:00 2001 From: jnape Date: Sun, 4 Jun 2017 16:48:13 -0400 Subject: [PATCH 1/4] [maven-release-plugin] prepare for next development iteration --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 24aebdc36..255c7e27f 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ lambda - 1.6.0 + 1.6.1-SNAPSHOT jar Lambda From 37b6e0a3cccf693532ae87ff87abf8e57cc2c9bb Mon Sep 17 00:00:00 2001 From: jnape Date: Sun, 4 Jun 2017 16:59:36 -0400 Subject: [PATCH 2/4] Updating CHANGELOG --- CHANGELOG.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d51e3d196..c68208c6d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,13 +4,21 @@ 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.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 +27,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 +124,8 @@ 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.0...HEAD +[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 From 09725e6a6f8703795068b17fe9fa0a2f667e81be Mon Sep 17 00:00:00 2001 From: jnape Date: Mon, 12 Jun 2017 19:20:08 -0500 Subject: [PATCH 3/4] Loosening visibility on Traversables methods --- CHANGELOG.md | 9 +++++++-- .../jnape/palatable/lambda/traversable/Traversables.java | 4 ++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c68208c6d..8e4a5140b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,11 @@ 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 @@ -124,7 +128,8 @@ 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.6.0...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 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); } } From 398ffe2a981ff9f54f22170200dd81a58539e2fd Mon Sep 17 00:00:00 2001 From: jnape Date: Sat, 17 Jun 2017 17:08:38 -0500 Subject: [PATCH 4/4] [maven-release-plugin] prepare release lambda-1.6.1 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 255c7e27f..d3c2ed049 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ lambda - 1.6.1-SNAPSHOT + 1.6.1 jar Lambda