Skip to content

Commit

Permalink
Prepare for release 0.4.0. (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
Synesso authored Jul 26, 2023
1 parent cdaf8d7 commit f3c2628
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 39 deletions.
55 changes: 27 additions & 28 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,40 +1,39 @@
Change Log
==========
# Change Log

Next Release
----------------------------
## [Unreleased]

**New**
* Add `Option.or(Option)` <Mehdi Mollaverdi>

**Updates**
* Bumped Arrow to v1.2.0 from v1.2.0-RC <Jem Mawson>
## [0.4.0] - 2023-07-26

Version 0.3.0 *(2023-06-16)*
----------------------------
### Added
* `Option.or(Option)` (Mehdi Mollaverdi)

**New**
* Add `kotlin.Result.toEither()` <Jem Mawson>
### Changed
* Bumped Arrow to v1.2.0 from v1.2.0-RC (Jem Mawson)

**Fixes**
* Adds validateNotNull extension function on nullable values <Hugo Müller-Downing>

Version 0.2.0 *(2023-04-06)*
----------------------------
## [0.3.0] - 2023-06-16

**New**
* Add Either.traverse <Simon Vergauwen>
* Either, Nullable & Ior zip <Simon Vergauwen>
* Adds validateNotNull extension function on nullable values <Hugo Müller-Downing>
### Added
* `kotlin.Result.toEither()` (Jem Mawson)
* `validateNotNull` extension function on nullable values (Hugo Müller-Downing)

**Fixes**
* Fix outcome traverse <Simon Vergauwen>
* Fix nested nullable issue <Simon Vergauwen>
* Fix nested null bug (#22) <Simon Vergauwen>

## [0.2.0] - 2023-04-06

Version 0.1.0 *(2023-03-06)*
----------------------------
### Added
* Add Either.traverse (Simon Vergauwen)
* Either, Nullable & Ior zip (Simon Vergauwen)
* Adds validateNotNull extension function on nullable values (Hugo Müller-Downing)

* Add `Option.unit()` and `Either.unit()` to replace the `void()` method deprecated by Arrow.
* Include `withRetries` method on suspended supplier functions to provide opinionated access to Arrow's `Schedule`.
### Fixed
* Fix outcome traverse (Simon Vergauwen)
* Fix nested nullable issue (Simon Vergauwen)
* Fix nested null bug (#22) (Simon Vergauwen)


## [0.1.0] - 2023-03-06

### Added
* `Option.unit()` and `Either.unit()` to replace the `void()` method deprecated by Arrow.
* `withRetries` method on suspended supplier functions to provide opinionated access to Arrow's `Schedule`.
22 changes: 12 additions & 10 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ Releasing
git checkout -b release-$RELEASE_VERSION
```

3. Update `CHANGELOG.md` with changes since the last release. This
step is manual and somewhat tedious. Follow the existing `CHANGELOG.md` format.
3. Update `CHANGELOG.md` with changes since the last release. Follow the existing `CHANGELOG.md` format, which is
derived from [this guide](https://keepachangelog.com/en/1.0.0/)

4. Update documentation and Gradle properties with `RELEASE_VERSION`

Expand All @@ -33,13 +33,15 @@ Releasing
git commit -am "Prepare for release $RELEASE_VERSION."
git tag -a quiver-$RELEASE_VERSION -m "Version $RELEASE_VERSION"
git push && git push --tags
# Then create PR and merge it
gh pr create -f && gh pr merge --auto --squash
```

6. Trigger the "Publish a release" action manually. This will publish to
[Sonatype Nexus](https://oss.sonatype.org/), closing and releasing the artifact automatically to
promote it to Maven Central. Note that it can take 10 to 30 minutes or more for the artifacts to
appear on Maven Central.
6. Wait until the PR created above is merged, then trigger the
[Publish a release](https://github.com/cashapp/quiver/actions/workflows/Release.yml) action against the new tag.
This will publish to [Sonatype Nexus](https://oss.sonatype.org/), closing and releasing the artifact
automatically to promote it to Maven Central. Note that it can take 10 to 30 minutes or more for the
artifacts to appear on Maven Central.


7. Checkout `main` branch and pull the latest changes

Expand All @@ -57,11 +59,11 @@ appear on Maven Central.
gradle.properties
git commit -am "Prepare next development version."
git push
# The create PR and merge it
gh pr create -f && gh pr merge --auto --squash
```

9. Draft a new [release](https://docs.github.com/en/github/administering-a-repository/managing-releases-in-a-repository) of `A.B.C` and publish it.
- (Trialing) Copy release notes added to `CHANGELOG.md` in step 1 into Github release.
9. [Draft a new release](https://github.com/cashapp/nostrino/releases/new) of `A.B.C` and publish it. Copy release
notes added to `CHANGELOG.md` in step 1 into the release description.

## Troubleshooting

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GROUP=app.cash.quiver
VERSION_NAME=0.4.0-SNAPSHOT
VERSION_NAME=0.4.0
POM_URL=https://github.com/cashapp/quiver/
POM_SCM_URL=https://github.com/cashapp/quiver/
POM_SCM_CONNECTION=scm:git:git://github.com/cashapp/quiver.git
Expand Down

0 comments on commit f3c2628

Please sign in to comment.