Skip to content

Commit

Permalink
Move warning to deps/build.jl (fixes #41) (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
PerezHz committed Jun 29, 2024
1 parent 246157d commit 1ae50c6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name = "HORIZONS"
uuid = "5a3ac768-beb4-554a-9c98-3342fe3377f5"
repo = "https://github.com/PerezHz/HORIZONS.jl.git"
authors = ["Jorge A. Pérez Hernández", "Luis Eduardo Ramírez Montoya"]
version = "0.4.6"
version = "0.4.7"

[deps]
Base64 = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"
Expand Down
8 changes: 8 additions & 0 deletions deps/build.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# This file is part of the HORIZONS.jl package, licensed under the MIT "Expat" License

# Breaking change warning added in v0.4.0; to be deleted in next minor version (v0.5.0)
@warn("""\n
# Breaking change
Starting from v0.4.0 HORIZONS.jl connects to JPL via a HTTP API.
Previous versions used the telnet command line utility as an external dependency.
""")
12 changes: 0 additions & 12 deletions src/HORIZONS.jl
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,4 @@ include("obstbl.jl")
include("scout.jl")
include("ooetbl.jl")

function __init__()

# Breaking change warning added in v0.4.0; to be deleted in next minor version (v0.5.0)
@warn("""\n
# Breaking change
Starting from v0.4.0 HORIZONS.jl connects to JPL via a HTTP API.
Previous versions used the telnet command line utility as an external dependency.
""")

end


end # module

2 comments on commit 1ae50c6

@PerezHz
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/110079

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.4.7 -m "<description of version>" 1ae50c607ac51062903606ae9a2e2681c51090a4
git push origin v0.4.7

Please sign in to comment.