Skip to content

Commit 326cee1

Browse files
committed
Release 2.9.0
1 parent c297b5a commit 326cee1

File tree

2 files changed

+32
-17
lines changed

2 files changed

+32
-17
lines changed

src/data/release.mdx

+31-17
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,36 @@
11
import { BugRef, IDEBugRef } from '@/components/BugRef'
22

3-
- Variable ``in`` operators on arrays of (nested) records and tuples containing
4-
only enumerable (enum, int, or bool) will now be rewritten into ``table``
5-
global constraints.
6-
- Values that are ``par`` in the left hand side will be checked and filtered
7-
from the resulting table constraint.
8-
- Variable ``<``, ``<=``, ``>`` and ``>=`` operators on (nested) records and
9-
tuples containing only enumerable (enum, int, or bool) will now be rewritten
10-
into ``lex_less`` or ``lex_lesseq`` global constraints.
11-
- Automatically detect SCIP 9.0.1 and potential future versions on Windows.
12-
- The interface to the HiGHS solver now requires version 1.7.2 or later.
13-
- Enforce strict enum type correctness for set operations (:bugref:`828`).
14-
- Add ``par opt`` overloads of ``min`` / ``max`` and return enum values instead
15-
of coercing to integers.
16-
- Use half-reification only when there isn't a reification that is a more
17-
specific match.
18-
- Add multidimensional overloads for the ``++`` array concatenation operator.
19-
- Plus more than 25 bug fixes.
3+
- Add support for ``elseif`` in ``if then elseif endif`` expressions without an
4+
`else` branch.
5+
- Make ``sort`` functions return array of enum when input is array of
6+
enum (<BugRef issue={853} />).
7+
- Make the ``mzn_in_root_context`` function (which is used only internally and
8+
should not be used in user models) more flexible in where it can be called.
9+
- Update packaged version of the HiGHS solver to version 1.8.1.
10+
- Update Gurobi interface to be compatible with Gurobi 12.0.0.
11+
- Address compiler warnings concerning unsafe signed/unsigned comparisons and
12+
implicit casts between different integer types.
13+
- **BREAKING**: The usage of ``--compile`` (or ``-c``) flag now requires the
14+
user to explicitly specify the solver for which the MiniZinc instance is being
15+
compiled, using ``--solver``. To select the default solver (and keep the
16+
previous behaviour) you can use ``--solver default``.
17+
- Add the ``--fzn-format`` flag to influence whether the generated FlatZinc from
18+
``--compile`` or ``--fzn`` is given in the traditional FlatZinc format or the
19+
new JSON-based format. (<BugRef issue={868} />)
20+
- Comments regarding the compilation invocation are now included in user-facing
21+
FlatZinc (``.fzn``) files, created by the ``--compile`` or ``--fzn`` flags.
22+
- Add ``par`` version of the ``among`` function.
23+
- Add support for arrays containing arrays (which only support access using
24+
``par`` indices).
25+
- Add ``diversity.mzn`` library to be used with the diverse solutions toolchain
26+
included in MiniZinc Python.
27+
- Ensure the MiniZinc directory is added to the DLL search path when running
28+
child processes on Windows (<IDEBugRef issue={206} />).
29+
- Add ``par`` implementations for the ``arg_val`` and ``arg_val_weak`` functions.
30+
- Add support for calling enum constructors without arguments to return the set
31+
of all constructed values.
32+
- Deprecate and emit warning for implicit coercion of enums to integers. The
33+
``enum2int`` function should be used to perform the coercion where required.
2034

2135
export default function Release({ children }) {
2236
return (

src/data/version.js

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
const releaseList = [
2+
['2.9.0', '11 February 2025'],
23
['2.8.7', '2 October 2024'],
34
['2.8.6', '25 September 2024'],
45
['2.8.5', '3 June 2024'],

0 commit comments

Comments
 (0)