Mypy 0.670:
New Feature: Variable Redefinition
Stubgen Improvements
Other Improvements
- Expand getting started docs to discuss type hints in more detail
- Always infer in operator as returning bool
- Allow star args in ctypes.Array constructor
- Fix plugin invocation for __call__ methods
- Implement the XDG directory spec for config files: $XDG_CONFIG_HOME/mypy/config is now included in the search path for config files
- When using the --junit-xml flag, the Python version and platform in the junit.xml file are now formatted as mypy-py3_6-windows — previously this was mypy-py3.6-windows but the dot was misinterpreted by some tools
- Update the typed_ast dependency to version 1.3.1; this means we now officially support Python 3.7
- Temporarily delete pyproject.toml from the repo in order to work around a pip bu g
- Include mypy_bootstrap.ini in PyPI packages
Release 1.1.4:
* Fix for issues where zipfile.py raises "ZIP does not support timestamps
before 1980" exception.
Release 1.1.3:
* Fix handling of 'num_format': '0' in duplicate formats.
2.0.33:
- Fixed 210. Allow to reset select multiple with field.value = []
- Support for PYTHONOPTIMIZE=2, fix tests on PYTHONOPTIMIZE=1, 2
- Fixed 196. Fix deprecation warnings for collections to use
collections.abc for Iterable on Python 3.
0.33.0:
Added the --build-number option to the wheel pack command
Fixed bad shebangs sneaking into wheels
Fixed documentation issue with wheel pack erroneously being called wheel repack
Fixed filenames with "bad" characters (like commas) not being quoted in RECORD
4.4
* Detect condition where declarative config will cause
errors and emit a UserWarning with guidance on necessary
actions.
4.3.1
* Re-release of 4.2 to supersede the 4.3 release which
proved to be backward-incompatible in that it requires
setuptools 30.4 or possibly later (to install). In the future, a
backward-incompatible release will re-release these changes.
For projects including pytest-runner, particularly as
setup_requires, if support for older setuptools is required,
please pin to pytest-runner < 5.
Changes:
2.9.0
-----
Features
- Add support for hub ci-status --format <FORMAT> string
- Add hub create --remote-name <REMOTE> flag
- Allow passing in a raw request body via hub api --input <FILE>
- Cache HTTP 4xx (except 403) server responses in hub api --cache
Fixes
- Ensure consistent ordering of hub ci-status -v results
- Avoid crashing on invalid GitHub hostname
- Fix parsing empty string within command-line arguments
2.8.4
-----
- Add hub api -H flag to set HTTP request headers
- Add hub api -i flag to output HTTP response headers
- Change how hub api deals with HTTP errors:
- HTTP response is now printed on stdout regardless of HTTP status
- No longer print an extra newline after HTTP response body
- No more Error: HTTP {STATUS} message on stderr
- hub exits with status 22 instead of 1
- Fix hub execution under WSL (Windows Subsystem for Linux)
0MQ version 4.3.1 stable:
* CVE-2019-6250: A vulnerability has been found that would allow attackers to
direct a peer to jump to and execute from an address indicated by the
attacker.
This issue has been present since v4.2.0. Older releases are not affected.
NOTE: The attacker needs to know in advance valid addresses in the peer's
memory to jump to, so measures like ASLR are effective mitigations.
NOTE: this attack can only take place after authentication, so peers behind
CURVE/GSSAPI are not vulnerable to unauthenticated attackers.
See https://github.com/zeromq/libzmq/issues/3351 for more details.
Thanks to Guido Vranken for uncovering the issue and providing the fix!
* Note for packagers: as pkg-config's Requires.private is now used to properly
propagate dependencies for static builds, the libzmq*-dev or zeromq-devel or
equivalent package should now depend on the libfoo-dev or foo-devel packages
of all the libraries that zmq is linked against, or pkg-config --libs libzmq
will fail due to missing dependencies on end users machines.
0MQ version 4.3.0 stable:
* The following DRAFT APIs have been marked as STABLE and will not change
anymore:
- ZMQ_MSG_T_SIZE context option (see doc/zmq_ctx_get.txt)
- ZMQ_THREAD_AFFINITY_CPU_ADD and ZMQ_THREAD_AFFINITY_CPU_REMOVE (Posix only)
context options, to add/remove CPUs to the affinity set of the I/O threads.
See doc/zmq_ctx_set.txt and doc/zmq_ctx_get.txt for details.
- ZMQ_THREAD_NAME_PREFIX (Posix only) context option, to add a specific
integer prefix to the background threads names, to easily identify them.
See doc/zmq_ctx_set.txt and doc/zmq_ctx_get.txt for details.
- ZMQ_GSSAPI_PRINCIPAL_NAMETYPE and ZMQ_GSSAPI_SERVICE_PRINCIPAL_NAMETYPE
socket options, for the corresponding GSSAPI features. Additional
definitions for principal name types:
- ZMQ_GSSAPI_NT_HOSTBASED
- ZMQ_GSSAPI_NT_USER_NAME
- ZMQ_GSSAPI_NT_KRB5_PRINCIPAL
See doc/zmq_gssapi.txt for details.
- ZMQ_BINDTODEVICE socket option (Linux only), which will bind the
socket(s) to the specified interface. Allows to use Linux VRF, see:
https://www.kernel.org/doc/Documentation/networking/vrf.txt
NOTE: requires the program to be ran as root OR with CAP_NET_RAW
- zmq_timers_* APIs. These functions can be used for cross-platforms timed
callbacks. See doc/zmq_timers.txt for details.
- The following socket monitor events:
- ZMQ_EVENT_HANDSHAKE_FAILED_NO_DETAIL: unknown errors during handshake.
- ZMQ_EVENT_HANDSHAKE_SUCCEEDED: Handshake completed with authentication.
- ZMQ_EVENT_HANDSHAKE_FAILED_PROTOCOL: Protocol errors with peers or ZAP.
- ZMQ_EVENT_HANDSHAKE_FAILED_AUTH: Failed authentication requests.
See doc/zmq_socket_monitor.txt for more details and error codes.
- zmq_stopwatch_intermediate which returns the time elapsed without stopping
the stopwatch.
- zmq_proxy_steerable command 'STATISTICS' to retrieve stats about the amount
of messages and bytes sent and received by the proxy.
See doc/zmq_proxy_steerable.txt for more information.
* The build-time configuration option to select the poller has been split, and
new API_POLLER (CMake) and --with-api-poller (autoconf) options will now
determine what system call is used to implement the zmq_poll/zmq_poller APIs.
The previous POLLER and --with-poller options now only affects the
internal I/O thread. In case API_POLLER is not specified, the behaviour keeps
backward compatibility intact and will be the same as with previous releases.
* The non-default "poll" poller for the internal I/O thread (note: NOT for the
zmq_poll/zmq_poller user APIs!) has been disabled on Windows as WSAPoll does
not report connection failures. For more information see:
- https://daniel.haxx.se/blog/2012/10/10/wsapoll-is-broken/
- https://curl.haxx.se/mail/lib-2012-10/0038.html
- https://bugs.python.org/issue16507
* New epoll implementation for Windows, using the following implementation:
https://github.com/piscisaureus/wepoll/tree/v1.5.4
To use this, select "epoll" as the poller option in the build system.
Note for distributors: the wepoll source code is embedded and distributed.
It is licensed under the BSD-2-Clause and thus it is compatible with LGPL-3.0.
Note that, if selected at build time, the license text must be distributed
with the binary in accordance to the license terms. A copy can be found at:
external/wepoll/license.txt
* The pre-made Visual Studio solutions file are deprecated, and users are
encouraged to use the CMake solution generation feature instead.
* New DRAFT (see NEWS for 4.2.0) socket options:
- ZMQ_ROUTER_NOTIFY to deliver a notification when a peer connects and/or
disconnects in the form of a routing id plus a zero-length frame.
- ZMQ_MULTICAST_LOOP to control whether the data sent should be looped back
on local listening sockets for UDP multicast sockets (ZMQ_RADIO).
See doc/zmq_setsockopt.txt and doc/zmq_getsockopt.txt for details.
* New perf tool, perf/benchmark_radix_tree, to measure the performance of the
different internal implementations of the trie algorithm used to track
subscriptions. Requires a compiler that supports C++11.
* New autoconf flag "--enable-force-CXX98-compat" which will force -std=gnu++98
and, if the compiler supports them (clang++ at the moment), it will also add
-Wc++98-compat -Wc++98-compat-pedantic so that compatibility with C++98 can
be tested.
* Many, many coding style, duplication and static analysis improvements.
* Many, many improvements to the CMake build system, especially on Windows.
* Many, many improvements to unit tests.
- version: 3.39.1
date: 2019-02-01
new features:
- title: "Content server: Implement the \"Copy to library\" function. To use it click the three dots in the top right corner of a book's page and choose \"Copy to library\""
tickets: [1810486]
- title: "Content server: Add Next/Previous buttons to the book details page"
bug fixes:
- title: "Content server: Fix editing metadata that affects multiple books causing all the metadata for all the books to become the same."
tickets: [1812781]
- title: "Open With: Fix using .bat files as the program not working."
tickets: [1811045]
- title: "ZIP Output: Fix an error when building the ToC on macOS for some books with non-ASCII ToC entries"
tickets: [1813905]
- title: "Edit book: Check book: Follow recent releases of epubcheck in expecting .ttf files to have the mime-type application/vnd.ms-opentype in EPUB 3 books"
- title: "Fix font mime-types not being auto-corrected when upgrading EPUBs from 2 to 3"
- title: "Content server: Try to detect if a book file has been edited outside of calibre and serve the updated copy"
- title: "Fix merging books not updating author if the source book has no title"
- title: "Content server: Fix heading for custom comments columns being duplicated in the book details page"
- title: "Fix editing of dates not working is the date format is set to iso."
tickets: [1812560]
- title: "Version 3.39.1 fixes a bug in 3.39.0 that broke copy to library for books that have saved conversion options"
tickets: [1814279]
improved recipes:
- Spiegel Online
- Il Post
new recipes:
- title: BSI News
author: Volker Heggemann
- title: Science Advances
author: Jose Ortiz
- version: 3.38.1
date: 2019-01-18
new features:
- title: "Tag browser: When using the Find function have unaccented characters match their accented equivalents, if the setting for it is set in Preferences->Searching"
- title: "DOCX Input: When converting indices, put each sub-entry on its own line."
tickets: [1811611]
- title: "Edit book: Insert hyperlink: Add history for the template"
- title: "Edit book: Insert hyperlink: Add a few more variables for the link template: _SOURCE_FILENAME_, _DEST_FILENAME_ and _ANCHOR_"
bug fixes:
- title: "Catalogs: Set the language of created catalogs to the calibre interface language instead of English"
tickets: [1810936]
- title: "DOCX Input: Do not display section breaks that have a numbering style applied to them."
tickets: [1811611]
- title: "Content server: Fix listening on :: not also listening on IPv4 interfaces on Windows"
- title: "DOCX Output: Fix heading styles that have the same font size as body text getting incorrect font sizes after conversion."
tickets: [1811616]
- title: "EPUB/MOBI Catalogs: Fix prefix rules not working when calibre UI language is something other than English"
- title: "EPUB/MOBI Catalogs: Fix exclusion by tag not working for tags that have spaces in them"
- title: "Subset fonts: Fix error when trying to subset unicode characters that require two UTF-16 code points on Windows."
tickets: [1811224]
- title: "Content server: Fix option to restrict displayed user field not working in the /opds view"
- title: "Tag browser: Fix incorrect icon for user categories."
tickets: [1810217]
- title: "PDF Output: Fix conversion failing when fonts with non-English names are used."
tickets: [1812218]
- title: "3.38.1 fixes a typo in 3.38.0 that caused the Polish books function to not work when polishing small numbers of books"
improved recipes:
- Chicago Tribune
- New York Times Book Review
new recipes:
- title: Nature
author: Jose Ortiz
- version: 3.37.0
date: 2019-01-04
bug fixes:
- title: "Switch from cssutils to css_parser for parsing CSS. Fixes various minor, long standing bugs"
- title: "calibredb: Fix adding books from directories to a remote server running on Windows not working"
- title: "Edit Book: Fix style attribute on <html> tags not being preserved when editing AZW3 files."
tickets: [1810193]
- title: "Get Books: Use an external browser for Google Books"
tickets: [1810205]
- title: "Saving to disk: Fix errors on Linux/macOS if the title/authors are long enough to make individual path components larger than 255 characters."
tickets: [1807525]
- title: "PDF Input: Fix non-breaking spaces represented as entities in the output of pdftohtml, which breaks some search/replace expressions"
- title: "Edit book: Fix a crash when mousing over links in an instance of the editor launched standalone on macOS Mojave"
tickets: [1805521]
- title: "Conversion: When converting with font size rescaling disabled, convert font size names to rem unit rather than pt units."
tickets: [1809671]
- title: "Windows: When registering calibre programs as possible handlers for various file types, dont set the AllowSilentDefaultTakeOver registry key"
- title: "macOS: PDF Output: Fix bold fonts not working on Mojave."
tickets: [1799750]
- title: "Content server: Fix strings with double quotes not being translated."
improved recipes:
- Il Post
- version: 3.36.0
date: 2018-12-21
new features:
- title: "Happy Holidays to everyone!"
- title: "Kobo driver: Add supported for newly released firmware update"
bug fixes:
- title: "Kobo driver: Fix a regression in the last release that caused book title
to appear as Unknown if metadata management was set to manual in calibre."
tickets: [1807914]
- title: "PDF Output: Do not fail if one of the fonts from the source document has no name metadata"
improved recipes:
- Wall Street Journal
- ESPN
- Al Jazeera (English)
- version: 3.35.0
date: 2018-12-07
new features:
- title: "Edit book: Insert hyperlink: Allow specifying a template to control the markup that is inserted for the hyperlink."
tickets: [1804250]
- title: "Metadata download: Add an option (in Preferences->Metadata download) to keep multiple results from individual metadata sources, useful if you prefer to pick the best result by hand and use only one or two metadata sources."
tickets: [1802293]
- title: "KoboTouch driver: Extend the metadata updated in the Kobo device database to all metadata displayed on the device. The update is only done for books already on the device. Needs to be enabled via Preferences->Plugins->Customize the KoboTouch device plugin."
bug fixes:
- title: "E-book viewer: Fix a regression that broke viewing of HTMLZ files"
tickets: [1691976]
- title: "Edit book: Fix suggestions in completion popup not being sorted."
tickets: [1803985]
- title: "Windows: Fix restarting calibre with system tray icon enabled causing duplicate defunct icons in the tray."
tickets: [1803034]
improved recipes:
- Wired Magazine
- Wall Street Journal
- Telepolis
- Yahoo News
- Associated Press
- Mother Jones
new recipes:
- title: Macrobusinness
author: 2018robert
- title: Sports Illustrated
author: Kovid Goyal
- title: Le Peuple Breton
author: Lionel Plais
- title: Mandiner
author: pofa
A fork of the cssutils project based on version 1.0.2. This fork
includes general bug fixes and extensions specific to editing and
working with ebooks.
v6.8.0:
This release includes an implementation of [RFC 10], documenting an optional field that can be used to specify
the directory path for a package within a monorepo.
NEW FEATURES
* Update package.json docs to include repository.directory details.
BUGFIXES
* Add @types to ignore list to fix git clean -fd.
* Fix common.npm callback arguments.
* Show installed but unmet peer deps.
* Use figgy-config to make sure extra opts are there.
* Fix ls-collaborators access error for non-scoped case.
* Fix issue with sub-folder local references.
DEPENDENCY BUMPS
* npm-registry-couchapp@2.7.1
* npm-registry-fetch@3.9.0:
* Make sure publishing with legacy username:password _auth works again.
* pacote@9.4.1
* normalize-package-data@2.5.0
* npm-packlist@1.3.0
* read-package-tree@5.2.2
MISC
* Use const in lib/fetch-package-metadata.md.
* Replace ronn with marked-man in .npmignore.
* Reduce work to test if executable ends with a 'g'.