Skip to content

Commit

Permalink
Prepare to release of v2.12.0 (#175)
Browse files Browse the repository at this point in the history
* Remove old code now that we require Julia v1.10+

* Minor improvements to CI setup

* Bump version to v2.12.0

* Remove `RecipesBase` from direct dependencies

* Run benchmarks with Julia v1.11
  • Loading branch information
giordano authored Jan 26, 2025
1 parent ac5f583 commit f9fa1c3
Show file tree
Hide file tree
Showing 18 changed files with 281 additions and 276 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: '1.8.5'
version: '1.11.3'
- uses: julia-actions/cache@v2
- name: Run benchmarks
shell: julia --color=yes --project=benchmark {0}
Expand Down
15 changes: 11 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ on:

concurrency:
# Skip intermediate builds: always.
# Cancel intermediate builds: always.
# Cancel intermediate builds: on PRs.
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}

jobs:
test:
Expand All @@ -21,6 +21,7 @@ jobs:
fail-fast: false
matrix:
julia-version:
- "min"
- "1"
- "nightly"
os:
Expand All @@ -44,7 +45,13 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}
files: lcov.info
continue-on-error: true
- uses: julia-actions/[email protected]
- name: Coveralls
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: lcov.info
flag-name: run-${{ join(matrix.*, '-') }}
parallel: true
continue-on-error: true

Documentation:
Expand All @@ -57,6 +64,6 @@ jobs:
- uses: julia-actions/cache@v2
with:
cache-registries: "true"
- uses: julia-actions/julia-docdeploy@releases/v1
- uses: julia-actions/julia-docdeploy@v1
env:
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
9 changes: 9 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# History of Measurements.jl

## v2.12.0 (2025-01-26)

### New features

* The package new requires Julia v1.10.
* New package extension with
[`Makie.jl`](https://github.com/MakieOrg/Makie.jl)
([#174](https://github.com/JuliaPhysics/Measurements.jl/pull/174)).

## v2.11.0 (2023-11-03)

### New features
Expand Down
5 changes: 1 addition & 4 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
name = "Measurements"
uuid = "eff96d63-e80a-5855-80a2-b1b0885c5ab7"
authors = ["Mosè Giordano <[email protected]>"]
version = "2.11.0"
version = "2.12.0"

[deps]
Calculus = "49dc2e85-a5d0-5ad3-a950-438e2897f1b9"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
RecipesBase = "3cdcf5f2-1ef4-517c-9805-6587b60abb01"
Requires = "ae029012-a4dd-5104-9daa-d747884805df"

[weakdeps]
BaseType = "7fbed51b-1ef5-4d67-9085-a4a9b26f478c"
Expand Down Expand Up @@ -36,7 +34,6 @@ Makie = "0.21, 0.22"
Printf = "<0.0.1, 1"
QuadGK = "2"
RecipesBase = "0.6.0, 0.7, 0.8, 1.0"
Requires = "0.5.0, 1"
SpecialFunctions = "0.8, 1, 2"
Statistics = "<0.0.1, 1"
Test = "<0.0.1, 1"
Expand Down
Loading

2 comments on commit f9fa1c3

@giordano
Copy link
Member 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/123759

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 v2.12.0 -m "<description of version>" f9fa1c37108942fc6f793304746893d6a7985366
git push origin v2.12.0

Please sign in to comment.