Skip to content

Commit 32b33b0

Browse files
committed
Document that mamba 2 only supports trailing globs in version strings
1 parent 1951127 commit 32b33b0

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

docs/source/developer_zone/changes-2.0.rst

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Mamba (executable)
1919
has been entirely replaced by the dynamically linked version of ``micromamba``,
2020
a statically-linked ELF based on ``libmamba``.
2121

22-
Hence ``mamba``` now has the exact same user interface and experience as ``micromamba``.
22+
Hence ``mamba`` now has the exact same user interface and experience as ``micromamba``.
2323

2424
.. warning::
2525

@@ -40,6 +40,9 @@ Breaking changes include:
4040
- A new config ``order_solver_request`` (default true) can be used to order the dependencies passed
4141
to the solver, getting order independent solutions.
4242
- Support for complex match specs such as ``pkg[md5=0000000000000]`` and ``pkg[build='^\d*$']``.
43+
- Dropped support for leading and internal globs in version strings (via
44+
redesigned ``VersionSpec``, which no longer handles version strings as a
45+
regex). Only trailing globs continue to be supported.
4346

4447
.. TODO OCI and mirrors
4548
@@ -86,6 +89,9 @@ Changes include:
8689
- The redesign of ``MatchSpec``.
8790
The module also includes a platform enumeration, an implementation of ordered ``Version``,
8891
and a ``VersionSpec`` to match versions.
92+
**Breaking change:** ``VersionSpec`` dropped support for leading and
93+
internal globs in version strings because they are no longer handled as a
94+
regex. Only trailing globs continue to be supported.
8995
- ``PackageInfo`` has been moved to this submodule.
9096
Some attributes have been given a more explicit name ``fn`` > ``filename``,
9197
``url`` > ``package_url``.
@@ -127,6 +133,10 @@ The main changes are:
127133
- A refactoring of a purely functional ``Channel`` class,
128134
- Implementation of a ``UnresolvedChannel`` to describe unresolved ``Channels``,
129135
- A refactored and complete implementation of ``MatchSpec`` using the components above.
136+
- **Breaking change:** ``VersionSpec`` dropped support for leading and
137+
internal globs in version strings because they are no longer handled as a
138+
regex. Only trailing globs continue to be supported. This affects version
139+
strings in both the command-line interface and recipe requirements.
130140

131141
- A cleanup of ``ChannelContext`` to be a light proxy and parameter holder wrapping the
132142
``specs::Channel``.

0 commit comments

Comments
 (0)