v1.11.1
* Protect converter calls in iter_decode()/iter_encode()
* Extend XSD type matching for code generators (fallback to schema types with a local name)
Version 0.6.0
.............
Released on 2022-04-15.
**This version deprecates the ``iter_ancestors`` and
``iter_previous_siblings`` methods, that will be removed in 0.7.0.
Use the ``ancestors`` and ``previous_siblings`` properties instead.**
* Improve speed of ancestors and previous siblings
Version 0.5.0
.............
Released on 2022-02-27.
* Support Python 3.10
* Drop support of Python 3.6
* Handle many CSS4 selectors
* Ignore comments at the beginning of selectors
What's Changed
-Update bat dependency so that delta is compatible with latest bat release
(#1075)
-Flush line buffers in additional locations by @dandavison in #1003
-Reorganize wrapping utilities by @dandavison in #1008
-Bump regex to fix CVE-2022-24713 by @msirringhaus in #1015
-Apply file-transformation to diff header in addition to hunk header
by @dandavison in #1012
-Add support for irreversible-delete by @wescande in #945
-Add custom env struct to store env at init by @wescande in #1025
-Apply hyperlinks to diff stat file paths by @dandavison in #1035
-Add link to bat on README by @eloyesp in #1052
-Add chameleon theme to themes.gitconfig by @AirOnSkin in #1062
-Add 'light = false' w/ comment in gitconfig by @toolness in #1073
[0.6.0] - 2022-05-13
Add split-by-byte using --bytes
Add split-by-character using --characters
Faster performance when -p (compress delimiters) is on
Faster performance when reading the input
CI now fails if the linter is not satisfied
Reviewd CI/release actions, simpler, faster
Release binaries for ARM too
Changes since 0.20.0:
v0.21.0
Features
* Correctly render tab stops in --show-all, see #2038 (@Synthetica9)
* Add a --style=default option and make it the default. It is less verbose
than full, see #2061 (@IsaacHorvath)
* Enable BusyBox less as pager, see #2162 (@nfisher1226)
* File extensions are now matched case-insensitively. See #1854, #2181
(@Enselic)
Bugfixes
* Bump regex dependency from 1.5.4 to 1.5.5 to fix CVE-2022-24713, see #2145,
#2139 (@Enselic)
* bat no longer crashes when encountering files that references missing
syntaxes. See #915, #2181 (@Enselic)
Performance
* Skip syntax highlighting on long lines (> 16384 chars) to help improve
performance. See #2165 (@keith-hall)
* Vastly improve startup time by lazy-loading syntaxes via syntect 5.0.0. This
makes bat display small files ~75% faster than before. See #951, #2181
(@Enselic)
Other
* Include info about custom assets in --diagnostics if used. See #2107, #2144
(@Enselic)
Syntaxes
* Mapped clang-format config file (.clang-format) to YAML syntax
(@TruncatedDinosour)
* log syntax: improved handling of escape characters in double quoted
strings. See #2123 (@keith-hall)
* Associate /var/spool/mail/* and /var/mail/* with the Email syntax. See #2156
(@cyqsimon)
* Added cmd-help syntax to scope --help messages. See #2148 (@victor-gp)
* Slightly adjust Zig syntax. See #2136 (@Enselic)
* Associate .inf files with the INI syntax. See #2190 (@Enselic)
Themes
bat as a library
* Allow configuration of show_nonprintable with PrettyPrinter, see #2142
* The binary format of syntaxes.bin has been changed due to syntaxes now being
lazy-loaded via syntect 5.0.0. See #2181 (@Enselic)
* Mark bat::error::Error enum as #[non_exhaustive] to allow adding new
variants without future semver breakage. See #2181 (@Enselic)
* Change Error::SyntectError(syntect::LoadingError) to
Error::SyntectError(syntect::Error). See #2181 (@Enselic)
* Add Error::SyntectLoadingError(syntect::LoadingError) enum variant. See
#2181 (@Enselic)
Upstream changes:
https://github.com/sparklemotion/nokogiri/releases/tag/v1.13.6https://github.com/sparklemotion/nokogiri/releases/tag/v1.13.5
1.13.6 / 2022-05-08
Security
* [CRuby] Address CVE-2022-29181, improper handling of unexpected data types,
related to untrusted inputs to the SAX parsers. See GHSA-xh29-r2w5-wx8m for
more information.
Improvements
* {HTML4,XML}::SAX::{Parser,ParserContext} constructor methods now raise
TypeError instead of segfaulting when an incorrect type is passed.
1.13.5 / 2022-05-04
Security
* [CRuby] Vendored libxml2 is updated to address CVE-2022-29824. See
GHSA-cgx6-hpwq-fhv5 for more information.
Dependencies
* [CRuby] Vendored libxml2 is updated from v2.9.13 to v2.9.14.
Improvements
* [CRuby] The libxml2 HTML4 parser no longer exhibits quadratic behavior when
recovering some broken markup related to start-of-tag and bare <
characters.
Changed
* [CRuby] The libxml2 HTML4 parser in v2.9.14 recovers from some broken
markup differently. Notably, the XML CDATA escape sequence <![CDATA[ and
incorrectly-opened comments will result in HTML text nodes starting with &
lt;! instead of skipping the invalid tag. This behavior is a direct result
of the quadratic-behavior fix noted above. The behavior of downstream
sanitizers relying on this behavior will also change. Some tests describing
the changed behavior are in test/html4/test_comments.rb.
v0.1.8
-Support for working with capture groups. When -P % is specified, the
replacement string specified via -r will substitute capture groups for all
occurences of % or %[0-9].
-Support for compact output.
-Rework of colored output: when not specified, the output stream is checked.
If this is a TTY, no color output will be produced.
v0.1.7
-Filename pattern matching with -f and -F is now case-sensitive only when -s
is set
-Added primitive method to only output the matches via -m. This should be
replaced with proper Regex submatch support.
A linter for YAML files.
yamllint does not only check for syntax validity, but for weirdnesses
like key repetition and cosmetic problems such as lines length,
trailing spaces, indentation, etc.
v4.5.0
------
* Validator classes for each version now maintain references to the correct
corresponding format checker
* Development has moved to a `GitHub organization
<https://github.com/python-jsonschema/>`_.
No functional behavior changes are expected from the change.
ugrep v3.7.11
New -Zbest (--fuzzy=best) option argument best to only output the best matching patterns. Updated option -Z (--fuzzy) can now be combined with -U (--binary) to fuzzy match bytes instead of Unicode characters. Additional --stats results with total lines searched and matched, and time elapsed. New complementary options --min-depth, --max-depth, --min-line and --max-line which are added for consistency with the updated options --min-count and --max-count. Updated the --min-count option, which can now be combined with any other option except with -v (--invert-match). Updated option -K (--range) to take a MAX argument instead of a FIRST argument for consistency with other min/max options. Recursive searching sysfd, such as /proc and /sys, no longer blocks on special files/devices. Fixed inconsistent colorization with option -v when used with context options -A, -B and -C. Fixed option -r when combined with file argument - (read standard input), which does both, like GNU grep. Other minor improvements and fixes.
0.99 (2022-01-08)
Added: Python 3.9 & 3.10 are now supported
Added: Sphinx 4 is now supported.
Added: Can now set background images using PageBreak.
Added: Can now set multiple style names in the class directive
Added: pdf_smartquotes option is now supported with Sphinx builds
Added: Add support for styling separations.
Changed: Outline entries that are deeper than the ToC are now collapsed
Changed: math directive updated to support latest matplotlib
Changed: the --very-verbose option provides more information when things go wrong.
Changed: The default stylesheet has been improved. Use the rst2pdf-0.9 stylesheet to apply the previous default as per the "Migrating to the New Default Stylesheet" section of the manual. Also, the twoColumn style is no longer part of the default styles and is now a separate style. Add -s twocolumn to apply it or, for Sphinx add pdf_stylesheets = ['twocolumn']
Changed: Stylesheets are now in YAML. Migrate to the new format using python -m rst2pdf.style2yaml as per the "Migrating Stylesheet Format" section of the manual.
Fixed: An imagine that is too tall in a table cell is now resized to fit.
Fixed: rst2pdf now writes to stdout again
Fixed: Ensure table columns are wide enough for use
Fixed: Better error messages for malformed RST
Fixed: The Sphinx versionadded & versionchanged directives work again
Fixed: Hyperlinks with embedded internal link aliases no longer crash.
Fixed: A more sensible error message is displayed when importing an extension fails
Fixed: If rst2pdf errors, it should now return a non-zero status code.
Fixed: Various documentation improvements
Fixed: Addressed regular expression FutureWarning.
Removed: Documentation related to kerning has been removed as it depended on word-axe which is longer
hck is a shortening of hack, a rougher form of cut.
A close to drop in replacement for cut that can use a regex delimiter instead
of a fixed string. Additionally this tool allows for specification of the order
of the output columns using the same column selection syntax as cut.
No single feature of hck on its own makes it stand out over awk, cut, xsv or
other such tools. Where hck excels is making common things easy, such as
reordering output fields, or splitting records on a weird delimiter. It is
meant to be simple and easy to use while exploring datasets. Think of this as
filling a gap between cut and awk.
v3.7.10
Updated option -Z (--fuzzy) can now be combined with -U (--binary) to fuzzy match bytes instead of Unicode characters. Additional --stats results with total lines searched and matched, and time elapsed. New complementary options --min-depth, --max-depth, --min-line and --max-line which are added for consistency with the updated options --min-count and --max-count. Updated the --min-count option, which can now be combined with any other option except with -v (--invert-match). Updated option -K (--range) to take a MAX argument instead of a FIRST argument for consistency with other min/max options. Recursive searching sysfd, such as /proc and /sys, no longer blocks on special files/devices. Fixed inconsistent colorization with option -v when used with context options -A, -B and -C. Fixed option -r when combined with file argument - (read standard input), which does both, like GNU grep. Other minor improvements and fixes.
v0.13.0
Add install info to readme for openSUSE.
Support defaultdict for namespace mapping
parse(generator) is now possible
Processing comments on parsing from xml to dict
Add expand_iter kw to unparse to expand iterables
Fixed some typos
Add support for python3.8
Drop Jython/Python 2 and add Python 3.9/3.10.
Drop OrderedDict in Python >= 3.7
Do not use len() to determine if a sequence is empty
Add more namespace attribute tests
Fix encoding issue in setup.py
v2.9.14: May 02 2022:
- Security:
[CVE-2022-29824] Integer overflow in xmlBuf and xmlBuffer
Fix potential double-free in xmlXPtrStringRangeFunction
Fix memory leak in xmlFindCharEncodingHandler
Normalize XPath strings in-place
Prevent integer-overflow in htmlSkipBlankChars() and xmlSkipBlankChars()
(David Kilzer)
Fix leak of xmlElementContent (David Kilzer)
- Bug fixes:
Fix parsing of subtracted regex character classes
Fix recursion check in xinclude.c
Reset last error in xmlCleanupGlobals
Fix certain combinations of regex range quantifiers
Fix range quantifier on subregex
- Improvements:
Fix recovery from invalid HTML start tags
- Build system, portability:
Define LFS macros before including system headers
Initialize XPath floating-point globals
configure: check for icu DEFS (James Hilliard)
configure.ac: produce tar.xz only (GNOME policy) (David Seifert)
CMakeLists.txt: Fix LIBXML_VERSION_NUMBER
Fix build with older Python versions
Fix --without-valid build