Version 2.13.0
--------------
- Added lexers:
* COMAL-80
* JMESPath
* Sql+Jinja
- Updated lexers:
* Ada: support Ada 2022
because it disturbs lexing of aspects
* Agda: allow straight quotes in module names
* C family (C, C++ and many others): allow comments between
elements of function headers, e.g. between the arguments and
the opening brace for the body
* C++: Resolve several cases of ``Error`` tokens
* Coq: add some common keywords, improve recognition of ``Set``
and qualified identifiers
* F*: Allow C-style comments anywhere in a line
* Fortran: fix catastrophic backtracking with backslashes in strings
* Go: add support for generics
* Inform: update for version 6.40
* Isabelle: recognize cartouches
* Java: support multiline strings aka. text blocks
* Kotlin: add ``value`` modifier
* LilyPond: add some missing builtins
* Macaulay2: update builtins
* Matlab session: fix traceback when a line continuation ellipsis
appears in the output
* .NET: add aliases for LibreOffice Basic, OpenOfficeBasic and
StarOffice Basic
* Nim: use ``Name.Builtin`` instead of ``Keyword.Type``
* PHP: fix `\"$var\"` inside strings
* Python: only recognize ``\N``, ``\u`` and ``\U`` escape sequences
in string literals, but not in bytes literals where they are
not supported
* Tcl: support ``${name}`` variables
* Terraform: accept leading whitespace for `<<` heredoc
delimiters
* Teraterm: Various improvements
* Spice: add support for the recently added features including more
builtin functions and bin, oct, hex number formats
- Added styles:
* GitHub dark
* StarOffice
* Nord (`nord` and `nord-darker`)
- Pygments now tries to use the ``importlib.metadata`` module to
discover plugins instead of the slower ``pkg_resources``
particular, this largely speeds up the ``pygmentize`` script when
the lexer is not specified.
``importlib.metadata`` is only available in the Python standard
library since Python 3.8. For older versions, there exists an
``importlib_metadata`` backport on PyPI. For this reason, Pygments
now defines a packaging extra ``plugins``, which adds a requirement
on ``importlib_metadata`` if the Python version is older than
3.8. Thus, in order to install Pygments with optimal plugin
support even for old Python versions, you should do::
pip install pygments[plugins]
Pygments still falls back on ``pkg_resources`` if neither
``importlib.metadata`` nor ``importlib_metadata`` is found, but it
will be slower.
- Silently ignore ``BrokenPipeError`` in the command-line interface
- The ``HtmlFormatter`` now uses the ``linespans`` attribute for
``anchorlinenos`` if the ``lineanchors`` attribute is unset
- The ``highlight``, ``lex`` and ``format`` functions no longer
wrongly report "argument must be a lexer/formatter instance, not a
class" in some cases where this is not the actual problem
- Fix warnings in doc build
- The ``codetagify`` filter now recognizes ``FIXME`` tags by default
- The ``pygmentize`` command now recognizes if the ``COLORTERM``
environment variable is set to a value indicating that true-color
support is available. In that case, it uses the ``TerminalTrueColorFormatter``
by default
- Remove redundant caches for filename patterns
- Use new non-deprecated Pillow API for text bounding box in ``ImageFormatter``
- Remove ``default_style``
- Stop treating ``DeprecationWarnings`` as errors in the unit tests
v1.9.4:
perf : faster decoding speed (~+20%) on Apple Silicon platforms, by @zeux
perf : faster decoding speed (~+70%) for -BD4 setting in CLI
api : new function LZ4_decompress_safe_partial_usingDict() by @yawqi
api : lz4frame: ability to provide custom allocators at state creation
api : can skip checksum validation for improved decoding speed
api : new experimental unit lz4file for file i/o API, by @anjiahao1
api : new experimental function LZ4F_uncompressedUpdate(), by @alexmohr
cli : --list works on stdin input, by @Low-power
cli : --no-crc does not produce (compression) nor check (decompression) checksums
cli : fix: --test and --list produce an error code when parsing invalid input
cli : fix: support skippable frames when passed via stdin, reported by @davidmankin
build: fix: Makefile respects CFLAGS directives passed via environment variable
build: LZ4_FREESTANDING, new build macro for freestanding environments, by @t-mat
build: make and make test are compatible with -j parallel run
build: AS/400 compatibility, by @jonrumsey
build: Solaris 10 compatibility, by @pekdon
build: MSVC 2022 support, by @t-mat
build: improved meson script, by @eli-schwartz
doc : Updated LZ4 block format, provide an "implementation notes" section
2022-06-10 9:40 Christos Zoulas <christos@zoulas.com>
* release 5.42
2022-05-31 14:50 Christos Zoulas <christos@zoulas.com>
* PR/348: add missing cases to prevent file from aborting on
random magic files.
2022-05-27 21:05 Christos Zoulas <christos@zoulas.com>
* PR/351: octalify filenames when not raw before printing.
2022-04-18 17:51 Christos Zoulas <christos@zoulas.com>
* fix regex cacheing bug (Dirk Mueller)
* merge file_regcomp and file_regerror() to simplify the code
and reduce memory requirements for storing regexes (Dirk Mueller)
2022-03-19 12:56 Christos Zoulas <christos@zoulas.com>
* cache regex (Dirk Mueller)
* detect filesystem full by flushing output (Dirk Mueller)
2021-11-19 12:36 Christos Zoulas <christos@zoulas.com>
* implement running decompressor programs using
posix_spawnp(2) instead of vfork(2)
2021-10-24 11:51 Christos Zoulas <christos@zoulas.com>
* Add support for msdos dates and times
2021-10-20 9:55 Christos Zoulas <christos@zoulas.com>
* use the system byte swapping functions if available (Werner Fink)
2021-10-18 11:57 Christos Zoulas <christos@zoulas.com>
* release 5.41
2021-09-23 03:51 Christos Zoulas <christos@zoulas.com>
* Avinash Sonawane: Fix tzname detection
2021-09-03 09:17 Christos Zoulas <christos@zoulas.com>
* Fix relationship tests with "search" magic, don't short circuit
logic
2021-07-13 01:06 Christos Zoulas <christos@zoulas.com>
* Fix memory leak in compile mode
2021-07-01 03:51 Christos Zoulas <christos@zoulas.com>
* PR/272: kiefermat: Only set returnval = 1 when we printed something
(in all cases print or !print). This simplifies the logic and fixes
the issue in the PR with -k and --mime-type there was no continuation
printed before the default case.
2021-06-30 13:07 Christos Zoulas <christos@zoulas.com>
* PR/270: Don't translate unprintable characters in %s magic formats
when -r
* PR/269: Avoid undefined behavior with clang (adding offset to NULL)
2021-05-09 18:38 Christos Zoulas <christos@zoulas.com>
* Add a new flag (f) that requires that the match is a full word,
not a partial word match.
* Add varint types (unused)
2021-04-19 17:17 Christos Zoulas <christos@zoulas.com>
* PR/256: mutableVoid: If the file is less than 3 bytes, use the file
length to determine type
* PR/259: aleksandr.v.novichkov: mime printing through indirect magic
is not taken into account, use match directly so that it does.
2021-04-04 17:02 Christos Zoulas <christos@zoulas.com>
* count the total bytes found not the total byte positions
in order to determine encoding (Anatol Belski)
- new installation methods
- 84964c7 refactors saved config values and fixes an issue with the auto method
being prioritized over a provided address arg
-Upgrade dependencies
-Functional tests: unset `TPNOTELANG`
-Derive also `Eq`
-Reborrow without "deref on an immutable reference"
-Depreciate gzip in `docs/build/man`
-Avoid allocating substring
-Use `unsigned_abs()` for isize -> u64
-Remove redunant import
-Use const where possible
-Update man-page
This update fixes over 40 bugs that were reported in the last several months. The issues listed below affect PostgreSQL 14. Some of these issues may also affect other supported versions of PostgreSQL.
Included in this release:
Fix replay of CREATE DATABASE write-ahead log (WAL) records on standby servers when encountering a missing tablespace directory.
Add support for tablespaces that are plain directories instead of symbolic links to other directories.
Fix permission checks in CREATE INDEX to use the user's permissions. This fixes broken dump/restore scenarios that relied on the behavior prior to the fix for CVE-2022-1552.
In the extended query protocol, force an immediate commit after CREATE DATABASE and other commands that can't run in a transaction block.
Fix a race condition around checking transaction visibility that was more likely to happen when using synchronous replication.
Fix incorrect permission-checking code for extended statistics.
Fix extended statistics machinery to handle most common value (MCV)-type statistics on boolean-valued expressions.
Avoid planner core dump with constant = ANY(array) clauses when there are MCV-type extended statistics on the array variable.
Allow cancellation of ANALYZE while it is computing extended statistics.
Fix ALTER TABLE ... ENABLE/DISABLE TRIGGER to handle recursion for triggers on partitioned tables.
Reject ROW() expressions and functions in FROM that have more than 1600 columns.
Fix memory leak in logical replication subscribers.
Fix checks in logical replication of replica identity when the target table is partitioned.
Arrange to clean up after commit-time errors within SPI_commit(), rather than expecting callers to do that. This includes a fix for the same scenario in PL/Python, which had reported crashes on Python 3.11 and memory leaks on older versions of Python 3.
Improve handling in libpq of idle states in pipeline mode.
In the psql \watch command, echo a newline after cancellation with control-C.
Fix pg_upgrade to detect non-upgradable usages of functions accepting anyarray parameters.
Several postgres_fdw fixes, including prevention of batch insertions when there are WITH CHECK OPTION constraints present.
from wip
preftools is a bundle of command line utilities for ballot counting,
currently containing "schulze", "schulze-simple" and "propor". The
command line utils are used to create a ranking based on ballot
data, given in a CSV like text file.