Skip to content

Update Optimization requirement to 4.0.0 in /docs#52

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/julia/docs/Optimization-4.0.0
Open

Update Optimization requirement to 4.0.0 in /docs#52
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/julia/docs/Optimization-4.0.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 6, 2026

Updates the requirements on Optimization to permit the latest version.

Release notes

Sourced from Optimization's releases.

v4.0.0

Optimization v4.0.0

Diff since v3.28.0

Merged pull requests:

Changelog

Sourced from Optimization's changelog.

v4 Breaking changes

  1. The main change in this breaking release has been the way mini-batching is handled. The data argument in the solve call and the implicit iteration of that in the callback has been removed, the stochastic solvers (Optimisers.jl and Sophia) now handle it explicitly. You would now pass in a DataLoader to OptimizationProblem as the second argument to the objective etc (p) if you want to do minibatching, else for full batch just pass in the full data.

  2. The support for extra returns from objective function has been removed. Now the objective should only return a scalar loss value, hence callback doesn't take extra arguments other than the state and loss value.

Commits

Most Recent Ignore Conditions Applied to This Pull Request
Dependency Name Ignore Conditions
Optimization [> 4]

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file julia Pull requests that update julia code labels Mar 6, 2026
Updates the requirements on [Optimization](https://github.com/SciML/Optimization.jl) to permit the latest version.
- [Release notes](https://github.com/SciML/Optimization.jl/releases)
- [Changelog](https://github.com/SciML/Optimization.jl/blob/master/NEWS.md)
- [Commits](SciML/Optimization.jl@v0.1.1...v4.0.0)

---
updated-dependencies:
- dependency-name: Optimization
  dependency-version: 4.0.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/julia/docs/Optimization-4.0.0 branch from c69510c to 2b83f74 Compare March 9, 2026 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file julia Pull requests that update julia code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants