From 2d12a06a69caca00824de892b093efa7255ee7e6 Mon Sep 17 00:00:00 2001 From: Erik Miller Date: Mon, 17 Nov 2025 13:07:18 -0500 Subject: [PATCH 1/3] [LOTC-2294] Fix warning for Range deprecation in elixir 1.18 --- lib/pdf417/error_correction.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pdf417/error_correction.ex b/lib/pdf417/error_correction.ex index c6de09f..328802c 100644 --- a/lib/pdf417/error_correction.ex +++ b/lib/pdf417/error_correction.ex @@ -13,7 +13,7 @@ defmodule PDF417.ErrorCorrection do t1 = rem(codeword + List.last(int_error_cw), 929) int_error_cw = - (length(int_error_cw) - 1)..1 + Range.new(length(int_error_cw) - 1, 1, -1) |> Enum.reduce(int_error_cw, fn j, acc -> t2 = rem(t1 * Enum.at(coefficients, j), 929) t3 = 929 - t2 From 61e2be2974bb74b6ececd16f971ed0144ce8904f Mon Sep 17 00:00:00 2001 From: Erik Miller Date: Mon, 17 Nov 2025 13:14:16 -0500 Subject: [PATCH 2/3] [LOTC-2294] bump ci cache action to v4 --- .github/workflows/pdf417.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pdf417.yml b/.github/workflows/pdf417.yml index c62c03f..5c7873d 100644 --- a/.github/workflows/pdf417.yml +++ b/.github/workflows/pdf417.yml @@ -40,7 +40,7 @@ jobs: - name: Retrieve Cached Dependencies id: mix-cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: | ./deps From 416cb76f225f54f0ed7bb13881fb8b985d1ee229 Mon Sep 17 00:00:00 2001 From: Erik Miller Date: Mon, 17 Nov 2025 15:09:51 -0500 Subject: [PATCH 3/3] [LOTC-2294] bump app version --- mix.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mix.exs b/mix.exs index 3a95ad9..38ccedf 100644 --- a/mix.exs +++ b/mix.exs @@ -1,7 +1,7 @@ defmodule PDF417.MixProject do use Mix.Project - @version "0.1.0" + @version "0.1.1" @source_url "https://github.com/jackpocket/pdf417-elixir" def project do