---
title: Arez 0.31 released
type: minor
---

[Full Changelog](https://github.com/arez/arez/compare/v0.30...v0.31)

Changes in this release:

##### Added
* **\[annotations\]** Add an `inject` parameter to `@ArezComponent` annotation that will add a
  `@javax.inject.Inject` annotation on the generated classes constructor if set to true.
* **\[annotations\]** Add an `inject` parameter to `@Repository` annotation that will add a
  `@javax.inject.Inject` annotation on the generated Arez repository implementation if set to true.
  The parameter will default to the same value as the `dagger` parameter.

##### Changed
* 💥 **\[core\]** Introduce `ElementInfo` spy interface and change `ComponentInfo` interface to extend it
  rather than `Disposable`. This has the effect of removing the `dispose()` method from the public interface
  of `ComponentInfo`
* 💥 **\[core\]** Introduce `ObserverInfo` interface that is used from within the spy subsystem. This change
  effectively removes the `dispose()` method from the public interface of Observers accessed solely through
  the spy subsystem.
* **\[core\]** Implement `equals()` and `hashCode()` on `ComponentInfoImpl`.
* Upgrade Buildr to version 1.5.4.

Update site to add news about the 0.31 release
Update site to add news about the 0.31 release
