# Any breaking changes in NLopt v1.0.0?

**URL:** https://discourse.julialang.org/t/any-breaking-changes-in-nlopt-v1-0-0/102988
**Category:** General Usage
**Tags:** question, package, optimization, versioning, nlopt
**Created:** [August 19, 2023, 8:19pm UTC](https://discourse.julialang.org/t/any-breaking-changes-in-nlopt-v1-0-0/102988 "2023-08-19T20:19:00Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![e3c6](https://avatars.discourse-cdn.com/v4/letter/e/e79b87/32.png) [@e3c6](https://discourse.julialang.org/u/e3c6)
#### Post date: [August 19, 2023, 8:19pm UTC](https://discourse.julialang.org/t/any-breaking-changes-in-nlopt-v1-0-0/102988/1 "2023-08-19T20:19:00Z")

</div>

NLopt v1.0.0 just got tagged (🎉). See [Release v1.0.0 · JuliaOpt/NLopt.jl · GitHub](https://github.com/JuliaOpt/NLopt.jl/releases/tag/v1.0.0).

Were there any breaking changes compared to the previous stable version, v0.6.5? This is not transparent from looking at the commit diff. Thanks!

---

<div class="post-metadata">

### Author: ![stevengj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevengj/32/71_2.png) [@stevengj](https://discourse.julialang.org/u/stevengj)
#### Post date: [August 19, 2023, 10:27pm UTC](https://discourse.julialang.org/t/any-breaking-changes-in-nlopt-v1-0-0/102988/2 "2023-08-19T22:27:32Z")

</div>

> [@e3c6](#):
>
> Were there any breaking changes compared to the previous stable version, v0.6.5? This is not transparent from looking at the commit diff.

Nothing that will affect most users. The main change is that (1) the MathOptInterface support is now a package extension, so that interface (used e.g. for JuMP) only gets loaded if `MathOptInterface` is loaded (either directly or by another package). Also (2) the obsolete `MathProgBase` interface was dropped.

(Realize that even going from `0.6.5` to `0.7.0` would be considered breaking in semver. See also the discussion in [Encouraging 1.x versions for registered packages? - #56 by Eben60](https://discourse.julialang.org/t/encouraging-1-x-versions-for-registered-packages/97171/56) — going to 1.x.x makes sense because the main NLopt interface has been stable for a while, and major versions ≥ 1 give strictly more information in semver.)

---

<div class="post-metadata">

### Author: ![e3c6](https://avatars.discourse-cdn.com/v4/letter/e/e79b87/32.png) [@e3c6](https://discourse.julialang.org/u/e3c6)
#### Post date: [August 20, 2023, 2:05pm UTC](https://discourse.julialang.org/t/any-breaking-changes-in-nlopt-v1-0-0/102988/3 "2023-08-20T14:05:35Z")

</div>

Ok, thanks for your answer!

> [@stevengj](#):
>
> The main change is that (1) the MathOptInterface support is now a package extension, so that interface (used e.g. for JuMP) only gets loaded if `MathOptInterface` is loaded (either directly or by another package). Also (2) the obsolete `MathProgBase` interface was dropped.

I would suggest this to be mentioned in the README (or somewhere like a changeling or news file). If it is already written somewhere apologies I could not find it. (It’s probably inferable from the commit diff, but I think it should be stated in a more easy to parse and summarized manner).
