package pplumbing
Utility libraries to use with [pp]
Install
Dune Dependency
Authors
Maintainers
Sources
pplumbing-0.0.14.tbz
sha256=ed7eaba180378a59719e9af63ccdc89dde8e0a20f2cba420abb0080b0bc4a868
sha512=f168c37c1acd38c92e5b6d59321da4021195b6ddc49dde82de70e9282b55042621bea1b84a677d57f83604c06d6ee9c790b683fd589cd2097ab8f00c293f56af
doc/CHANGES.html
0.0.14 (2025-05-26)
Changed
- Conditional set implicit transitive deps in CI depending on the compiler version (#12, @mbarbin).
0.0.13 (2025-05-22)
Added
- Rename
--verbosity
flag into--log-level
. Keep former as alias (5a88fb, @mbarbin). - Add a type for message levels and add new
Err.emit t ~level
function (#7, @mbarbin).
Changed
- Improve rendering of err with context when printing to the console (#11, @mbarbin).
- Support build with OCaml 4.14 (#10, @mbarbin).
- Increment errors and warning counts even when the message is not shown (#8, @mbarbin).
Fixed
- Do not print raised errors and exceptions when in quiet mode (#9, @mbarbin).
0.0.12 (2025-05-06)
This release prepares the deprecation of a few functions and contains ocamlmig
annotations to help users with the migration.
To automatically apply the migration changes, first upgrade your pplumbing
dependency and re-build your project. Then run the command ocamlmig migrate
from the root of your project.
Added
- Add concept of error "context" that can be augmented (#6, @mbarbin).
- Better support and rendering of errors built with
Err.sexp
(#6, @mbarbin).
Changed
- Tweak some details in format of
Err.sexp_of_t
(#6, @mbarbin). - Do not include exit code in
Err.sexp_of_t
by default (#6, @mbarbin). - Rename
Err.pp_of_sexp
toErr.sexp
to make it shorter (#4, @mbarbin).
Deprecated
- Prepare the deprecation of sexp based err constructors (#4, @mbarbin).
Removed
- Replaced
Err.append
byErr.add_context
(#6, @mbarbin). - Removed
Stdune.User_message.t -> Err.t
helper (#5, @mbarbin).
0.0.11 (2025-04-25)
Added
- Add
Err.Color_mode
to access value of cli arg--color=(auto|always|never)
(#3, @mbarbin). - Add
Err.Log_level
getters related to current log level (#3, @mbarbin).
Changed
- Add
Err.Log_level.App
for better compatibility withLogs
(#3, @mbarbin).
Deprecated
- In
Log_cli.Config
depreatelogs_level
andfmt_style_renderer
(#3, @mbarbin).
Fixed
- Make
Err.error_count
include errors emitted viaLogs.err
- same for warnings (#3, @mbarbin). - Make
Err.had_errors
include errors emitted viaLogs.err
(#3, @mbarbin).
0.0.10 (2025-03-09)
Fixed
- Fix typo in project name as it was meant to be
pplumbing
.
0.0.9 (2025-03-09)
This release is about preparing the publication of the project to the public opam repository.
Changed
- Rename project
pplumbing
. - Now publish
cmdlang-cmdliner-runner
as a subpackage.
0.0.8 (2024-11-14)
Changed
- Upgrade to
cmdlang.0.0.8
.
0.0.7 (2024-11-10)
Initialize release, continue from release numbers of cmdlang
.
Added
- Added packages
pp_tty
andpp_log
. - Moved from
cmdlang
the packageserr
,err-cli
andcmdlang-cmdliner-runner
.
Changed
- Renamed
Err_cli
=>Log_cli
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page