Skip to content

Commit

Permalink
Bump nimble version and update RELEASE-NOTES pre-release.
Browse files Browse the repository at this point in the history
  • Loading branch information
c-blake committed Jan 3, 2022
1 parent 4051648 commit 91c937d
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
28 changes: 28 additions & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,34 @@
RELEASE NOTES
=============

Version: 1.5.20
---------------

Began a scope discussion: https://github.com/c-blake/cligen/discussions/201

Add a new exception type for the main CLI generation framework that allows
raising user syntax/semantic errors when the CLauthor controls (or explicitly
wraps) an API. Either a terse message or the full help string interpolated in
is possible (via ${HELP}). See `test/UserError.nim` for how to use. This
feature vaguely relates to these issues:
https://github.com/c-blake/cligen/issues/160
https://github.com/c-blake/cligen/issues/180
https://github.com/c-blake/cligen/issues/135

Add `madvise` API to `posixUt`.

Add `strip(MSlice)`, `firstN(MSlice)` to `mslice`; Make w\* abbreviate
"white" in mslice.initSep; Have `cligen/mslice.parseFloat`/ints take sum type
including `openArray[char]` for more flexible deployment.

Make cligen/strUt.(ecvt|fcvt) thread safety analyzer-safe with a compile-time
proc to init `zeros` instead of using `strutils.repeat`.

Add a convenience first param broadcaster macro `macUt.callsOn`.

Rename `rp --test` to `where` and fix a few bugs (`pclose` on Windows, `isNan`
for Nim<1.6, `textAttrRegisterAliases`, `tcc`-compat `osUt`).

Version: 1.5.19
---------------
Add fast `ecvt`, `fcvt`, and pretty `fmtUncertain`.
Expand Down
2 changes: 1 addition & 1 deletion cligen.nimble
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Package
version = "1.5.19"
version = "1.5.20"
author = "Charles Blake"
description = "Infer & generate command-line interface/option/argument parser"
license = "MIT/ISC"
Expand Down

0 comments on commit 91c937d

Please sign in to comment.