From 3ec1a3b365456309fdbd6390dc72dde61aa0604c Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Sat, 20 Apr 2024 03:09:25 +0100 Subject: [PATCH 1/4] Bump version to 0.9 --- mix.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mix.exs b/mix.exs index 57bf4e6f1..d4e250122 100644 --- a/mix.exs +++ b/mix.exs @@ -7,7 +7,7 @@ defmodule Nostrum.Mixfile do app: :nostrum, appup: "appup.ex", compilers: Mix.compilers() ++ [:appup], - version: "0.9.0-rc1", + version: "0.9.0", elixir: "~> 1.14", elixirc_paths: elixirc_paths(Mix.env()), build_embedded: Mix.env() == :prod, From e0831c2e97ee8f86307f8cbbc0bf8e892ead2d26 Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Sat, 20 Apr 2024 03:09:35 +0100 Subject: [PATCH 2/4] Upgrade appup.ex to 0.9 --- appup.ex | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/appup.ex b/appup.ex index 066326ff2..171c4d3b9 100644 --- a/appup.ex +++ b/appup.ex @@ -1,9 +1,11 @@ # See the appup cookbook for instructions: # https://www.erlang.org/doc/design_principles/appup_cookbook.html { - ~c"0.9.0-alpha3", + ~c"0.9.0", [ # Upgrade instructions + {~c"0.9.0-rc1", []}, + {~c"0.9.0-alpha3", []}, {~c"0.9.0-alpha2", []}, {~c"0.9.0-alpha1", [ From 1266236795024e79b05dc700c5656068e69caca8 Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Sat, 20 Apr 2024 04:19:17 +0100 Subject: [PATCH 3/4] Update 0.8 to 0.9 in some documentation --- README.md | 2 +- guides/intro/intro.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5af222562..f5a2c3890 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ version from Hex: ```elixir def deps do - [{:nostrum, "~> 0.8"}] + [{:nostrum, "~> 0.9"}] end ``` diff --git a/guides/intro/intro.md b/guides/intro/intro.md index 09db5aae6..4bf7774ad 100644 --- a/guides/intro/intro.md +++ b/guides/intro/intro.md @@ -18,7 +18,7 @@ have more errors. ```elixir def deps do - [{:nostrum, "~> 0.8"}] + [{:nostrum, "~> 0.9"}] # Or, for bleeding edge changes: # [{:nostrum, github: "Kraigie/nostrum"}] end From 193997a8a8a5b0765df25d211d4f3b7f2d362bef Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Sat, 20 Apr 2024 04:26:02 +0100 Subject: [PATCH 4/4] Add some since tags to new modules and features --- lib/nostrum/struct/message/poll.ex | 1 + lib/nostrum/struct/user.ex | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/nostrum/struct/message/poll.ex b/lib/nostrum/struct/message/poll.ex index 1cc5c7fa9..8748bdd31 100644 --- a/lib/nostrum/struct/message/poll.ex +++ b/lib/nostrum/struct/message/poll.ex @@ -4,6 +4,7 @@ defmodule Nostrum.Struct.Message.Poll do There are various helper methods on this structure to create new poll, see `create_poll/2` and `put_answer/2` & `put_answer/3` for code samples. """ + @moduledoc since: "0.9.0" alias Nostrum.Util diff --git a/lib/nostrum/struct/user.ex b/lib/nostrum/struct/user.ex index 0cf97d3d5..daec142ae 100644 --- a/lib/nostrum/struct/user.ex +++ b/lib/nostrum/struct/user.ex @@ -51,6 +51,7 @@ defmodule Nostrum.Struct.User do @type discriminator :: String.t() @typedoc "The user's display name, if it is set" + @typedoc since: "0.9.0" @type global_name :: String.t() | nil @typedoc "User's avatar hash"