Skip to content

Commit 7dcf61c

Browse files
committed
Update changelog
1 parent 6e01c56 commit 7dcf61c

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ This is the changelog for Money v5.19.0 released on January 1st, 2024. For olde
88

99
### Deprecations
1010

11-
* `Money.default_backend/0` is deprecated in favor of `Money.default_backend!/0` whose naming better expresses the side effect of an exception being raised if no default backend is configured.
11+
* `Money.default_backend/0` is soft deprecated in favor of `Money.default_backend!/0` whose naming better expresses the side effect of an exception being raised if no default backend is configured.
1212

1313
### Bug Fixes
1414

15-
* Surface an error exception if, when starting the exchange rates service, no ex_cldr backend is configured.
15+
* Surface an error exception if, when starting the exchange rates service, no `Money.default_backend!/0` is configured.
1616

1717
## Money v5.18.0
1818

lib/money.ex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2981,6 +2981,7 @@ defmodule Money do
29812981
configured, an exception is raised.
29822982
29832983
"""
2984+
@doc since: "5.19.0"
29842985
def default_backend!() do
29852986
cldr_default_backend = Application.get_env(Cldr.Config.app_name(), :default_backend)
29862987

@@ -2993,7 +2994,7 @@ defmodule Money do
29932994
"""
29942995
end
29952996

2996-
@deprecated "Use Money.default_backend!/0"
2997+
@doc deprecated: "Use Money.default_backend!/0"
29972998
def default_backend do
29982999
default_backend!()
29993000
end

0 commit comments

Comments
 (0)