diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index f251e78..3c2e7dc 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,7 +1,7 @@ # syntax=docker/dockerfile:1 # Update the VARIANT arg in docker-compose.yml to pick an Elixir version: 1.9, 1.10, 1.10.4 -ARG VARIANT="1.18.4" +ARG VARIANT="1.19.0" FROM elixir:${VARIANT} # This Dockerfile adds a non-root user with sudo access. Update the “remoteUser” property in diff --git a/.devcontainer/compose.yml b/.devcontainer/compose.yml index 0b260a3..082f1c5 100644 --- a/.devcontainer/compose.yml +++ b/.devcontainer/compose.yml @@ -5,9 +5,9 @@ services: dockerfile: Dockerfile args: # Elixir Version: 1.9, 1.10, 1.10.4, ... - VARIANT: '1.18.4' + VARIANT: "1.19.0" # Phoenix Version: 1.4.17, 1.5.4, ... - PHOENIX_VERSION: '1.7.21' + PHOENIX_VERSION: "1.7.21" # Node Version: 12, 14, ... # NODE_VERSION: "16" diff --git a/.tool-versions b/.tool-versions index 30d9cfb..0c842a1 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,2 +1,2 @@ -elixir 1.18.4-otp-28 -erlang 28.0.2 +elixir 1.19.0-otp-28 +erlang 28.1 diff --git a/Dockerfile b/Dockerfile index 31f8c5a..706dc4f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,9 +13,9 @@ # - https://pkgs.org/ - resource for finding needed packages # - Ex: hexpm/elixir:1.15.4-erlang-26.0.2-debian-bullseye-20230612-slim # -ARG ELIXIR_VERSION=1.18.4 -ARG OTP_VERSION=28.0.2 -ARG DEBIAN_VERSION=bullseye-20250811-slim +ARG ELIXIR_VERSION=1.19.0 +ARG OTP_VERSION=28.1 +ARG DEBIAN_VERSION=bullseye-20250929-slim ARG BUILDER_IMAGE="hexpm/elixir:${ELIXIR_VERSION}-erlang-${OTP_VERSION}-debian-${DEBIAN_VERSION}" ARG RUNNER_IMAGE="debian:${DEBIAN_VERSION}" diff --git a/README.md b/README.md index 0991364..90dac62 100644 --- a/README.md +++ b/README.md @@ -6,9 +6,9 @@ The purpose of this example is to provide details as to how one would go about u ## Software requirements -- Elixir 1.18.4 or newer +- Elixir 1.19.0 or newer -- Erlang 28.0.2 or newer +- Erlang 28.1 or newer - Phoenix 1.7.21 or newer diff --git a/mix.exs b/mix.exs index df13b6a..facec3a 100644 --- a/mix.exs +++ b/mix.exs @@ -5,7 +5,7 @@ defmodule ZeroPhoenix.Mixfile do [ app: :zero_phoenix, version: "3.6.0", - elixir: "~> 1.18.4", + elixir: "~> 1.19.0", elixirc_paths: elixirc_paths(Mix.env()), start_permanent: Mix.env() == :prod, aliases: aliases(), @@ -51,7 +51,7 @@ defmodule ZeroPhoenix.Mixfile do {:absinthe, "~> 1.7.10"}, {:absinthe_plug, "~> 1.5.9"}, {:cors_plug, "~> 3.0.3"}, - {:credo, "~> 1.7.11", only: [:dev, :test], runtime: false}, + {:credo, "~> 1.7.13", only: [:dev, :test], runtime: false}, {:ecto_psql_extras, "~> 0.7.15"} ] end diff --git a/mix.lock b/mix.lock index e65a7c7..d19c256 100644 --- a/mix.lock +++ b/mix.lock @@ -10,7 +10,7 @@ "cowboy": {:hex, :cowboy, "2.10.0", "ff9ffeff91dae4ae270dd975642997afe2a1179d94b1887863e43f681a203e26", [:make, :rebar3], [{:cowlib, "2.12.1", [hex: :cowlib, repo: "hexpm", optional: false]}, {:ranch, "1.8.0", [hex: :ranch, repo: "hexpm", optional: false]}], "hexpm", "3afdccb7183cc6f143cb14d3cf51fa00e53db9ec80cdcd525482f5e99bc41d6b"}, "cowboy_telemetry": {:hex, :cowboy_telemetry, "0.4.0", "f239f68b588efa7707abce16a84d0d2acf3a0f50571f8bb7f56a15865aae820c", [:rebar3], [{:cowboy, "~> 2.7", [hex: :cowboy, repo: "hexpm", optional: false]}, {:telemetry, "~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "7d98bac1ee4565d31b62d59f8823dfd8356a169e7fcbb83831b8a5397404c9de"}, "cowlib": {:hex, :cowlib, "2.12.1", "a9fa9a625f1d2025fe6b462cb865881329b5caff8f1854d1cbc9f9533f00e1e1", [:make, :rebar3], [], "hexpm", "163b73f6367a7341b33c794c4e88e7dbfe6498ac42dcd69ef44c5bc5507c8db0"}, - "credo": {:hex, :credo, "1.7.12", "9e3c20463de4b5f3f23721527fcaf16722ec815e70ff6c60b86412c695d426c1", [:mix], [{:bunt, "~> 0.2.1 or ~> 1.0", [hex: :bunt, repo: "hexpm", optional: false]}, {:file_system, "~> 0.2 or ~> 1.0", [hex: :file_system, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "8493d45c656c5427d9c729235b99d498bd133421f3e0a683e5c1b561471291e5"}, + "credo": {:hex, :credo, "1.7.13", "126a0697df6b7b71cd18c81bc92335297839a806b6f62b61d417500d1070ff4e", [:mix], [{:bunt, "~> 0.2.1 or ~> 1.0", [hex: :bunt, repo: "hexpm", optional: false]}, {:file_system, "~> 0.2 or ~> 1.0", [hex: :file_system, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "47641e6d2bbff1e241e87695b29f617f1a8f912adea34296fb10ecc3d7e9e84f"}, "dataloader": {:hex, :dataloader, "1.0.10", "a42f07641b1a0572e0b21a2a5ae1be11da486a6790f3d0d14512d96ff3e3bbe9", [:mix], [{:ecto, ">= 3.4.3 and < 4.0.0", [hex: :ecto, repo: "hexpm", optional: true]}, {:telemetry, "~> 1.0 or ~> 0.4", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "54cd70cec09addf4b2ace14cc186a283a149fd4d3ec5475b155951bf33cd963f"}, "db_connection": {:hex, :db_connection, "2.8.1", "9abdc1e68c34c6163f6fb96a96532272d13ad7ca45262156ae8b7ec6d9dc4bec", [:mix], [{:telemetry, "~> 0.4 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "a61a3d489b239d76f326e03b98794fb8e45168396c925ef25feb405ed09da8fd"}, "decimal": {:hex, :decimal, "2.3.0", "3ad6255aa77b4a3c4f818171b12d237500e63525c2fd056699967a3e7ea20f62", [:mix], [], "hexpm", "a4d66355cb29cb47c3cf30e71329e58361cfcb37c34235ef3bf1d7bf3773aeac"},