Releases: material-motion/indefinite-observable-android
2.0.0
Breaking changes
- Interfaces are now abstract classes for future flexibility.
- Observable moved to its own file to workaround some IDE issues.
Source changes
- Make Observer abstract class for flexibility. (Mark Wei)
- Add @NonNull annotation to subscribe() (Mark Wei)
- Convert interfaces to abstract classes. (Mark Wei)
- Tests for IndefiniteObservable. (Mark Wei)
- Move Observable to its own file. (Mark Wei)
API changes
Auto-generated by running:
apidiff origin/stable release-candidate android library
Observer
removed interface: Observer<T>
removed method: void next(T)
Subscriber<O
new constructor: Subscriber()
modified interface: Subscriber<O
| From: | public interface Subscriber<O extends Observer> | | To: | public abstract class Subscriber> |
Unsubscriber
new constructor: Unsubscriber()
modified interface: Unsubscriber
| From: | public interface Unsubscriber |
| To: | public abstract class Unsubscriber |
IndefiniteObservable<O
modified class: IndefiniteObservable<O
| From: | public class IndefiniteObservable<O extends Observer> | | To: | public class IndefiniteObservable> |
Observer
new abstract class: Observer<T>
new constructor: Observer()
new abstract method: void next(T)
Non-source changes
- Automatic changelog preparation for release. (Mark Wei)
- Guides (Mark Wei)
1.0.0
New features
- First release for IndefiniteObservable!
- Supports genericized Observers for optional multiple channels.
Source changes
- Genericize IndefiniteObservable. (Mark Wei)
- Implementation of IndefiniteObservable for android. (Mark Wei)
API changes
Auto-generated by running:
apidiff origin/stable release-candidate android library
Observer
new interface: Observer<T>
new method: void next(T)
Subscriber<O
new interface: Subscriber<O
new method: Unsubscriber subscribe(O)
Subscription
new final class: Subscription
new method: void unsubscribe()
Unsubscriber
new interface: Unsubscriber
new method: void unsubscribe()
IndefiniteObservable<O
new class: IndefiniteObservable<O
new constructor: IndefiniteObservable(Subscriber<O>)
new method: Subscription subscribe(O)
Library
removed class: Library
removed constructor: Library()
removed static final field: String LIBRARY_NAME
Non-source changes
- Automatic changelog preparation for release. (Mark Wei)
- callsign (Mark Wei)