Releases: google/mug
Releases · google/mug
Release 3.1
mug-root-3.1 [maven-release-plugin] copy for tag mug-root-3.1
v2.2
- Substring API Redesign (Added Substring.Match class. May be backward incompatible).
v2.1
Substring changes:
- More readable syntax:
Substring.before(first(':'))etc. - Scoped substring pattern:
first('.').after(first('.'))etc. - Convenient shortcuts:
Substring.between(first('<'), last('>')).from(str).
v2.0
- Substring (string slicing)
- Retryer moved to concurrent package.
- Removed deprecated APIs.
v1.14
- BiStream bug fixes.
- Optionals (binary
ifPresent(),map(),flatMap(); fluentifPresent())
Mug 1.12
BiStream.from(Map)convenience method
Mug 1.11
- Optimized
BiStreamto save intermediaryMap.Entryallocations for sequential stream. biStream(stream, T::getKey, T::getValue).
Mug 1.10
- BiStream.neighbors() to return neighboring pairs from a stream.
- Bug fixes.
- Deprecated API deleted.
Mug 1.9
MoreStreams.generate()for generating infinite and finite streams.MoreStreams.flatten()as a short-circuitable flatMap(). Especially useful to be called recursively in a long or infinite stream.
Mug 1.8
Don't use exception serialization in Maybe.orElseThrow().
Not wrapping the exception may even be a lesser evil compared to serialization, especially for platforms like GWT, Android etc.
Users are however strongly encouraged to use orElseThrow(WrapperException::new).