New features
- Support for all Kotlin Multiplatform platforms.
- ViewModel Multiplatform and Compose Multiplatform support, with a new Compose Multiplatform sample app.
expectStateOn
to better support sealed class state testing
API changes
orbit-core
- [Breaking]
blockingIntent
is now an extension function.
orbit-compose
- [Breaking] Removed deprecated collectState from
ContainerHostExtensionsKt
orbit-test
- Initial state is now automatically asserted in tests, deprecating
expectInitialState()
.TestSettings.autoCheckInitialState
can be used to override this behaviour. expectStateOn
added.
orbit-viewmodel
- Added kotlinx serializable for savedstatehandle support
What's Changed
- Update to latest dependencies by @mattmook in #237
- Add extended platform support by @mattmook in #238
- ViewModel multiplatform and Compose multiplatform support by @mattmook in #239
- Update README.md by @mattmook in #249
- Replace AtomicFu with Kotlin standard library implementation by @mattmook in #251
- Auto check initial state in tests by @mattmook in #250
- Fix broken Container Settings links by @mattmook in #252
- Add expectStateOn test function by @mattmook in #258
- Ensure transitive dependencies we expose directly are exported by @mattmook in #259
- Update documentation for multiplatform by @mattmook in #260
- Create plugin to retrieve latest release from github by @mattmook in #262
- Bump image-size from 1.2.0 to 1.2.1 in /website by @dependabot in #264
- Bump @babel/runtime from 7.19.0 to 7.27.0 in /website by @dependabot in #265
- Bump serialize-javascript from 6.0.0 to 6.0.2 in /website by @dependabot in #266
- Bump cross-spawn from 7.0.3 to 7.0.6 in /website by @dependabot in #267
- Bump micromatch from 4.0.5 to 4.0.8 in /website by @dependabot in #270
- Bump express from 4.18.1 to 4.21.2 in /website by @dependabot in #268
- Bump http-proxy-middleware from 2.0.6 to 2.0.7 in /website by @dependabot in #269
- Bump braces from 3.0.2 to 3.0.3 in /website by @dependabot in #271
- Bump follow-redirects from 1.15.1 to 1.15.9 in /website by @dependabot in #272
- Bump estree-util-value-to-estree from 3.3.2 to 3.3.3 in /website by @dependabot in #275
- Bump http-proxy-middleware from 2.0.7 to 2.0.9 in /website by @dependabot in #276
- Update to latest dependencies inc Kotlin 2.1.21 by @mattmook in #279
- Fix tag build deployment by @mattmook in #278
- Ensure runTest correctly wraps tests by @mattmook in #274
- Compose multiplatform sample by @mattmook in #253
- Remove runBlocking from RealContainer by @mattmook in #263
- Example of Compose TextField state hoisting by @mattmook in #283
- Enable js support by @mattmook in #282
- Add compose multiplatform web target to sample app by @mattmook in #287
- Update README for v10.0.0 release. by @mattmook in #261
- Enable jacoco coverage for multiplatform by @mattmook in #288
- Documentation and dependency updates by @mattmook in #289
Full Changelog: 9.0.0...10.0.0