Skip to content

Prep for v1.31.0#4188

Merged
odow merged 2 commits into
masterfrom
od/v1.31.0
Jul 21, 2026
Merged

Prep for v1.31.0#4188
odow merged 2 commits into
masterfrom
od/v1.31.0

Conversation

@odow

@odow odow commented Jul 1, 2026

Copy link
Copy Markdown
Member

TODO

Pre-release

The release

  • After merging this pull request, comment [at]JuliaRegistrator register in
    the GitHub commit. This should automatically publish a new version to the
    Julia registry, as well as create a tag, and rebuild the documentation
    for this tag.

    These steps can take quite a bit of time (1 hour or more), so don't be
    surprised if the new documentation takes a while to appear. In addition,
    the links in the README will be broken until JuliaHub fetches the new
    version on their servers.
    

Post-release

  • Once the tag is created, update the relevant release- branch. The latest
    release branch at the time of writing is release-1.0 (we haven't
    back-ported any patches that needed to create a release-1.Y branch). To
    to update the release branch with the v1.10.0 tag, do:
    git checkout release-1.0 git pull git merge v1.10.0 git push

@codecov

codecov Bot commented Jul 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.96%. Comparing base (125964c) to head (7237bda).
⚠️ Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4188      +/-   ##
==========================================
+ Coverage   99.87%   99.96%   +0.09%     
==========================================
  Files          43       43              
  Lines        6316     6315       -1     
==========================================
+ Hits         6308     6313       +5     
+ Misses          8        2       -6     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@odow

odow commented Jul 1, 2026

Copy link
Copy Markdown
Member Author

There are a couple of blocking failures here:

@odow

odow commented Jul 1, 2026

Copy link
Copy Markdown
Member Author

@blegat the failure in PiecewiseLinearApprox is because of this change in COSMO: oxfordcontrol/COSMO.jl#198

@odow

odow commented Jul 8, 2026

Copy link
Copy Markdown
Member Author

This is ready for release. The only decision is whether to do something about #4190 first.

@odow

odow commented Jul 16, 2026

Copy link
Copy Markdown
Member Author

Okay, DisjunctiveProgramming is failing, but only because we have improved the functions.

Before

(tmp) pkg> st
Status `~/git/infiniteopt/DisjunctiveProgramming/tmp/Project.toml`
  [0d27d021] DisjunctiveProgramming v0.6.1 `https://github.com/infiniteopt/DisjunctiveProgramming.jl.git#master`
  [8dfed614] Test v1.11.0

julia> begin
           using DisjunctiveProgramming
           import DisjunctiveProgramming as DP
           include("test/utilities.jl")
           model = GDPModel()
           @variable(model, 10 <= x <= 100)
           @variable(model, z, Logical)
           @constraint(model, con, x^2 in MOI.LessThan{Float64}(5), Disjunct(z))
           zbin = variable_by_name(model, "z")
           method = DisjunctiveProgramming._Hull(Hull(1e-3), Set([x]))
           prep_bounds(x, model, Hull())
           DisjunctiveProgramming._disaggregate_variables(model, z, Set([x]), method)
           x_z = variable_by_name(model, "x_z")
           ref = reformulate_disjunct_constraint(model, constraint_object(con), zbin, method)
           ref[1].func
       end
Test Summary:     | Pass  Total  Time
Utility Functions |   21     21  0.1s
((0) + ((x_z²) / (0.999 z + 0.001))) - (5 z)

After

(DisjunctiveProgramming) pkg> st
Project DisjunctiveProgramming v0.6.1
Status `~/git/infiniteopt/DisjunctiveProgramming/Project.toml`
  [4076af6c] JuMP v1.31.0 `~/git/jump-dev/JuMP`
  [189a3867] Reexport v1.2.2

julia> begin
           using DisjunctiveProgramming
           import DisjunctiveProgramming as DP
           include("test/utilities.jl")
           model = GDPModel()
           @variable(model, 10 <= x <= 100)
           @variable(model, z, Logical)
           @constraint(model, con, x^2 in MOI.LessThan{Float64}(5), Disjunct(z))
           zbin = variable_by_name(model, "z")
           method = DisjunctiveProgramming._Hull(Hull(1e-3), Set([x]))
           prep_bounds(x, model, Hull())
           DisjunctiveProgramming._disaggregate_variables(model, z, Set([x]), method)
           x_z = variable_by_name(model, "x_z")
           ref = reformulate_disjunct_constraint(model, constraint_object(con), zbin, method)
           ref[1].func
       end
Test Summary:     | Pass  Total  Time
Utility Functions |   21     21  0.1s
((x_z²) / (0.999 z + 0.001)) - (5 z)

I'll make a PR to fix their tests.

@odow
odow merged commit f954751 into master Jul 21, 2026
12 checks passed
@odow
odow deleted the od/v1.31.0 branch July 21, 2026 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants