# \[ANN\] opam 2.3.0~alpha1

**URL:** <https://discuss.ocaml.org/t/ann-opam-2-3-0-alpha1/15325>\
**Category:** Ecosystem\
**Tags:** opam, announce\
**Created:** [September 23, 2024, 3:22pm UTC](https://discuss.ocaml.org/t/ann-opam-2-3-0-alpha1/15325 "2024-09-23T15:22:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kit-ty-kate](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/kit-ty-kate/32/5953_2.png) [@kit-ty-kate](https://discuss.ocaml.org/u/kit-ty-kate)\
**Post date:** [September 23, 2024, 3:22pm UTC](https://discuss.ocaml.org/t/ann-opam-2-3-0-alpha1/15325/1 "2024-09-23T15:22:43Z")

</div>

Hi everyone,

As mentioned in [our talk at the OCaml Workshop 2024](https://icfp24.sigplan.org/details/ocaml-2024-papers/10/Opam-2-2-and-beyond), we decided to switch to a time-based release cycle (every 6 months), starting with opam 2.3.

As promised, we are happy to announce the first alpha release of opam 2.3.0.

## What’s new?

- When loading a repository, **opam now ignores files in packages’ `files/` directories which aren’t listed in the `extra-files` field** of the opam file. ⚠ If you maintain an opam repository, please read our [blog post](https://opam.ocaml.org/blog/opam-2-3-0-alpha1/) to make sure your repository stays compatible.

- **Packages requiring an unsupported version of opam are now marked unavailable** , instead of causing a repository error. This means an opam repository can now allow smoother upgrade in the future

- **`opam list --latests-only`** : a new option to list only the latest versions of packages

- **`--verbose-on`** : a new option to enable verbose output for specified package names.

- **`opam switch import --deps-only`** : a new option to install only the dependencies of the root packages listed in the opam switch export file

- **`opam switch list-available`** will now not display compilers flagged with `avoid-version`/`deprecated` unless `--all` is given, meaning that the “trunk” build of OCaml no longer appears to be the latest version

- **The `builtin-0install` solver was improved** and should now be capable of being your default solver instead of `builtin-mccs+glpk`. If you wish to give it a try, simply call `opam option solver=builtin-0install`

- Most of the **unhelpful conflict messages were fixed** 🔦

Various performance and other improvements were made and bugs were fixed.  
📖 You can read our [blog post](https://opam.ocaml.org/blog/opam-2-3-0-alpha1/) for more information about these changes and more, and for even more details you can take a look at the [release note](https://github.com/ocaml/opam/releases/tag/2.3.0-alpha1) or the [changelog](https://github.com/ocaml/opam/blob/2.3.0-alpha1/CHANGES).

## Try it!

The upgrade instructions are unchanged:

For Unix systems

```auto
bash -c "sh <(curl -fsSL https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh) --version 2.3.0~alpha1"

```

or from PowerShell for Windows systems

```auto
Invoke-Expression "& { $(Invoke-RestMethod https://raw.githubusercontent.com/ocaml/opam/master/shell/install.ps1) } -Version 2.3.0~alpha1"

```

Please report any issues to [the bug-tracker](https://github.com/ocaml/opam/issues).

Happy hacking,  
_\<\> \<\> The opam team \<\> \<\>_ 🐪
