From fe7dc830105b9a740fc7416ec5364cb1e8c41461 Mon Sep 17 00:00:00 2001 From: "Anthony D. Blaom" Date: Fri, 24 Jul 2026 11:19:00 +1200 Subject: [PATCH 1/8] CompatHelper -> dependabot --- .github/dependabot.yml | 12 ++++++++++++ .github/workflows/CompatHelper.yml | 16 ---------------- 2 files changed, 12 insertions(+), 16 deletions(-) create mode 100644 .github/dependabot.yml delete mode 100644 .github/workflows/CompatHelper.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..9c3da47 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,12 @@ +# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" # Location of package manifests + schedule: + interval: "monthly" + - package-ecosystem: "julia" + directories: # Location of Julia projects + - "/" + schedule: + interval: "weekly" diff --git a/.github/workflows/CompatHelper.yml b/.github/workflows/CompatHelper.yml deleted file mode 100644 index 2876f03..0000000 --- a/.github/workflows/CompatHelper.yml +++ /dev/null @@ -1,16 +0,0 @@ -name: CompatHelper -on: - schedule: - - cron: '00 00 * * *' - workflow_dispatch: -jobs: - CompatHelper: - runs-on: ubuntu-latest - steps: - - name: Pkg.add("CompatHelper") - run: julia -e 'using Pkg; Pkg.add("CompatHelper")' - - name: CompatHelper.main() - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - COMPATHELPER_PRIV: ${{ secrets.COMPATHELPER_PRIV }} # optional - run: julia -e 'using CompatHelper; CompatHelper.main()' \ No newline at end of file From 1f966ff7c430e787ee3917465490c69697fefaca Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 23 Jul 2026 23:19:58 +0000 Subject: [PATCH 2/8] Bump actions/checkout from 2 to 7 Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 7. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v7) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4517f31..ce77c22 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: arch: - x64 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v7 - uses: julia-actions/setup-julia@v1 with: version: ${{ matrix.version }} From 7ee44348e47f1452282f968b0705d5a20719978d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 23 Jul 2026 23:20:00 +0000 Subject: [PATCH 3/8] Bump julia-actions/cache from 1 to 3 Bumps [julia-actions/cache](https://github.com/julia-actions/cache) from 1 to 3. - [Release notes](https://github.com/julia-actions/cache/releases) - [Commits](https://github.com/julia-actions/cache/compare/v1...v3) --- updated-dependencies: - dependency-name: julia-actions/cache dependency-version: '3' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4517f31..15a69b2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,7 @@ jobs: with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} - - uses: julia-actions/cache@v1 + - uses: julia-actions/cache@v3 env: cache-name: cache-artifacts with: From 26ba52a87417e603af30d5a957289636f7a8819c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 23 Jul 2026 23:20:03 +0000 Subject: [PATCH 4/8] Bump codecov/codecov-action from 1 to 7 Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 1 to 7. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/v1...v7) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4517f31..272adaf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,6 +43,6 @@ jobs: - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-runtest@v1 - uses: julia-actions/julia-processcoverage@v1 - - uses: codecov/codecov-action@v1 + - uses: codecov/codecov-action@v7 with: file: lcov.info From ada004264013de81e7d15e71f46ee2b1d4bc4631 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 23 Jul 2026 23:20:04 +0000 Subject: [PATCH 5/8] Bump julia-actions/setup-julia from 1 to 3 Bumps [julia-actions/setup-julia](https://github.com/julia-actions/setup-julia) from 1 to 3. - [Release notes](https://github.com/julia-actions/setup-julia/releases) - [Commits](https://github.com/julia-actions/setup-julia/compare/v1...v3) --- updated-dependencies: - dependency-name: julia-actions/setup-julia dependency-version: '3' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4517f31..68aafee 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,7 +26,7 @@ jobs: - x64 steps: - uses: actions/checkout@v2 - - uses: julia-actions/setup-julia@v1 + - uses: julia-actions/setup-julia@v3 with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} From d79de80906ca340ce06aad6aa3a19b8355f4cf39 Mon Sep 17 00:00:00 2001 From: "Anthony Blaom, PhD" Date: Fri, 24 Jul 2026 11:29:22 +1200 Subject: [PATCH 6/8] Update codecov badge token in README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1fb19e8..dfc6f6c 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ | Linux | Coverage | | :-----------: | :------: | -| [![Build status](https://github.com/JuliaAI/StatisticalTraits.jl/workflows/CI/badge.svg)](https://github.com/JuliaAI/StatisticalTraits.jl/actions)| [![codecov](https://codecov.io/gh/JuliaAI/StatisticalTraits.jl/branch/master/graph/badge.svg?token=rh6HnyIKc1)](https://codecov.io/gh/JuliaAI/StatisticalTraits.jl) | +| [![Build status](https://github.com/JuliaAI/StatisticalTraits.jl/workflows/CI/badge.svg)](https://github.com/JuliaAI/StatisticalTraits.jl/actions)| [![codecov](https://codecov.io/gh/JuliaAI/StatisticalTraits.jl/graph/badge.svg?token=rnWBkGwcMy)](https://codecov.io/gh/JuliaAI/StatisticalTraits.jl) | A light-weight package defining fall-back implementations for a collection of traits possessed by statistical objects. Here a "trait" From 74a6beff202d7e8d3d707b8cbf5776433cb4da8f Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 12 Oct 2026 02:41:10 +0000 Subject: [PATCH 7/8] typename: use nameof instead of reading UnionAll fields typename probed isdefined(M, :name) and M.name.name, then M.body for a UnionAll. Julia 1.14 (JuliaLang/julia#63530) stores a UnionAll's binder name in a field called name, so the first branch returned the type variable's name instead of the type's. nameof gives the unqualified type name for both DataType and UnionAll on every supported Julia version. Assisted-by: Claude Code (Mythos 5.1) --- src/StatisticalTraits.jl | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/StatisticalTraits.jl b/src/StatisticalTraits.jl index 4cb830b..bfe61b2 100644 --- a/src/StatisticalTraits.jl +++ b/src/StatisticalTraits.jl @@ -89,10 +89,8 @@ returns `:Machine`. Where this does not make sense (eg, instances of """ function typename(M) - if isdefined(M, :name) - return M.name.name - elseif isdefined(M, :body) - return typename(M.body) + if M isa DataType || M isa UnionAll + return nameof(M) else return Symbol(string(M)) end From 2846a4865dd2e2b75ad1e4af3c1591ff65753810 Mon Sep 17 00:00:00 2001 From: "Anthony D. Blaom" Date: Tue, 13 Oct 2026 08:03:40 +1100 Subject: [PATCH 8/8] bump 3.6.0; dump julia < 1.10 support --- .github/workflows/ci.yml | 3 +-- Project.toml | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c1e9ef7..f8d86d5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,8 +17,7 @@ jobs: fail-fast: false matrix: version: - - '1.6' - - '1.10' + - 'lts' - '1' os: - ubuntu-latest diff --git a/Project.toml b/Project.toml index 583cf77..d6dea97 100644 --- a/Project.toml +++ b/Project.toml @@ -1,14 +1,14 @@ name = "StatisticalTraits" uuid = "64bff920-2084-43da-a3e6-9bb72801c0c9" authors = ["Anthony D. Blaom "] -version = "3.5.0" +version = "3.6.0" [deps] ScientificTypesBase = "30f210dd-8aff-4c5f-94ba-8e64358c1161" [compat] ScientificTypesBase = "1, 2, 3" -julia = "1.6" +julia = "1.10" [extras] REPL = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb"