Skip to content

Commit

Permalink
Prepare new release
Browse files Browse the repository at this point in the history
  • Loading branch information
gklijs committed Oct 13, 2024
1 parent 9055147 commit 64e3b8d
Show file tree
Hide file tree
Showing 3 changed files with 10 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 = "4.1.0"
version = "4.2.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 = "4.1.0", features = ["avro"] }
schema_registry_converter = { version = "4.2.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 = "4.1.0", features = ["easy", "avro"] }
schema_registry_converter = { version = "4.2.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 = "4.1.0", default-features = false, features = ["avro", "blocking"] }
schema_registry_converter = { version = "4.2.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 = "4.1.0", features = ["avro", "blocking"] }
schema_registry_converter = { version = "4.2.0", features = ["avro", "blocking"] }
```

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

### 4.1.0
### 4.2.0

Updated versions.
Add possibility to directly encode avro values.
Make it possible to have slashes in subject names.
By updating to the latest [avro-rs](https://crates.io/crates/avro-rs) being able to [have custom name validators](https://github.com/apache/avro-rs/blob/main/avro/README.md#custom-names-validators) in Avro.

### 4.1.0

Updated versions.

### 4.0.0

Opened up/added some functionality.
Expand Down

0 comments on commit 64e3b8d

Please sign in to comment.