tag:github.com,2008:https://github.com/greenrobot/EventBus/releasesRelease notes from EventBus2021-12-08T10:51:14Ztag:github.com,2008:Repository/5070389/V3.3.12021-12-08T10:57:22ZEventBus 3.3.1<p><strong>For Java projects, version 3.3.0 and higher require adding a new dependency. See the <a href="https://github.com/greenrobot/EventBus/releases/tag/V3.3.0">3.3.0 release notes</a>.</strong></p>
<ul>
<li>Fix ProGuard rule for ThrowableFailureEvent to only apply to itself, not subclasses. (ThrowableFailureEvent is the default failure event type used by AsyncExecutor.) <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1073492728" data-permission-text="Title is private" data-url="https://github.com/greenrobot/EventBus/issues/685" data-hovercard-type="issue" data-hovercard-url="/greenrobot/EventBus/issues/685/hovercard" href="https://github.com/greenrobot/EventBus/issues/685">#685</a></li>
</ul>greenrobot-teamtag:github.com,2008:Repository/5070389/V3.3.02021-12-06T14:06:13ZEventBus 3.3.0<p>The <code>eventbus</code> artifact now ships as an Android library (AAR).</p>
<p><strong>For Android projects no changes are necessary.</strong></p>
<p><strong>For Java-only projects</strong>, make sure to update your dependencies to point to the new <code>eventbus-java</code> library:</p>
<div class="highlight highlight-source-kotlin notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="// Replace:
implementation("org.greenrobot:eventbus:3.2.0")
// With:
implementation("org.greenrobot:eventbus-java:3.3.0")"><pre><span class="pl-c"><span class="pl-c">//</span> Replace:</span>
implementation(<span class="pl-s"><span class="pl-pds">"</span>org.greenrobot:eventbus:3.2.0<span class="pl-pds">"</span></span>)
<span class="pl-c"><span class="pl-c">//</span> With:</span>
implementation(<span class="pl-s"><span class="pl-pds">"</span>org.greenrobot:eventbus-java:3.3.0<span class="pl-pds">"</span></span>)</pre></div>
<h2>Notable changes</h2>
<ul>
<li>Migrate to AndroidX. Thanks <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/andob/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/andob">@andob</a>! <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="369302958" data-permission-text="Title is private" data-url="https://github.com/greenrobot/EventBus/issues/552" data-hovercard-type="issue" data-hovercard-url="/greenrobot/EventBus/issues/552/hovercard" href="https://github.com/greenrobot/EventBus/issues/552">#552</a></li>
<li>Embed ProGuard/R8 rules <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="663077013" data-permission-text="Title is private" data-url="https://github.com/greenrobot/EventBus/issues/652" data-hovercard-type="issue" data-hovercard-url="/greenrobot/EventBus/issues/652/hovercard" href="https://github.com/greenrobot/EventBus/issues/652">#652</a></li>
</ul>greenrobot-teamtag:github.com,2008:Repository/5070389/V3.2.02020-02-12T13:58:35ZEventBus 3.2<p>Improved AndroidX support and incremental annotation processing.</p>
<p><a href="https://greenrobot.org/release/eventbus-3-2/" rel="nofollow">https://greenrobot.org/release/eventbus-3-2/</a></p>greenrobottag:github.com,2008:Repository/5070389/V3.1.2-RC2020-02-03T16:50:02ZV3.1.2-RC<p>3.1.2-RC: minor version updates, etc.</p>greenrobottag:github.com,2008:Repository/5070389/V3.1.12018-08-27T12:44:37ZEventBus 3.1.1<p>EventBus 3.1 with plain Java support</p>
<p><a href="http://greenrobot.org/release/eventbus-3-1-plain-java-support/" rel="nofollow">http://greenrobot.org/release/eventbus-3-1-plain-java-support/</a></p>greenrobot-teamtag:github.com,2008:Repository/5070389/V3.1.02017-11-07T13:56:55ZV3.1.0<p>3.1.1 / 3.1.0</p>greenrobottag:github.com,2008:Repository/5070389/V3.1.0-RC2017-09-16T14:40:56ZV3.1.0-RC<p>updated README.md for 3.1.0-RC</p>greenrobottag:github.com,2008:Repository/5070389/V3.0.02016-02-04T19:22:46ZEventBus 3.0.0<p>Annotations!</p>
<p>Full announcement: <a href="http://greenrobot.org/release/eventbus-3-release-annotations/" rel="nofollow">http://greenrobot.org/release/eventbus-3-release-annotations/</a></p>
<p>Gradle dependency:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="compile 'org.greenrobot:eventbus:3.0.0'"><pre class="notranslate"><code>compile 'org.greenrobot:eventbus:3.0.0'
</code></pre></div>greenrobottag:github.com,2008:Repository/5070389/V2.4.02014-11-11T07:22:27ZV2.4.0<p>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.</p>
<p><strong>Note:</strong> No new feature were added since 2.3.0. Use this release if you do not rely on deprecated APIs.</p>greenrobottag:github.com,2008:Repository/5070389/V2.3.02014-11-11T07:22:51ZV2.3.0<ul>
<li>New EventBusBuilder to configure EventBus instances (including the getDefault() instance, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="48181011" data-permission-text="Title is private" data-url="https://github.com/greenrobot/EventBus/issues/124" data-hovercard-type="issue" data-hovercard-url="/greenrobot/EventBus/issues/124/hovercard" href="https://github.com/greenrobot/EventBus/issues/124">#124</a>)</li>
<li>Added configuration to disable "No subscribers registered for event" logs (EventBusBuilder, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="38595562" data-permission-text="Title is private" data-url="https://github.com/greenrobot/EventBus/issues/107" data-hovercard-type="issue" data-hovercard-url="/greenrobot/EventBus/issues/107/hovercard" href="https://github.com/greenrobot/EventBus/issues/107">#107</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="43116840" data-permission-text="Title is private" data-url="https://github.com/greenrobot/EventBus/issues/117" data-hovercard-type="issue" data-hovercard-url="/greenrobot/EventBus/issues/117/hovercard" href="https://github.com/greenrobot/EventBus/issues/117">#117</a>)</li>
<li>Added configuration to disable sending SubscriberExceptionEvent and NoSubscriberEvent (EventBusBuilder)</li>
<li>Added configuration to fail when subscribers throw exceptions (EventBusBuilder, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="25860955" data-permission-text="Title is private" data-url="https://github.com/greenrobot/EventBus/issues/55" data-hovercard-type="issue" data-hovercard-url="/greenrobot/EventBus/issues/55/hovercard" href="https://github.com/greenrobot/EventBus/issues/55">#55</a>)</li>
<li>Added configuration to use an existing thread pool (EventBusBuilder, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="42869862" data-permission-text="Title is private" data-url="https://github.com/greenrobot/EventBus/issues/115" data-hovercard-type="issue" data-hovercard-url="/greenrobot/EventBus/issues/115/hovercard" href="https://github.com/greenrobot/EventBus/issues/115">#115</a>)</li>
<li>Added configuration to disable event inheritance improving performance for apps with high event rates (EventBusBuilder)</li>
<li>Fixed performance regression sneaked into V2.2.x affecting (first time) registration of subscribers</li>
<li>Updated to Gradle 2.1, using wrapper</li>
<li>EventBusTest and EventBusPerformance use Gradle to build</li>
<li>Added hasSubscriberForEvent to check if currently subscribers exist registered to a given event type</li>
<li>Improved README.md and extracted an extended HOWTO.md and CHANGELOG.md from it</li>
<li>Ignore compiler generated methods (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="31188374" data-permission-text="Title is private" data-url="https://github.com/greenrobot/EventBus/issues/76" data-hovercard-type="issue" data-hovercard-url="/greenrobot/EventBus/issues/76/hovercard" href="https://github.com/greenrobot/EventBus/issues/76">#76</a>)</li>
<li>Various small code improvements (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="44062719" data-permission-text="Title is private" data-url="https://github.com/greenrobot/EventBus/issues/120" data-hovercard-type="issue" data-hovercard-url="/greenrobot/EventBus/issues/120/hovercard" href="https://github.com/greenrobot/EventBus/issues/120">#120</a> among many others)</li>
</ul>
<p><strong>Note:</strong> 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.</p>greenrobot