From 56f7e4e0291494d13d9da78503c26631dd5da2e3 Mon Sep 17 00:00:00 2001
From: Mathieu Decaffmeyer <5883963+mathieuprog@users.noreply.github.com>
Date: Wed, 9 Nov 2022 09:43:25 +0700
Subject: [PATCH] Bump version to 0.23.0 and tzdata to 2022f
---
CHANGELOG.md | 11 +++++++++++
README.md | 10 +++++-----
mix.exs | 2 +-
3 files changed, 17 insertions(+), 6 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 377857d..1e6f4cf 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,4 +1,15 @@
# Changelog
+
+## 0.23.x
+
+* Fix warnings
+* Change option names:
+ * `:reject_time_zone_periods_before_year` to
+ `:reject_periods_before_year`
+ * `:build_time_zone_periods_with_ongoing_dst_changes_until_year` to
+ `:build_dst_periods_until_year`
+
+* Add a mix task to download the IANA time zone data for a given version
## 0.22.x
* Add a mix task to download the IANA time zone data for a given version
diff --git a/README.md b/README.md
index 0b155da..48299ad 100644
--- a/README.md
+++ b/README.md
@@ -8,7 +8,7 @@ module can, by default, only operate on datetimes in the UTC time zone. Alternat
third-party libraries, such as `tz`, to bring in time zone support and deal with datetimes in other time zones than UTC.
The `tz` library relies on the [time zone database](https://data.iana.org/time-zones/tzdb/) maintained by
-[IANA](https://www.iana.org). As of version 0.22.0, `tz` uses version **tzdata2022c** of the IANA time zone database.
+[IANA](https://www.iana.org). As of version 0.23.0, `tz` uses version **tzdata2022f** of the IANA time zone database.
## Features
@@ -116,9 +116,9 @@ Lastly, add the http client `mint` and ssl certificate store `castore` into your
```elixir
defp deps do
[
- {:castore, "~> 0.1.17"},
+ {:castore, "~> 0.1"},
{:mint, "~> 1.4"},
- {:tz, "~> 0.22.0"}
+ {:tz, "~> 0.23.0"}
]
end
```
@@ -214,7 +214,7 @@ config :tz, :data_dir, Path.join(Path.dirname(__DIR__), "priv")
## Get the IANA time zone database version
```elixir
-Tz.iana_version() == "2022c"
+Tz.iana_version() == "2022f"
```
## Time zone utility functions
@@ -243,7 +243,7 @@ Add `tz` for Elixir as a dependency in your `mix.exs` file:
```elixir
def deps do
[
- {:tz, "~> 0.22.0"}
+ {:tz, "~> 0.23.0"}
]
end
```
diff --git a/mix.exs b/mix.exs
index 55adcfd..251b6a5 100644
--- a/mix.exs
+++ b/mix.exs
@@ -1,7 +1,7 @@
defmodule Tz.MixProject do
use Mix.Project
- @version "0.22.0"
+ @version "0.23.0"
def project do
[