Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed
- Improved `AddonMemory` deprecation error message to include a before/after migration example and a direct link to the v5-to-v6 migration guide ([#600](https://github.com/ReactiveBayes/RxInfer.jl/issues/600))
- Improved `AddonLogScale` deprecation error message to include a before/after migration example and a direct link to the v5-to-v6 migration guide

## [6.1.0] - 04-05-2026

### Added
Expand Down
9 changes: 7 additions & 2 deletions src/annotations/input_arguments.jl
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,12 @@ Use [`InputArgumentsAnnotations`](@ref) instead. See the migration guide in the
"""
function AddonMemory(args...; kwargs...)
error(
"""`AddonMemory` has been removed in ReactiveMP v6 and replaced by `InputArgumentsAnnotations`. """ *
"""See the migration guide in the documentation for details.""",
"""`AddonMemory` has been removed in ReactiveMP v6 """ *
"""and replaced by `InputArgumentsAnnotations`.\n""" *
"""To migrate, replace:\n""" *
""" addons = (AddonMemory(),)\n""" *
"""with:\n""" *
""" annotations = (InputArgumentsAnnotations(),)\n""" *
"""See the migration guide: https://reactivebayes.github.io/ReactiveMP.jl/stable/migration-guides/v5-to-v6/""",
)
end
10 changes: 8 additions & 2 deletions src/annotations/logscale.jl
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,13 @@ Use [`LogScaleAnnotations`](@ref) instead. See the migration guide in the docume
"""
function AddonLogScale(args...; kwargs...)
error(
"""`AddonLogScale` has been removed in ReactiveMP v6 and replaced by `LogScaleAnnotations`. """ *
"""See the migration guide in the documentation for details.""",
"""`AddonLogScale` has been removed in ReactiveMP v6 """ *
"""and replaced by `LogScaleAnnotations`.\n""" *
"""\n""" *
"""To migrate, replace:\n""" *
""" addons = (AddonLogScale(),)\n""" *
"""with:\n""" *
""" annotations = (LogScaleAnnotations(),)\n""" *
"""See the migration guide: https://reactivebayes.github.io/ReactiveMP.jl/stable/migration-guides/v5-to-v6/""",
)
end