From 4d52f21c3e057da40147f9e64bd9f9a228b68b5f Mon Sep 17 00:00:00 2001 From: Simone Cottini Date: Wed, 25 Sep 2024 15:16:08 +0200 Subject: [PATCH] Prepare 0.7.0 release (#7) * Prepare 0.7.0 release * Remove 'publishing version' section --- CHANGELOG.md | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ README.md | 22 ---------------------- mix.exs | 2 +- 3 files changed, 53 insertions(+), 23 deletions(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..c5a954b --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,52 @@ +# Changelog + +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). + +## [Unreleased] + +--- + +## [0.7.0] - 2024-09-18 + +### Changed + +- **Breaking change**: encoder will fail with a match error if the input is not + serializable in Avro format. + +--- + +## [0.6.6] - 2024-08-11 + +### Added + +- `find_avsc_files!` function to find all `.avsc` files in a directory. +- `combined_schema` function to return a list of schemas sorted in topological + order. + +### Fixed + +- Reintroduced guard in uuid logical type. + +--- + +## [0.6.5] - 2024-07-05 + +### Added + +- Support for additional logical types: + - `Date` (`int`). + - `TimeMillis` (`int`). + - `TimeMicros` (`long`). + - `TimestampMicros` (`long`). + - `LocalTimestampMillis` (`long`). + - `LocalTimestampMicros` (`long`). + +[Unreleased]: https://github.com/primait/avrogen/compare/0.7.0...HEAD +[0.7.0]: https://github.com/primait/avrogen/compare/0.6.6...0.7.0 +[0.6.6]: https://github.com/primait/avrogen/compare/0.6.5...0.6.6 +[0.6.5]: https://github.com/primait/avrogen/compare/0.6.4...0.6.5 + diff --git a/README.md b/README.md index 4663815..a3e148a 100644 --- a/README.md +++ b/README.md @@ -612,25 +612,3 @@ map = module.to_avro_map(message) > `decode/1` rather than `decode/2` (omitting the `schema_name` option), but it > doesn't disclose the inferred schema name to the caller, which is not > particularly useful. - -## Publishing - -Update `mix.exs` with your version `x.y.z`, e.g. `0.4.1`. - -Tag master with the format `v[x.y.z]` after merging your changes to `mix.exs`: - -```bash -git checkout master -git pull -git tag -a v[x.y.z] -``` - -You should add the changes the new version introduces in the editor that opens -up, then push the new tag: - -```bash -git push --tags -``` - -This will get picked up by the `Elixir CD` GitHub Action, which will build the -package and publish it to Hex. diff --git a/mix.exs b/mix.exs index 1cf9da7..d42a825 100644 --- a/mix.exs +++ b/mix.exs @@ -1,7 +1,7 @@ defmodule Avrogen.MixProject do use Mix.Project - @version "0.6.6" + @version "0.7.0" @source_url "https://github.com/primait/avrogen" def project do