v2.8.1 (Oct 27, 2021)
Changes and additions:
The simple namespace creation shortcut added in 2.8.0 was deprecated due to usage of CPython internal API, and will be removed soon. Use py::module_::import("types").attr("SimpleNamespace").
Add C++ Exception type to throw and catch AttributeError. Useful for defining custom __setattr__ and __getattr__ methods.
Fixes:
Fixed the potential for dangling references when using properties with std::optional types.
Modernize usage of PyCodeObject on Python 3.9+ (moving toward support for Python 3.11a1)
A long-standing bug in eigen.h was fixed. The bug was unmasked by newly added static_assert's in the Eigen 3.4.0 release.
Support multiple raw inc…
Correct a merge botch introduced in a previous commit. It was intended
that a variable be redefined, but it was committed in an incomplete
testing state.
-syntect-printer supports text-wrapping. Longer lines than terminal width are
now wrapped by default. It can handle wide characters including special emojis
with zero-width joiner (U+200D)
-syntect-printer highlights matched regions in matched lines with a searched
text color. Since match positions in matched lines are not included in output
from grep -nH, currently this is only supported by combination of
syntect-printer feature and ripgrep feature
-syntect-printer now uses light dashed lines for the separator of snippets
-Add --wrap MODE option where MODE is one of char or never (the default value
is char). More modes may be implemented in the future
-In favor of --wrap option, --no-wrap flag is now deprecated and will be
removed at v0.2.0. Use --wrap never instead
-When building binaries for Windows, link C runtime statically. This avoid
depending on vcruntime DLL at runtime
-Critical section of syntect-printer was optimized. It slightly improved
performance (around 4% faster in benchmarks)
-Enable thin LTO for release build. It slightly improved performance
(0~6% faster in benchmarks)
Release 0.18 (2021-10-26)
=========================
* docutils/nodes.py
- Don't change a list while looping over it (in
document.set_name_id_map()). Thanks to Mickey Endito.
* docutils/parsers/recommonmark_wrapper.py
- Test and update to work with recommonmark version 0.6.0.
Still experimental.
Unfortunately, recommonmark_ is `no longer maintained`__.
__ https://github.com/readthedocs/recommonmark/issues/221
* docutils/parsers/rst/directives/misc.py
- Fix bug 424 Wrong circular inclusion detection.
Use a "magic" comment instead of line numbers
to keep a log of recursive inclusions.
* docutils/parsers/rst/states.py
- Use a "magic" comment to update the log of recursive inclusions.
* docutils/writers/html5_polyglot/__init__.py
- New option "image_loading". Support "lazy" loading of images.
Obsoletes "embed_images".
* docutils/writers/pseudoxml.py:
- Fix spelling of option "detailed".
* tools/docutils-cli.py
- Read settings from standard configuration files.
3.14.7
Fix bug in APSW extension with Sqlite 3.35 and newer, due to handling of last
insert rowid with RETURNING.
3.14.6
Fix pesky bug in new `last_insert_id()` on the `SqliteExtDatabase`.
3.14.5
This release contains a number of bug-fixes and small improvements.
* Only raise `DoesNotExist` when `lazy_load` is enabled on ForeignKeyField.
* Add missing convenience method `ModelSelect.get_or_none()`
* Allow `ForeignKeyField` to specify a custom `BackrefAccessorClass`,
* Ensure foreign-key-specific conversions are applied on INSERT and UPDATE.
* Add handling of MySQL error 4031 (inactivity timeout) to the `ReconnectMixin`
helper class.
* Support specification of conflict target for ON CONFLICT/DO NOTHING.
* Add `encoding` parameter to the DataSet `freeze()` and `thaw()` methods.
* Fix bug which prevented `DeferredForeignKey` from being used as a model's
primary key.
* Ensure foreign key's related object cache is cleared when the foreign-key is
set to `None`.
* Allow specification of `(schema, table)` to be used with CREATE TABLE AS...,
* Allow reusing open connections with DataSet.
* Add `highlight()` and `snippet()` helpers to Sqlite `SearchField`, for use
with full-text search extension.
* Preserve user-provided aliases in column names.
* Add support for Sqlite 3.37 strict tables.
* Ensure database is inherited when using `ThreadSafeDatabaseMetadata`, and
also adds an implementation in `playhouse.shortcuts` along with basic unit
tests.
* Better handling of Model's dirty fields when saving.
* Add basic support for MariaDB connector driver in `playhouse.mysql_ext`.
* Begin a basic implementation for a psycopg3-compatible pg database.
* Add provisional support for RETURNING when using the appropriate versions of
Sqlite or MariaDB.
Changes in version 0.4.6.8 - 2021-10-26
This version fixes several bugs from earlier versions of Tor. One
highlight is a fix on how we track DNS timeouts to report general
relay overload.
o Major bugfixes (relay, overload state):
- Relays report the general overload state for DNS timeout errors
only if X% of all DNS queries over Y seconds are errors. Before
that, it only took 1 timeout to report the overload state which
was just too low of a threshold. The X and Y values are 1% and 10
minutes respectively but they are also controlled by consensus
parameters. Fixes bug 40491; bugfix on 0.4.6.1-alpha.
o Minor features (fallbackdir):
- Regenerate fallback directories for October 2021. Closes
ticket 40493.
o Minor features (testing):
- On a testing network, relays can now use the
TestingMinTimeToReportBandwidth option to change the smallest
amount of time over which they're willing to report their observed
maximum bandwidth. Previously, this was fixed at 1 day. For
safety, values under 2 hours are only supported on testing
networks. Part of a fix for ticket 40337.
- Relays on testing networks no longer rate-limit how frequently
they are willing to report new bandwidth measurements. Part of a
fix for ticket 40337.
- Relays on testing networks now report their observed bandwidths
immediately from startup. Previously, they waited until they had
been running for a full day. Closes ticket 40337.
o Minor bugfix (onion service):
- Do not flag an HSDir as non-running in case the descriptor upload
or fetch fails. An onion service closes pending directory
connections before uploading a new descriptor which can thus lead
to wrongly flagging many relays and thus affecting circuit building
path selection. Fixes bug 40434; bugfix on 0.2.0.13-alpha.
- Improve logging when a bad HS version is given. Fixes bug 40476;
bugfix on 0.4.6.1-alpha.
o Minor bugfix (CI, onion service):
- Exclude onion service version 2 Stem tests in our CI. Fixes bug 40500;
bugfix on 0.3.2.1-alpha.
o Minor bugfixes (compatibility):
- Fix compatibility with the most recent Libevent versions, which no
longer have an evdns_set_random_bytes() function. Because this
function has been a no-op since Libevent 2.0.4-alpha, it is safe
for us to just stop calling it. Fixes bug 40371; bugfix
on 0.2.1.7-alpha.
o Minor bugfixes (onion service, TROVE-2021-008):
- Only log v2 access attempts once total, in order to not pollute
the logs with warnings and to avoid recording the times on disk
when v2 access was attempted. Note that the onion address was
_never_ logged. This counts as a Low-severity security issue.
Fixes bug 40474; bugfix on 0.4.5.8.
Upstream release notes:
2.1.9
- Security: Fixed command injection vulnerability on Windows
(GHSA-frqg-7g38-6gcf / CVE-2021-41116)
- Fixed classmap parsing with a new class parser which does not rely on regexes
anymore (#10107)
- Fixed inline git credentials showing up in output in some conditions (#10115)
- Fixed support for running updates while offline as long as the cache contains
enough information (#10116)
- Fixed show --all foo/bar which as of 2.0.0 was not showing all versions
anymore but only the installed one (#10095)
- Fixed VCS repos ignoring some versions silently when the API rate limit is
reached (#10132)
- Fixed CA bundle to remove the expired Let's Encrypt root CA
2.1.8
- Fixed regression in 2.1.7 when parsing classmaps in files containing invalid
Unicode (#10102)
2.1.7
- Added many type annotations internally, which may have an effect on CI/static
analysis for people using Composer as a dependency. This work will continue
in following releases
- Fixed regression in 2.1.6 when parsing classmaps with empty heredocs (#10067)
- Fixed regression in 2.1.6 where list command was not showing plugin commands
(#10075)
- Fixed issue handling package updates where the package type changed (#10076)
- Fixed docker being detected as WSL when run inside WSL (#10094)
2.1.6
- Updated internal PHAR signatures to be SHA512 instead of SHA1
- Fixed uncaught exception handler regression (#10022)
- Fixed more PHP 8.1 deprecation warnings (#10036, #10038, #10061)
- Fixed corrupted zips in the cache from blocking installs until a cache clear,
the bad archives are now deleted automatically on first failure (#10028)
- Fixed URL sanitizer handling of new github tokens (#10048)
- Fixed issue finding classes with very long heredocs in classmap autoload
(#10050)
- Fixed proc_open being required for simple installs from zip, as well as
diagnose (#9253)
- Fixed path repository bug causing symlinks to be left behind after a package
is uninstalled (#10023)
- Fixed issue in 7-zip support on windows with certain archives (#10058)
- Fixed bootstrapping process to avoid loading the composer.json and plugins
until necessary, speeding things up slightly (#10064)
- Fixed lib-openssl detection on FreeBSD (#10046)
- Fixed support for ircs:// protocol for support.irc composer.json entries
Today, we're releasing 0.39 of Nu. This release is a bugfix release of 0.38.
What's New:
-History file is now removed when the history is cleared (fdncred)
-HTML selector has a regression fixed (lucassmmg)
-Unused dependencies were removed (lucassmmg)
-Updated clippy warnings were fixed (jt)
Engine-q progress
You'll notice that this release is pretty light, only a set of fixes on 0.38.
his is because our energy is now largely focused on engine-q.
We're excited to get this in front of you.
Just to tease a little of what will be possible, this week we added support for
processing streams in parallel in engine-q using a new par-each command.
We'll talk more about this as it develops.
For everyone who’s waited patiently all month, MAME 0.237 is out
today! As well as the updates to the UI and debugger that we’ve
already announced, there are several updates to the included plugins:
* A brand-new input macro plugin.
* The data plugin can now show text from the Japanese command.dat
file (or a Chinese command.txt file if you rename it to command.dat).
* The location the hiscore support plugin uses to store its data
and configuration has changed. You won’t lose your high scores,
but you need to move the .hi files from the hi folder to the hiscore
folder in your plugin data (homepath) folder.
* The configuration format for the autofire plugin has changed.
Unfortunately, you will need to add your autofire button settings
again.
Interesting machines added this month include a Mexican TRS-80
Color Computer clone, Tronica Thunder Ball (a re-skin of Space
Rescue with a nautical theme), the original version of Pengo that
the widespread bootlegs seem to be based on, the original hardware
revision of the Laser 128 (Apple II clone), and a slightly older
version of Street Fighter Zero 2 Alpha for Asia.
Master of multi-memory controllers kmg is still on a roll broadening
NES/Famicom and clone cartridge compatibility. Highlights of the
month include:
* Railway management simulator A Ressha de Ikou.
* Recent NES/Famicom games released by Ancient to promote Gotta
Protectors (Minna de Mamotte Knight). NES development is still
alive over two decades after the last licensed title was released
in 1995.
* The two Korean Brilliant Com (영재컴) edutainment games.
* Some multi-game cartridges featuring the ambitious Titenic game,
inspired by a highly successful James Cameron film.
* Kart Fighter – using the engine from an unlicensed NES port of
Street Fighter II, and unlicensed depictions of the character roster
from Super Mario Kart, this is almost a premonition of Super Smash
Bros. It even features Yoshi’s tail smash, and depicts Kinopio
(Toad) as a bare-knuckle brawler long before the Mii costume was
available for purchase.
* Well-known low-effort Mario-themed hack 7 Grand Dad. PUSH ↑ START
BUTTON. GET ADDITION GAME. AND NOURISH THE BLOOD
Amiga software compatibility has been improved this month, the NEC
PC-6001 family has gained a cartridge software list, and another
batch of Commodore 64 cassettes has been added. An issue was
identified with “fake E7” Apple II cracks that could prevent them
from working if they were written out to disks to use on original
hardware. Although this didn’t prevent them from being used in
MAME, disk images with the issue fixed have been added to the
software list. Over a hundred Apple IIgs cracks have been added,
too.
The new gh codespace commands allow creating, listing, connecting to, and otherwise managing your codespaces.
# list your codespaces
$ gh codespace list
# create a new codespace
$ gh codespace create --repo cli/cli
# start an interactive shell within a codespace
$ gh codespace ssh
What's new:
- Add repo delete command
- Add run cancel command
- Add gpg-key management commands
- Support logging in to github.localhost
- Improve error handling for rclone and REST backend over HTTP2
- Fix terminal output redirection for PowerShell
- Treat an empty password as a fatal error for repository init
- copy failed to copy snapshots in rare cases
- backup --quiet no longer prints status information
- Fix crash of check --read-data-subset=x% run for an empty repository
- Fix fdopendir: not a directory error for local backend
- Print created new cache message only on a terminal
- Fix crash of backup --exclude='**'
- Fix possibly missing backup summary of JSON output in case of error
- Correctly handle download errors during restore
- Empty files now have size of 0 in ls --json output
- Add auto-completion support for fish
- SFTP backend now checks for disk space
- Add --keep-within-hourly option to restic forget
- Support filtering and specifying untagged snapshots
- Allow specifying limit of snapshots list
- Optimize read performance of mount command
- find --pack fallback to index if data file is missing
v2.14.11
Bug Fixes
-cargo install without --locked should work now
v2.14.10
Bug Fixes
-see if releases work now with a different create-release action
We are only interested in the upload_url, not in actually creating a
release as smart-release does that already.
v2.14.9
Bug Fixes
-try to produce release binaries once more
With smart-release, this is created automatically.
v2.14.8
Changed
-auto-config support for Apple M1 Pro and Apple M1 Max
2.1.35 (19-Oct-2021)
Security
- A potential for for a list member to carry out an off-line brute force
attack to obtain the list admin password has been reported by Andre
Protas, Richard Cloke and Andy Nuttall of Apple. This is fixed.
CVE-2021-42096 (LP:#1947639)
- A CSRF attack via the user options page could allow takeover of a users
account. This is fixed. CVE-2021-42097 (LP:#1947640)
Bug Fixes and other patches
- Fixed an issue where sometimes the wrapper message for DMARC mitigation
Wrap Message has no Subject:. (LP: #1915655)
- Plain text message bodies with Content-Disposition: and no declared
charset are no longer scrubbed. (LP: #1917968)
- CommandRunner now recodes message bodies in the charset of the user's
or list's language to avoid a possible UnicodeError when including the
message body in the reply. (LP: #1921682)
- Delivery disabled by bounce notices to admins now have 'disabled'
properly translated. (LP: #1922843)
- DMARC policy discovery ignores domains with multiple DMARC records per
RFC 7849, (LP: 1931029)
pkgsrc changes:
qt5script is not used anymore, this means that
only qt5declarative is needed as a dependency.
USE_LIBTOOL line removed since qt5 doesn't
use libtool.
Changes from ChangeLog:
version 5.1.1 -> 5.1.2 :
- a bug related to replace action with a regular expression has been fixed
- a bug related to mouse wheel events in the pdf viewer has been fixed
- support for non integer dpi scale factor has been added
(such as Windows using 125% or 150% scale on laptops)
version 5.1.0 -> 5.1.1 :
- a critical bug on the windows version compiled with msvc 2019 while
inserting a symbol has been fixed
- a trouble in the syntax highlighting with the verb latex command
has been fixed
version 5.0.4 -> 5.1.0 :
- compatibility with Qt6 has been added. Texmaker can now be compiled
with Qt5 (>=5.7) and Qt6 (>= 6.2). This ensures that Texmaker will
be available for, at least, the next ten years.
- the internal pdf engine (from chromium) has been updated
- hunspell has been updated to 1.7.O
- synctex has been updated to 1.21
- default windows paths are now searched in the windows registry and path
- a potential trouble with user commands beginning with a space has been
fixed
- the texmaker.appdata.xml file has been updated
- GTK-based theming for systems without a "GTK+" theme has been added
- a bug with the use of latexmk with the use of the "output directory"
option has been fixed
- the pdf viewer is replaced in the default position on the main screen
if it has been closed on a screen which is no more connected
- the scale in the pdf viewer is now automatically adapted after
closing/restoring the list of pages panel
- layout has been improved in the find/replace widgets
- the obsolete use of QTScript has been replaced by QJSEngine
- the ability to change the interface font has been expanded to windows
and macos
- the ability to check spelling/grammar the text extracted from a pdf
page in the internal pdf viewer is back (via online languagetool)
- a link to import more spell dictionaries has been added to
the configuration dialog
21.2.0 (2021-10-12)
-------------------
Backward-incompatible changes:
- To implement pretty exceptions (see Changes below), ``structlog.dev.ConsoleRenderer`` now formats exceptions itself.
Make sure to remove ``format_exc_info`` from your processor chain if you configure ``structlog`` manually.
This change is not really breaking, because the old use-case will keep working as before.
However if you pass ``pretty_exceptions=True`` (which is the default if either ``rich`` or ``better-exceptions`` is installed), a warning will be raised and the exception will be renderered without prettyfication.
Changes:
- ``structlog`` is now importable if ``sys.stdout`` is ``None`` (e.g. when running using ``pythonw``).
- ``structlog.threadlocal.get_threadlocal()`` and ``structlog.contextvars.get_contextvars()`` can now be used to get a copy of the current thread-local/context-local context that has been bound using ``structlog.threadlocal.bind_threadlocal()`` and ``structlog.contextvars.bind_contextvars()``.
- ``structlog.threadlocal.get_merged_threadlocal(bl)`` and ``structlog.contextvars.get_merged_contextvars(bl)`` do the same, but also merge the context from a bound logger *bl*.
Same pull requests as previous change.
- ``structlog.contextvars.bind_contextvars()`` now returns a mapping of keys to ``contextvars.Token``\s, allowing you to reset values using the new ``structlog.contextvars.reset_contextvars()``.
- Exception rendering in ``structlog.dev.ConsoleLogger`` is now configurable using the ``exception_formatter`` setting.
If either the `rich <https://github.com/willmcgugan/rich>`_ or the `better-exceptions <https://github.com/qix-/better-exceptions>`_ package is present, ``structlog`` will use them for pretty-printing tracebacks.
``rich`` takes precedence over ``better-exceptions`` if both are present.
This only works if ``format_exc_info`` is **absent** in the processor chain.
- All use of ``colorama`` on non-Windows systems has been excised.
Thus, colors are now enabled by default in ``structlog.dev.ConsoleRenderer`` on non-Windows systems.
You can keep using ``colorama`` to customize colors, of course.
- The final processor can now return a ``bytearray`` (additionally to ``str`` and ``bytes``).
v1.6.0
Change
required pycodestyle version 2.8.0 and higher version
Buf Fix
Ignore Settings for W292 Do Not Work
Multiple #autopep8: off/on directives in one file do not work
--hang-closing option does not work for non-indented lines