Skip to content

Commit

Permalink
Prepare for 4.0.0 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
gklijs committed Oct 21, 2023
1 parent ec395b8 commit 3845fa3
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "schema_registry_converter"
version = "3.1.0"
version = "4.0.0"
authors = ["Gerard Klijs <[email protected]>"]
include = ["src/**/*", "Cargo.toml"]
description = "Encode/decode data from/to kafka using the Confluent Schema Registry"
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ To use it to convert using avro async use:

```toml
[dependencies]
schema_registry_converter = { version = "3.1.0", features = ["avro"] }
schema_registry_converter = { version = "4.0.0", features = ["avro"] }
```

For simplicity there are `easy` variants that internally have an arc.
Expand All @@ -44,7 +44,7 @@ structs that start with `Easy` in the name to do the conversions.

```toml
[dependencies]
schema_registry_converter = { version = "3.1.0", features = ["easy", "avro"] }
schema_registry_converter = { version = "4.0.0", features = ["easy", "avro"] }
```

...and see the [docs](https://docs.rs/schema_registry_converter) for how to use it.
Expand All @@ -53,15 +53,15 @@ All the converters also have a blocking (non async) version, in that case use so

```toml
[dependencies]
schema_registry_converter = { version = "3.1.0", default-features = false, features = ["avro", "blocking"] }
schema_registry_converter = { version = "4.0.0", default-features = false, features = ["avro", "blocking"] }
```

If you need to use both in a project you can use something like, but have to be weary you import the correct paths
depending on your use.

```toml
[dependencies]
schema_registry_converter = { version = "3.1.0", features = ["avro", "blocking"] }
schema_registry_converter = { version = "4.0.0", features = ["avro", "blocking"] }
```

## Consumer
Expand Down
11 changes: 10 additions & 1 deletion RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
## Release notes

### 4.0.0

Opened up/added some functionality.
Updated versions.
Simplified the SubjectNameStrategy enum.

### 3.1.0

Fix a problem with missing checks on some proto common types, like timestamp.
Expand Down Expand Up @@ -89,8 +95,11 @@ instead of the `encode` function on the encoder.
#### Contributors

- [@cbzehner](https://github.com/cbzehner)
- [@j-halbert](https://github.com/j-halbert)
- [@johnhalbert](https://github.com/johnhalbert)
- [@kitsuneninetails](https://github.com/kitsuneninetails)
- [@kujeger](https://github.com/kujeger)
- [@Licenser](https://github.com/Licenser)
- [@marioloko](https://github.com/marioloko)
- [@naamancurtis](https://github.com/naamancurtis)
- [@MariellHoversholm-Paf](https://github.com/MariellHoversholm-Paf)
- [@SergeStrashko](https://github.com/SergeStrashko)

0 comments on commit 3845fa3

Please sign in to comment.