Skip to content

Commit

Permalink
Merge pull request #143 from ryanmoelter/release-0.5.2
Browse files Browse the repository at this point in the history
Release 0.5.2
  • Loading branch information
ryanmoelter authored Mar 21, 2024
2 parents e33b531 + d7fe661 commit 3161c59
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 15 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## 0.5.2
- Update dependencies, including to Kotlin `1.9.23`, Compose BOM to `2024.03.00`, Compose Compiler to `1.5.11`.

## 0.5.1
- Fix transitions showing when they shouldn't when `Journey`s are first shown.

Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ add the following to your `libs.versions.toml`:

```toml
[versions]
magellanx = "0.5.1"
magellanx = "0.5.2"
# ...

[libraries]
Expand Down Expand Up @@ -77,15 +77,15 @@ If you don't want to use version catalogs, you can add the dependencies you need
[![Latest release on Jitpack](https://jitpack.io/v/com.ryanmoelter/magellanx.svg)](https://jitpack.io/#com.ryanmoelter/magellanx)

```kotlin
val magellanxVersion = "0.5.1"
val magellanxVersion = "0.5.2"
implementation("com.ryanmoelter.magellanx:magellanx-compose:${magellanxVersion}")
testImplementation("com.ryanmoelter.magellanx:magellanx-test:${magellanxVersion}")
```

Alternatively, if you only want the core library without the Compose implementation, you can use:

```kotlin
implementation("com.github.ryanmoelter.magellanx:magellanx-core:0.5.1")
implementation("com.github.ryanmoelter.magellanx:magellanx-core:0.5.2")
```

> Note: `magellanx-core` is included in and exposed by `magellanx-compose`, and `magellan-test` only
Expand All @@ -103,6 +103,7 @@ Magellan X uses the following dependencies, and since `0.2.0` is using

| Magellan X version | Kotlin version | Compose compiler version | Compose BOM | Tested compatible compose versions |
|--------------------|----------------|--------------------------|--------------|------------------------------------|
| `0.5.2` | `1.9.23` | `1.5.11` | `2024.03.00` | `1.6.4` |
| `0.5.1` | `1.9.22` | `1.5.10` | `2024.02.02` | `1.6.3` |
| `0.5.0` | `1.9.22` | `1.5.10` | `2024.02.01` | `1.6.2` |
| `0.4.0` - `0.4.1` | `1.9.22` | `1.5.8` | `2024.01.00` | `1.6.0` |
Expand Down
13 changes: 4 additions & 9 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,11 @@
6. Update the `gradle.properties` to the next SNAPSHOT version (increment patch by 1, e.g. `1.0.0``1.0.1-SNAPSHOT`).
7. `git commit -am "Prepare next development version"`
8. `git push && git push --tags`
9. Visit [the GitHub releases page](https://github.com/ryanmoelter/magellanx/releases) and create a
new release, copying the changelog from `CHANGELOG.md`.
10. Visit [the Jitpack site](https://jitpack.io/#com.ryanmoelter/magellanx) and check that the new
release shows up
9. Visit [the GitHub releases page](https://github.com/ryanmoelter/magellanx/releases) and create a new release, copying the changelog from `CHANGELOG.md`.
10. Visit [the Jitpack site](https://jitpack.io/#com.ryanmoelter/magellanx) and check that the new release shows up

## Publish to local maven repo

1. Run `./gradlew publishToMavenLocal`.
2. In the other project, add `mavenLocal()` as a repository (likely in `allProjects.repositories` of
the root `build.gradle` file).
3. Update `com.ryanmoelter:magellanx-compose:X.Y.Z`
to `com.ryanmoelter:magellanx-compose:SNAPSHOT_VERSION`, where `SNAPSHOT_VERSION` is
the `VERSION_NAME` defined in this project's `./gradle.properties`.
2. In the other project, add `mavenLocal()` as a repository (likely in `allProjects.repositories` of the root `build.gradle` file).
3. Update `com.ryanmoelter.magellanx:magellanx-compose:X.Y.Z` to `com.ryanmoelter.magellanx:magellanx-compose:SNAPSHOT_VERSION`, where `SNAPSHOT_VERSION` is the `VERSION_NAME` defined in this project's `./gradle.properties`.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GROUP=com.ryanmoelter.magellanx
VERSION_NAME=0.5.2-SNAPSHOT
VERSION_NAME=0.5.2

POM_DESCRIPTION=A simple, flexible, and practical navigation library for android using Jetpack Compose

Expand Down
15 changes: 13 additions & 2 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,15 @@
"groupName": "Kotlin and dependencies",
"automerge": false
},
{
"matchPackageNames": [
"com.android.tools.build:gradle",
"com.android.application"
],
"groupName": "Android Gradle Plugin",
"automerge": false
},

{
"matchUpdateTypes": [
"minor",
Expand All @@ -36,7 +45,8 @@
"org.jetbrains.kotlin.plugin.serialization",
"androidx.compose.compiler:compiler",
"org.jetbrains.kotlin:kotlin-gradle-plugin",
"com.android.tools.build:gradle"
"com.android.tools.build:gradle",
"com.android.application"
],
"automerge": true
},
Expand All @@ -50,7 +60,8 @@
"org.jetbrains.kotlin.plugin.serialization",
"androidx.compose.compiler:compiler",
"org.jetbrains.kotlin:kotlin-gradle-plugin",
"com.android.tools.build:gradle"
"com.android.tools.build:gradle",
"com.android.application"
],
"groupName": "Patch dependency updates",
"automerge": true
Expand Down

0 comments on commit 3161c59

Please sign in to comment.