Skip to content

Releases: google/mug

Release 3.1

28 Aug 03:57

Choose a tag to compare

mug-root-3.1

[maven-release-plugin] copy for tag mug-root-3.1

v2.2

25 Feb 02:13

Choose a tag to compare

  • Substring API Redesign (Added Substring.Match class. May be backward incompatible).

v2.1

31 Jan 04:03

Choose a tag to compare

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

24 Jan 05:10

Choose a tag to compare

  • Substring (string slicing)
  • Retryer moved to concurrent package.
  • Removed deprecated APIs.

v1.14

10 Jan 05:13

Choose a tag to compare

  • BiStream bug fixes.
  • Optionals (binary ifPresent(), map(), flatMap(); fluent ifPresent())

Mug 1.12

18 Apr 23:55

Choose a tag to compare

  • BiStream.from(Map) convenience method

Mug 1.11

28 Mar 02:11

Choose a tag to compare

  • Optimized BiStream to save intermediary Map.Entry allocations for sequential stream.
  • biStream(stream, T::getKey, T::getValue).

Mug 1.10

11 Feb 17:21

Choose a tag to compare

  • BiStream.neighbors() to return neighboring pairs from a stream.
  • Bug fixes.
  • Deprecated API deleted.

Mug 1.9

30 Nov 18:02

Choose a tag to compare

  • 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

05 Oct 05:16

Choose a tag to compare

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).