Skip to content

Commit

Permalink
Prepare for release 0.13.0-beta01.
Browse files Browse the repository at this point in the history
  • Loading branch information
ZacSweers committed Aug 17, 2023
1 parent 55b9b01 commit 16f6df4
Show file tree
Hide file tree
Showing 11 changed files with 11,652 additions and 2,336 deletions.
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,28 @@
Changelog
=========

0.13.0-beta01
-------------

_2023-08-17_

- **New**: Circuit now supports JS targets!
- **New**: Introduce CircuitX artifacts. CircuitX is a suite of extension artifacts for Circuit. These artifacts are intended to be
batteries-included implementations of common use cases, such as out-of-the-box `Overlay` types or
Android navigation interop. See the [docs](https://slackhq.github.io/circuit/circuitx/) for more details.
- **Fix**: Fix new presenter instances of the same type not being recomposed. See [#799](https://github.com/slackhq/circuit/pull/799) for more details.
- **Fix**: Export iOS targets for `circuit-test` artifact.
- Update to Compile SDK 34.
- Update to Compose Multiplatform `1.5.0-beta02`.
- Update androidx.compose.ui to `1.5.0`.
- Update androidx.compose.material to `1.5.0`.
- Update androidx.compose.runtime to `1.5.0`.
- Update androidx.compose.foundation to `1.5.0`.
- Update Molecule to `1.2.0`.
- Update KSP to `1.9.0-1.0.13`.

Note this release is a beta release due to the dependency on CM `1.5.0-beta02`.

0.12.1
------

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/circuitx.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
CircuitX
========

CircuitX is is a suite of extension artifacts for Circuit. These artifacts are intended to be
CircuitX is a suite of extension artifacts for Circuit. These artifacts are intended to be
batteries-included implementations of common use cases, such as out-of-the-box `Overlay` types or
Android navigation interop.

Expand Down
37 changes: 21 additions & 16 deletions docs/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,16 @@ See the docs for `CircuitContent` and `NavigableCircuitContent` for more informa

Circuit is split into a few different artifacts to allow for more granular control over your dependencies. The following table shows the available artifacts and their purpose:

| Artifact ID | Dependencies |
|-----------------------------|--------------------------------------------------------------------------------------------------------|
| `circuit-runtime` | Common runtime components like `Screen`, `Navigator`, etc. |
| `circuit-runtime-presenter` | The `Presenter` API, depends on `circuit-runtime`. |
| `circuit-runtime-ui` | The `Ui` API, depends on `circuit-runtime`. |
| `circuit-foundation` | The circuit foundational APIs like `Circuit`, `CircuitContent`, etc. Depends on the first three. |
| Artifact ID | Dependencies |
|-----------------------------|--------------------------------------------------------------------------------------------------|
| `circuit-backstack` | Circuit's backstack implementation. |
| `circuit-runtime` | Common runtime components like `Screen`, `Navigator`, etc. |
| `circuit-runtime-presenter` | The `Presenter` API, depends on `circuit-runtime`. |
| `circuit-runtime-ui` | The `Ui` API, depends on `circuit-runtime`. |
| `circuit-foundation` | The Circuit foundational APIs like `Circuit`, `CircuitContent`, etc. Depends on the first three. |
| `circuit-test` | First-party test APIs for testing navigation, state emissions, and event sinks. |
| `circuit-overlay` | Optional `Overlay` APIs. |
| `circuit-retained` | Optional `rememberRetained()` APIs. |

## Platform Support

Expand All @@ -55,13 +59,14 @@ Circuit is a multiplatform library, but not all features are available on all pl
- ❌ Not available
- – Not applicable

| Feature | Android | JVM | Notes |
|---------------------------| ------- |--| |
| `Backstack` ||| |
| `CircuitContent` ||| |
| `ContentWithOverlays` ||| |
| `NavigableCircuitContent` ||| |
| `Navigator` ||| |
| `SaveableBackstack` ||| Saveable is a no-op on desktop. |
| `rememberCircuitNavigator` ||| |
| `rememberRetained` ||| |
| Feature | Android | JVM | iOS | JS | Notes |
|----------------------------|---------|-----|-----|----|---------------------------------------------|
| `Backstack` ||||| |
| `CircuitContent` ||||| |
| `ContentWithOverlays` ||||| |
| `NavigableCircuitContent` ||||| |
| `Navigator` ||||| |
| `SaveableBackstack` ||||| Saveable is a no-op on non-android. |
| `rememberCircuitNavigator` ||||| |
| `rememberRetained` ||||| |
| `TestEventSink` ||||| On JS you must use `asEventSinkFunction()`. |
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ POM_DEVELOPER_ID=slackhq
POM_DEVELOPER_NAME=Slack Technologies, Inc.
POM_DEVELOPER_URL=https://github.com/slackhq
POM_INCEPTION_YEAR=2022
VERSION_NAME=0.13.0-SNAPSHOT
VERSION_NAME=0.13.0-beta01

circuit.mavenUrls.snapshots.sonatype=https://oss.sonatype.org/content/repositories/snapshots
circuit.mavenUrls.snapshots.sonatypes01=https://s01.oss.sonatype.org/content/repositories/snapshots
Expand Down
Loading

0 comments on commit 16f6df4

Please sign in to comment.