Skip to content

Commit 34b80c7

Browse files
committed
minor NEWs fixes
1 parent 40aa729 commit 34b80c7

File tree

1 file changed

+17
-18
lines changed

1 file changed

+17
-18
lines changed

NEWS.md

+17-18
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,25 @@
33
## Breaking changes
44

55
* Changes to the `sign` of atoms:
6-
* The sign of `sumlargesteigs` has been changed from `Positive` to `NoSign()` instead of `Positive()`, to allow non-positive-semidefinite inputs. This has the potential
7-
to break code that required that sign to be positive. If you run into this problem, please file an issue so we can figure out a workaround. [#412](https://github.com/jump-dev/Convex.jl/pull/412)
8-
* The sign of `eigmin` and `eigmax` has been changed from `Positive` to `NoSign()`. This is a bugfix because in general `eigmin` and `eigmax` do not need to return a positive quantity (for non-positive-semidefinite inputs). Again, this has the potential to break code that required that sign to be positive. If you run into this problem, please file an issue so we can figure out a workaround. [#413](https://github.com/jump-dev/Convex.jl/pull/413)
6+
* The sign of `sumlargesteigs` has been changed from `Positive` to `NoSign()` instead of `Positive()`, to allow non-positive-semidefinite inputs ([#409](https://github.com/jump-dev/Convex.jl/pull/409)). This has the potential
7+
to break code that required that sign to be positive. If you run into this problem, please file an issue so we can figure out a workaround.
8+
* The sign of `eigmin` and `eigmax` has been changed from `Positive` to `NoSign()` ([#413](https://github.com/jump-dev/Convex.jl/pull/413)). This is a bugfix because in general `eigmin` and `eigmax` do not need to return a positive quantity (for non-positive-semidefinite inputs). Again, this has the potential to break code that required that sign to be positive. If you run into this problem, please file an issue so we can figure out a workaround.
99
* Removal of deprecations:
10-
* `lambdamin` and `lambdamax` has been deprecated to `eigmin` and `eigmax` since Convex v0.13.0. This deprecation has been removed, so your code must be updated to call `eigmin` or `eigmax` instead. [#412](https://github.com/jump-dev/Convex.jl/pull/412)
11-
* `norm(x, p)` where `x` is a matrix expression has been deprecated to `opnorm(x,p)` since Convex v0.8.0. This deprecation has been removed, so your code must be updated to call `opnorm(x, p)` instead. Currently, `norm(x,p)` for a matrix
12-
expression `x` will error, but in Convex.jl v0.15.0 it will return `norm(vec(x), p)`. [#412](https://github.com/jump-dev/Convex.jl/pull/412)
13-
* `Convex.clearmemory()` has been deprecated and unnecessary since Convex v0.12.5. This deprecation has been removed, so if this function is in your code, just delete it. [#412](https://github.com/jump-dev/Convex.jl/pull/412)
14-
* `vecnorm(x, p)` has been deprecated to `norm(vec(x), p)` since Convex v0.8.0. This deprecation has been removed, so your code must be updated to call `norm(vec(x),p)` instead.
10+
* `lambdamin` and `lambdamax` has been deprecated to `eigmin` and `eigmax` since Convex v0.13.0. This deprecation has been removed, so your code must be updated to call `eigmin` or `eigmax` instead ([#412](https://github.com/jump-dev/Convex.jl/pull/412)).
11+
* `norm(x, p)` where `x` is a matrix expression has been deprecated to `opnorm(x,p)` since Convex v0.8.0. This deprecation has been removed, so your code must be updated to call `opnorm(x, p)` instead ([#412](https://github.com/jump-dev/Convex.jl/pull/412)). Currently, `norm(x,p)` for a matrix
12+
expression `x` will error, but in Convex.jl v0.15.0 it will return `norm(vec(x), p)`.
13+
* `Convex.clearmemory()` has been deprecated and unnecessary since Convex v0.12.5. This deprecation has been removed, so if this function is in your code, just delete it ([#412](https://github.com/jump-dev/Convex.jl/pull/412)).
14+
* `vecnorm(x, p)` has been deprecated to `norm(vec(x), p)` since Convex v0.8.0. This deprecation has been removed, so your code must be updated to call `norm(vec(x),p)` instead ([#412](https://github.com/jump-dev/Convex.jl/pull/412)).
1515
* Other changes:
16-
* `Convex.DCP_WARNINGS` was introduced in Convex v0.13.1 to allow turning off Convex.jl's DCP warnings. This has been removed in favor of the function `Convex.emit_dcp_warnings()`. [Commit 481fa02](https://github.com/jump-dev/Convex.jl/commit/481fa02b84bfec6bf7c809ea93d6ba8004193b83)
16+
* `Convex.DCP_WARNINGS` was introduced in Convex v0.13.1 to allow turning off Convex.jl's DCP warnings. This has been removed in favor of the function `Convex.emit_dcp_warnings()` ([Commit 481fa02](https://github.com/jump-dev/Convex.jl/commit/481fa02b84bfec6bf7c809ea93d6ba8004193b83)).
1717

1818
## Other changes
1919

20-
* updated `nuclearnorm` and `sumlargesteigs` to allow complex variables, and allow the argument of `sumlargesteigs` to be non-positive-semi-definite [#409](https://github.com/jump-dev/Convex.jl/pull/409). Thanks to @dstahlke!
20+
* updated `nuclearnorm` and `sumlargesteigs` to allow complex variables, and allow the argument of `sumlargesteigs` to be non-positive-semi-definite ([#409](https://github.com/jump-dev/Convex.jl/pull/409)). Thanks to @dstahlke!
2121

2222
# Changes in v0.13.8
2323

24-
* add unary `+` for `Sign` and `ComplexSign` to allow single-argument `hcat` and `vcat` to work [#405](https://github.com/jump-dev/Convex.jl/pull/405). Thanks to @dstahlke!
24+
* add unary `+` for `Sign` and `ComplexSign` to allow single-argument `hcat` and `vcat` to work ([#405](https://github.com/jump-dev/Convex.jl/pull/405)). Thanks to @dstahlke!
2525

2626
# Changes in v0.13.7
2727

@@ -41,14 +41,13 @@
4141
See the
4242
[docs](https://www.juliaopt.org/Convex.jl/dev/advanced/#Custom-Variable-Types-1)
4343
for more information. You can also add constraints directly to a variable
44-
using `add_constraint!`. ([#358](https://github.com/JuliaOpt/Convex.jl/pull/358))
44+
using `add_constraint!` ([#358](https://github.com/JuliaOpt/Convex.jl/pull/358)).
4545
* Accessors `vexity(x::Variable)`, `sign(x::Variable)`, and
4646
`evaluate(x::Variable)` should now be the preferred way to access properties
4747
of a variable; likewise use `set_value!` to set the initial value of a
48-
variable. ([#358](https://github.com/JuliaOpt/Convex.jl/pull/358))
48+
variable ([#358](https://github.com/JuliaOpt/Convex.jl/pull/358)).
4949
* To create integer or binary constraints, use the `VarType` enum (e.g.
50-
`Variable(BinVar)`). Access or set this via `vartype` and `vartype!`.
51-
([#358](https://github.com/JuliaOpt/Convex.jl/pull/358))
50+
`Variable(BinVar)`). Access or set this via `vartype` and `vartype!` ([#358](https://github.com/JuliaOpt/Convex.jl/pull/358)).
5251

5352
# Changes in v0.13.3
5453

@@ -72,12 +71,12 @@
7271
one should pass a MathOptInterface optimizer constructor, such as
7372
`SCS.Optimizer`, or `() -> SCS.Optimizer(verbose=false)`.
7473
* `lambdamin` and `lambdamax` have been deprecated in favor of `eigmin` and
75-
`eigmax`. ([#357](https://github.com/JuliaOpt/Convex.jl/pull/357))
74+
`eigmax` ([#357](https://github.com/JuliaOpt/Convex.jl/pull/357)).
7675
* Many "internal" functions and types are no longer exported, such as the atoms,
7776
types corresponding to constraints and vexities, etc.
78-
([#357](https://github.com/JuliaOpt/Convex.jl/pull/357))
77+
([#357](https://github.com/JuliaOpt/Convex.jl/pull/357)).
7978
* `evaluate(x::Variable)` and `evaluate(c::Constant)` now return scalars and
80-
vectors as appropriate, instead of `(1,1)`- and `(d,1)`-matrices.
79+
vectors as appropriate, instead of `(1,1)`- and `(d,1)`-matrices
8180
([#359](https://github.com/JuliaOpt/Convex.jl/pull/359)). This affects
8281
functions which used to return `(1,1)`-matrices; e.g., now
8382
`evaluate(quadform(...))` yields a scalar.

0 commit comments

Comments
 (0)