|
| 1 | +# 1.0.0 |
| 2 | + |
| 3 | +## New features |
| 4 | + |
| 5 | +* Initial release! |
| 6 | +* MotionObservable and MotionObserver introduces a custom state channel. |
| 7 | +* InlineReadable and InlineWritable properties. |
| 8 | +* Stream operators: operator(), map(), filter(), and write(). |
| 9 | + |
| 10 | +## Source changes |
| 11 | + |
| 12 | +* [Remove links](https://github.com/material-motion/streams-android/commit/1a88b462bd985da8c66ecef35bfbb4cd4ea7a1dd) (Mark Wei) |
| 13 | +* [Observer is now abstract class.](https://github.com/material-motion/streams-android/commit/556359437b7ddc01e9b3fe02e57393ba034cdd75) (Mark Wei) |
| 14 | +* [Tests for MotionObservable.](https://github.com/material-motion/streams-android/commit/d5a9b3538e79ca06198172e1628e0efbcda41a90) (Mark Wei) |
| 15 | +* [Implement inline properties for android.](https://github.com/material-motion/streams-android/commit/079c346c915111b10a5d683f169b3fa4ecf467a9) (Mark Wei) |
| 16 | +* [Convert interfaces to abstract classes.](https://github.com/material-motion/streams-android/commit/1475da3bb3b1a6559e0255a535608e03a81a26b3) (Mark Wei) |
| 17 | +* [Implementation of write() in android.](https://github.com/material-motion/streams-android/commit/02902b7cf11036deeb546cc4cf4137a89e9efbd4) (Mark Wei) |
| 18 | +* [Implement map() for android.](https://github.com/material-motion/streams-android/commit/7faedcc5ceecc78a015b9cb33d042a5c79f0558a) (Mark Wei) |
| 19 | +* [Implement filter() for android.](https://github.com/material-motion/streams-android/commit/e614b749c13452af2ca5894d4d82365f747c4c9c) (Mark Wei) |
| 20 | +* [Implement operator() for android.](https://github.com/material-motion/streams-android/commit/15d5c2430557e0a20f2d3acac7cfbca9df4cb65a) (Mark Wei) |
| 21 | +* [Implement MotionObservable in android.](https://github.com/material-motion/streams-android/commit/c4c5e45c6ab8f5b0971e3780ef040777b235338c) (Mark Wei) |
| 22 | + |
| 23 | +## API changes |
| 24 | + |
| 25 | +Auto-generated by running: |
| 26 | + |
| 27 | + apidiff origin/stable release-candidate android library |
| 28 | + |
| 29 | +## Library |
| 30 | + |
| 31 | +*removed* class: `Library` |
| 32 | + |
| 33 | +*removed* constructor: `Library()` |
| 34 | + |
| 35 | +*removed* static final field: `String LIBRARY_NAME` |
| 36 | + |
| 37 | + |
| 38 | +## InlineReadable<T> |
| 39 | + |
| 40 | +*new* abstract class: `InlineReadable<T>` |
| 41 | + |
| 42 | +*new* constructor: `InlineReadable()` |
| 43 | + |
| 44 | +*new* abstract method: `T read()` |
| 45 | + |
| 46 | + |
| 47 | +## InlineWritable<T> |
| 48 | + |
| 49 | +*new* abstract class: `InlineWritable<T>` |
| 50 | + |
| 51 | +*new* constructor: `InlineWritable()` |
| 52 | + |
| 53 | +*new* abstract method: `void write(T)` |
| 54 | + |
| 55 | + |
| 56 | +## MotionObserver<T> |
| 57 | + |
| 58 | +*new* abstract class: `MotionObserver<T>` |
| 59 | + |
| 60 | +*new* constructor: `MotionObserver()` |
| 61 | + |
| 62 | +*new* abstract method: `void next(T)` |
| 63 | + |
| 64 | +*new* abstract method: `void state(int)` |
| 65 | + |
| 66 | + |
| 67 | +## MotionState |
| 68 | + |
| 69 | +*new* annotation: `@MotionState` |
| 70 | + |
| 71 | + |
| 72 | +## Operation<T, |
| 73 | + |
| 74 | +*new* abstract class: `Operation<T,` |
| 75 | + |
| 76 | +*new* constructor: `Operation()` |
| 77 | + |
| 78 | +*new* abstract method: `void next(MotionObserver<U>, T)` |
| 79 | + |
| 80 | + |
| 81 | +## Predicate<T> |
| 82 | + |
| 83 | +*new* abstract class: `Predicate<T>` |
| 84 | + |
| 85 | +*new* constructor: `Predicate()` |
| 86 | + |
| 87 | +*new* abstract method: `boolean evaluate(T)` |
| 88 | + |
| 89 | + |
| 90 | +## Transformation<T, |
| 91 | + |
| 92 | +*new* abstract class: `Transformation<T,` |
| 93 | + |
| 94 | +*new* constructor: `Transformation()` |
| 95 | + |
| 96 | +*new* abstract method: `U transform(T)` |
| 97 | + |
| 98 | + |
| 99 | +## MotionObservable<T> |
| 100 | + |
| 101 | +*new* class: `MotionObservable<T>` |
| 102 | + |
| 103 | +*new* constructor: `MotionObservable(Subscriber<MotionObserver<T>>)` |
| 104 | + |
| 105 | +*new* static final field: `int ACTIVE` |
| 106 | + |
| 107 | +*new* static final field: `int AT_REST` |
| 108 | + |
| 109 | +*new* method: `<O> MotionObservable<T> write(O, Property<O, T>)` |
| 110 | + |
| 111 | +*new* method: `<O> MotionObservable<T> write(InlineWritable<T>)` |
| 112 | + |
| 113 | +*new* method: `<U> MotionObservable<U> map(Transformation<T, U>)` |
| 114 | + |
| 115 | +*new* method: `<U> MotionObservable<U> operator(Operation<T, U>)` |
| 116 | + |
| 117 | +*new* method: `MotionObservable<T> filter(Predicate<T>)` |
| 118 | + |
| 119 | + |
| 120 | + |
| 121 | +## Non-source changes |
| 122 | + |
| 123 | +* [Automatic changelog preparation for release.](https://github.com/material-motion/streams-android/commit/0996e1e96e0f884984f46a3d9b71e99c443064c0) (Mark Wei) |
| 124 | +* [Depend on latest observer 2.0.0.](https://github.com/material-motion/streams-android/commit/73307cb586aeb80a36ad2cb353399e77009af849) (Mark Wei) |
| 125 | +* [Separate stream+operators from subscription.](https://github.com/material-motion/streams-android/commit/50afe0cbb30683f7bc44b499289bb2808b9d3cdd) (Mark Wei) |
| 126 | +* [Depend on develop-SNAPSHOT.](https://github.com/material-motion/streams-android/commit/0b5a37a163c73523598f74f4eddf9206e62a6bbf) (Mark Wei) |
| 127 | +* [callsign](https://github.com/material-motion/streams-android/commit/7cde681851eb1ca07708a52040d3c99e176289ae) (Mark Wei) |
| 128 | + |
0 commit comments