Changelog
Version 0.18
Change of beaviour: File endings are now normalized so that all DOT source
outputs end with a final newline (Unix convention, simplifies concatenation).
This includes DOT source files written by .render(), .view(), or .save()
as well was .source generated or loaded from Source (or Source.from_file()).
Change of behaviour: Source instances created by Source.from_file() no nonger
write the content read into .source back into the
file. Use .save(skip_existing=False) before calling .render() or .view() if
you want to overwrite the file to produce the previous (less safe) behaviour.
Change of undocumented behaviour: When iterating over a Graph, Digraph,
or Source instance, the yielded lines now include a final newline ('\n').
This mimics iteration over file object lines in text mode.
When passing invalid parameters such as unknown engine, format, etc., .render()
now raises early before writing the file. Call .save() explicitly to produce
the previous (less safe) behaiour.
Add optional keyword-only encoding argument to pipe(). Returns the decoded
stdout from the rendering process (e.g. format='svg'). Delegates
encoding/decoding to subprocess in the common case (input and output encoding
are the same, e.g. default encoding='utf-8'). Used by the Jupyter notebook
integration.
Add optional keyword-only engine argument to .pipe() and .render().
Add optional keyword-only renderer and formatter arguments to Graph(),
Digraph(), Source() and Source.from_file() to set default renderers and
formatters (similar to format). Used by .pipe(), .render(), and .view() if
not given as method-argument.
Add pipe_string(), pipe_lines(), and pipe_lines_string(). Pipe input_string,
return string. Pipe input_lines incrementally, return bytes. Pipe input_lines
incrementally, return string.
Add set_default_engine() and set_default_format()
Add backend.DOT_BINARY and backend.UNFLATTEN_BINARY.
Restructure the internal class hierarchy using multiple-inheritance with
cooperative super() calling: Graph now inherits both from Dot and from Render,
and both of them inherit from Base which defines their common interface: Lines
of DOT source code that Dot generates (also Source) and rendering iterates over.
This might break some undocumented use of subclassing and require adatation
Improve test separation. Improve test coverage of running the tests with
--skip-exe.
Add pytype checking and flake8 to build workflow.
Extend type annotations.
Add https://mybinder.org config with head development environment. Add launch
badge to code repository.
Improve documentation and examples.
Add development docs.
Document release process.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Features
androidmanagement: update the api be2e5dd (5dcb723)
appengine: update the api 4535ce5 (5dcb723)
artifactregistry: update the api 882fdb3 (5dcb723)
chromepolicy: update the api c330a6f (5dcb723)
cloudidentity: update the api d0f0527 (5dcb723)
composer: update the api 2bfa5a1 (5dcb723)
compute: update the api b917688 (5dcb723)
datastream: update the api 218521c (5dcb723)
dns: update the api 540233d (5dcb723)
healthcare: update the api 1e029c8 (5dcb723)
ondemandscanning: update the api 9f998b4 (5dcb723)
osconfig: update the api 59cea85 (5dcb723)
paymentsresellersubscription: update the api efb5b4f (5dcb723)
privateca: update the api b4ae2c8 (5dcb723)
recommender: update the api 8dffae4 (5dcb723)
retail: update the api f711074 (5dcb723)
storagetransfer: update the api c835926 (5dcb723)
streetviewpublish: update the api 35f0b1b (5dcb723)
translate: update the api 1f848a5 (5dcb723)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
3.1.3
=====
rename `aenum.property` to `aenum.enum_property` (`aenum.property still exists,
but was too easily confused with the built-in property)
fix `enum_property` to work with `_init_` attributes
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Backport just enough changes that python3-cryptography doesn't crash on
startup when linked against OpenSSL 3.
This is very much not complete, and the upgrade to the latest version of
python3-crytography has to happen soon.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 2.3:
- Officially support Python 3.10.
- Add static typing.
- :has(), :is(), and :where() now use use a forgiving selector
list. While not as forgiving as CSS might be, it will forgive
such things as empty sets and empty slots due to multiple
consecutive commas, leading commas, or trailing commas.
Essentially, these pseudo-classes will match all non-empty
selectors and ignore empty ones. As the scraping environment
is different than a browser environment, it was chosen not to
aggressively forgive bad syntax and invalid features to ensure
the user is alerted that their program may not perform as
expected.
- Add support to output a pretty print format of a compiled
SelectorList for debug purposes.
- Some small corner cases discovered with static typing.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 4.1:
- It turns out a lot of Linux distributions make the links between
zoneinfo aliases backwards, so instead of linking GB to
Europe/London it actually links the other way. When /etc/localtime
then links to Europe/London, and you also have a config file
saying Europe/London, the code that checks if /etc/localtime is
a symlink ends up at GB instead of Europe/London and we get an
error, as it thinks GB and Europe/London are different zones.
So now we check the symlink of all timezones in the uniqueness
test. We still return the name in the config file, though, so you
would only get GB or Zulu returned as the time zone instead of
Europe/London or UTC if your only configuration is the /etc/localtime
symlink, as that's checked last, and tzlocal will return the first
configuration found.
- The above change also means that GMT and UTC are no longer seen
as synonyms, as zoneinfo does not see them as synonyms. This
might be controversial, but you just have to live with it. Pick one
and stay with it.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Add release 0.1.0.post0:
- Fixes the project_urls metadata to point to the correct bug
tracker and documentation.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 1.13.3:
- Adds wheels for Python 3.10 on PyPi and where possible also now
generating binary wheels for musllinux.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 0.12.9:
- Ensure we reset the file handle after reading
- Formatting updates after running black
- Ensure the required python version is PEP 440 compliant
- Fix the Makefile bootstrap to use pip3
License-Update: LICENSE.txt is missing. Use PKG-INFO instead.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 8.0.0:
- Re-release 7.2.0 as 8.0.0 because introduction of type hints can
break CI builds
- Type hints
- Explicit testing for Python 3.10
License-Update: Update license year
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 3.1.2:
- fix extend_enum()
- tests: move enum setting from body to header
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 5.10.0:
- Switch to tomli for pyproject.toml configuration loader.
- CLI bug (--exend-skip-glob, overrides instead of extending).
- respect PATH customization in nested calls to git.
- Append only with certain code snippets incorrectly adds imports.
- Added official support for Python 3.10
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.8.4:
- Fix the ``scope()`` and ``frame()`` methods of ``NamedExpr``
nodes. When these nodes occur in ``Arguments``, ``Keyword`` or
``Comprehension`` nodes these methods now correctly point to the
outer-scope of the ``FunctionDef``, ``ClassDef``, or
``Comprehension``.
- Fix the ``set_local`` function for ``NamedExpr`` nodes.
When these nodes occur in ``Arguments``, ``Keyword``, or
``Comprehension`` nodes these nodes are now correctly added to
the locals of the ``FunctionDef``, ``ClassDef``, or
``Comprehension``.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.18:
- Implement use of Quantity in the Quantity constructor (convert
to specified units).
- Rename .readthedocs.yml to .readthedocs.yaml, update MANIFEST.in
- Fix a few small typos.
- Fix babel format for `Unit`.
- Fix handling of positional max/min arguments in clip function.
- Fix string formatting of numpy array scalars.
- Fix default format for Measurement class
- Fix parsing of pretty units with same exponents but different
sign.
- Convert the application registry to a wrapper object.
- Add documentation for the string format options.
- Support custom units formats.
- Autoupdate pre-commit hooks.
- Improved the application registry.
- Improved testing isolation using pytest fixtures.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.21.4:
- Explicitly declare support for Python 3.10 as well as some minor
internal improvements.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This is release 1.41.0 (goat) of gRPC Core.
For gRPC documentation, see grpc.io.
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This is the first Cycler feature release in some years. New features include:
Added Cycler.by_key, which produces values by key (#26)
Added Cycler.__contains__, which adds support for in checks (#34)
Wheels now includes the LICENSE file (#48)
The sdist now includes the LICENSE (#58) and tests (#32)
Cycler no longer supports Python 2. Supported versions of Python are 3.6 and above.
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Fix: The sticky header on the HTML report didn’t work unless you had
branch coverage enabled.
This is now fixed: the sticky header works for everyone.
Fix: When using explicitly declared namespace packages, the “already
imported a file that will be measured” warning would be issued (issue 888).
This is now fixed.
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
imgtool is part of MCUboot, used to sign images and manage keys.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
cpp and cpp-symlinks aren't actually required for python3-pycparser to
be built or installed, but because they are in the RDEPENDS list for
targets they will be included when building other recipes that may need
python3-pycparser but not those packages (such as python3-cffi).
Instead, list cpp and cpp-symlinks as part of RSUGGESTS for target.
For reference, a previous discussion from the mailing list:
https://www.mail-archive.com/yocto@lists.yoctoproject.org/msg04784.html
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 2.2.1:
- Add support for Python 3.10
- Update issue templates
- Add support for positional junction characters and add
"double_border" table style
- Access properties instead of protected fields in _get_options()
- Use declarative metadata and support PyPy3
- Add auto index column
- Refactor for readability and avoid merge conflicts
- Remove exclamation marks from exceptions
- Consider US G0 Character Set ANSI-escape code as 0-width
(like colors)
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 3.0.21:
- Improved mouse support:
* Support for click-drag, which is useful for selecting text.
* Detect mouse movements when no button is pressed.
- Support for Python 3.10.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
What's new in 1.3.4 (October 17, 2021)
--------------------------------------
These are the changes in pandas 1.3.4. See :ref:`release` for a full changelog
including other versions of pandas.
{{ header }}
.. ---------------------------------------------------------------------------
.. _whatsnew_134.regressions:
Fixed regressions
~~~~~~~~~~~~~~~~~
- Fixed regression in :meth:`DataFrame.convert_dtypes` incorrectly converts byte strings to strings (:issue:`43183`)
- Fixed regression in :meth:`.GroupBy.agg` where it was failing silently with mixed data types along ``axis=1`` and :class:`MultiIndex` (:issue:`43209`)
- Fixed regression in :func:`merge` with integer and ``NaN`` keys failing with ``outer`` merge (:issue:`43550`)
- Fixed regression in :meth:`DataFrame.corr` raising ``ValueError`` with ``method="spearman"`` on 32-bit platforms (:issue:`43588`)
- Fixed performance regression in :meth:`MultiIndex.equals` (:issue:`43549`)
- Fixed performance regression in :meth:`.GroupBy.first` and :meth:`.GroupBy.last` with :class:`StringDtype` (:issue:`41596`)
- Fixed regression in :meth:`Series.cat.reorder_categories` failing to update the categories on the ``Series`` (:issue:`43232`)
- Fixed regression in :meth:`Series.cat.categories` setter failing to update the categories on the ``Series`` (:issue:`43334`)
- Fixed regression in :func:`read_csv` raising ``UnicodeDecodeError`` exception when ``memory_map=True`` (:issue:`43540`)
- Fixed regression in :meth:`DataFrame.explode` raising ``AssertionError`` when ``column`` is any scalar which is not a string (:issue:`43314`)
- Fixed regression in :meth:`Series.aggregate` attempting to pass ``args`` and ``kwargs`` multiple times to the user supplied ``func`` in certain cases (:issue:`43357`)
- Fixed regression when iterating over a :class:`DataFrame.groupby.rolling` object causing the resulting DataFrames to have an incorrect index if the input groupings were not sorted (:issue:`43386`)
- Fixed regression in :meth:`DataFrame.groupby.rolling.cov` and :meth:`DataFrame.groupby.rolling.corr` computing incorrect results if the input groupings were not sorted (:issue:`43386`)
.. ---------------------------------------------------------------------------
.. _whatsnew_134.bug_fixes:
Bug fixes
~~~~~~~~~
- Fixed bug in :meth:`pandas.DataFrame.groupby.rolling` and :class:`pandas.api.indexers.FixedForwardWindowIndexer` leading to segfaults and window endpoints being mixed across groups (:issue:`43267`)
- Fixed bug in :meth:`.GroupBy.mean` with datetimelike values including ``NaT`` values returning incorrect results (:issue:`43132`)
- Fixed bug in :meth:`Series.aggregate` not passing the first ``args`` to the user supplied ``func`` in certain cases (:issue:`43357`)
- Fixed memory leaks in :meth:`Series.rolling.quantile` and :meth:`Series.rolling.median` (:issue:`43339`)
.. ---------------------------------------------------------------------------
.. _whatsnew_134.other:
Other
~~~~~
- The minimum version of Cython needed to compile pandas is now ``0.29.24`` (:issue:`43729`)
.. ---------------------------------------------------------------------------
.. _whatsnew_134.contributors:
Contributors
~~~~~~~~~~~~
.. contributors:: v1.3.3..v1.3.4|HEAD
Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
1.1.2 (2021-09-29)
==================
- Fix a potential crash due to a reference counting error when Python
subclasses of ``greenlet.greenlet`` were deallocated. The crash
became more common on Python 3.10; on earlier versions, silent
memory corruption could result. See `issue 245
<https://github.com/python-greenlet/greenlet/issues/245>`_. Patch by
fygao-wish.
- Fix a leak of a list object when the last reference to a greenlet
was deleted from some other thread than the one to which it
belonged. For this to work correctly, you must call a greenlet API
like ``getcurrent()`` before the thread owning the greenlet exits:
this is a long-standing limitation that can also lead to the leak of
a thread's main greenlet if not called; we hope to lift this
limitation. Note that in some cases this may also fix leaks of
greenlet objects themselves. See `issue 251
<https://github.com/python-greenlet/greenlet/issues/251>`_.
- Python 3.10: Tracing or profiling into a spawned greenlet didn't
work as expected. See `issue 256
<https://github.com/python-greenlet/greenlet/issues/256>`_, reported
by Joe Rickerby.
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Features
androidpublisher: update the api cdbabdfbda
firebase: update the api dcab2830e6
localservices: update the api 24da1cc0af
networkmanagement: update the api d0e5a726e9
realtimebidding: update the api 716ded3162
retail: update the api 2aa456adab
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
correct the order of pushing and yielding in resending procedure
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
The upgrade fixes a do_compile error in 1.2.6.
Release notes are brief:
Version 1.2.7 (September 20, 2021).
Minor improvements and bug fixes.
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 1.6.1:
- Fix Python 2.7 compatilibity.
- Changed default TLS version to 1.2 instead of 1.0.
- Fix incoming MQTT v5 messages with overall property length > 127
bytes being incorrectly decoded. Closes#541.
- MQTTMessageInfo.wait_for_publish() and MQTTMessageInfo.is_published()
will now raise exceptions if called when the publish call
produced an error.
- Remove periodic retry checks for outgoing messages with QoS>0.
This means that outgoing messages will only be retried on the
client reconnecting to the server. They will *not* be retried
when the client is still connected.
- The `rc` parameter in the `on_disconnect` callback now has
meaningful values in the case of an error.
- Callbacks can now be applied to client instances using decorators.
- PUBACK messages are now sent to the broker only after the
on_message callback has returned.
- Raise exceptions when attempting to set MQTT v5 properties to
forbidden values.
- Callbacks can now be updated from within a callback.
- Remove _out_packet_mutex and _current_out_packet_mutex and
convert the _out_packet queue use to thread safe.
- Add basic MQTT v5 support to the subscribe and publish helper
functions.
- Fix on_disconnect() sometimes calling the MQTT v3.x callback
when it should call the MQTT v5 callback.
- Big performance improvement when receiving large payloads,
particularly for SSL.
- Fix connecting with MQTT v5 to a broker that doesn't support
MQTT v5.
- Removed ancient Mosquitto compatibility class.
- Fix exception on calling Client(client_id="", clean_session=False).
- Experimental support for Websockets continuation frames.
- `Properties.json()` now converts Correlation Data bytes()
objects to hex.
- Only use the internal sockpair wakeup when running with
loop_start() or loop(). This removes problems when running with
an external event loop.
- Drain all of sockpairR bytes to avoid unnecessary wakeups and
possible timeouts.
- Add timeout to MQTTMessageInfo:wait_for_publish().
License-Update: Update to EPL-2.0
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 2.6.3:
- Guard for unexpected ID v1
- Guard for events without a v1 id
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Version 2.0.2
-------------
Released 2021-10-05
- Handle multiple tokens in ``Connection`` header when routing
WebSocket requests. :issue:`2131`
- Set the debugger pin cookie secure flag when on https. :pr:`2150`
- Fix type annotation for ``MultiDict.update`` to accept iterable
values :pr:`2142`
- Prevent double encoding of redirect URL when ``merge_slash=True``
for ``Rule.match``. :issue:`2157`
- ``CombinedMultiDict.to_dict`` with ``flat=False`` considers all
component dicts when building value lists. :issue:`2189`
- ``send_file`` only sets a detected ``Content-Encoding`` if
``as_attachment`` is disabled to avoid browsers saving
decompressed ``.tar.gz`` files. :issue:`2149`
- Fix type annotations for ``TypeConversionDict.get`` to not return an
``Optional`` value if both ``default`` and ``type`` are not
``None``. :issue:`2169`
- Fix type annotation for routing rule factories to accept
``Iterable[RuleFactory]`` instead of ``Iterable[Rule]`` for the
``rules`` parameter. :issue:`2183`
- Add missing type annotation for ``FileStorage.__getattr__``
:issue:`2155`
- The debugger pin cookie is set with ``SameSite`` set to ``Strict``
instead of ``None`` to be compatible with modern browser security.
:issue:`2156`
- Type annotations use ``IO[bytes]`` and ``IO[str]`` instead of
``BinaryIO`` and ``TextIO`` for wider type compatibility.
:issue:`2130`
- Ad-hoc TLS certs are generated with SAN matching CN. :issue:`2158`
- Fix memory usage for locals when using Python 3.6 or pre 0.4.17
greenlet versions. :pr:`2212`
- Fix type annotation in ``CallbackDict``, because it is not
utilizing a bound TypeVar. :issue:`2235`
- Fix setting CSP header options on the response. :pr:`2237`
- Fix an issue with with the interactive debugger where lines would
not expand on click for very long tracebacks. :pr:`2239`
- The interactive debugger handles displaying an exception that does
not have a traceback, such as from ``ProcessPoolExecutor``.
:issue:`2217`
Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Version 2.0.2
-------------
Released 2021-10-04
- Fix type annotation for ``teardown_*`` methods. :issue:`4093`
- Fix type annotation for ``before_request`` and ``before_app_request``
decorators. :issue:`4104`
- Fixed the issue where typing requires template global
decorators to accept functions with no arguments. :issue:`4098`
- Support View and MethodView instances with async handlers. :issue:`4112`
- Enhance typing of ``app.errorhandler`` decorator. :issue:`4095`
- Fix registering a blueprint twice with differing names. :issue:`4124`
- Fix the type of ``static_folder`` to accept ``pathlib.Path``.
:issue:`4150`
- ``jsonify`` handles ``decimal.Decimal`` by encoding to ``str``.
:issue:`4157`
- Correctly handle raising deferred errors in CLI lazy loading.
:issue:`4096`
- The CLI loader handles ``**kwargs`` in a ``create_app`` function.
:issue:`4170`
- Fix the order of ``before_request`` and other callbacks that trigger
before the view returns. They are called from the app down to the
closest nested blueprint. :issue:`4229`
Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Version 8.0.3
-------------
Released 2021-10-10
- Fix issue with ``Path(resolve_path=True)`` type creating invalid
paths. :issue:`2088`
- Importing ``readline`` does not cause the ``confirm()`` prompt to
disappear when pressing backspace. :issue:`2092`
- Any default values injected by ``invoke()`` are cast to the
corresponding parameter's type. :issue:`2089, 2090`
Version 8.0.2
-------------
Released 2021-10-08
- ``is_bool_flag`` is not set to ``True`` if ``is_flag`` is ``False``.
:issue:`1925`
- Bash version detection is locale independent. :issue:`1940`
- Empty ``default`` value is not shown for ``multiple=True``.
:issue:`1969`
- Fix shell completion for arguments that start with a forward slash
such as absolute file paths. :issue:`1929`
- ``Path`` type with ``resolve_path=True`` resolves relative symlinks
to be relative to the containing directory. :issue:`1921`
- Completion does not skip Python's resource cleanup when exiting,
avoiding some unexpected warning output. :issue:`1738, 2017`
- Fix type annotation for ``type`` argument in ``prompt`` function.
:issue:`2062`
- Fix overline and italic styles, which were incorrectly added when
adding underline. :pr:`2058`
- An option with ``count=True`` will not show "[x>=0]" in help text.
:issue:`2072`
- Default values are not cast to the parameter type twice during
processing. :issue:`2085`
- Options with ``multiple`` and ``flag_value`` use the flag value
instead of leaving an internal placeholder. :issue:`2001`
Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
"import pyinotify" throws an error for these modules if they are not
included.
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>