From aa4d7a94639ffa6943f0df4a647536e11f572ba4 Mon Sep 17 00:00:00 2001 From: Patrick Olsen Date: Tue, 16 Sep 2025 19:01:20 +0700 Subject: [PATCH] Relax gettext dependency constraint to allow >= 0.26.0 This allows users to choose between gettext 0.26.x and 1.0.x versions, maintaining backward compatibility while enabling forward compatibility. --- CHANGELOG.md | 1 + mix.exs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c1b0057e..4757f898 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). - Changed charlists from the deprecated `''` to `~c""` - Changed negative range to pass the step of default value for suppressing deprecation warnings - Update Gettext to 0.26 +- Relax Gettext dependency to allow >= 0.26.0 (supports both 0.26.x and 1.0.x) ### Fixed diff --git a/mix.exs b/mix.exs index f7b922ff..08e6648a 100644 --- a/mix.exs +++ b/mix.exs @@ -57,7 +57,7 @@ defmodule Timex.Mixfile do [ {:tzdata, "~> 1.1"}, {:combine, "~> 0.10"}, - {:gettext, "~> 0.26"}, + {:gettext, ">= 0.26.0"}, {:ex_doc, "~> 0.13", only: [:docs]}, {:benchfella, "~> 0.3", only: [:bench]}, {:dialyxir, "~> 1.0", only: [:dev], runtime: false},