Skip to content

Commit

Permalink
prepare release
Browse files Browse the repository at this point in the history
  • Loading branch information
benhaney committed Mar 16, 2023
1 parent cbcee33 commit 5983899
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 7 deletions.
12 changes: 9 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ 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).

## [Unreleased]

## [0.3.0] - 2023-03-15
### Added
- Support for compression via the `compress` encode option (#15, thanks @mmmries)

### Changed
- Errors returned from `encode/2` are now descriptive strings instead of a generic atom. Instead of `{:error, :encode_error}`, you may now see something like `{:error, "Expected to deserialize a UTF-8 stringable term"}`. This is technically a breaking change.

Expand All @@ -17,7 +22,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [0.2.0] - 2022-08-14
### Added
- Precompiled binaries via [rustler_precompiled](https://github.com/philss/rustler_precompiled)
- Precompiled binaries via [rustler_precompiled](https://github.com/philss/rustler_precompiled) (#10, thanks @lytedev)

## [0.1.6] - 2021-03-11
### Fixed
Expand All @@ -37,7 +42,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [0.1.2] - 2019-12-02
### Changed
- Make `decode` and `decode!` accept a second (unused) options argument for compatibility
- Make `decode` and `decode!` accept a second (unused) options argument for compatibility (#1, thanks @joedevivo)

## [0.1.1] - 2019-11-08
### Changed
Expand All @@ -48,7 +53,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Initial release


[Unreleased]: https://github.com/benhaney/Jsonrs/compare/v0.2.1...HEAD
[Unreleased]: https://github.com/benhaney/Jsonrs/compare/v0.3.0...HEAD
[0.3.0]: https://github.com/benhaney/Jsonrs/compare/v0.2.1...v0.3.0
[0.2.1]: https://github.com/benhaney/Jsonrs/compare/v0.2.0...v0.2.1
[0.2.0]: https://github.com/benhaney/Jsonrs/compare/v0.1.6...v0.2.0
[0.1.6]: https://github.com/benhaney/Jsonrs/compare/v0.1.5...v0.1.6
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule Jsonrs.MixProject do
use Mix.Project

@version "0.2.1"
@version "0.3.0"

def project do
[
Expand Down
2 changes: 1 addition & 1 deletion native/jsonrs/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion native/jsonrs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "jsonrs"
version = "0.2.1"
version = "0.3.0"
authors = []
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion native/jsonrs/src/compression.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ pub fn get_writer(opts: Option<(Algs, Option<u32>)>) -> Box<dyn BufWrapper> {
Some((Algs::Gzip, Some(lv))) => Box::new(BufWriter::with_capacity(10_240, GzEncoder::new(Vec::new(), Compression::new(lv)))),
_ => Box::new(Vec::<u8>::new()),
}
}
}

0 comments on commit 5983899

Please sign in to comment.