Changelog
### 1.1.1
```
-------------
Released 2019-07-08
- The ``flask.json_available`` flag was added back for compatibility
with some extensions. It will raise a deprecation warning when used,
and will be removed in version 2.0.0. :issue:`3288`
```
### 1.1.0
```
-------------
Released 2019-07-04
- Bump minimum Werkzeug version to >= 0.15.
- Drop support for Python 3.4.
- Error handlers for ``InternalServerError`` or ``500`` will always be
passed an instance of ``InternalServerError``. If they are invoked
due to an unhandled exception, that original exception is now
available as ``e.original_exception`` rather than being passed
directly to the handler. The same is true if the handler is for the
base ``HTTPException``. This makes error handler behavior more
consistent. :pr:`3266`
- :meth:`Flask.finalize_request` is called for all unhandled
exceptions even if there is no ``500`` error handler.
- :attr:`Flask.logger` takes the same name as
:attr:`Flask.name` (the value passed as
``Flask(import_name)``. This reverts 1.0's behavior of always
logging to ``"flask.app"``, in order to support multiple apps in the
same process. A warning will be shown if old configuration is
detected that needs to be moved. :issue:`2866`
- :meth:`flask.RequestContext.copy` includes the current session
object in the request context copy. This prevents ``session``
pointing to an out-of-date object. :issue:`2935`
- Using built-in RequestContext, unprintable Unicode characters in
Host header will result in a HTTP 400 response and not HTTP 500 as
previously. :pr:`2994`
- :func:`send_file` supports :class:`~os.PathLike` objects as
described in PEP 0519, to support :mod:`pathlib` in Python 3.
:pr:`3059`
- :func:`send_file` supports :class:`~io.BytesIO` partial content.
:issue:`2957`
- :func:`open_resource` accepts the "rt" file mode. This still does
the same thing as "r". :issue:`3163`
- The :attr:`MethodView.methods` attribute set in a base class is used
by subclasses. :issue:`3138`
- :attr:`Flask.jinja_options` is a ``dict`` instead of an
``ImmutableDict`` to allow easier configuration. Changes must still
be made before creating the environment. :pr:`3190`
- Flask's ``JSONMixin`` for the request and response wrappers was
moved into Werkzeug. Use Werkzeug's version with Flask-specific
support. This bumps the Werkzeug dependency to >= 0.15.
:issue:`3125`
- The ``flask`` command entry point is simplified to take advantage
of Werkzeug 0.15's better reloader support. This bumps the Werkzeug
dependency to >= 0.15. :issue:`3022`
- Support ``static_url_path`` that ends with a forward slash.
:issue:`3134`
- Support empty ``static_folder`` without requiring setting an empty
``static_url_path`` as well. :pr:`3124`
- :meth:`jsonify` supports :class:`dataclasses.dataclass` objects.
:pr:`3195`
- Allow customizing the :attr:`Flask.url_map_class` used for routing.
:pr:`3069`
- The development server port can be set to 0, which tells the OS to
pick an available port. :issue:`2926`
- The return value from :meth:`cli.load_dotenv` is more consistent
with the documentation. It will return ``False`` if python-dotenv is
not installed, or if the given path isn't a file. :issue:`2937`
- Signaling support has a stub for the ``connect_via`` method when
the Blinker library is not installed. :pr:`3208`
- Add an ``--extra-files`` option to the ``flask run`` CLI command to
specify extra files that will trigger the reloader on change.
:issue:`2897`
- Allow returning a dictionary from a view function. Similar to how
returning a string will produce a ``text/html`` response, returning
a dict will call ``jsonify`` to produce a ``application/json``
response. :pr:`3111`
- Blueprints have a ``cli`` Click group like ``app.cli``. CLI commands
registered with a blueprint will be available as a group under the
``flask`` command. :issue:`1357`.
- When using the test client as a context manager (``with client:``),
all preserved request contexts are popped when the block exits,
ensuring nested contexts are cleaned up correctly. :pr:`3157`
- Show a better error message when the view return type is not
supported. :issue:`3214`
- ``flask.testing.make_test_environ_builder()`` has been deprecated in
favour of a new class ``flask.testing.EnvironBuilder``. :pr:`3232`
- The ``flask run`` command no longer fails if Python is not built
with SSL support. Using the ``--cert`` option will show an
appropriate error message. :issue:`3211`
- URL matching now occurs after the request context is pushed, rather
than when it's created. This allows custom URL converters to access
the app and request contexts, such as to query a database for an id.
:issue:`3088`
```
### 1.0.4
```
-------------
Released 2019-07-04
- The key information for ``BadRequestKeyError`` is no longer cleared
outside debug mode, so error handlers can still access it. This
requires upgrading to Werkzeug 0.15.5. :issue:`3249`
- ``send_file`` url quotes the ":" and "/" characters for more
compatible UTF-8 filename support in some browsers. :issue:`3074`
- Fixes for PEP451 import loaders and pytest 5.x. :issue:`3275`
- Show message about dotenv on stderr instead of stdout. :issue:`3285`
```
Links
- PyPI: https://pypi.org/project/flask
- Changelog: https://pyup.io/changelogs/flask/
- Homepage: https://palletsprojects.com/p/flask/
Changelog
### 6.1.0
```
------------------
- Deprecate Image.__del__ 3929
[jdufresne]
- Tiff: Add support for JPEG quality 3886
[olt]
- Respect the PKG_CONFIG environment variable when building 3928
[chewi]
- Use explicit memcpy() to avoid unaligned memory accesses 3225
[DerDakon]
- Improve encoding of TIFF tags 3861
[olt]
- Update Py_UNICODE to Py_UCS4 3780
[nulano]
- Consider I;16 pixel size when drawing 3899
[radarhere]
- Add TIFFTAG_SAMPLEFORMAT to blocklist 3926
[cgohlke, radarhere]
- Create GIF deltas from background colour of GIF frames if disposal mode is 2 3708
[sircinnamon, radarhere]
- Added ImageSequence all_frames 3778
[radarhere]
- Use unsigned int to store TIFF IFD offsets 3923
[cgohlke]
- Include CPPFLAGS when searching for libraries 3819
[jefferyto]
- Updated TIFF tile descriptors to match current decoding functionality 3795
[dmnisson]
- Added an `image.entropy()` method (second revision) 3608
[fish2000]
- Pass the correct types to PyArg_ParseTuple 3880
[QuLogic]
- Fixed crash when loading non-font bytes 3912
[radarhere]
- Fix SPARC memory alignment issues in Pack/Unpack functions 3858
[kulikjak]
- Added CMYK;16B and CMYK;16N unpackers 3913
[radarhere]
- Fixed bugs in calculating text size 3864
[radarhere]
- Add __main__.py to output basic format and support information 3870
[jdufresne]
- Added variation font support 3802
[radarhere]
- Do not down-convert if image is LA when showing with PNG format 3869
[radarhere]
- Improve handling of PSD frames 3759
[radarhere]
- Improved ICO and ICNS loading 3897
[radarhere]
- Changed Preview application path so that it is no longer static 3896
[radarhere]
- Corrected ttb text positioning 3856
[radarhere]
- Handle unexpected ICO image sizes 3836
[radarhere]
- Fixed bits value for RGB;16N unpackers 3837
[kkopachev]
- Travis CI: Add Fedora 30, remove Fedora 28 3821
[hugovk]
- Added reading of CMYK;16L TIFF images 3817
[radarhere]
- Fixed dimensions of 1-bit PDFs 3827
[radarhere]
- Fixed opening mmap image through Path on Windows 3825
[radarhere]
- Fixed ImageDraw arc gaps 3824
[radarhere]
- Expand GIF to include frames with extents outside the image size 3822
[radarhere]
- Fixed ImageTk getimage 3814
[radarhere]
- Fixed bug in decoding large images 3791
[radarhere]
- Fixed reading APP13 marker without Photoshop data 3771
[radarhere]
- Added option to include layered windows in ImageGrab.grab on Windows 3808
[radarhere]
- Detect libimagequant when installed by pacman on MingW 3812
[radarhere]
- Fixed raqm layout bug 3787
[radarhere]
- Fixed loading font with non-Unicode path on Windows 3785
[radarhere]
- Travis CI: Upgrade PyPy from 6.0.0 to 7.1.1 3783
[hugovk, johnthagen]
- Depends: Updated openjpeg to 2.3.1 3794, raqm to 0.7.0 3877, libimagequant to 2.12.3 3889
[radarhere]
- Fix numpy bool bug 3790
[radarhere]
```
Links
- PyPI: https://pypi.org/project/pillow
- Changelog: https://pyup.io/changelogs/pillow/
- Homepage: http://python-pillow.org
Changelog
### 3.5.0
```
-----
* Change default ``cachetools`` implementation to ``cachetools.LFUCache``.
* Now possible to change ``cachetools`` implementation with environment variables.
See README.rst.
* To avoid thread unsafe execution, the function caching decorator now employs a lock.
See https://github.com/peterbe/premailer/issues/225
```
Links
- PyPI: https://pypi.org/project/premailer
- Changelog: https://pyup.io/changelogs/premailer/
- Repo: http://github.com/peterbe/premailer
Update Flask from 1.0.3 to 1.1.1.
Changelog
### 1.1.1 ``` ------------- Released 2019-07-08 - The ``flask.json_available`` flag was added back for compatibility with some extensions. It will raise a deprecation warning when used, and will be removed in version 2.0.0. :issue:`3288` ``` ### 1.1.0 ``` ------------- Released 2019-07-04 - Bump minimum Werkzeug version to >= 0.15. - Drop support for Python 3.4. - Error handlers for ``InternalServerError`` or ``500`` will always be passed an instance of ``InternalServerError``. If they are invoked due to an unhandled exception, that original exception is now available as ``e.original_exception`` rather than being passed directly to the handler. The same is true if the handler is for the base ``HTTPException``. This makes error handler behavior more consistent. :pr:`3266` - :meth:`Flask.finalize_request` is called for all unhandled exceptions even if there is no ``500`` error handler. - :attr:`Flask.logger` takes the same name as :attr:`Flask.name` (the value passed as ``Flask(import_name)``. This reverts 1.0's behavior of always logging to ``"flask.app"``, in order to support multiple apps in the same process. A warning will be shown if old configuration is detected that needs to be moved. :issue:`2866` - :meth:`flask.RequestContext.copy` includes the current session object in the request context copy. This prevents ``session`` pointing to an out-of-date object. :issue:`2935` - Using built-in RequestContext, unprintable Unicode characters in Host header will result in a HTTP 400 response and not HTTP 500 as previously. :pr:`2994` - :func:`send_file` supports :class:`~os.PathLike` objects as described in PEP 0519, to support :mod:`pathlib` in Python 3. :pr:`3059` - :func:`send_file` supports :class:`~io.BytesIO` partial content. :issue:`2957` - :func:`open_resource` accepts the "rt" file mode. This still does the same thing as "r". :issue:`3163` - The :attr:`MethodView.methods` attribute set in a base class is used by subclasses. :issue:`3138` - :attr:`Flask.jinja_options` is a ``dict`` instead of an ``ImmutableDict`` to allow easier configuration. Changes must still be made before creating the environment. :pr:`3190` - Flask's ``JSONMixin`` for the request and response wrappers was moved into Werkzeug. Use Werkzeug's version with Flask-specific support. This bumps the Werkzeug dependency to >= 0.15. :issue:`3125` - The ``flask`` command entry point is simplified to take advantage of Werkzeug 0.15's better reloader support. This bumps the Werkzeug dependency to >= 0.15. :issue:`3022` - Support ``static_url_path`` that ends with a forward slash. :issue:`3134` - Support empty ``static_folder`` without requiring setting an empty ``static_url_path`` as well. :pr:`3124` - :meth:`jsonify` supports :class:`dataclasses.dataclass` objects. :pr:`3195` - Allow customizing the :attr:`Flask.url_map_class` used for routing. :pr:`3069` - The development server port can be set to 0, which tells the OS to pick an available port. :issue:`2926` - The return value from :meth:`cli.load_dotenv` is more consistent with the documentation. It will return ``False`` if python-dotenv is not installed, or if the given path isn't a file. :issue:`2937` - Signaling support has a stub for the ``connect_via`` method when the Blinker library is not installed. :pr:`3208` - Add an ``--extra-files`` option to the ``flask run`` CLI command to specify extra files that will trigger the reloader on change. :issue:`2897` - Allow returning a dictionary from a view function. Similar to how returning a string will produce a ``text/html`` response, returning a dict will call ``jsonify`` to produce a ``application/json`` response. :pr:`3111` - Blueprints have a ``cli`` Click group like ``app.cli``. CLI commands registered with a blueprint will be available as a group under the ``flask`` command. :issue:`1357`. - When using the test client as a context manager (``with client:``), all preserved request contexts are popped when the block exits, ensuring nested contexts are cleaned up correctly. :pr:`3157` - Show a better error message when the view return type is not supported. :issue:`3214` - ``flask.testing.make_test_environ_builder()`` has been deprecated in favour of a new class ``flask.testing.EnvironBuilder``. :pr:`3232` - The ``flask run`` command no longer fails if Python is not built with SSL support. Using the ``--cert`` option will show an appropriate error message. :issue:`3211` - URL matching now occurs after the request context is pushed, rather than when it's created. This allows custom URL converters to access the app and request contexts, such as to query a database for an id. :issue:`3088` ``` ### 1.0.4 ``` ------------- Released 2019-07-04 - The key information for ``BadRequestKeyError`` is no longer cleared outside debug mode, so error handlers can still access it. This requires upgrading to Werkzeug 0.15.5. :issue:`3249` - ``send_file`` url quotes the ":" and "/" characters for more compatible UTF-8 filename support in some browsers. :issue:`3074` - Fixes for PEP451 import loaders and pytest 5.x. :issue:`3275` - Show message about dotenv on stderr instead of stdout. :issue:`3285` ```Links
- PyPI: https://pypi.org/project/flask - Changelog: https://pyup.io/changelogs/flask/ - Homepage: https://palletsprojects.com/p/flask/Update Pillow from 6.0.0 to 6.1.0.
Changelog
### 6.1.0 ``` ------------------ - Deprecate Image.__del__ 3929 [jdufresne] - Tiff: Add support for JPEG quality 3886 [olt] - Respect the PKG_CONFIG environment variable when building 3928 [chewi] - Use explicit memcpy() to avoid unaligned memory accesses 3225 [DerDakon] - Improve encoding of TIFF tags 3861 [olt] - Update Py_UNICODE to Py_UCS4 3780 [nulano] - Consider I;16 pixel size when drawing 3899 [radarhere] - Add TIFFTAG_SAMPLEFORMAT to blocklist 3926 [cgohlke, radarhere] - Create GIF deltas from background colour of GIF frames if disposal mode is 2 3708 [sircinnamon, radarhere] - Added ImageSequence all_frames 3778 [radarhere] - Use unsigned int to store TIFF IFD offsets 3923 [cgohlke] - Include CPPFLAGS when searching for libraries 3819 [jefferyto] - Updated TIFF tile descriptors to match current decoding functionality 3795 [dmnisson] - Added an `image.entropy()` method (second revision) 3608 [fish2000] - Pass the correct types to PyArg_ParseTuple 3880 [QuLogic] - Fixed crash when loading non-font bytes 3912 [radarhere] - Fix SPARC memory alignment issues in Pack/Unpack functions 3858 [kulikjak] - Added CMYK;16B and CMYK;16N unpackers 3913 [radarhere] - Fixed bugs in calculating text size 3864 [radarhere] - Add __main__.py to output basic format and support information 3870 [jdufresne] - Added variation font support 3802 [radarhere] - Do not down-convert if image is LA when showing with PNG format 3869 [radarhere] - Improve handling of PSD frames 3759 [radarhere] - Improved ICO and ICNS loading 3897 [radarhere] - Changed Preview application path so that it is no longer static 3896 [radarhere] - Corrected ttb text positioning 3856 [radarhere] - Handle unexpected ICO image sizes 3836 [radarhere] - Fixed bits value for RGB;16N unpackers 3837 [kkopachev] - Travis CI: Add Fedora 30, remove Fedora 28 3821 [hugovk] - Added reading of CMYK;16L TIFF images 3817 [radarhere] - Fixed dimensions of 1-bit PDFs 3827 [radarhere] - Fixed opening mmap image through Path on Windows 3825 [radarhere] - Fixed ImageDraw arc gaps 3824 [radarhere] - Expand GIF to include frames with extents outside the image size 3822 [radarhere] - Fixed ImageTk getimage 3814 [radarhere] - Fixed bug in decoding large images 3791 [radarhere] - Fixed reading APP13 marker without Photoshop data 3771 [radarhere] - Added option to include layered windows in ImageGrab.grab on Windows 3808 [radarhere] - Detect libimagequant when installed by pacman on MingW 3812 [radarhere] - Fixed raqm layout bug 3787 [radarhere] - Fixed loading font with non-Unicode path on Windows 3785 [radarhere] - Travis CI: Upgrade PyPy from 6.0.0 to 7.1.1 3783 [hugovk, johnthagen] - Depends: Updated openjpeg to 2.3.1 3794, raqm to 0.7.0 3877, libimagequant to 2.12.3 3889 [radarhere] - Fix numpy bool bug 3790 [radarhere] ```Links
- PyPI: https://pypi.org/project/pillow - Changelog: https://pyup.io/changelogs/pillow/ - Homepage: http://python-pillow.orgUpdate sqlalchemy_utils from 0.34.0 to 0.34.1.
Changelog
### 0.34.1 ``` ^^^^^^^^^^^^^^^^^^^ - Remove deprecation warnings (379, pull request courtesy of Le-Stagiaire) - Drop py34 support ```Links
- PyPI: https://pypi.org/project/sqlalchemy-utils - Changelog: https://pyup.io/changelogs/sqlalchemy-utils/ - Repo: https://github.com/kvesteri/sqlalchemy-utilsUpdate pytz from 2019.1 to 2019.2.
The bot wasn't able to find a changelog for this release. Got an idea?
Links
- PyPI: https://pypi.org/project/pytz - Homepage: http://pythonhosted.org/pytz - Docs: https://pythonhosted.org/pytz/Update tweepy from 3.7.0 to 3.8.0.
Changelog
### 3.8.0 ``` ------------- New Features / Improvements - Allow streams to use daemon threads ([1126](https://github.com/tweepy/tweepy/pull/1126)) - Remove `API.set_delivery_device` ([1203](https://github.com/tweepy/tweepy/issues/1203)) - Remove simplejson import and usage ([832](https://github.com/tweepy/tweepy/pull/832)) - Allow `cursor` parameter for `API.blocks_ids` and `API.mutes_ids` ([1208](https://github.com/tweepy/tweepy/pull/1208)) - Drop support for Python 3.4 - Allow `perform_block` parameter for `API.report_spam` ([1090](https://github.com/tweepy/tweepy/pull/1090)) - Add `API.mutes` ([1197](https://github.com/tweepy/tweepy/issues/1197), [1215](https://github.com/tweepy/tweepy/pull/1215)) - Allow `count` parameter for `API.friends` ([577](https://github.com/tweepy/tweepy/issues/577)) - Remove `since`, `from`, `to`, and `source` as allowed parameters for `API.search` - Handle location deletion and withheld content notices for streams ([886](https://github.com/tweepy/tweepy/pull/886)) - Allow usage of equality and difference operators with `User` objects ([939](https://github.com/tweepy/tweepy/pull/939)) - Add `_json` attribute to `Category`, `Friendship`, and `List` models ([590](https://github.com/tweepy/tweepy/issues/590), [1169](https://github.com/tweepy/tweepy/pull/1169)) - Remove `API.suggested_categories`, `API.suggested_users`, and `API.suggested_users_tweets` - Update and improve tests and cassettes ([1242](https://github.com/tweepy/tweepy/pull/1242)) - Update `DirectMessage` model ([1081](https://github.com/tweepy/tweepy/issues/1081), [1228](https://github.com/tweepy/tweepy/pull/1228)) - Replace `API.direct_messages` and `API.sent_direct_messages` with `API.list_direct_messages` ([1081](https://github.com/tweepy/tweepy/issues/1081), [1228](https://github.com/tweepy/tweepy/pull/1228)) - Update `API.get_direct_message`, `API.send_direct_message`, and `API.destroy_direct_message` ([1081](https://github.com/tweepy/tweepy/issues/1081), [1228](https://github.com/tweepy/tweepy/pull/1228)) - Update and improve various documentation Bug Fixes - Exclude examples during installation ([1141](https://github.com/tweepy/tweepy/issues/1141), [1164](https://github.com/tweepy/tweepy/pull/1164)) - Properly initialize `OAuthHandler.request_token` ([1149](https://github.com/tweepy/tweepy/pull/1149)) - Properly handle `map_` parameter for `API.statuses_lookup` ([598](https://github.com/tweepy/tweepy/issues/598)) - Support cursor pagination for `API.blocks_ids` and `API.mutes_ids` ([930](https://github.com/tweepy/tweepy/issues/930), [931](https://github.com/tweepy/tweepy/pull/931)) - Return values for `API.update_profile_background_image` and `API.update_profile_banner` ([904](https://github.com/tweepy/tweepy/pull/904)) - Replace usage of root logger - Close Requests sessions ([810](https://github.com/tweepy/tweepy/issues/810), [1093](https://github.com/tweepy/tweepy/issues/1093), [1237](https://github.com/tweepy/tweepy/issues/1237)) ```Links
- PyPI: https://pypi.org/project/tweepy - Changelog: https://pyup.io/changelogs/tweepy/ - Repo: http://github.com/tweepy/tweepy - Docs: https://pythonhosted.org/tweepy/Update coverage from 4.5.3 to 4.5.4.
Changelog
### 4.5.4 ``` --------------------------- - Multiprocessing support in Python 3.8 was broken, but is now fixed. Closes `issue 828`_. .. _issue 828: https://github.com/nedbat/coveragepy/issues/828 .. _changes_453: ```Links
- PyPI: https://pypi.org/project/coverage - Changelog: https://pyup.io/changelogs/coverage/ - Repo: https://github.com/nedbat/coveragepyUpdate premailer from 3.4.1 to 3.5.0.
Changelog
### 3.5.0 ``` ----- * Change default ``cachetools`` implementation to ``cachetools.LFUCache``. * Now possible to change ``cachetools`` implementation with environment variables. See README.rst. * To avoid thread unsafe execution, the function caching decorator now employs a lock. See https://github.com/peterbe/premailer/issues/225 ```Links
- PyPI: https://pypi.org/project/premailer - Changelog: https://pyup.io/changelogs/premailer/ - Repo: http://github.com/peterbe/premailer