Skip to content

Releases: greenrobot/EventBus

EventBus 3.3.1

08 Dec 10:57
Compare
Choose a tag to compare

For Java projects, version 3.3.0 and higher require adding a new dependency. See the 3.3.0 release notes.

  • Fix ProGuard rule for ThrowableFailureEvent to only apply to itself, not subclasses. (ThrowableFailureEvent is the default failure event type used by AsyncExecutor.) #685

EventBus 3.3.0

06 Dec 14:06
Compare
Choose a tag to compare

The eventbus artifact now ships as an Android library (AAR).

For Android projects no changes are necessary.

For Java-only projects, make sure to update your dependencies to point to the new eventbus-java library:

// Replace:
implementation("org.greenrobot:eventbus:3.2.0")
// With:
implementation("org.greenrobot:eventbus-java:3.3.0")

Notable changes

  • Migrate to AndroidX. Thanks @andob! #552
  • Embed ProGuard/R8 rules #652

EventBus 3.2

12 Feb 13:58
Compare
Choose a tag to compare

Improved AndroidX support and incremental annotation processing.

https://greenrobot.org/release/eventbus-3-2/

EventBus 3.1.1

27 Aug 12:44
Compare
Choose a tag to compare

EventBus 3.0.0

04 Feb 19:20
Compare
Choose a tag to compare

Annotations!

Full announcement: http://greenrobot.org/release/eventbus-3-release-annotations/

Gradle dependency:

compile 'org.greenrobot:eventbus:3.0.0'

V2.4.0

11 Nov 07:22
Compare
Choose a tag to compare

Removed deprecated APIs: A year ago in Version 2.2.0, a couple of EventBus methods were deprecated and flagged to be removed in a future release. Well, version 2.4.0 is that release. Clean ups like this one keep the API concise and simple.

Note: No new feature were added since 2.3.0. Use this release if you do not rely on deprecated APIs.

V2.3.0

11 Nov 07:21
Compare
Choose a tag to compare
  • New EventBusBuilder to configure EventBus instances (including the getDefault() instance, #124)
  • Added configuration to disable "No subscribers registered for event" logs (EventBusBuilder, #107, #117)
  • Added configuration to disable sending SubscriberExceptionEvent and NoSubscriberEvent (EventBusBuilder)
  • Added configuration to fail when subscribers throw exceptions (EventBusBuilder, #55)
  • Added configuration to use an existing thread pool (EventBusBuilder, #115)
  • Added configuration to disable event inheritance improving performance for apps with high event rates (EventBusBuilder)
  • Fixed performance regression sneaked into V2.2.x affecting (first time) registration of subscribers
  • Updated to Gradle 2.1, using wrapper
  • EventBusTest and EventBusPerformance use Gradle to build
  • Added hasSubscriberForEvent to check if currently subscribers exist registered to a given event type
  • Improved README.md and extracted an extended HOWTO.md and CHANGELOG.md from it
  • Ignore compiler generated methods (#76)
  • Various small code improvements (#120 among many others)

Note: This is your last chance to use APIs that were deprecated in V2.2.0. It's recommended to switch to Version 2.4.0 (or above) at your earliest convenience.