Skip to content

Commit

Permalink
Add release notes for v2.7.4
Browse files Browse the repository at this point in the history
  • Loading branch information
glentner committed Jan 23, 2024
1 parent 637a3d3 commit e059234
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
36 changes: 36 additions & 0 deletions docs/blog/20240123_2_7_4_release.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
.. _20240123_2_7_4_release:

Release Notes (v2.7.4)
======================

`January 23, 2024`

The v2.7.4 release fixes a few issues and makes improvements to
the ``ansi.py`` module.

-----

Improved usage and help text syntax highlighting
------------------------------------------------

The ``ansi.py`` module holds a collection of regular expressions
that apply automatic formatting to usage and help text with
standard syntax.

This change addresses the following:

* Section headers are generic match on capitalized word at the
start of a line ending in a colon, instead of only matching
on a list of magic words.
* Metavars (e.g., FILE, ADDR, PORT) are matched on any all-caps
word not contained by quotes, not preceded by dash; instead of
being a reserved list of magic words.
* Match any 4+ character word contained by angle brackets
instead of reserved list of magic words.
Add small list of special list of reserved resources, including
localhost, stdin, stdout, and stderr.
* Fix option pattern to include stacked single letter options.
* Fix digit matching to include decimals, this also makes IP
addresses match like numbers (naive but works).
* Add to digit matching suffixes for count (K, M, G, T) along
with optional 'b' for bytes, case insensitive.
11 changes: 11 additions & 0 deletions docs/blog/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@ A place for announcements, release notes, thoughts and ideas for the project.

-----

:ref:`Release Notes (v2.7.4) <20240123_2_7_4_release>`
------------------------------------------------------

`January 23, 2024`

The v2.7.4 release fixes a few issues and makes improvements to
the ``ansi.py`` module.

-----

:ref:`Release Notes (v2.7.3) <20231012_2_7_3_release>`
------------------------------------------------------

Expand Down Expand Up @@ -36,6 +46,7 @@ The v2.7.1 release includes major new features along with numerous fixes and imp
:hidden:
:maxdepth: 1

20240123_2_7_4_release
20231012_2_7_3_release
20230927_2_7_1_release

0 comments on commit e059234

Please sign in to comment.