Skip to content

Commit

Permalink
Bump to 0.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
garyp committed Sep 24, 2021
1 parent 17d0f46 commit 4c6c2d9
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 10 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).


## [0.11.0] - Unreleased
## [0.11.0] - 2021-09-24

[0.11.0]: https://github.com/streem/pbandk/compare/v0.10.0...HEAD
[0.11.0]: https://github.com/streem/pbandk/compare/v0.10.0...v0.11.0

### Fixed

Expand Down
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
Pbandk is a Kotlin code generator and runtime for [Protocol Buffers](https://developers.google.com/protocol-buffers/).
It is built to work across multiple Kotlin platforms.

**NOTE**: This is the documentation for the version of pbandk currently in development. **Documentation for the latest stable version** is available at https://github.com/streem/pbandk/blob/v0.10.0/README.md.
<!--
**NOTE**: This is the documentation for the version of pbandk currently in development. **Documentation for the latest stable version** is available at https://github.com/streem/pbandk/blob/v0.11.0/README.md.
-->

**Features**

Expand Down Expand Up @@ -282,7 +284,7 @@ section below under "Usage" for more details.
Pbandk's code generator leverages `protoc`. Download the [latest
protoc](https://github.com/google/protobuf/releases/latest) and make sure `protoc` is on the `PATH`.
Then download the [latest released protoc-gen-pbandk self-executing jar
file](https://repo1.maven.org/maven2/pro/streem/pbandk/protoc-gen-pbandk-jvm/0.10.0/protoc-gen-pbandk-jvm-0.10.0-jvm8.jar) (if you're using a SNAPSHOT build of pbandk, you might want to instead download the [latest SNAPSHOT version of protoc-gen-pbandk-jvm-\*-jvm8.jar](https://s01.oss.sonatype.org/content/repositories/snapshots/pro/streem/pbandk/protoc-gen-pbandk-jvm/)),
file](https://repo1.maven.org/maven2/pro/streem/pbandk/protoc-gen-pbandk-jvm/0.11.0/protoc-gen-pbandk-jvm-0.11.0-jvm8.jar) (if you're using a SNAPSHOT build of pbandk, you might want to instead download the [latest SNAPSHOT version of protoc-gen-pbandk-jvm-\*-jvm8.jar](https://s01.oss.sonatype.org/content/repositories/snapshots/pro/streem/pbandk/protoc-gen-pbandk-jvm/)),
rename it to `protoc-gen-pbandk`, make the file executable (`chmod +x protoc-gen-pbandk`), and make sure it is on the `PATH`. To generate code from
`sample.proto` and put the generated code in `src/main/kotlin`, run:

Expand Down Expand Up @@ -339,7 +341,7 @@ repositories {
dependencies {
// Can be used from the `common` sourceset in a Kotlin Multiplatform project,
// or from platform-specific JVM, Android, JS, or Native sourcesets/projects.
implementation("pro.streem.pbandk:pbandk-runtime:0.11.0-SNAPSHOT")
implementation("pro.streem.pbandk:pbandk-runtime:0.11.0")
}
```

Expand Down Expand Up @@ -369,7 +371,7 @@ runtime:

```
dependencies {
compileOnly("pro.streem.pbandk:protoc-gen-pbandk-lib:0.11.0-SNAPSHOT")
compileOnly("pro.streem.pbandk:protoc-gen-pbandk-lib:0.11.0")
}
```

Expand Down Expand Up @@ -588,6 +590,7 @@ To create a new release:
1. Update `CHANGELOG.md`: add a date for the release version, and update the release version's GitHub compare link with a tag instead of `HEAD`.
* Note: if you are releasing a pre-release version (alpha, beta, rc) then you don't need to update `CHANGELOG.md`
1. Update the pbandk version number in `gradle.properties`, `README.md`, and `examples/*/build.gradle.kts` to remove the `SNAPSHOT` suffix. For example, if the current version is `0.9.0-SNAPSHOT`, then update it to be `0.9.0`.
1. Comment out the note about the stable version of the documentation that is at the top of `README.md`.
1. Commit the change. E.g.: `git commit -m "Bump to ${VERSION}" -a`.
1. Tag the new version. E.g.: `git tag -a -m "See https://github.com/streem/pbandk/blob/v${VERSION}/CHANGELOG.md" "v${VERSION}"`.

Expand Down
2 changes: 1 addition & 1 deletion examples/browser-js/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins {
id("com.google.protobuf") version "0.8.12" apply false
}

val pbandkVersion by extra("0.11.0-SNAPSHOT")
val pbandkVersion by extra("0.11.0")

subprojects {
repositories {
Expand Down
2 changes: 1 addition & 1 deletion examples/custom-service-gen/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
id("com.google.protobuf") version "0.8.12" apply false
}

val pbandkVersion by extra("0.11.0-SNAPSHOT")
val pbandkVersion by extra("0.11.0")

subprojects {
repositories {
Expand Down
2 changes: 1 addition & 1 deletion examples/gradle-and-jvm/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ plugins {
}

val protobufVersion by extra("3.11.1")
val pbandkVersion by extra("0.11.0-SNAPSHOT")
val pbandkVersion by extra("0.11.0")

repositories {
if (System.getenv("CI") == "true") {
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=pro.streem.pbandk
version=0.11.0-SNAPSHOT
version=0.11.0

kotlin.code.style=official
kotlin.mpp.stability.nowarn=true
Expand Down

0 comments on commit 4c6c2d9

Please sign in to comment.