Skip to content

Commit

Permalink
Bump to 0.14.1
Browse files Browse the repository at this point in the history
  • Loading branch information
garyp committed Jun 4, 2022
1 parent 68a0a65 commit 56bcf76
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
6 changes: 2 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,14 @@ 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.14.1] - Unreleased
## [0.14.1] - 2022-06-04

[0.14.1]: https://github.com/streem/pbandk/compare/v0.14.0...HEAD
[0.14.1]: https://github.com/streem/pbandk/compare/v0.14.0...v0.14.1

### Added

* `Message.encodeDelimitedToStream()` and `Message.Companion.decodeDelimitedFromStream()`: these methods allow writing/reading multiple length-delimited messages to/from a single Java `OutputStream`/`InputStream`. They are compatible with the encoding used by `protobuf-java`'s `writeDelimitedTo()` and `parseDelimitedFrom()`/`mergeDelimitedFrom()` methods. (PR [#213]) (thanks @JohnLCaron)

### Changed

### Fixed

* Fixed compile error about an inaccessible `InvalidProtocolBufferException` constructor for generated code that contained proto2 `required` fields. (PR [#222], fixes [#221])
Expand Down
10 changes: 6 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.14.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.14.1/README.md.
-->

**Features**

Expand Down Expand Up @@ -285,7 +287,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.14.0/protoc-gen-pbandk-jvm-0.14.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.14.1/protoc-gen-pbandk-jvm-0.14.1-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 @@ -352,7 +354,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.14.1-SNAPSHOT")
implementation("pro.streem.pbandk:pbandk-runtime:0.14.1")
}
```

Expand Down Expand Up @@ -382,7 +384,7 @@ runtime:

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

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.18" apply false
}

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

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 @@ -3,7 +3,7 @@ plugins {
id("com.google.protobuf") version "0.8.18" apply false
}

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

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.14.1-SNAPSHOT")
val pbandkVersion by extra("0.14.1")

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.14.1-SNAPSHOT
version=0.14.1

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

0 comments on commit 56bcf76

Please sign in to comment.