From 8da8a0d6a1a11899dbd92d16ba1901a1808c7331 Mon Sep 17 00:00:00 2001 From: Erick Onyango Date: Fri, 26 Jul 2024 09:49:13 +0300 Subject: [PATCH 1/2] upgrade dependencies --- config/config.exs | 8 ++++---- config/dev.exs | 2 +- config/test.exs | 2 +- mix.exs | 16 ++++++++-------- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/config/config.exs b/config/config.exs index c39c04f..9ab702e 100644 --- a/config/config.exs +++ b/config/config.exs @@ -1,6 +1,6 @@ # This file is responsible for configuring your application -# and its dependencies with the aid of the Mix.Config module. -use Mix.Config +# and its dependencies with the aid of the Config module. +import Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this @@ -21,5 +21,5 @@ use Mix.Config # Configuration from the imported file will override the ones defined # here (which is why it is important to import them last). # -# import_config "#{Mix.env}.exs" -if Mix.env() == :test || Mix.env() == :dev, do: import_config("#{Mix.env()}.exs") +# import_config "#{Mix.env()}.exs" +if Mix.env() in [:test, :dev], do: import_config("#{Mix.env()}.exs") diff --git a/config/dev.exs b/config/dev.exs index e5f95aa..422fe80 100644 --- a/config/dev.exs +++ b/config/dev.exs @@ -1,4 +1,4 @@ -use Mix.Config +import Config config :mix_test_watch, tasks: [ diff --git a/config/test.exs b/config/test.exs index 9cb3ef2..88be3ed 100644 --- a/config/test.exs +++ b/config/test.exs @@ -1,4 +1,4 @@ -use Mix.Config +import Config config :elastix, test_url: "http://127.0.0.1:9200", diff --git a/mix.exs b/mix.exs index 29c8c79..faaf5e7 100644 --- a/mix.exs +++ b/mix.exs @@ -2,14 +2,14 @@ defmodule Elastix.Mixfile do use Mix.Project @source_url "https://github.com/werbitzky/elastix" - @version "0.10.0" + @version "0.10.1" def project do [ app: :elastix, name: "Elastix", version: @version, - elixir: "~> 1.6", + elixir: "~> 1.17.1", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, aliases: aliases(), @@ -27,12 +27,12 @@ defmodule Elastix.Mixfile do defp deps do [ - {:ex_doc, ">= 0.0.0", only: :dev, runtime: false}, - {:credo, "~> 0.6", only: [:dev, :test]}, - {:mix_test_watch, "~> 0.3", only: [:test, :dev]}, - {:poison, "~> 3.0 or ~> 4.0", optional: true}, - {:httpoison, "~> 1.4"}, - {:retry, "~> 0.8"} + {:ex_doc, "~> 0.31", only: :dev, runtime: false}, + {:credo, "~> 1.7", only: [:dev, :test]}, + {:mix_test_watch, "~> 1.0", only: [:test, :dev]}, + {:poison, "~> 6.0", optional: true}, + {:httpoison, "~> 2.0"}, + {:retry, "~> 0.18"} ] end From c852b55c0cecae5751f94bbec0ae9432ed85334d Mon Sep 17 00:00:00 2001 From: Erick Onyango Date: Fri, 26 Jul 2024 09:51:32 +0300 Subject: [PATCH 2/2] update deps --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5c97e9f..4a6516b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,11 @@ 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). +## 0.10.1 - 2024-07-26 + +- Update all dependencies to remove warnings +- Update to the latest elixir version. + ## 0.10.0 - 2021-05-20 - Documentation changes