diff --git a/lib/container/ceph_container.ex b/lib/container/ceph_container.ex index ec5c877..6457d66 100644 --- a/lib/container/ceph_container.ex +++ b/lib/container/ceph_container.ex @@ -259,23 +259,3 @@ defmodule Testcontainers.CephContainer do def after_start(_config, _container, _conn), do: :ok end end - -defmodule Testcontainers.Container.CephContainer do - @moduledoc """ - Deprecated. Use `Testcontainers.CephContainer` instead. - - This module is kept for backward compatibility and will be removed in future releases. - """ - - @deprecated "Use Testcontainers.CephContainer instead" - - defdelegate new, to: Testcontainers.CephContainer - defdelegate with_image(self, image), to: Testcontainers.CephContainer - defdelegate with_access_key(self, user), to: Testcontainers.CephContainer - defdelegate with_secret_key(self, password), to: Testcontainers.CephContainer - defdelegate with_bucket(self, database), to: Testcontainers.CephContainer - defdelegate with_port(self, port), to: Testcontainers.CephContainer - defdelegate with_wait_timeout(self, wait_timeout), to: Testcontainers.CephContainer - defdelegate port(self), to: Testcontainers.CephContainer - defdelegate connection_url(self), to: Testcontainers.CephContainer -end diff --git a/lib/container/mysql_container.ex b/lib/container/mysql_container.ex index 04e652d..621d110 100644 --- a/lib/container/mysql_container.ex +++ b/lib/container/mysql_container.ex @@ -252,25 +252,3 @@ defmodule Testcontainers.MySqlContainer do fn container -> Container.with_bind_volume(container, volume, "/var/lib/mysql") end end end - -defmodule Testcontainers.Container.MySqlContainer do - @moduledoc """ - Deprecated. Use `Testcontainers.MySqlContainer` instead. - - This module is kept for backward compatibility and will be removed in future releases. - """ - - @deprecated "Use Testcontainers.MySqlContainer instead" - - defdelegate new, to: Testcontainers.MySqlContainer - defdelegate with_image(self, image), to: Testcontainers.MySqlContainer - defdelegate with_user(self, user), to: Testcontainers.MySqlContainer - defdelegate with_password(self, password), to: Testcontainers.MySqlContainer - defdelegate with_database(self, database), to: Testcontainers.MySqlContainer - defdelegate with_port(self, port), to: Testcontainers.MySqlContainer - defdelegate with_wait_timeout(self, wait_timeout), to: Testcontainers.MySqlContainer - defdelegate port(self), to: Testcontainers.MySqlContainer - defdelegate connection_parameters(self), to: Testcontainers.MySqlContainer - defdelegate default_image_with_tag, to: Testcontainers.MySqlContainer - defdelegate default_port, to: Testcontainers.PostgresContainer -end diff --git a/lib/container/postgres_container.ex b/lib/container/postgres_container.ex index 79d2ceb..b12272c 100644 --- a/lib/container/postgres_container.ex +++ b/lib/container/postgres_container.ex @@ -258,25 +258,3 @@ defmodule Testcontainers.PostgresContainer do fn container -> Container.with_bind_volume(container, volume, "/var/lib/postgresql/data") end end end - -defmodule Testcontainers.Container.PostgresContainer do - @moduledoc """ - Deprecated. Use `Testcontainers.PostgresContainer` instead. - - This module is kept for backward compatibility and will be removed in future releases. - """ - - @deprecated "Use Testcontainers.PostgresContainer instead" - - defdelegate new, to: Testcontainers.PostgresContainer - defdelegate with_image(self, image), to: Testcontainers.PostgresContainer - defdelegate with_user(self, user), to: Testcontainers.PostgresContainer - defdelegate with_password(self, password), to: Testcontainers.PostgresContainer - defdelegate with_database(self, database), to: Testcontainers.PostgresContainer - defdelegate with_port(self, port), to: Testcontainers.PostgresContainer - defdelegate with_wait_timeout(self, wait_timeout), to: Testcontainers.PostgresContainer - defdelegate port(self), to: Testcontainers.PostgresContainer - defdelegate connection_parameters(self), to: Testcontainers.PostgresContainer - defdelegate default_image_with_tag, to: Testcontainers.PostgresContainer - defdelegate default_port, to: Testcontainers.PostgresContainer -end diff --git a/lib/container/redis_container.ex b/lib/container/redis_container.ex index 9145652..641e94c 100644 --- a/lib/container/redis_container.ex +++ b/lib/container/redis_container.ex @@ -164,20 +164,3 @@ defmodule Testcontainers.RedisContainer do def after_start(_config, _container, _conn), do: :ok end end - -defmodule Testcontainers.Container.RedisContainer do - @moduledoc """ - Deprecated. Use `Testcontainers.RedisContainer` instead. - - This module is kept for backward compatibility and will be removed in future releases. - """ - - @deprecated "Use Testcontainers.RedisContainer instead" - - defdelegate new, to: Testcontainers.RedisContainer - defdelegate with_image(self, image), to: Testcontainers.RedisContainer - defdelegate with_port(self, port), to: Testcontainers.RedisContainer - defdelegate with_wait_timeout(self, wait_timeout), to: Testcontainers.RedisContainer - defdelegate port(self), to: Testcontainers.RedisContainer - defdelegate connection_url(self), to: Testcontainers.RedisContainer -end diff --git a/lib/container/selenium_container.ex b/lib/container/selenium_container.ex index 0b12fdd..4899784 100644 --- a/lib/container/selenium_container.ex +++ b/lib/container/selenium_container.ex @@ -94,19 +94,3 @@ defmodule Testcontainers.SeleniumContainer do def after_start(_config, _container, _conn), do: :ok end end - -defmodule Testcontainers.Container.SeleniumContainer do - @moduledoc """ - Deprecated. Use `Testcontainers.SeleniumContainer` instead. - - This module is kept for backward compatibility and will be removed in future releases. - """ - - @deprecated "Use Testcontainers.SeleniumContainer instead" - - defdelegate new, to: Testcontainers.SeleniumContainer - defdelegate with_image(self, image), to: Testcontainers.SeleniumContainer - defdelegate with_port1(self, port), to: Testcontainers.SeleniumContainer - defdelegate with_port2(self, port), to: Testcontainers.SeleniumContainer - defdelegate with_wait_timeout(self, wait_timeout), to: Testcontainers.SeleniumContainer -end diff --git a/lib/util/constants.ex b/lib/util/constants.ex index 416bf88..6b91d5c 100644 --- a/lib/util/constants.ex +++ b/lib/util/constants.ex @@ -2,7 +2,7 @@ defmodule Testcontainers.Constants do @moduledoc false def library_name, do: :testcontainers - def library_version, do: "1.10.1" + def library_version, do: "1.10.2" def container_label, do: "org.testcontainers" def container_lang_label, do: "org.testcontainers.lang" def container_reuse_hash_label, do: "org.testcontainers.reuse-hash" diff --git a/mix.exs b/mix.exs index a8f4aa1..771dba1 100644 --- a/mix.exs +++ b/mix.exs @@ -2,7 +2,7 @@ defmodule TestcontainersElixir.MixProject do use Mix.Project @app :testcontainers - @version "1.10.1" + @version "1.10.2" @source_url "https://github.com/testcontainers/testcontainers-elixir" def project do