533e177f64
Update dependency libbot to v3.1.0 ( #77 )
...
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| [libbot](https://git.end-play.xyz/profitroll/LibBotUniversal ) | minor | `==3.0.0` -> `==3.1.0` |
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4zNS4wIiwidXBkYXRlZEluVmVyIjoiMzYuMzUuMCIsInRhcmdldEJyYW5jaCI6ImRldiJ9-->
Reviewed-on: #77
Co-authored-by: Renovate <renovate@git.end-play.xyz>
Co-committed-by: Renovate <renovate@git.end-play.xyz>
2024-05-24 22:46:24 +03:00
c9f37ea2b6
Fixed deletion not working properly
2024-05-06 12:47:09 +02:00
7f107b2306
Fixed raw_result absent on deleted object
2024-05-06 13:29:26 +03:00
818afa0b74
Fixed caption being added explicitly
2024-04-30 20:57:51 +02:00
c99f22b1b8
Update dependency pillow to ~=10.3.0 ( #76 )
...
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| [pillow](https://github.com/python-pillow/Pillow ) ([changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst )) | minor | `~=10.2.0` -> `~=10.3.0` |
---
### Release Notes
<details>
<summary>python-pillow/Pillow (pillow)</summary>
### [`v10.3.0`](https://github.com/python-pillow/Pillow/blob/HEAD/CHANGES.rst#1030-2024-04-01 )
[Compare Source](https://github.com/python-pillow/Pillow/compare/10.2.0...10.3.0 )
- CVE-2024-28219: Use `strncpy` to avoid buffer overflow [#​7928](https://github.com/python-pillow/Pillow/issues/7928 )
\[radarhere, hugovk]
- Deprecate `eval()`, replacing it with `lambda_eval()` and `unsafe_eval()` [#​7927](https://github.com/python-pillow/Pillow/issues/7927 )
\[radarhere, hugovk]
- Raise `ValueError` if seeking to greater than offset-sized integer in TIFF [#​7883](https://github.com/python-pillow/Pillow/issues/7883 )
\[radarhere]
- Add `--report` argument to `__main__.py` to omit supported formats [#​7818](https://github.com/python-pillow/Pillow/issues/7818 )
\[nulano, radarhere, hugovk]
- Added RGB to I;16, I;16L, I;16B and I;16N conversion [#​7918](https://github.com/python-pillow/Pillow/issues/7918 ), [#​7920](https://github.com/python-pillow/Pillow/issues/7920 )
\[radarhere]
- Fix editable installation with custom build backend and configuration options [#​7658](https://github.com/python-pillow/Pillow/issues/7658 )
\[nulano, radarhere]
- Fix putdata() for I;16N on big-endian [#​7209](https://github.com/python-pillow/Pillow/issues/7209 )
\[Yay295, hugovk, radarhere]
- Determine MPO size from markers, not EXIF data [#​7884](https://github.com/python-pillow/Pillow/issues/7884 )
\[radarhere]
- Improved conversion from RGB to RGBa, LA and La [#​7888](https://github.com/python-pillow/Pillow/issues/7888 )
\[radarhere]
- Support FITS images with GZIP\_1 compression [#​7894](https://github.com/python-pillow/Pillow/issues/7894 )
\[radarhere]
- Use I;16 mode for 9-bit JPEG 2000 images [#​7900](https://github.com/python-pillow/Pillow/issues/7900 )
\[scaramallion, radarhere]
- Raise ValueError if kmeans is negative [#​7891](https://github.com/python-pillow/Pillow/issues/7891 )
\[radarhere]
- Remove TIFF tag OSUBFILETYPE when saving using libtiff [#​7893](https://github.com/python-pillow/Pillow/issues/7893 )
\[radarhere]
- Raise ValueError for negative values when loading P1-P3 PPM images [#​7882](https://github.com/python-pillow/Pillow/issues/7882 )
\[radarhere]
- Added reading of JPEG2000 palettes [#​7870](https://github.com/python-pillow/Pillow/issues/7870 )
\[radarhere]
- Added alpha_quality argument when saving WebP images [#​7872](https://github.com/python-pillow/Pillow/issues/7872 )
\[radarhere]
- Fixed joined corners for ImageDraw rounded_rectangle() non-integer dimensions [#​7881](https://github.com/python-pillow/Pillow/issues/7881 )
\[radarhere]
- Stop reading EPS image at EOF marker [#​7753](https://github.com/python-pillow/Pillow/issues/7753 )
\[radarhere]
- PSD layer co-ordinates may be negative [#​7706](https://github.com/python-pillow/Pillow/issues/7706 )
\[radarhere]
- Use subprocess with CREATE_NO_WINDOW flag in ImageShow WindowsViewer [#​7791](https://github.com/python-pillow/Pillow/issues/7791 )
\[radarhere]
- When saving GIF frame that restores to background color, do not fill identical pixels [#​7788](https://github.com/python-pillow/Pillow/issues/7788 )
\[radarhere]
- Fixed reading PNG iCCP compression method [#​7823](https://github.com/python-pillow/Pillow/issues/7823 )
\[radarhere]
- Allow writing IFDRational to UNDEFINED tag [#​7840](https://github.com/python-pillow/Pillow/issues/7840 )
\[radarhere]
- Fix logged tag name when loading Exif data [#​7842](https://github.com/python-pillow/Pillow/issues/7842 )
\[radarhere]
- Use maximum frame size in IHDR chunk when saving APNG images [#​7821](https://github.com/python-pillow/Pillow/issues/7821 )
\[radarhere]
- Prevent opening P TGA images without a palette [#​7797](https://github.com/python-pillow/Pillow/issues/7797 )
\[radarhere]
- Use palette when loading ICO images [#​7798](https://github.com/python-pillow/Pillow/issues/7798 )
\[radarhere]
- Use consistent arguments for load_read and load_seek [#​7713](https://github.com/python-pillow/Pillow/issues/7713 )
\[radarhere]
- Turn off nullability warnings for macOS SDK [#​7827](https://github.com/python-pillow/Pillow/issues/7827 )
\[radarhere]
- Fix shift-sign issue in Convert.c [#​7838](https://github.com/python-pillow/Pillow/issues/7838 )
\[r-barnes, radarhere]
- Open 16-bit grayscale PNGs as I;16 [#​7849](https://github.com/python-pillow/Pillow/issues/7849 )
\[radarhere]
- Handle truncated chunks at the end of PNG images [#​7709](https://github.com/python-pillow/Pillow/issues/7709 )
\[lajiyuan, radarhere]
- Match mask size to pasted image size in GifImagePlugin [#​7779](https://github.com/python-pillow/Pillow/issues/7779 )
\[radarhere]
- Release GIL while calling `WebPAnimDecoderGetNext` [#​7782](https://github.com/python-pillow/Pillow/issues/7782 )
\[evanmiller, radarhere]
- Fixed reading FLI/FLC images with a prefix chunk [#​7804](https://github.com/python-pillow/Pillow/issues/7804 )
\[twolife]
- Update wl-paste handling and return None for some errors in grabclipboard() on Linux [#​7745](https://github.com/python-pillow/Pillow/issues/7745 )
\[nik012003, radarhere]
- Remove execute bit from `setup.py` [#​7760](https://github.com/python-pillow/Pillow/issues/7760 )
\[hugovk]
- Do not support using test-image-results to upload images after test failures [#​7739](https://github.com/python-pillow/Pillow/issues/7739 )
\[radarhere]
- Changed ImageMath.ops to be static [#​7721](https://github.com/python-pillow/Pillow/issues/7721 )
\[radarhere]
- Fix APNG info after seeking backwards more than twice [#​7701](https://github.com/python-pillow/Pillow/issues/7701 )
\[esoma, radarhere]
- Deprecate ImageCms constants and versions() function [#​7702](https://github.com/python-pillow/Pillow/issues/7702 )
\[nulano, radarhere]
- Added PerspectiveTransform [#​7699](https://github.com/python-pillow/Pillow/issues/7699 )
\[radarhere]
- Add support for reading and writing grayscale PFM images [#​7696](https://github.com/python-pillow/Pillow/issues/7696 )
\[nulano, hugovk]
- Add LCMS2 flags to ImageCms [#​7676](https://github.com/python-pillow/Pillow/issues/7676 )
\[nulano, radarhere, hugovk]
- Rename x64 to AMD64 in winbuild [#​7693](https://github.com/python-pillow/Pillow/issues/7693 )
\[nulano]
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4zNS4wIiwidXBkYXRlZEluVmVyIjoiMzYuMzUuMCIsInRhcmdldEJyYW5jaCI6ImRldiJ9-->
Reviewed-on: #76
Co-authored-by: Renovate <renovate@git.end-play.xyz>
Co-committed-by: Renovate <renovate@git.end-play.xyz>
2024-04-02 15:09:37 +03:00
1ac5abd7bf
Update dependency photosapi_client to v0.6.0 ( #75 )
...
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| photosapi_client | minor | `==0.5.0` -> `==0.6.0` |
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4zNS4wIiwidXBkYXRlZEluVmVyIjoiMzYuMzUuMCIsInRhcmdldEJyYW5jaCI6ImRldiJ9-->
Co-authored-by: profitroll <vozhd.kk@gmail.com>
Reviewed-on: #75
Co-authored-by: Renovate <renovate@git.end-play.xyz>
Co-committed-by: Renovate <renovate@git.end-play.xyz>
2024-03-19 23:25:03 +02:00
bd43ee15ae
Replaced find_one_and* with proper methods
2024-03-11 21:37:01 +01:00
f8ec8f6335
Bump libbot to 3.0.0
2024-01-28 21:24:01 +02:00
e345f31c56
Update dependency pykeyboard to v0.1.7 ( #74 )
...
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| [pykeyboard](https://github.com/pystorage/pykeyboard ) | patch | `==0.1.5` -> `==0.1.7` |
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4zNS4wIiwidXBkYXRlZEluVmVyIjoiMzYuMzUuMCIsInRhcmdldEJyYW5jaCI6ImRldiJ9-->
Reviewed-on: #74
Co-authored-by: Renovate <renovate@git.end-play.xyz>
Co-committed-by: Renovate <renovate@git.end-play.xyz>
2024-01-28 21:23:30 +02:00
1c53476e37
Update dependency pillow to ~=10.2.0 ( #73 )
...
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| [pillow](https://github.com/python-pillow/Pillow ) ([changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst )) | minor | `~=10.1.0` -> `~=10.2.0` |
---
### Release Notes
<details>
<summary>python-pillow/Pillow (pillow)</summary>
### [`v10.2.0`](https://github.com/python-pillow/Pillow/blob/HEAD/CHANGES.rst#1020-2024-01-02 )
[Compare Source](https://github.com/python-pillow/Pillow/compare/10.1.0...10.2.0 )
- Add `keep_rgb` option when saving JPEG to prevent conversion of RGB colorspace [#​7553](https://github.com/python-pillow/Pillow/issues/7553 )
\[bgilbert, radarhere]
- Trim glyph size in ImageFont.getmask() [#​7669](https://github.com/python-pillow/Pillow/issues/7669 ), [#​7672](https://github.com/python-pillow/Pillow/issues/7672 )
\[radarhere, nulano]
- Deprecate IptcImagePlugin helpers [#​7664](https://github.com/python-pillow/Pillow/issues/7664 )
\[nulano, hugovk, radarhere]
- Allow uncompressed TIFF images to be saved in chunks [#​7650](https://github.com/python-pillow/Pillow/issues/7650 )
\[radarhere]
- Concatenate multiple JPEG EXIF markers [#​7496](https://github.com/python-pillow/Pillow/issues/7496 )
\[radarhere]
- Changed IPTC tile tuple to match other plugins [#​7661](https://github.com/python-pillow/Pillow/issues/7661 )
\[radarhere]
- Do not assign new fp attribute when exiting context manager [#​7566](https://github.com/python-pillow/Pillow/issues/7566 )
\[radarhere]
- Support arbitrary masks for uncompressed RGB DDS images [#​7589](https://github.com/python-pillow/Pillow/issues/7589 )
\[radarhere, akx]
- Support setting ROWSPERSTRIP tag [#​7654](https://github.com/python-pillow/Pillow/issues/7654 )
\[radarhere]
- Apply ImageFont.MAX_STRING_LENGTH to ImageFont.getmask() [#​7662](https://github.com/python-pillow/Pillow/issues/7662 )
\[radarhere]
- Optimise `ImageColor` using `functools.lru_cache` [#​7657](https://github.com/python-pillow/Pillow/issues/7657 )
\[hugovk]
- Restricted environment keys for ImageMath.eval() [#​7655](https://github.com/python-pillow/Pillow/issues/7655 )
\[wiredfool, radarhere]
- Optimise `ImageMode.getmode` using `functools.lru_cache` [#​7641](https://github.com/python-pillow/Pillow/issues/7641 )
\[hugovk, radarhere]
- Fix incorrect color blending for overlapping glyphs [#​7497](https://github.com/python-pillow/Pillow/issues/7497 )
\[ZachNagengast, nulano, radarhere]
- Attempt memory mapping when tile args is a string [#​7565](https://github.com/python-pillow/Pillow/issues/7565 )
\[radarhere]
- Fill identical pixels with transparency in subsequent frames when saving GIF [#​7568](https://github.com/python-pillow/Pillow/issues/7568 )
\[radarhere]
- Corrected duration when combining multiple GIF frames into single frame [#​7521](https://github.com/python-pillow/Pillow/issues/7521 )
\[radarhere]
- Handle disposing GIF background from outside palette [#​7515](https://github.com/python-pillow/Pillow/issues/7515 )
\[radarhere]
- Seek past the data when skipping a PSD layer [#​7483](https://github.com/python-pillow/Pillow/issues/7483 )
\[radarhere]
- Import plugins relative to the module [#​7576](https://github.com/python-pillow/Pillow/issues/7576 )
\[deliangyang, jaxx0n]
- Translate encoder error codes to strings; deprecate `ImageFile.raise_oserror()` [#​7609](https://github.com/python-pillow/Pillow/issues/7609 )
\[bgilbert, radarhere]
- Support reading BC4U and DX10 BC1 images [#​6486](https://github.com/python-pillow/Pillow/issues/6486 )
\[REDxEYE, radarhere, hugovk]
- Optimize ImageStat.Stat.extrema [#​7593](https://github.com/python-pillow/Pillow/issues/7593 )
\[florath, radarhere]
- Handle pathlib.Path in FreeTypeFont [#​7578](https://github.com/python-pillow/Pillow/issues/7578 )
\[radarhere, hugovk, nulano]
- Added support for reading DX10 BC4 DDS images [#​7603](https://github.com/python-pillow/Pillow/issues/7603 )
\[sambvfx, radarhere]
- Optimized ImageStat.Stat.count [#​7599](https://github.com/python-pillow/Pillow/issues/7599 )
\[florath]
- Correct PDF palette size when saving [#​7555](https://github.com/python-pillow/Pillow/issues/7555 )
\[radarhere]
- Fixed closing file pointer with olefile 0.47 [#​7594](https://github.com/python-pillow/Pillow/issues/7594 )
\[radarhere]
- Raise ValueError when TrueType font size is not greater than zero [#​7584](https://github.com/python-pillow/Pillow/issues/7584 ), [#​7587](https://github.com/python-pillow/Pillow/issues/7587 )
\[akx, radarhere]
- If absent, do not try to close fp when closing image [#​7557](https://github.com/python-pillow/Pillow/issues/7557 )
\[RaphaelVRossi, radarhere]
- Allow configuring JPEG restart marker interval on save [#​7488](https://github.com/python-pillow/Pillow/issues/7488 )
\[bgilbert, radarhere]
- Decrement reference count for PyObject [#​7549](https://github.com/python-pillow/Pillow/issues/7549 )
\[radarhere]
- Implement `streamtype=1` option for tables-only JPEG encoding [#​7491](https://github.com/python-pillow/Pillow/issues/7491 )
\[bgilbert, radarhere]
- If save_all PNG only has one frame, do not create animated image [#​7522](https://github.com/python-pillow/Pillow/issues/7522 )
\[radarhere]
- Fixed frombytes() for images with a zero dimension [#​7493](https://github.com/python-pillow/Pillow/issues/7493 )
\[radarhere]
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4zNS4wIiwidXBkYXRlZEluVmVyIjoiMzYuMzUuMCIsInRhcmdldEJyYW5jaCI6ImRldiJ9-->
Reviewed-on: #73
Co-authored-by: Renovate <renovate@git.end-play.xyz>
Co-committed-by: Renovate <renovate@git.end-play.xyz>
2024-01-02 13:12:31 +02:00
898a63012f
Update dependency libbot to v2.1.0 ( #71 )
...
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| [libbot](https://github.com/botlibx/libbot ) | minor | `==2.0.1` -> `==2.1.0` |
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4zNS4wIiwidXBkYXRlZEluVmVyIjoiMzYuMzUuMCIsInRhcmdldEJyYW5jaCI6ImRldiJ9-->
Reviewed-on: #71
Co-authored-by: Renovate <renovate@git.end-play.xyz>
Co-committed-by: Renovate <renovate@git.end-play.xyz>
2023-12-27 16:21:23 +02:00
854e3d2832
Update dependency aiohttp to ~=3.9.1 ( #68 )
...
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| [aiohttp](https://github.com/aio-libs/aiohttp ) | minor | `~=3.8.4` -> `~=3.9.1` |
---
### Release Notes
<details>
<summary>aio-libs/aiohttp (aiohttp)</summary>
### [`v3.9.1`](https://github.com/aio-libs/aiohttp/blob/HEAD/CHANGES.rst#391-2023-11-26 )
[Compare Source](https://github.com/aio-libs/aiohttp/compare/v3.9.0...v3.9.1 )
\==================
## Bugfixes
- Fixed importing aiohttp under PyPy on Windows.
`#​7848 <https://github.com/aio-libs/aiohttp/issues/7848 >`\_
- Fixed async concurrency safety in websocket compressor.
`#​7865 <https://github.com/aio-libs/aiohttp/issues/7865 >`\_
- Fixed `ClientResponse.close()` releasing the connection instead of closing.
`#​7869 <https://github.com/aio-libs/aiohttp/issues/7869 >`\_
- Fixed a regression where connection may get closed during upgrade. -- by :user:`Dreamsorcerer`
`#​7879 <https://github.com/aio-libs/aiohttp/issues/7879 >`\_
- Fixed messages being reported as upgraded without an Upgrade header in Python parser. -- by :user:`Dreamsorcerer`
`#​7895 <https://github.com/aio-libs/aiohttp/issues/7895 >`\_
***
### [`v3.9.0`](https://github.com/aio-libs/aiohttp/blob/HEAD/CHANGES.rst#390-2023-11-18 )
[Compare Source](https://github.com/aio-libs/aiohttp/compare/v3.8.6...v3.9.0 )
\==================
## Features
- Introduced `AppKey` for static typing support of `Application` storage.
See https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config
`#​5864 <https://github.com/aio-libs/aiohttp/issues/5864 >`\_
- Added a graceful shutdown period which allows pending tasks to complete before the application's cleanup is called.
The period can be adjusted with the `shutdown_timeout` parameter. -- by :user:`Dreamsorcerer`.
See https://docs.aiohttp.org/en/latest/web_advanced.html#graceful-shutdown
`#​7188 <https://github.com/aio-libs/aiohttp/issues/7188 >`\_
- Added `handler_cancellation <https://docs.aiohttp.org/en/stable/web_advanced.html#web-handler-cancellation >`\_ parameter to cancel web handler on client disconnection. -- by :user:`mosquito`
This (optionally) reintroduces a feature removed in a previous release.
Recommended for those looking for an extra level of protection against denial-of-service attacks.
`#​7056 <https://github.com/aio-libs/aiohttp/issues/7056 >`\_
- Added support for setting response header parameters `max_line_size` and `max_field_size`.
`#​2304 <https://github.com/aio-libs/aiohttp/issues/2304 >`\_
- Added `auto_decompress` parameter to `ClientSession.request` to override `ClientSession._auto_decompress`. -- by :user:`Daste745`
`#​3751 <https://github.com/aio-libs/aiohttp/issues/3751 >`\_
- Changed `raise_for_status` to allow a coroutine.
`#​3892 <https://github.com/aio-libs/aiohttp/issues/3892 >`\_
- Added client brotli compression support (optional with runtime check).
`#​5219 <https://github.com/aio-libs/aiohttp/issues/5219 >`\_
- Added `client_max_size` to `BaseRequest.clone()` to allow overriding the request body size. -- :user:`anesabml`.
`#​5704 <https://github.com/aio-libs/aiohttp/issues/5704 >`\_
- Added a middleware type alias `aiohttp.typedefs.Middleware`.
`#​5898 <https://github.com/aio-libs/aiohttp/issues/5898 >`\_
- Exported `HTTPMove` which can be used to catch any redirection request
that has a location -- :user:`dreamsorcerer`.
`#​6594 <https://github.com/aio-libs/aiohttp/issues/6594 >`\_
- Changed the `path` parameter in `web.run_app()` to accept a `pathlib.Path` object.
`#​6839 <https://github.com/aio-libs/aiohttp/issues/6839 >`\_
- Performance: Skipped filtering `CookieJar` when the jar is empty or all cookies have expired.
`#​7819 <https://github.com/aio-libs/aiohttp/issues/7819 >`\_
- Performance: Only check origin if insecure scheme and there are origins to treat as secure, in `CookieJar.filter_cookies()`.
`#​7821 <https://github.com/aio-libs/aiohttp/issues/7821 >`\_
- Performance: Used timestamp instead of `datetime` to achieve faster cookie expiration in `CookieJar`.
`#​7824 <https://github.com/aio-libs/aiohttp/issues/7824 >`\_
- Added support for passing a custom server name parameter to HTTPS connection.
`#​7114 <https://github.com/aio-libs/aiohttp/issues/7114 >`\_
- Added support for using Basic Auth credentials from :file:`.netrc` file when making HTTP requests with the
:py:class:`~aiohttp.ClientSession` `trust_env` argument is set to `True`. -- by :user:`yuvipanda`.
`#​7131 <https://github.com/aio-libs/aiohttp/issues/7131 >`\_
- Turned access log into no-op when the logger is disabled.
`#​7240 <https://github.com/aio-libs/aiohttp/issues/7240 >`\_
- Added typing information to `RawResponseMessage`. -- by :user:`Gobot1234`
`#​7365 <https://github.com/aio-libs/aiohttp/issues/7365 >`\_
- Removed `async-timeout` for Python 3.11+ (replaced with `asyncio.timeout()` on newer releases).
`#​7502 <https://github.com/aio-libs/aiohttp/issues/7502 >`\_
- Added support for `brotlicffi` as an alternative to `brotli` (fixing Brotli support on PyPy).
`#​7611 <https://github.com/aio-libs/aiohttp/issues/7611 >`\_
- Added `WebSocketResponse.get_extra_info()` to access a protocol transport's extra info.
`#​7078 <https://github.com/aio-libs/aiohttp/issues/7078 >`\_
- Allow `link` argument to be set to None/empty in HTTP 451 exception.
`#​7689 <https://github.com/aio-libs/aiohttp/issues/7689 >`\_
## Bugfixes
- Implemented stripping the trailing dots from fully-qualified domain names in `Host` headers and TLS context when acting as an HTTP client.
This allows the client to connect to URLs with FQDN host name like `https://example.com./ `.
\-- by :user:`martin-sucha`.
`#​3636 <https://github.com/aio-libs/aiohttp/issues/3636 >`\_
- Fixed client timeout not working when incoming data is always available without waiting. -- by :user:`Dreamsorcerer`.
`#​5854 <https://github.com/aio-libs/aiohttp/issues/5854 >`\_
- Fixed `readuntil` to work with a delimiter of more than one character.
`#​6701 <https://github.com/aio-libs/aiohttp/issues/6701 >`\_
- Added `__repr__` to `EmptyStreamReader` to avoid `AttributeError`.
`#​6916 <https://github.com/aio-libs/aiohttp/issues/6916 >`\_
- Fixed bug when using `TCPConnector` with `ttl_dns_cache=0`.
`#​7014 <https://github.com/aio-libs/aiohttp/issues/7014 >`\_
- Fixed response returned from expect handler being thrown away. -- by :user:`Dreamsorcerer`
`#​7025 <https://github.com/aio-libs/aiohttp/issues/7025 >`\_
- Avoided raising `UnicodeDecodeError` in multipart and in HTTP headers parsing.
`#​7044 <https://github.com/aio-libs/aiohttp/issues/7044 >`\_
- Changed `sock_read` timeout to start after writing has finished, avoiding read timeouts caused by an unfinished write. -- by :user:`dtrifiro`
`#​7149 <https://github.com/aio-libs/aiohttp/issues/7149 >`\_
- Fixed missing query in tracing method URLs when using `yarl` 1.9+.
`#​7259 <https://github.com/aio-libs/aiohttp/issues/7259 >`\_
- Changed max 32-bit timestamp to an aware datetime object, for consistency with the non-32-bit one, and to avoid a `DeprecationWarning` on Python 3.12.
`#​7302 <https://github.com/aio-libs/aiohttp/issues/7302 >`\_
- Fixed `EmptyStreamReader.iter_chunks()` never ending. -- by :user:`mind1m`
`#​7616 <https://github.com/aio-libs/aiohttp/issues/7616 >`\_
- Fixed a rare `RuntimeError: await wasn't used with future` exception. -- by :user:`stalkerg`
`#​7785 <https://github.com/aio-libs/aiohttp/issues/7785 >`\_
- Fixed issue with insufficient HTTP method and version validation.
`#​7700 <https://github.com/aio-libs/aiohttp/issues/7700 >`\_
- Added check to validate that absolute URIs have schemes.
`#​7712 <https://github.com/aio-libs/aiohttp/issues/7712 >`\_
- Fixed unhandled exception when Python HTTP parser encounters unpaired Unicode surrogates.
`#​7715 <https://github.com/aio-libs/aiohttp/issues/7715 >`\_
- Updated parser to disallow invalid characters in header field names and stop accepting LF as a request line separator.
`#​7719 <https://github.com/aio-libs/aiohttp/issues/7719 >`\_
- Fixed Python HTTP parser not treating 204/304/1xx as an empty body.
`#​7755 <https://github.com/aio-libs/aiohttp/issues/7755 >`\_
- Ensure empty body response for 1xx/204/304 per RFC 9112 sec 6.3.
`#​7756 <https://github.com/aio-libs/aiohttp/issues/7756 >`\_
- Fixed an issue when a client request is closed before completing a chunked payload. -- by :user:`Dreamsorcerer`
`#​7764 <https://github.com/aio-libs/aiohttp/issues/7764 >`\_
- Edge Case Handling for ResponseParser for missing reason value.
`#​7776 <https://github.com/aio-libs/aiohttp/issues/7776 >`\_
- Fixed `ClientWebSocketResponse.close_code` being erroneously set to `None` when there are concurrent async tasks receiving data and closing the connection.
`#​7306 <https://github.com/aio-libs/aiohttp/issues/7306 >`\_
- Added HTTP method validation.
`#​6533 <https://github.com/aio-libs/aiohttp/issues/6533 >`\_
- Fixed arbitrary sequence types being allowed to inject values via version parameter. -- by :user:`Dreamsorcerer`
`#​7835 <https://github.com/aio-libs/aiohttp/issues/7835 >`\_
- Performance: Fixed increase in latency with small messages from websocket compression changes.
`#​7797 <https://github.com/aio-libs/aiohttp/issues/7797 >`\_
## Improved Documentation
- Fixed the `ClientResponse.release`'s type in the doc. Changed from `comethod` to `method`.
`#​5836 <https://github.com/aio-libs/aiohttp/issues/5836 >`\_
- Added information on behavior of base_url parameter in `ClientSession`.
`#​6647 <https://github.com/aio-libs/aiohttp/issues/6647 >`\_
- Fixed `ClientResponseError` docs.
`#​6700 <https://github.com/aio-libs/aiohttp/issues/6700 >`\_
- Updated Redis code examples to follow the latest API.
`#​6907 <https://github.com/aio-libs/aiohttp/issues/6907 >`\_
- Added a note about possibly needing to update headers when using `on_response_prepare`. -- by :user:`Dreamsorcerer`
`#​7283 <https://github.com/aio-libs/aiohttp/issues/7283 >`\_
- Completed `trust_env` parameter description to honor `wss_proxy`, `ws_proxy` or `no_proxy` env.
`#​7325 <https://github.com/aio-libs/aiohttp/issues/7325 >`\_
- Expanded SSL documentation with more examples (e.g. how to use certifi). -- by :user:`Dreamsorcerer`
`#​7334 <https://github.com/aio-libs/aiohttp/issues/7334 >`\_
- Fix, update, and improve client exceptions documentation.
`#​7733 <https://github.com/aio-libs/aiohttp/issues/7733 >`\_
## Deprecations and Removals
- Added `shutdown_timeout` parameter to `BaseRunner`, while
deprecating `shutdown_timeout` parameter from `BaseSite`. -- by :user:`Dreamsorcerer`
`#​7718 <https://github.com/aio-libs/aiohttp/issues/7718 >`\_
- Dropped Python 3.6 support.
`#​6378 <https://github.com/aio-libs/aiohttp/issues/6378 >`\_
- Dropped Python 3.7 support. -- by :user:`Dreamsorcerer`
`#​7336 <https://github.com/aio-libs/aiohttp/issues/7336 >`\_
- Removed support for abandoned `tokio` event loop. -- by :user:`Dreamsorcerer`
`#​7281 <https://github.com/aio-libs/aiohttp/issues/7281 >`\_
## Misc
- Made `print` argument in `run_app()` optional.
`#​3690 <https://github.com/aio-libs/aiohttp/issues/3690 >`\_
- Improved performance of `ceil_timeout` in some cases.
`#​6316 <https://github.com/aio-libs/aiohttp/issues/6316 >`\_
- Changed importing Gunicorn to happen on-demand, decreasing import time by ~53%. -- :user:`Dreamsorcerer`
`#​6591 <https://github.com/aio-libs/aiohttp/issues/6591 >`\_
- Improved import time by replacing `http.server` with `http.HTTPStatus`.
`#​6903 <https://github.com/aio-libs/aiohttp/issues/6903 >`\_
- Fixed annotation of `ssl` parameter to disallow `True`. -- by :user:`Dreamsorcerer`.
`#​7335 <https://github.com/aio-libs/aiohttp/issues/7335 >`\_
***
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4zNS4wIiwidXBkYXRlZEluVmVyIjoiMzYuMzUuMCIsInRhcmdldEJyYW5jaCI6ImRldiJ9-->
Reviewed-on: #68
Co-authored-by: Renovate <renovate@git.end-play.xyz>
Co-committed-by: Renovate <renovate@git.end-play.xyz>
2023-11-26 21:37:23 +02:00
8d57f8e1c6
Update dependency uvloop to v0.19.0 ( #53 )
...
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| [uvloop](https://github.com/MagicStack/uvloop ) | minor | `==0.18.0` -> `==0.19.0` |
---
### Release Notes
<details>
<summary>MagicStack/uvloop (uvloop)</summary>
### [`v0.19.0`](https://github.com/MagicStack/uvloop/releases/tag/v0.19.0 )
[Compare Source](https://github.com/MagicStack/uvloop/compare/v0.18.0...v0.19.0 )
# Changes
- Drop support of Python 3.7 and update CI ([#​578](https://github.com/MagicStack/uvloop/issues/578 ))
(by [@​fantix](https://github.com/fantix ) in [`ee5ad26`](https://github.com/MagicStack/uvloop/commit/ee5ad26a ) for [#​578](https://github.com/MagicStack/uvloop/issues/578 ))
# Fixes
- Restore uvloop.new_event_loop and other missing uvloop members to typing ([#​573](https://github.com/MagicStack/uvloop/issues/573 ))
(by [@​graingert](https://github.com/graingert ) in [`5c500ee`](https://github.com/MagicStack/uvloop/commit/5c500ee2 ) for [#​573](https://github.com/MagicStack/uvloop/issues/573 ))
- Fix docstring of loop.shutdown_default_executor ([#​535](https://github.com/MagicStack/uvloop/issues/535 ))
(by [@​Gelbpunkt](https://github.com/Gelbpunkt ) in [`919da56`](https://github.com/MagicStack/uvloop/commit/919da567 ) for [#​535](https://github.com/MagicStack/uvloop/issues/535 ))
- Fix CI status badge ([#​522](https://github.com/MagicStack/uvloop/issues/522 ))
(by [@​shuuji3](https://github.com/shuuji3 ) in [`0e9ff6c`](https://github.com/MagicStack/uvloop/commit/0e9ff6cd ) for [#​522](https://github.com/MagicStack/uvloop/issues/522 ))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4zNS4wIiwidXBkYXRlZEluVmVyIjoiMzYuMzUuMCIsInRhcmdldEJyYW5jaCI6ImRldiJ9-->
Reviewed-on: #53
Co-authored-by: Renovate <renovate@git.end-play.xyz>
Co-committed-by: Renovate <renovate@git.end-play.xyz>
2023-10-29 19:33:07 +02:00
894840ef95
Constant change due to #29
2023-10-16 05:50:32 +00:00
a0616ff285
Improved naming
2023-10-15 18:14:22 +02:00
c4d31c955f
Fixed context handler
2023-10-15 17:56:20 +02:00
6bd1234d3d
This commit closes #45
2023-10-15 17:40:56 +02:00
154db69f20
Update dependency pillow to ~=10.1.0 ( #48 )
...
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| [pillow](https://python-pillow.org ) ([source](https://github.com/python-pillow/Pillow ), [changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst )) | minor | `~=10.0.0` -> `~=10.1.0` |
---
### Release Notes
<details>
<summary>python-pillow/Pillow (pillow)</summary>
### [`v10.1.0`](https://github.com/python-pillow/Pillow/blob/HEAD/CHANGES.rst#1010-2023-10-15 )
[Compare Source](https://github.com/python-pillow/Pillow/compare/10.0.1...10.1.0 )
- Added TrueType default font to allow for different sizes [#​7354](https://github.com/python-pillow/Pillow/issues/7354 )
\[radarhere]
- Fixed invalid argument warning [#​7442](https://github.com/python-pillow/Pillow/issues/7442 )
\[radarhere]
- Added ImageOps cover method [#​7412](https://github.com/python-pillow/Pillow/issues/7412 )
\[radarhere, hugovk]
- Catch struct.error from truncated EXIF when reading JPEG DPI [#​7458](https://github.com/python-pillow/Pillow/issues/7458 )
\[radarhere]
- Consider default image when selecting mode for PNG save_all [#​7437](https://github.com/python-pillow/Pillow/issues/7437 )
\[radarhere]
- Support BGR;15, BGR;16 and BGR;24 access, unpacking and putdata [#​7303](https://github.com/python-pillow/Pillow/issues/7303 )
\[radarhere]
- Added CMYK to RGB unpacker [#​7310](https://github.com/python-pillow/Pillow/issues/7310 )
\[radarhere]
- Improved flexibility of XMP parsing [#​7274](https://github.com/python-pillow/Pillow/issues/7274 )
\[radarhere]
- Support reading 8-bit YCbCr TIFF images [#​7415](https://github.com/python-pillow/Pillow/issues/7415 )
\[radarhere]
- Allow saving I;16B images as PNG [#​7302](https://github.com/python-pillow/Pillow/issues/7302 )
\[radarhere]
- Corrected drawing I;16 points and writing I;16 text [#​7257](https://github.com/python-pillow/Pillow/issues/7257 )
\[radarhere]
- Set blue channel to 128 for BC5S [#​7413](https://github.com/python-pillow/Pillow/issues/7413 )
\[radarhere]
- Increase flexibility when reading IPTC fields [#​7319](https://github.com/python-pillow/Pillow/issues/7319 )
\[radarhere]
- Set C palette to be empty by default [#​7289](https://github.com/python-pillow/Pillow/issues/7289 )
\[radarhere]
- Added gs_binary to control Ghostscript use on all platforms [#​7392](https://github.com/python-pillow/Pillow/issues/7392 )
\[radarhere]
- Read bounding box information from the trailer of EPS files if specified [#​7382](https://github.com/python-pillow/Pillow/issues/7382 )
\[nopperl, radarhere]
- Added reading 8-bit color DDS images [#​7426](https://github.com/python-pillow/Pillow/issues/7426 )
\[radarhere]
- Added has_transparency_data [#​7420](https://github.com/python-pillow/Pillow/issues/7420 )
\[radarhere, hugovk]
- Fixed bug when reading BC5S DDS images [#​7401](https://github.com/python-pillow/Pillow/issues/7401 )
\[radarhere]
- Prevent TIFF orientation from being applied more than once [#​7383](https://github.com/python-pillow/Pillow/issues/7383 )
\[radarhere]
- Use previous pixel alpha for QOI_OP_RGB [#​7357](https://github.com/python-pillow/Pillow/issues/7357 )
\[radarhere]
- Added BC5U reading [#​7358](https://github.com/python-pillow/Pillow/issues/7358 )
\[radarhere]
- Allow getpixel() to accept a list [#​7355](https://github.com/python-pillow/Pillow/issues/7355 )
\[radarhere, homm]
- Allow GaussianBlur and BoxBlur to accept a sequence of x and y radii [#​7336](https://github.com/python-pillow/Pillow/issues/7336 )
\[radarhere]
- Expand JPEG buffer size when saving optimized or progressive [#​7345](https://github.com/python-pillow/Pillow/issues/7345 )
\[radarhere]
- Added session type check for Linux in ImageGrab.grabclipboard() [#​7332](https://github.com/python-pillow/Pillow/issues/7332 )
\[TheNooB2706, radarhere, hugovk]
- Allow "loop=None" when saving GIF images [#​7329](https://github.com/python-pillow/Pillow/issues/7329 )
\[radarhere]
- Fixed transparency when saving P mode images to PDF [#​7323](https://github.com/python-pillow/Pillow/issues/7323 )
\[radarhere]
- Added saving LA images as PDFs [#​7299](https://github.com/python-pillow/Pillow/issues/7299 )
\[radarhere]
- Set SMaskInData to 1 for PDFs with alpha [#​7316](https://github.com/python-pillow/Pillow/issues/7316 ), [#​7317](https://github.com/python-pillow/Pillow/issues/7317 )
\[radarhere]
- Changed Image mode property to be read-only by default [#​7307](https://github.com/python-pillow/Pillow/issues/7307 )
\[radarhere]
- Silence exceptions in *repr_jpeg* and *repr_png* [#​7266](https://github.com/python-pillow/Pillow/issues/7266 )
\[mtreinish, radarhere]
- Do not use transparency when saving GIF if it has been removed when normalizing mode [#​7284](https://github.com/python-pillow/Pillow/issues/7284 )
\[radarhere]
- Fix missing symbols when libtiff depends on libjpeg [#​7270](https://github.com/python-pillow/Pillow/issues/7270 )
\[heitbaum]
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4zNS4wIiwidXBkYXRlZEluVmVyIjoiMzYuMzUuMCIsInRhcmdldEJyYW5jaCI6ImRldiJ9-->
Reviewed-on: #48
Co-authored-by: Renovate <renovate@git.end-play.xyz>
Co-committed-by: Renovate <renovate@git.end-play.xyz>
2023-10-15 17:47:05 +03:00
e719da7750
Update dependency uvloop to v0.18.0 ( #46 )
...
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| [uvloop](https://github.com/MagicStack/uvloop ) | minor | `==0.17.0` -> `==0.18.0` |
---
### Release Notes
<details>
<summary>MagicStack/uvloop (uvloop)</summary>
### [`v0.18.0`](https://github.com/MagicStack/uvloop/releases/tag/v0.18.0 )
[Compare Source](https://github.com/MagicStack/uvloop/compare/v0.17.0...v0.18.0 )
# Fixes
- CI fixes ([#​520](https://github.com/MagicStack/uvloop/issues/520 ), [#​553](https://github.com/MagicStack/uvloop/issues/553 ))
(by [@​altendky](https://github.com/altendky ) in [`7783f1c`](https://github.com/MagicStack/uvloop/commit/7783f1c5 ), [@​dulmandakh](https://github.com/dulmandakh ) in [`1dd40f1`](https://github.com/MagicStack/uvloop/commit/1dd40f17 ))
- Make extract_stack resilient to lacking frames. ([#​563](https://github.com/MagicStack/uvloop/issues/563 ))
(by [@​jhance](https://github.com/jhance ) in [`0687643`](https://github.com/MagicStack/uvloop/commit/06876434 ) for [#​563](https://github.com/MagicStack/uvloop/issues/563 ))
- Port uvloop to Python 3.12 ([#​570](https://github.com/MagicStack/uvloop/issues/570 ))
(by [@​1st1](https://github.com/1st1 ), [@​fantix](https://github.com/fantix ) in [`9f82bd7`](https://github.com/MagicStack/uvloop/commit/9f82bd74 ) for [#​569](https://github.com/MagicStack/uvloop/issues/569 ))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4zNS4wIiwidXBkYXRlZEluVmVyIjoiMzYuMzUuMCIsInRhcmdldEJyYW5jaCI6ImRldiJ9-->
Reviewed-on: #46
Co-authored-by: Renovate <renovate@git.end-play.xyz>
Co-committed-by: Renovate <renovate@git.end-play.xyz>
2023-10-15 17:46:55 +03:00
1d88076285
exp is now exc
2023-08-16 13:27:23 +02:00
5e8506cc12
Attempt to work around #40
2023-08-16 13:20:25 +02:00
235fa37252
Small config reading fix
2023-08-14 15:20:48 +02:00
176f5d35c3
Dependencies cleanup
2023-08-14 14:58:11 +02:00
cd26990b7e
Migrate to async_pymongo
2023-08-14 14:52:02 +02:00
5b56919b80
Update dependency libbot to v2.0.1 ( #39 )
...
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| libbot | patch | `==2.0.0` -> `==2.0.1` |
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4zNS4wIiwidXBkYXRlZEluVmVyIjoiMzYuMzUuMCIsInRhcmdldEJyYW5jaCI6ImRldiJ9-->
Reviewed-on: #39
Co-authored-by: Renovate <renovate@git.end-play.xyz>
Co-committed-by: Renovate <renovate@git.end-play.xyz>
2023-08-11 11:31:19 +03:00
0e9bed1277
Update dependency libbot to v2 ( #38 )
...
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| libbot | major | `==0.2.2` -> `==2.0.0` |
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS41NC4wIiwidXBkYXRlZEluVmVyIjoiMzUuNTQuMCJ9-->
Reviewed-on: #38
Co-authored-by: Renovate <renovate@git.end-play.xyz>
Co-committed-by: Renovate <renovate@git.end-play.xyz>
2023-08-07 13:07:58 +03:00
fb37da4195
Bump libbot to 0.2.2
2023-08-06 22:20:27 +02:00
065f704923
Update dependency libbot to v1.9 ( #35 )
...
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| libbot | minor | `==1.8` -> `==1.9` |
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS41NC4wIiwidXBkYXRlZEluVmVyIjoiMzUuNTQuMCJ9-->
Co-authored-by: Renovate <renovate@git.end-play.xyz>
Reviewed-on: #35
Co-authored-by: Renovate <renovate@noreply.localhost>
Co-committed-by: Renovate <renovate@noreply.localhost>
2023-07-26 15:28:42 +03:00
a45f6b620f
Update dependency black to ~=23.7.0 ( #34 )
...
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| [black](https://github.com/psf/black ) ([changelog](https://github.com/psf/black/blob/main/CHANGES.md )) | minor | `~=23.3.0` -> `~=23.7.0` |
---
### Release Notes
<details>
<summary>psf/black</summary>
### [`v23.7.0`](https://github.com/psf/black/blob/HEAD/CHANGES.md#​2370 )
[Compare Source](https://github.com/psf/black/compare/23.3.0...23.7.0 )
##### Highlights
- Runtime support for Python 3.7 has been removed. Formatting 3.7 code will still be
supported until further notice ([#​3765](https://github.com/psf/black/issues/3765 ))
##### Stable style
- Fix a bug where an illegal trailing comma was added to return type annotations using
PEP 604 unions ([#​3735](https://github.com/psf/black/issues/3735 ))
- Fix several bugs and crashes where comments in stub files were removed or mishandled
under some circumstances ([#​3745](https://github.com/psf/black/issues/3745 ))
- Fix a crash with multi-line magic comments like `type: ignore` within parentheses
([#​3740](https://github.com/psf/black/issues/3740 ))
- Fix error in AST validation when *Black* removes trailing whitespace in a type comment
([#​3773](https://github.com/psf/black/issues/3773 ))
##### Preview style
- Implicitly concatenated strings used as function args are no longer wrapped inside
parentheses ([#​3640](https://github.com/psf/black/issues/3640 ))
- Remove blank lines between a class definition and its docstring ([#​3692](https://github.com/psf/black/issues/3692 ))
##### Configuration
- The `--workers` argument to *Black* can now be specified via the `BLACK_NUM_WORKERS`
environment variable ([#​3743](https://github.com/psf/black/issues/3743 ))
- `.pytest_cache`, `.ruff_cache` and `.vscode` are now excluded by default ([#​3691](https://github.com/psf/black/issues/3691 ))
- Fix *Black* not honouring `pyproject.toml` settings when running `--stdin-filename`
and the `pyproject.toml` found isn't in the current working directory ([#​3719](https://github.com/psf/black/issues/3719 ))
- *Black* will now error if `exclude` and `extend-exclude` have invalid data types in
`pyproject.toml`, instead of silently doing the wrong thing ([#​3764](https://github.com/psf/black/issues/3764 ))
##### Packaging
- Upgrade mypyc from 0.991 to 1.3 ([#​3697](https://github.com/psf/black/issues/3697 ))
- Remove patching of Click that mitigated errors on Python 3.6 with `LANG=C` ([#​3768](https://github.com/psf/black/issues/3768 ))
##### Parser
- Add support for the new PEP 695 syntax in Python 3.12 ([#​3703](https://github.com/psf/black/issues/3703 ))
##### Performance
- Speed up *Black* significantly when the cache is full ([#​3751](https://github.com/psf/black/issues/3751 ))
- Avoid importing `IPython` in a case where we wouldn't need it ([#​3748](https://github.com/psf/black/issues/3748 ))
##### Output
- Use aware UTC datetimes internally, avoids deprecation warning on Python 3.12 ([#​3728](https://github.com/psf/black/issues/3728 ))
- Change verbose logging to exactly mirror *Black*'s logic for source discovery ([#​3749](https://github.com/psf/black/issues/3749 ))
##### *Blackd*
- The `blackd` argument parser now shows the default values for options in their help
text ([#​3712](https://github.com/psf/black/issues/3712 ))
##### Integrations
- Black is now tested with
[`PYTHONWARNDEFAULTENCODING = 1`](https://docs.python.org/3/library/io.html#io-encoding-warning )
([#​3763](https://github.com/psf/black/issues/3763 ))
- Update GitHub Action to display black output in the job summary ([#​3688](https://github.com/psf/black/issues/3688 ))
##### Documentation
- Add a CITATION.cff file to the root of the repository, containing metadata on how to
cite this software ([#​3723](https://github.com/psf/black/issues/3723 ))
- Update the *classes* and *exceptions* documentation in Developer reference to match
the latest code base ([#​3755](https://github.com/psf/black/issues/3755 ))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS41NC4wIiwidXBkYXRlZEluVmVyIjoiMzUuNTQuMCJ9-->
Co-authored-by: Renovate <renovate@git.end-play.xyz>
Reviewed-on: #34
Co-authored-by: Renovate <renovate@noreply.localhost>
Co-committed-by: Renovate <renovate@noreply.localhost>
2023-07-11 11:20:23 +03:00
fe8b562a7e
master ( #33 )
...
Reviewed-on: #33
2023-07-06 17:35:12 +03:00
63164d2169
Merge branch 'master' into dev
2023-07-06 15:21:15 +03:00
be288776d9
max_concurrent_transmissions reduced to 1
2023-07-06 14:19:56 +02:00
0c73c51936
unauthorized_client will be created when needed
2023-07-03 14:42:55 +02:00
82467518da
Merge branch 'master' of https://git.end-play.xyz/profitroll/TelegramPoster
2023-07-03 12:47:29 +02:00
c0085b8000
Merge branch 'dev'
2023-07-03 12:43:43 +02:00
a7e79eb254
Updated README
2023-07-03 12:34:55 +02:00
dc774262f8
Locale for console is gone for good
2023-07-03 11:42:28 +02:00
987f642578
CLI is back and updated
2023-07-03 11:27:15 +02:00
f7df4d8ddc
Bump libbot to 1.8
2023-07-03 11:04:39 +02:00
c2619a1370
Update dependency pillow to v10 ( #29 )
...
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| [pillow](https://python-pillow.org ) ([source](https://github.com/python-pillow/Pillow ), [changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst )) | major | `~=9.4.0` -> `~=10.0.0` |
---
### Release Notes
<details>
<summary>python-pillow/Pillow</summary>
### [`v10.0.0`](https://github.com/python-pillow/Pillow/blob/HEAD/CHANGES.rst#​1000-2023-07-01 )
[Compare Source](https://github.com/python-pillow/Pillow/compare/9.5.0...10.0.0 )
- Fixed deallocating mask images [#​7246](https://github.com/python-pillow/Pillow/issues/7246 )
\[radarhere]
- Added ImageFont.MAX_STRING_LENGTH [#​7244](https://github.com/python-pillow/Pillow/issues/7244 )
\[radarhere, hugovk]
- Fix Windows build with pyproject.toml [#​7230](https://github.com/python-pillow/Pillow/issues/7230 )
\[hugovk, nulano, radarhere]
- Do not close provided file handles with libtiff [#​7199](https://github.com/python-pillow/Pillow/issues/7199 )
\[radarhere]
- Convert to HSV if mode is HSV in getcolor() [#​7226](https://github.com/python-pillow/Pillow/issues/7226 )
\[radarhere]
- Added alpha_only argument to getbbox() [#​7123](https://github.com/python-pillow/Pillow/issues/7123 )
\[radarhere. hugovk]
- Prioritise speed in *repr_png* [#​7242](https://github.com/python-pillow/Pillow/issues/7242 )
\[radarhere]
- Do not use CFFI access by default on PyPy [#​7236](https://github.com/python-pillow/Pillow/issues/7236 )
\[radarhere]
- Limit size even if one dimension is zero in decompression bomb check [#​7235](https://github.com/python-pillow/Pillow/issues/7235 )
\[radarhere]
- Use --config-settings instead of deprecated --global-option [#​7171](https://github.com/python-pillow/Pillow/issues/7171 )
\[radarhere]
- Better C integer definitions [#​6645](https://github.com/python-pillow/Pillow/issues/6645 )
\[Yay295, hugovk]
- Fixed finding dependencies on Cygwin [#​7175](https://github.com/python-pillow/Pillow/issues/7175 )
\[radarhere]
- Changed grabclipboard() to use PNG instead of JPG compression on macOS [#​7219](https://github.com/python-pillow/Pillow/issues/7219 )
\[abey79, radarhere]
- Added in_place argument to ImageOps.exif_transpose() [#​7092](https://github.com/python-pillow/Pillow/issues/7092 )
\[radarhere]
- Fixed calling putpalette() on L and LA images before load() [#​7187](https://github.com/python-pillow/Pillow/issues/7187 )
\[radarhere]
- Fixed saving TIFF multiframe images with LONG8 tag types [#​7078](https://github.com/python-pillow/Pillow/issues/7078 )
\[radarhere]
- Fixed combining single duration across duplicate APNG frames [#​7146](https://github.com/python-pillow/Pillow/issues/7146 )
\[radarhere]
- Remove temporary file when error is raised [#​7148](https://github.com/python-pillow/Pillow/issues/7148 )
\[radarhere]
- Do not use temporary file when grabbing clipboard on Linux [#​7200](https://github.com/python-pillow/Pillow/issues/7200 )
\[radarhere]
- If the clipboard fails to open on Windows, wait and try again [#​7141](https://github.com/python-pillow/Pillow/issues/7141 )
\[radarhere]
- Fixed saving multiple 1 mode frames to GIF [#​7181](https://github.com/python-pillow/Pillow/issues/7181 )
\[radarhere]
- Replaced absolute PIL import with relative import [#​7173](https://github.com/python-pillow/Pillow/issues/7173 )
\[radarhere]
- Replaced deprecated Py_FileSystemDefaultEncoding for Python >= 3.12 [#​7192](https://github.com/python-pillow/Pillow/issues/7192 )
\[radarhere]
- Improved wl-paste mimetype handling in ImageGrab [#​7094](https://github.com/python-pillow/Pillow/issues/7094 )
\[rrcgat, radarhere]
- Added *repr_jpeg*() for IPython display_jpeg [#​7135](https://github.com/python-pillow/Pillow/issues/7135 )
\[n3011, radarhere, nulano]
- Use "/sbin/ldconfig" if ldconfig is not found [#​7068](https://github.com/python-pillow/Pillow/issues/7068 )
\[radarhere]
- Prefer screenshots using XCB over gnome-screenshot [#​7143](https://github.com/python-pillow/Pillow/issues/7143 )
\[nulano, radarhere]
- Fixed joined corners for ImageDraw rounded_rectangle() odd dimensions [#​7151](https://github.com/python-pillow/Pillow/issues/7151 )
\[radarhere]
- Support reading signed 8-bit TIFF images [#​7111](https://github.com/python-pillow/Pillow/issues/7111 )
\[radarhere]
- Added width argument to ImageDraw regular_polygon [#​7132](https://github.com/python-pillow/Pillow/issues/7132 )
\[radarhere]
- Support I mode for ImageFilter.BuiltinFilter [#​7108](https://github.com/python-pillow/Pillow/issues/7108 )
\[radarhere]
- Raise error from stderr of Linux ImageGrab.grabclipboard() command [#​7112](https://github.com/python-pillow/Pillow/issues/7112 )
\[radarhere]
- Added unpacker from I;16B to I;16 [#​7125](https://github.com/python-pillow/Pillow/issues/7125 )
\[radarhere]
- Support float font sizes [#​7107](https://github.com/python-pillow/Pillow/issues/7107 )
\[radarhere]
- Use later value for duplicate xref entries in PdfParser [#​7102](https://github.com/python-pillow/Pillow/issues/7102 )
\[radarhere]
- Load before getting size in **getstate** [#​7105](https://github.com/python-pillow/Pillow/issues/7105 )
\[bigcat88, radarhere]
- Fixed type handling for include and lib directories [#​7069](https://github.com/python-pillow/Pillow/issues/7069 )
\[adisbladis, radarhere]
- Remove deprecations for Pillow 10.0.0 [#​7059](https://github.com/python-pillow/Pillow/issues/7059 ), [#​7080](https://github.com/python-pillow/Pillow/issues/7080 )
\[hugovk, radarhere]
- Drop support for soon-EOL Python 3.7 [#​7058](https://github.com/python-pillow/Pillow/issues/7058 )
\[hugovk, radarhere]
### [`v9.5.0`](https://github.com/python-pillow/Pillow/blob/HEAD/CHANGES.rst#​950-2023-04-01 )
[Compare Source](https://github.com/python-pillow/Pillow/compare/9.4.0...9.5.0 )
- Added ImageSourceData to TAGS_V2 [#​7053](https://github.com/python-pillow/Pillow/issues/7053 )
\[radarhere]
- Clear PPM half token after use [#​7052](https://github.com/python-pillow/Pillow/issues/7052 )
\[radarhere]
- Removed absolute path to ldconfig [#​7044](https://github.com/python-pillow/Pillow/issues/7044 )
\[radarhere]
- Support custom comments and PLT markers when saving JPEG2000 images [#​6903](https://github.com/python-pillow/Pillow/issues/6903 )
\[joshware, radarhere, hugovk]
- Load before getting size in **array_interface** [#​7034](https://github.com/python-pillow/Pillow/issues/7034 )
\[radarhere]
- Support creating BGR;15, BGR;16 and BGR;24 images, but drop support for BGR;32 [#​7010](https://github.com/python-pillow/Pillow/issues/7010 )
\[radarhere]
- Consider transparency when applying APNG blend mask [#​7018](https://github.com/python-pillow/Pillow/issues/7018 )
\[radarhere]
- Round duration when saving animated WebP images [#​6996](https://github.com/python-pillow/Pillow/issues/6996 )
\[radarhere]
- Added reading of JPEG2000 comments [#​6909](https://github.com/python-pillow/Pillow/issues/6909 )
\[radarhere]
- Decrement reference count [#​7003](https://github.com/python-pillow/Pillow/issues/7003 )
\[radarhere, nulano]
- Allow libtiff_support_custom_tags to be missing [#​7020](https://github.com/python-pillow/Pillow/issues/7020 )
\[radarhere]
- Improved I;16N support [#​6834](https://github.com/python-pillow/Pillow/issues/6834 )
\[radarhere]
- Added QOI reading [#​6852](https://github.com/python-pillow/Pillow/issues/6852 )
\[radarhere, hugovk]
- Added saving RGBA images as PDFs [#​6925](https://github.com/python-pillow/Pillow/issues/6925 )
\[radarhere]
- Do not raise an error if os.environ does not contain PATH [#​6935](https://github.com/python-pillow/Pillow/issues/6935 )
\[radarhere, hugovk]
- Close OleFileIO instance when closing or exiting FPX or MIC [#​7005](https://github.com/python-pillow/Pillow/issues/7005 )
\[radarhere]
- Added **int** to IFDRational for Python >= 3.11 [#​6998](https://github.com/python-pillow/Pillow/issues/6998 )
\[radarhere]
- Added memoryview support to Dib.frombytes() [#​6988](https://github.com/python-pillow/Pillow/issues/6988 )
\[radarhere, nulano]
- Close file pointer copy in the libtiff encoder if still open [#​6986](https://github.com/python-pillow/Pillow/issues/6986 )
\[fcarron, radarhere]
- Raise an error if ImageDraw co-ordinates are incorrectly ordered [#​6978](https://github.com/python-pillow/Pillow/issues/6978 )
\[radarhere]
- Added "corners" argument to ImageDraw rounded_rectangle() [#​6954](https://github.com/python-pillow/Pillow/issues/6954 )
\[radarhere]
- Added memoryview support to frombytes() [#​6974](https://github.com/python-pillow/Pillow/issues/6974 )
\[radarhere]
- Allow comments in FITS images [#​6973](https://github.com/python-pillow/Pillow/issues/6973 )
\[radarhere]
- Support saving PDF with different X and Y resolutions [#​6961](https://github.com/python-pillow/Pillow/issues/6961 )
\[jvanderneutstulen, radarhere, hugovk]
- Fixed writing int as UNDEFINED tag [#​6950](https://github.com/python-pillow/Pillow/issues/6950 )
\[radarhere]
- Raise an error if EXIF data is too long when saving JPEG [#​6939](https://github.com/python-pillow/Pillow/issues/6939 )
\[radarhere]
- Handle more than one directory returned by pkg-config [#​6896](https://github.com/python-pillow/Pillow/issues/6896 )
\[sebastic, radarhere]
- Do not retry past formats when loading all formats for the first time [#​6902](https://github.com/python-pillow/Pillow/issues/6902 )
\[radarhere]
- Do not retry specified formats if they failed when opening [#​6893](https://github.com/python-pillow/Pillow/issues/6893 )
\[radarhere]
- Do not unintentionally load TIFF format at first [#​6892](https://github.com/python-pillow/Pillow/issues/6892 )
\[radarhere]
- Stop reading when EPS line becomes too long [#​6897](https://github.com/python-pillow/Pillow/issues/6897 )
\[radarhere]
- Allow writing IFDRational to BYTE tag [#​6890](https://github.com/python-pillow/Pillow/issues/6890 )
\[radarhere]
- Raise ValueError for BoxBlur filter with negative radius [#​6874](https://github.com/python-pillow/Pillow/issues/6874 )
\[hugovk, radarhere]
- Support arbitrary number of loaded modules on Windows [#​6761](https://github.com/python-pillow/Pillow/issues/6761 )
\[javidcf, radarhere, nulano]
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS41NC4wIiwidXBkYXRlZEluVmVyIjoiMzUuNTQuMCJ9-->
Co-authored-by: Renovate <renovate@git.end-play.xyz>
Reviewed-on: #29
Co-authored-by: Renovate <renovate@noreply.localhost>
Co-committed-by: Renovate <renovate@noreply.localhost>
2023-07-03 11:37:48 +03:00
15b272ae35
max_concurrent_transmissions is now 3 by default
2023-07-01 15:43:07 +02:00
28b5449f2a
Improved /shutdown
2023-06-30 11:34:15 +02:00
bfec702bef
Config cleanup
2023-06-30 11:34:06 +02:00
fd0c4c0545
Bump libbot to 1.7
2023-06-30 11:33:34 +02:00
11dbf3239d
Removed deprecated collection
2023-06-28 10:52:00 +02:00
3d87f035e7
Added /language for owner
2023-06-28 10:48:14 +02:00
d8245934e2
Fixed wrong db record
2023-06-28 10:45:23 +02:00
420a4cb7eb
Fixed locale strings and commands
2023-06-28 10:43:13 +02:00
b747dde664
Added missing requirement
2023-06-28 10:39:39 +02:00
10c60ae932
WIP: /language system
2023-06-28 10:37:18 +02:00