From 56bcf76173e26eda9ef3a6a6878f80818d5af3d1 Mon Sep 17 00:00:00 2001 From: Gary Peck Date: Sat, 4 Jun 2022 01:14:11 -0700 Subject: [PATCH] Bump to 0.14.1 --- CHANGELOG.md | 6 ++---- README.md | 10 ++++++---- examples/browser-js/build.gradle.kts | 2 +- examples/custom-service-gen/build.gradle.kts | 2 +- examples/gradle-and-jvm/build.gradle.kts | 2 +- gradle.properties | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c9494015..1b0dfb97 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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]) diff --git a/README.md b/README.md index ea23a53f..6d6d960a 100644 --- a/README.md +++ b/README.md @@ -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. + **Features** @@ -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: @@ -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") } ``` @@ -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") } ``` diff --git a/examples/browser-js/build.gradle.kts b/examples/browser-js/build.gradle.kts index a573925a..25cee433 100644 --- a/examples/browser-js/build.gradle.kts +++ b/examples/browser-js/build.gradle.kts @@ -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 { diff --git a/examples/custom-service-gen/build.gradle.kts b/examples/custom-service-gen/build.gradle.kts index a2fd2fe6..10a48f75 100644 --- a/examples/custom-service-gen/build.gradle.kts +++ b/examples/custom-service-gen/build.gradle.kts @@ -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 { diff --git a/examples/gradle-and-jvm/build.gradle.kts b/examples/gradle-and-jvm/build.gradle.kts index eedca395..fe1a4fc4 100644 --- a/examples/gradle-and-jvm/build.gradle.kts +++ b/examples/gradle-and-jvm/build.gradle.kts @@ -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") { diff --git a/gradle.properties b/gradle.properties index 0d5becd9..8a007042 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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