Skip to content

Commit

Permalink
Merge pull request #6320 from hannesm/doc-flags-add-version
Browse files Browse the repository at this point in the history
Manual: add information when flags (avoid-version, deprecated) were introduced
  • Loading branch information
rjbou authored Dec 2, 2024
2 parents eec1cc4 + 84a61fc commit c9eb0dd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doc/pages/Manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -1154,11 +1154,12 @@ files.
[solver criteria](#configfield-solver-criteria). This can be useful for
beta releases, or to discourage installation of releases with known bugs.
Note that this behaviour is disabled when a flagged version of the package
is already installed.
is already installed. This was introduced in opam 2.1.
- <a id="opamflag-deprecated">`deprecated`</a>: this flag is equivalent to
[`avoid-version`](#opamflag-avoid-version) except for the addition of a
deprecation message after the package is installed as well as marked as
deprecated in the solution shown to the user upon installation.
deprecated in the solution shown to the user upon installation. This was
introduced in opam 2.2.

- <a id="opamfield-features">
`features: [ <ident> { <pkgname> { <filtered-package-formula> } ... } { <string> } ... ]`
Expand Down
1 change: 1 addition & 0 deletions master_changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ users)
* Manual: Document the stamp field from repo files [#6306 @kit-ty-kate]
* Fix typo in pin edit man page doc [#6315 @shym]
* Clarify documentation for `enable` pseudo-variable [#5659 @gridbugs]
* Manual: add information when flags (`avoid-version`, `deprecated`) were introduced [#6320 @hannesm]

## Security fixes

Expand Down

0 comments on commit c9eb0dd

Please sign in to comment.