dssg / triage

General Purpose Risk Modeling and Prediction Toolkit for Policy and Social Good Problems
Other
181 stars 61 forks source link

Scheduled monthly dependency update for February #939

Closed pyup-bot closed 4 months ago

pyup-bot commented 5 months ago

Update mkdocs from 1.3.0 to 1.5.3.

The bot wasn't able to find a changelog for this release. Got an idea?

Links - PyPI: https://pypi.org/project/mkdocs

Update pymdown-extensions from 10.0.1 to 10.7.

Changelog ### 10.7 ``` - **NEW**: Emoji: Update Twemoji and Gemoji data to latest. - **NEW**: Emoji: Due to recent Gemoji update, non-standard emoji are no longer indexed. So emoji such as `:octocat:` are no longer resolved. - **NEW**: Highlight: Added new option `default_lang` which will cause code blocks with no language specifier to be highlighted with the specified default language instead of plain text. This affects indented code blocks and code blocks defined with SuperFences. - **NEW**: InlineHilite: `style_plain_text` can be specified with a language string (in addition to its previous boolean requirement) to treat inline code blocks with no explicit language specifier with a specific default language. ``` ### 10.6 ``` - **NEW**: MagicLink: Allow configuring custom repository providers based off the existing providers. ``` ### 10.5 ``` - **NEW**: Blocks: Admonitions and Details now allow configuring custom block classes and default titles. - **FIX**: Keys: Ensure that Keys does not parse base64 encoded URLs. ``` ### 10.4 ``` - **NEW**: Snippets: Allow PathLike objects for `base_path` to better support interactions with MkDocs. - **FIX**: Block Admonitions: Empty titles should be respected. - **FIX**: Block Details: Empty summary should be respected. ``` ### 10.3.1 ``` - **FIX**: SuperFences: Fix an issue where braces were not handled properly in attributes. ``` ### 10.3 ``` - **NEW**: Officially support Python 3.12. - **NEW**: Drop Python 3.7 support. ``` ### 10.2.1 ``` - **FIX**: Tabbed: Fix regression. ``` ### 10.1 ``` - **NEW**: Add new `combine_header_slug` option in legacy Tabbed extension and new Block Tab extension that will prefix a content tab's slug with the parent header's slug. This allows for content tab slugs that are scoped to the header they are under. ```
Links - PyPI: https://pypi.org/project/pymdown-extensions - Changelog: https://data.safetycli.com/changelogs/pymdown-extensions/

Update mkdocs-material from 8.2.12 to 9.5.6.

Changelog ### 9.5.6 ``` - Fixed 6700: Missing styles for Mermaid.js labels with Markdown ``` ### 9.5.5 ``` - Updated Tagalog translations - Updated Pillow to 10.2 to mitigate security vulnerabilities - Improved resilience of instant navigation - Fixed 6687: Updated Mermaid.js to version 10.7.0 (latest) - Fixed 6652: Keyboard events in custom elements captured - Fixed 6582: Instant navigation doesn't correctly handle alternate URLs - Fixed 6565: Instant navigation doesn't allow for `onclick` handlers - Fixed 6345: Instant navigation sometimes breaks browser back button - Fixed 6334: Instant navigation doesn't correctly position anchors (Safari) - Fixed 6275: Instant navigation doesn't correctly resolve after 404 - Fixed 6102: Instant navigation reloads page on same link navigation ``` ### 9.5.4 ``` - Fixed 6645: Local storage with invalid value can break site - Fixed 6635: Tags icons before default ignored if default is set ``` ### 9.5.3 ``` - Limited version range of MkDocs to < 1.6 - Updated Macedonian translations - Fixed 6520: Group plugin crashes when using mike - Fixed 6494: Hide author's email address if disabled in git-authors plugin ``` ### 9.5.2 ``` - Fixed types for `slugify` settings in blog plugin config - Fixed 6469: Horizontal scrollbars on MathJax containers ``` ### 9.5.1 ``` - Updated Greek translations - Fixed 6464: Privacy plugin cannot be enabled - Fixed 6461: Sorting blog posts ignores time component in date ``` ### 9.5.0 ``` Merged Insiders features of 'Goat's Horn' funding goal - Added privacy plugin: automatic downloading of external assets - Added support for card grids and grid layouts - Added support for improved tooltips - Added support for content tabs anchor links (deep linking) - Added support for automatic dark/light mode - Added support for document contributors ``` ### 9.4.14 ``` - Added support for linking authors in blog posts ``` ### 9.4.13 ``` - Fixed 6365: Blog plugin pagination links to previous pages broken - Fixed 5758: Updated Mermaid.js to version 10.6.1 (latest) ``` ### 9.4.12 ``` - Improved blog plugin to generate Unicode-aware slugs by default - Fixed non-deterministic order of categories in blog plugin ``` ### 9.4.11 ``` - Fixed 6364: Search plugin crashing when enabling theme while serving - Fixed blog plugin crashing when disabling pagination ``` ### 9.4.10 ``` - Fixed 6356: Version selector can't be disabled via mike's configuration - Fixed 6281: Navigation not rendering due to Safari bug (9.4.2 regression) - Fixed 6261: Navigation expansion animates on first load (9.4.2 regression) ``` ### 9.4.9 ``` - Fixed 6344: Long entries cutoff in table of contents - Fixed 6336: Custom template for glob archive not working with pagination - Fixed 6328: Blog plugin crashes for locales with dashes, e.g. `pt-BR` - Fixed 6327: Copy-to-clipboard button doesn't trim trailing line feed - Fixed 6302: Version strings not matched when using mike, only aliases - Fixed instant navigation progress indicator for gzipped content in Chrome - Fixed rendering bug on details marker rotation in Firefox ``` ### 9.4.8 ``` - Fixed invalid local address replacement when using instant loading - Fixed 6275: Crash after navigation caused 404 when using instant loading ``` ### 9.4.7 ``` - Added Azerbaijani translations ``` ### 9.4.6 ``` - Updated Danish and Norwegian (Nynorsk) translations - Fixed 6169: Blog post metadata layout overflows on small screens ``` ### 9.4.5 ``` - Fixed sidebar auto-positioning (9.4.2 regression) - Fixed 6166: Improve group plugin compatibility with Python < 3.10 - Fixed 6157: Hiding tags does not work (9.4.3 regression) ``` ### 9.4.4 ``` - Added support for overriding text to be copied for code blocks - Fixed broken layout in some browsers at breakpoints when using zoom - Fixed 6132: Incomplete search highlighting for code blocks in titles ``` ### 9.4.3 ``` - Added support for instant navigation progress indicator - Improved spacing and alignment of tags - Moved back-to-top button into separate partial - Fixed 6104: Indentation for some code blocks lost in search - Fixed 6094: Blog post metadata overlaps with footer on small screens - Fixed 6069: Blog plugin crashes for categories with non-ASCII names __Updated templates__ ([diff](https://github.com/squidfunk/mkdocs-material/compare/9.4.2...9.4.3)) - `base.html` ``` ### 9.4.2 ``` - Updated Slovenian translations - Added animation to sidebar navigation expansion and collapse - Added support for auto-replacement of document head for instant navigation - Improved compatibility of new emoji extension with Python < 3.10 - Switched regex dependency to use minimal version - Refactored alignment and spacing of sidebar navigation - Fixed expansion button not focusable via keyboard in sidebar navigation - Fixed viewport offset restoration on first load when using instant navigation - Fixed accidental highlight of non-clickable elements in blog plugin sidebar - Fixed 6041: Blog plugin crashes when `nav` is defined and blog not included - Fixed 5972: Blog plugin ignores section index pages in paginated views - Fixed 5954: Repeated click on anchor ignored when using instant navigation - Fixed 5742: Keyboard navigation broken when using instant navigation __Updated templates__ ([diff](https://github.com/squidfunk/mkdocs-material/compare/9.4.1...9.4.2)) - `partials/nav-item.html` - `blog-post.html` ``` ### 9.4.1 ``` - Improved colors and contrast in dark mode - Improved admonition borders to match font weight - Switched content tabs to neutral color ``` ### 9.4.0 ``` - Added Belarusian translations - Added version info to entrypoint of package - Added emoji extension as a replacement for `materialx` - Improved slate color scheme (dark mode) - now even darker - Restructured project to improve development experience - Updated MkDocs to 1.5.3 - Fixed 3890: Development mode crash on Linux ``` ### 9.3.2 ``` - Updated Slovenian translations - Updated Python dependencies in requirements to use minimum versions - Fixed 6017: Code highlighting inconsistent in Community and Insiders edition - Fixed 6001: Contributor avatars display incorrectly in Firefox - Fixed 6000: Blog post drafts are included in navigation ``` ### 9.3.1 ``` - Fixed crash of group plugin when used together with hooks ``` ### 9.3.0 ``` - Improved configuration sharing between community and Insiders edition - Added experimental built-in group plugin for enabling plugins conditionally - Added new settings in tags plugin for enabling/disabling - Dropped support for Python 3.7 (EOL) ``` ### 9.2.8 ``` - Updated Italian and Russian translations - Fixed 5952: Combining blog and tags plugin leads to wrong links - Fixed 5951: Blog plugin ignores post title in metadata - Fixed 5949: Blog plugin ignores post linked in nav ``` ### 9.2.7 ``` - Switched dependencies to compatible release clauses - Removed `readtime` and `lxml` dependencies for blog plugin - Reduced size of Docker image to improve CI build performance - Fixed 5945: Incorrect footer navigation for sibling pages of blog - Fixed 5939: Page jumps when changing color palette (Firefox 117) - Fixed 5901: Announcement bar reappears when using instant loading - Fixed 5824: Allow to customize styles of sequence diagrams ``` ### 9.2.6 ``` - Added Basque translations - Added template for simple redirects - Improved blog plugin interop by moving view generation to `on_files` - Fixed 5924: Social plugin still checks dependencies when disabled - Fixed 5916: Blog plugin crashes on Python 3.8 (9.2.0 regression) ``` ### 9.2.5 ``` - Fixed error in dirty serve mode when using blog plugin - Fixed page title not being consistent in blog plugin pagination - Fixed 5899: Blog plugin pagination breaks when disabling directory URLs ``` ### 9.2.4 ``` - Added version to bug report name in info plugin - Updated Afrikaans translations ``` ### 9.2.3 ``` - Fixed blog plugin rendering wrongly with `markdown.extensions.toc` - Fixed blog plugin entrypoint generation ``` ### 9.2.2 ``` - Fixed 5880: Blog plugin failing when building a standalone blog - Fixed 5881: Blog plugin not compatible with Python < 3.10 ``` ### 9.2.1 ``` - Fixed 5879: Blog plugin failing when building a standalone blog - Fixed error in blog plugin when using draft tagging on future date - Fixed error in blog plugin when toc extension is not enabled ``` ### 9.2.0 ``` __Additions and improvements__ - Added blogging support via built-in blog plugin - Added support for Chinese language segmentaiton in search plugin - Added support for adding custom dates to blog posts - Added support for paginating archive and category pages - Added support for annotations (outside of code blocks) - Added support for navigation icons - Added support for navigation pruning - Added support for navigation status - Added support for customizing site icons - Added support for customizing (code) annotation icons - Added focus outline to admonitions and details - Added prompt for bug report name to info plugin - Added Luxembourgish translations - Improved rendering of (code) annotation markers - Improved print styles for (code) annotations - Improved customizability of navigation tabs - Improved interop of plugins with external tools like mike - Improved interop of blog plugin with awesome pages plugin - Improved header partial by moving buttons into separate partials - Improved clarity of `site_url` warning in social plugin - Improved blog plugin to automatically setup directory structure - Switched info plugin to `importlib` to mitigate deprecations - Automatically download ResizeObserver polyfill when necessary - Automatically add iframe-worker polyfill when necessary in offline plugin - Automatically focus and bring up keyboard on touch devices - Updated Serbo-Croatian translations - Updated MkDocs to 1.5.2 __Removals__ - Removed Universal Analytics integration - Removed ancient polyfills to reduce size of bundled JavaScript by 20% - Removed necessity for `Array.flat` and `Array.flatMap` polyfill - Removed announcement bar button when JavaScript is not available __Fixes__ - Fixed rendering of tags when announcement bar is present - Fixed tags plugin rendering pages excluded by other plugins - Fixed 5132: Blog plugin requires `nav` entry in `mkdocs.yml` - Fixed 5599: Insufficient contrast for default link color - Fixed 5715: Blog plugin missing integrated table of contents in pagination - Fixed 5806: Version selector not hoverable on some Android devices - Fixed 5826: Blog post drafts with tags show up in tags index ``` ### 9.2.0b3 ``` > **Note** – This is a beta release, so please test thoroughly before deploying to production. - Added support for adding date of last update to blog posts - Fixed 5599: Insufficient contrast for default link color ``` ### 9.2.0b2 ``` > **Note** – This is a beta release, so please test thoroughly before deploying to production. - Fixed rendering of tags when announcement bar is present – ef448ed94 - Improved plugin inter-op with external tools like mike – ab178b2bc221603321bfdbf88ea5baa347d1fd63 - Updated MkDocs to 1.5.0 – 571f12978 ``` ### 9.2.0b1 ``` > **Note** – This is a beta release, so please test thoroughly before deploying to production. - Added support for customizing (code) annotation icons – f64d8658d - Added focus outline to admonitions and details – 3e34f6c72 - Removed necessity for `Array.flat` and `Array.flatMap` polyfill – b37c668a9 - Fixed announcement bar button being visible when JavaScript is not available – 320c85256 - Automatically download `ResizeObserver` polyfill when necessary – 54bef7bfe ``` ### 9.2.0b0 ``` > **Note** – This is a beta release, so please test thoroughly before deploying to production. - Added blogging support via built-in blog plugin - Added Chinese language support to built-in search plugin - Added support for annotations (outside of code blocks) - Added support for navigation icons - Added support for navigation pruning - Added support for navigation status - Added support for customizing site icons - Improved rendering of (code) annotation markers - Improved print styles for (code) annotations - Improved customizability of navigation tabs - Removed Universal Analytics integration - Removed ancient polyfills to reduce size of bundled JavaScript by 20% ``` ### 9.1.21 ``` - Fixed MkDocs 1.4 compat issue in social plugin (9.1.20 regression) ``` ### 9.1.20 ``` - Updated Sanskrit translations - Fixed deprecation warnings for social plugin ``` ### 9.1.19 ``` - Added support for MkDocs 1.5+ - Fixed 5699: Improve error reporting in social plugin ``` ### 9.1.18 ``` - Updated Danish translations - Added support for installing user requirements in Docker image - Fixed 5655: Search separator with lookbehind breaks highlighting ``` ### 9.1.17 ``` - Fixed 5633: Code annotations with nested lists incorrectly mounted - Fixed 5628: Regression in new social plugin configuration scheme ``` ### 9.1.16 ``` - Updated Indonesian translations - Ensure scroll bar follows color scheme of operating system ``` ### 9.1.15 ``` - Fixed 5566: Indicate color scheme to operating system - Fixed 5565: Update `Dockerfile` to latest version of base image - Fixed 5554: Add additional version tags (`9`, `9.1`) to Docker image - Fixed 5536: Strip tags of ARIA labels in table of contents ``` ### 9.1.14 ``` - Updated Armenian and Greek translations ``` ### 9.1.13 ``` - Fixed 5517: Social plugin crashes for some fonts (e.g. Open Sans) ``` ### 9.1.12 ``` - Updated Bengali (Bangla) translations - Fixed 5503: Docker image publish errors on uppercase characters - Fixed 5407: Auto-pause media when in hidden content tabs ``` ### 9.1.11 ``` - Fixed 5487: Social plugin crashes without options (9.1.10 regression) ``` ### 9.1.10 ``` - Added `cards_layout_options` setting for social cards - Deprecated `cards_color` and `cards_font` setting for social cards ``` ### 9.1.9 ``` - Added Telugu, Kannada and Sanskrit translations - Fixed 5428: Fixed margins for light/dark mode images in figures - Fixed 5420: Social plugin crashing for some specific Google Fonts - Fixed 5160: Instant loading makes code annotations jump (9.1.1 regression) - Fixed 4920: Social plugin not loading logo from custom icon set - Fixed social plugin crashing when only code font is specified ``` ### 9.1.8 ``` - Fixed 5417: Theme breaks when `palette` is not defined (9.1.7 regression) ``` ### 9.1.7 ``` - Updated Persian (Farsi) and Turkish translations - Fixed 5401: Added missing flag to disable built-in tags plugin - Fixed 5206: Ensure defaults are set for primary and accent colors - Fixed unnecessary inclusion of palette CSS when unused ``` ### 9.1.6 ``` - Updated Persian (Farsi) translations - Fixed 5300: Boxes in Mermaid sequence diagrams not color-abiding ``` ### 9.1.5 ``` - Updated Lithuanian and Japanese translations - Updated Mermaid.js to version 9.4.3 - Fixed 5290: Footer previous/next labels cut-off for short page titles ``` ### 9.1.4 ``` - Fixed 5239: Instant loading breaks anchors in details (9.1.1 regression) - Fixed 5211: Anchor following not working for Chinese (9.1.2 regression) ``` ### 9.1.3 ``` - Added Kurdish (Soranî) translations - Updated Norwegian (Bokmål), Portuguese and Romanian translations - Improved compatibility with `mkdocs-jupyter` plugin - Fixed 5198: Built-in search plugin not filtering `script` and `style` tags - Fixed 5176: Back-to-top + instant loading not working (9.1.1 regression) ``` ### 9.1.2 ``` - Updated Icelandic, Korean and Swedish translations - Fixed 5168: Mermaid text boxes overflow (9.0.13 regression) - Fixed 5155: table of contents not highlighting percent-encoded URLs ``` ### 9.1.1 ``` - Updated Czech and Thai translations - Improved instant loading (scroll restoration, slow connections) - Fixed 5023: Instant loading not allowing to go back to initial page - Fixed 3797: Instant loading does not work with section anchors in Safari ``` ### 9.1.0 ``` - Docker image now available for `amd64`, `arm64` and `arm/v7` - Updated Chinese (Taiwanese) translations - Generalized tag identifier implementation - Fixed flickering of header shadow on load - Fixed occasional flickering of announcement bar ``` ### 9.0.15 ``` - Updated Chinese (Traditional) translations - Updated Hebrew translations ``` ### 9.0.14 ``` - Fixed 5072: Rendering bug on navigation expand button in Firefox ``` ### 9.0.13 ``` - Updated Uzbek translations - Switched back to pre-9.0.0 headline detection in `content` partial - Fixed 5062: Version warning not readable when using slate scheme - Fixed 5061: Improved discernibility of table row hover color - Fixed 5034: Sequence actors in Mermaid diagrams not color-abiding - Fixed 4919: Allow to hide version warning in multiple versions ``` ### 9.0.12 ``` - Updated Catalan translations - Fixed 4975: Mermaid entity relationship rendering diagrams bug - Fixed 4924: Header title not reset when using instant loading ``` ### 9.0.11 ``` - Added Mastodon verification for social links (`rel=me`) - Updated Italian translations ``` ### 9.0.10 ``` - Updated Arabic translations - Updated Korean translations - Updated Hungarian translations - Updated Russian translations - Fixed 4977: Improved accessibility for content tabs - Fixed 4960: Sometimes anchor following doesn't bring last item into view ``` ### 9.0.9 ``` - Updated Bulgarian translations - Updated Chinese (Simplified) translations - Updated Dutch translations - Updated Hindi translations - Updated Japanese translations - Updated Polish translations ``` ### 9.0.8 ``` - Updated Croatian translations - Updated French translations - Updated Hungarian translations - Updated Portuguese (Brasilian) translations - Updated Spanish translations - Updated Ukrainian translations - Updated Urdu translations - Updated Vietnamese translations ``` ### 9.0.7 ``` - Improved accessibility of sidebar navigation - Moved all translations into community edition - Updated Polish and Portuguese (Brasilian) translations - Fixed info plugin terminating on subsequent reload when serving - Fixed 4910: Sidebar navigation labels have invalid ARIA roles - Fixed 4884: Search query terms can't be separated by colons ``` ### 9.0.6 ``` - Fixed 4883: Automatically disable info plugin when serving - Fixed 4885: Search plugin crashes in some exotic cases (9.0.3 regression) ``` ### 9.0.5 ``` - Fixed 4842: Improved accessibility of search result list ``` ### 9.0.4 ``` - Fixed 4823: Improved contrast ratio in footer (9.0.2 regression) - Fixed 4832: Set navigation items back to black (9.0.3 regression) - Fixed 4843: Emojis broken due to `maxcdn.com` shutting down - Upgraded Python Markdown Extensions to 9.9.1 ``` ### 9.0.3 ``` - Improved discernability of section index pages in navigation - Improved collapsing of adjacent whitespace in search plugin - Updated Indonesian translations - Fixed view source of this page button when edit URL points to blob - Fixed 4829: Search overlay does not close for active anchor result - Fixed 4824: Search plugin crashes for `h[1-6]` contained in other elements - Fixed 4804: Nested navigation items not expandable with keyboard - Fixed 4689: anchor tracking not working for anchors in tables - Upgraded to Mermaid 9.3.0 ``` ### 9.0.2 ``` - Fixed 4823: Improved contrast ratio in footer to meet WCAG guidelines - Fixed 4819: Social plugin crashes when card generation is disabled - Fixed 4817: Search plugin crashes on numeric page titles in `nav` ``` ### 9.0.1 ``` - Removed `pipdeptree` dependency for built-in info plugin - Fixed appearance of linked tags when hovered (9.0.0 regression) - Fixed 4810: Abbreviations run out of screen on touch devices - Fixed 4813: View source and edit button links are the same ``` ### 9.0.0 ``` __Additions and improvements__ - Added support for rich search previews - Added support for tokenizer lookahead - Added support for better search highlighting - Added support for excluding content from search - Added support for configurable search pipeline - Added support for offline search via offline plugin - Added support for multiple instances of built-in tags plugin - Added support for removing copy-to-clipboard button - Added support for removing footer navigation - Added support for button to view the source of a page - Improved readability of query string for search sharing - Improved stability of search plugin when using `--dirtyreload` - Improved search result group button, now sticky and stable - Updated Norwegian translations - Updated MkDocs to 1.4.2 __Removals__ - Removed deprecated alternative admonition qualifiers - Removed `:is()` selectors (in output) for easier overriding - Removed `.title` suffix on translations - Removed legacy method for providing page title in feedback URL - Removed support for indexing only titles in search - Removed support for custom search transforms - Removed support for custom search workers - Removed temporary snow feature (easter egg) __Fixes__ - Fixed Norwegian and Korean language code - Fixed detection of composition events in search interface - Fixed search plugin not using title set via front matter - Fixed search highlighting of tags - Fixed search sharing URL using post transformed string - Fixed theme-color meta tag getting out-of-sync with palette toggle - Fixed prev/next page keyboard navigation when footer is not present - Fixed overflowing navigation tabs not being scrollable - Fixed inclusion of code block line numbers from search ``` ### 9.0.0b4 ``` __Note: this is a beta release__ – see 4714 - Improved readability of search sharing link - Fixed search highlighting of occurrences found in tags - Fixed search sharing link using post transformed string (with wildcards etc.) - Fixed inability to query specific fields (e.g. `tags:foo` or `title:bar`) - Fixed inability to exclude search terms (e.g. `-foo` or `-title:bar`) - Fixed inability to use fuzzy modifier (e.g. `foo~1` or `title:bar~2`) - Fixed inability to boost specific terms (e.g. `foo^2` or `title:bar^4`) - Fixed inability to use leading wildcards (e.g. `*foo` or `*title:bar`) ``` ### 9.0.0b3 ``` __Note: this is a beta release__ – see 4714 - Fixed 4713: Mermaid sequence diagram numbers unreadable in dark mode - Fixed 4718: Fixed `not enough values to unpack` error in search plugin - Fixed table of contents title not showing ``` ### 9.0.0b2 ``` __Note: this is a beta release__ – see 4714 - Fixed title and tags being empty for some search queries ``` ### 9.0.0b1 ``` __Note: this is a beta release__ – see 4714 - Rewrite of search plugin with support for rich previews - Added support for search tokenizer lookahead - Added support for advanced search highlighting - Added support for excluding content from search - Added support for [configurable search pipeline](https://github.com/mkdocs/mkdocs/issues/2380) - Added native support for offline search via offline plugin - Omit code block line numbers from search - Improved stability of search plugin when using `--dirtyreload` - Removed support for prebuilding search indexes - Removed support for indexing only titles in search - Fixed detection of composition events in search interface - Fixed search plugin not using title set via front matter - [Removed alternative admonition qualifiers](https://squidfunk.github.io/mkdocs-material/reference/admonitions/#fn:1) in https://github.com/squidfunk/mkdocs-material/pull/4584/commits/daffd085f3bc35058ada32fad0a21b2d88ac0d3f - Removed `:is` selectors (in output) to allow for easier overriding of CSS in daffd085f3bc35058ada32fad0a21b2d88ac0d3f - [Removed legacy method for providing page title in feedback URL](https://github.com/squidfunk/mkdocs-material-insiders/commit/4ac83e2a64cc2189822a4f71aa744dbec65dc7bf) in 9979cbf9ecf487588b3a2dc877e17916b8ea9abe - Removed `.title` suffix on translations in 37250f1be - Added `material` namespace to plugins and updated to MkDocs 1.4.1 fee799a759a947a68714a59d0279cf8c77eb134a - Added support for multiple instances of [built-in tags plugin](https://squidfunk.github.io/mkdocs-material/setup/setting-up-tags/#built-in-tags-plugin) 17186b49478e4ea17b1ede882c61439d8d4d8d1b - Added support for removing copy-to-clipboard button in 128e26742 - Added support for removing footer navigation in 8fdd1ad52 - Updated to MkDocs 1.4.2 in 17186b49478e4ea17b1ede882c61439d8d4d8d1b - Updated Norwegian translations (via 4647) - Fixed Korean language code (~~`kr`~~ `ko`) in 5aebaaa71 ``` ### 8.5.11 ``` - Let it snow, see https://twitter.com/squidfunk/status/1597939243090788352 ``` ### 8.5.10 ``` - Adjusted CSS to better allow for custom primary and accent colors - Fixed 4620: Primary color is not applied (8.5.9 regression) ``` ### 8.5.9 ``` - Fixed 4600: Illegible links for black/white primary colors (8.5.8 regression) - Fixed 4594: Need to set schema to change link color ``` ### 8.5.8 ``` - Added support for always showing settings in cookie consent - Fixed 4571: Buttons invisible if primary color is `white` or `black` - Fixed 4517: Illegible note in sequence diagram when using `slate` scheme ``` ### 8.5.7 ``` - Deprecated additional admonition qualifiers to reduce size of CSS - Fixed 4511: Search boost does not apply to sections ``` ### 8.5.6 ``` - Modernized appearance of admonitions (with fallback, see [docs](https://squidfunk.github.io/mkdocs-material/reference/admonitions/#classic-admonitions)) - Improved appearance of inline code blocks in admonition titles ``` ### 8.5.5 ``` - Updated MkDocs to 1.4 - Fixed compatibility issues with MkDocs 1.4 - Fixed 4430: build error when enabling consent without repository URL ``` ### 8.5.4 ``` - Fixed expand icons shift on sidebar overflow (using `scrollbar-gutter`) - Fixed 4429: Text in sequence diagrams overflows in Firefox ``` ### 8.5.3 ``` - Fixed build error when enabling cookie consent without analytics - Fixed 4381: Code blocks render ligatures for some fonts ``` ### 8.5.2 ``` - Updated Mermaid.js to version 9.1.7 - Fixed overly large headlines in search results (8.5.0 regression) - Fixed 4358: Navigation sections appear as clickable (8.5.0 regression) - Fixed 4356: GitHub repository statistics fetched before consent ``` ### 8.5.1 ``` - Fixed 4366: Removed dependencies with native extensions ``` ### 8.5.0 ``` - Added support for social cards - Added support for code annotation anchor links (deep linking) - Added support for code annotation comment stripping (syntax modifier) - Added support for sidebars scrolling automatically to active item - Added support for anchor following table of contents (= auto scroll) - Added support for tag icons ``` ### 8.4.4 ``` - Moved comments integration to separate partial (`comments.html`) ``` ### 8.4.3 ``` - Added Simple Icons to bundled icons (+2,300 icons) - Added support for changing edit icon - Moved page actions to separate partial (`actions.html`) - Fixed 4291: Version switching doesn't stay on page when anchors are used - Fixed 4327: Links in data tables do not receive link styling ``` ### 8.4.2 ``` - Updated Slovenian translations - Fixed 4277: Feedback widget hidden after navigation with instant loading - Fixed numeric tags in front matter breaking search functionality ``` ### 8.4.1 ``` - Updated Croatian and Hebrew translations ``` ### 8.4.0 ``` - Added support for cookie consent - Added support for feedback widget (Was this page helpful?) - Added support for dismissable announcement bar - Added Armenian, Lithuanian, Tagalog, and Urdu translations ``` ### 8.4.0rc1 ``` - Added support for cookie consent - Added support for feedback widget (Was this page helpful?) - Added support for dismissable announcement bar Related: 4146 ``` ### 8.3.9 ``` - Updated Taiwanese translations for search - Allow ids for content tabs with special characters (for mkdocstrings) - Fixed 4083: home not clickable when using versioning (8.3.5 regression) ``` ### 8.3.8 ``` - Fixed 4053: Limit width of videos to content area - Fixed empty tags in front matter breaking search ``` ### 8.3.7 ``` - Fixed search being stuck initializing when using tags (8.3.4 regression) ``` ### 8.3.6 ``` - Fixed 4028: Links not clickable when using versioning (8.3.5 regression) ``` ### 8.3.5 ``` - Fixed 4012: Stay on page not working for alias of active version ``` ### 8.3.4 ``` - Fixed 4004: Tags with multiple words not searchable ``` ### 8.3.3 ``` - Fixed 4000: Mermaid diagrams too dark in dark mode (8.3.0 regression) ``` ### 8.3.2 ``` - Fixed 3987: Custom admonition icons don't work when defining color palette ``` ### 8.3.1 ``` - Bump required Jinja version to 3.0.2 - Removed unnecessary conditions in templates - Fixed scroll offset when content tabs are brought into view - Fixed 3977: Content tabs snapping oddly in Firefox - Fixed 3983: Missing condition in footer partial (8.3.0 regression) ``` ### 8.3.0 ``` - Added support for custom admonition icons - Added support for linking of content tabs - Added support for boosting pages in search - Added support for hiding footer navigation - Added previous/next indicators to content tabs - Improved typeset link colors in light and dark modes ``` ### 8.2.16 ``` * Fixed 3957: Only animate code annotations when visible (save CPU cycles) ``` ### 8.2.15 ``` - Added Uzbek translations - Fixed spacing for code block results in content tabs ``` ### 8.2.14 ``` * Fixed missing top right rounded border on admonition * Fixed 3886: `4xx` status codes not handled when using instant loading ``` ### 8.2.13 ``` - Fixed 3865: Tags index links to tagged pages 404 on Windows - Fixed 3866: Bump required Python version from 3.6+ to 3.7+ ```
Links - PyPI: https://pypi.org/project/mkdocs-material - Changelog: https://data.safetycli.com/changelogs/mkdocs-material/

Update mkdocstrings from 0.18.1 to 0.24.0.

The bot wasn't able to find a changelog for this release. Got an idea?

Links - PyPI: https://pypi.org/project/mkdocstrings

Update black from 22.3.0 to 24.1.1.

Changelog ### 24.1.1 ``` Bugfix release to fix a bug that made Black unusable on certain file systems with strict limits on path length. Preview style - Consistently add trailing comma on typed parameters (4164) Configuration - Shorten the length of the name of the cache file to fix crashes on file systems that do not support long paths (4176) ``` ### 24.1.0 ``` Highlights This release introduces the new 2024 stable style (4106), stabilizing the following changes: - Add parentheses around `if`-`else` expressions (2278) - Dummy class and function implementations consisting only of `...` are formatted more compactly (3796) - If an assignment statement is too long, we now prefer splitting on the right-hand side (3368) - Hex codes in Unicode escape sequences are now standardized to lowercase (2916) - Allow empty first lines at the beginning of most blocks (3967, 4061) - Add parentheses around long type annotations (3899) - Enforce newline after module docstrings (3932, 4028) - Fix incorrect magic trailing comma handling in return types (3916) - Remove blank lines before class docstrings (3692) - Wrap multiple context managers in parentheses if combined in a single `with` statement (3489) - Fix bug in line length calculations for power operations (3942) - Add trailing commas to collection literals even if there's a comment after the last entry (3393) - When using `--skip-magic-trailing-comma` or `-C`, trailing commas are stripped from subscript expressions with more than 1 element (3209) - Add extra blank lines in stubs in a few cases (3564, 3862) - Accept raw strings as docstrings (3947) - Split long lines in case blocks (4024) - Stop removing spaces from walrus operators within subscripts (3823) - Fix incorrect formatting of certain async statements (3609) - Allow combining ` fmt: skip` with other comments (3959) There are already a few improvements in the `--preview` style, which are slated for the 2025 stable style. Try them out and [share your feedback](https://github.com/psf/black/issues). In the past, the preview style has included some features that we were not able to stabilize. This year, we're adding a separate `--unstable` style for features with known problems. Now, the `--preview` style only includes features that we actually expect to make it into next year's stable style. Stable style Several bug fixes were made in features that are moved to the stable style in this release: - Fix comment handling when parenthesising conditional expressions (4134) - Fix bug where spaces were not added around parenthesized walruses in subscripts, unlike other binary operators (4109) - Remove empty lines before docstrings in async functions (4132) - Address a missing case in the change to allow empty lines at the beginning of all blocks, except immediately before a docstring (4130) - For stubs, fix logic to enforce empty line after nested classes with bodies (4141) Preview style - Add `--unstable` style, covering preview features that have known problems that would block them from going into the stable style. Also add the `--enable-unstable-feature` flag; for example, use `--enable-unstable-feature hug_parens_with_braces_and_square_brackets` to apply this preview feature throughout 2024, even if a later Black release downgrades the feature to unstable (4096) - Format module docstrings the same as class and function docstrings (4095) - Fix crash when using a walrus in a dictionary (4155) - Fix unnecessary parentheses when wrapping long dicts (4135) - Stop normalizing spaces before ` fmt: skip` comments (4146) Configuration - Print warning when configuration in `pyproject.toml` contains an invalid key (4165) - Fix symlink handling, properly ignoring symlinks that point outside of root (4161) - Fix cache mtime logic that resulted in false positive cache hits (4128) - Remove the long-deprecated `--experimental-string-processing` flag. This feature can currently be enabled with `--preview --enable-unstable-feature string_processing`. (4096) Integrations - Revert the change to run Black's pre-commit integration only on specific git hooks (3940) for better compatibility with older versions of pre-commit (4137) Thank you Thank you to everyone who provided feedback to help make Black's 2024 style even better. Thank you also to everyone who contributed code to Black. ``` ### 24.1a1 ``` This is a preview of the 2024 stable style, showing the formatting that Black will use in 2024. Please test it out and [share your feedback](https://github.com/psf/black/issues/4042). This applies the following changes: - Multiline strings passed as the sole function arguments are formatted more compactly (1879) - Dummy class and function implementations consisting only of `...` are formatted more compactly (3796) - If an assignment statement is too long, we now prefer splitting on the right-hand side (3368) - Hex codes in Unicode escape sequences are now standardized to lowercase (2916) - Allow empty first lines at the beginning of most blocks (3967, 4061) - Add parentheses around long type annotations (3899) - Standardize on a single newline after module docstrings (3932) - Fix incorrect magic trailing comma handling in return types (3916) - Remove blank lines before class docstrings (3692) - Wrap multiple context managers in parentheses if combined in a single `with` statement (3489) - Fix bug in line length calculations for power operations (3942) - Add trailing commas to collection literals even if there's a comment after the last entry (3393) - When using `--skip-magic-trailing-comma` or `-C`, trailing commas are stripped from subscript expressions with more than 1 element (3209) - Add extra blank lines in stubs in a few cases (3564, 3862) - Accept raw strings as docstrings (3947) - Split long lines in case blocks (4024) - Stop removing spaces from walrus operators within subscripts (3823) - Fix incorrect formatting of certain async statements (3609) - Allow combining ` fmt: skip` with other comments (3959) The following two changes may be included, but have outstanding issues that will need to be resolved: - Long values in dict literals are now wrapped in parentheses; correspondingly unnecessary parentheses around short values in dict literals are now removed; long string lambda values are now wrapped in parentheses (3440) - Add parentheses around `if`-`else` expressions (2278) ``` ### 23.12.1 ``` Fixed a bug that included dependencies from the d extra by default (4108) ``` ### 23.12.0 ``` Highlights It's almost 2024, which means it's time for a new edition of _Black_'s stable style! Together with this release, we'll put out an alpha release 24.1a1 showcasing the draft 2024 stable style, which we'll finalize in the January release. Please try it out and [share your feedback](https://github.com/psf/black/issues/4042). This release (23.12.0) will still produce the 2023 style. Most but not all of the changes in `--preview` mode will be in the 2024 stable style. Stable style - Fix bug where ` fmt: off` automatically dedents when used with the `--line-ranges` option, even when it is not within the specified line range. (4084) - Fix feature detection for parenthesized context managers (4104) Preview style - Prefer more equal signs before a break when splitting chained assignments (4010) - Standalone form feed characters at the module level are no longer removed (4021) - Additional cases of immediately nested tuples, lists, and dictionaries are now indented less (4012) - Allow empty lines at the beginning of all blocks, except immediately before a docstring (4060) - Fix crash in preview mode when using a short `--line-length` (4086) - Keep suites consisting of only an ellipsis on their own lines if they are not functions or class definitions (4066) (4103) Configuration - `--line-ranges` now skips _Black_'s internal stability check in `--safe` mode. This avoids a crash on rare inputs that have many unformatted same-content lines. (4034) Packaging - Upgrade to mypy 1.7.1 (4049) (4069) - Faster compiled wheels are now available for CPython 3.12 (4070) Integrations - Enable 3.12 CI (4035) - Build docker images in parallel (4054) - Build docker images with 3.12 (4055) ``` ### 23.11.0 ``` Highlights - Support formatting ranges of lines with the new `--line-ranges` command-line option (4020) Stable style - Fix crash on formatting bytes strings that look like docstrings (4003) - Fix crash when whitespace followed a backslash before newline in a docstring (4008) - Fix standalone comments inside complex blocks crashing Black (4016) - Fix crash on formatting code like `await (a ** b)` (3994) - No longer treat leading f-strings as docstrings. This matches Python's behaviour and fixes a crash (4019) Preview style - Multiline dicts and lists that are the sole argument to a function are now indented less (3964) - Multiline unpacked dicts and lists as the sole argument to a function are now also indented less (3992) - In f-string debug expressions, quote types that are visible in the final string are now preserved (4005) - Fix a bug where long `case` blocks were not split into multiple lines. Also enable general trailing comma rules on `case` blocks (4024) - Keep requiring two empty lines between module-level docstring and first function or class definition (4028) - Add support for single-line format skip with other comments on the same line (3959) Configuration - Consistently apply force exclusion logic before resolving symlinks (4015) - Fix a bug in the matching of absolute path names in `--include` (3976) Performance - Fix mypyc builds on arm64 on macOS (4017) Integrations - Black's pre-commit integration will now run only on git hooks appropriate for a code formatter (3940) ``` ### 23.10.1 ``` Highlights - Maintanence release to get a fix out for GitHub Action edge case (3957) Preview style - Fix merging implicit multiline strings that have inline comments (3956) - Allow empty first line after block open before a comment or compound statement (3967) Packaging - Change Dockerfile to hatch + compile black (3965) Integrations - The summary output for GitHub workflows is now suppressible using the `summary` parameter. (3958) - Fix the action failing when Black check doesn't pass (3957) Documentation - It is known Windows documentation CI is broken https://github.com/psf/black/issues/3968 ``` ### 23.10.0 ``` Stable style - Fix comments getting removed from inside parenthesized strings (3909) Preview style - Fix long lines with power operators getting split before the line length (3942) - Long type hints are now wrapped in parentheses and properly indented when split across multiple lines (3899) - Magic trailing commas are now respected in return types. (3916) - Require one empty line after module-level docstrings. (3932) - Treat raw triple-quoted strings as docstrings (3947) Configuration - Fix cache versioning logic when `BLACK_CACHE_DIR` is set (3937) Parser - Fix bug where attributes named `type` were not acccepted inside `match` statements (3950) - Add support for PEP 695 type aliases containing lambdas and other unusual expressions (3949) Output - Black no longer attempts to provide special errors for attempting to format Python 2 code (3933) - Black will more consistently print stacktraces on internal errors in verbose mode (3938) Integrations - The action output displayed in the job summary is now wrapped in Markdown (3914) ``` ### 23.9.1 ``` Due to various issues, the previous release (23.9.0) did not include compiled mypyc wheels, which make Black significantly faster. These issues have now been fixed, and this release should come with compiled wheels once again. There will be no wheels for Python 3.12 due to a bug in mypyc. We will provide 3.12 wheels in a future release as soon as the mypyc bug is fixed. Packaging - Upgrade to mypy 1.5.1 (3864) Performance - Store raw tuples instead of NamedTuples in Black's cache, improving performance and decreasing the size of the cache (3877) ``` ### 23.9.0 ``` Preview style - More concise formatting for dummy implementations (3796) - In stub files, add a blank line between a statement with a body (e.g an `if sys.version_info > (3, x):`) and a function definition on the same level (3862) - Fix a bug whereby spaces were removed from walrus operators within subscript(3823) Configuration - Black now applies exclusion and ignore logic before resolving symlinks (3846) Performance - Avoid importing `IPython` if notebook cells do not contain magics (3782) - Improve caching by comparing file hashes as fallback for mtime and size (3821) _Blackd_ - Fix an issue in `blackd` with single character input (3558) Integrations - Black now has an [official pre-commit mirror](https://github.com/psf/black-pre-commit-mirror). Swapping `https://github.com/psf/black` to `https://github.com/psf/black-pre-commit-mirror` in your `.pre-commit-config.yaml` will make Black about 2x faster (3828) - The `.black.env` folder specified by `ENV_PATH` will now be removed on the completion of the GitHub Action (3759) ``` ### 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) Stable style - Fix a bug where an illegal trailing comma was added to return type annotations using PEP 604 unions (3735) - Fix several bugs and crashes where comments in stub files were removed or mishandled under some circumstances (3745) - Fix a crash with multi-line magic comments like `type: ignore` within parentheses (3740) - Fix error in AST validation when _Black_ removes trailing whitespace in a type comment (3773) Preview style - Implicitly concatenated strings used as function args are no longer wrapped inside parentheses (3640) - Remove blank lines between a class definition and its docstring (3692) Configuration - The `--workers` argument to _Black_ can now be specified via the `BLACK_NUM_WORKERS` environment variable (3743) - `.pytest_cache`, `.ruff_cache` and `.vscode` are now excluded by default (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) - _Black_ will now error if `exclude` and `extend-exclude` have invalid data types in `pyproject.toml`, instead of silently doing the wrong thing (3764) Packaging - Upgrade mypyc from 0.991 to 1.3 (3697) - Remove patching of Click that mitigated errors on Python 3.6 with `LANG=C` (3768) Parser - Add support for the new PEP 695 syntax in Python 3.12 (3703) Performance - Speed up _Black_ significantly when the cache is full (3751) - Avoid importing `IPython` in a case where we wouldn't need it (3748) Output - Use aware UTC datetimes internally, avoids deprecation warning on Python 3.12 (3728) - Change verbose logging to exactly mirror _Black_'s logic for source discovery (3749) _Blackd_ - The `blackd` argument parser now shows the default values for options in their help text (3712) Integrations - Black is now tested with [`PYTHONWARNDEFAULTENCODING = 1`](https://docs.python.org/3/library/io.html#io-encoding-warning) (3763) - Update GitHub Action to display black output in the job summary (3688) Documentation - Add a CITATION.cff file to the root of the repository, containing metadata on how to cite this software (3723) - Update the _classes_ and _exceptions_ documentation in Developer reference to match the latest code base (3755) ``` ### 23.3.0 ``` Highlights This release fixes a longstanding confusing behavior in Black's GitHub action, where the version of the action did not determine the version of Black being run (issue 3382). In addition, there is a small bug fix around imports and a number of improvements to the preview style. Please try out the [preview style](https://black.readthedocs.io/en/stable/the_black_code_style/future_style.html#preview-style) with `black --preview` and tell us your feedback. All changes in the preview style are expected to become part of Black's stable style in January 2024. Stable style - Import lines with ` fmt: skip` and ` fmt: off` no longer have an extra blank line added when they are right after another import line (3610) Preview style - Add trailing commas to collection literals even if there's a comment after the last entry (3393) - `async def`, `async for`, and `async with` statements are now formatted consistently compared to their non-async version. (3609) - `with` statements that contain two context managers will be consistently wrapped in parentheses (3589) - Let string splitters respect [East Asian Width](https://www.unicode.org/reports/tr11/) (3445) - Now long string literals can be split after East Asian commas and periods (`、` U+3001 IDEOGRAPHIC COMMA, `。` U+3002 IDEOGRAPHIC FULL STOP, & `,` U+FF0C FULLWIDTH COMMA) besides before spaces (3445) - For stubs, enforce one blank line after a nested class with a body other than just `...` (3564) - Improve handling of multiline strings by changing line split behavior (1879) Parser - Added support for formatting files with invalid type comments (3594) Integrations - Update GitHub Action to use the version of Black equivalent to action's version if version input is not specified (3543) - Fix missing Python binary path in autoload script for vim (3508) Documentation - Document that only the most recent release is supported for security issues; vulnerabilities should be reported through Tidelift (3612) ``` ### 23.1.0 ``` Highlights This is the first release of 2023, and following our [stability policy](https://black.readthedocs.io/en/stable/the_black_code_style/index.html#stability-policy), it comes with a number of improvements to our stable style, notably improvements to empty line handling and the removal of redundant parentheses in several contexts. There are also many changes to the preview style; try out `black --preview` and give us feedback to help us set the stable style for next year. In addition to style changes, Black now automatically infers the supported Python versions from your `pyproject.toml` file, removing the need to set Black's target versions separately. Stable style <!-- Changes that affect Black's stable style --> - Introduce the 2023 stable style, which incorporates most aspects of last year's preview style (3418). Specific changes: - Enforce empty lines before classes and functions with sticky leading comments (3302) (22.12.0) - Reformat empty and whitespace-only files as either an empty file (if no newline is present) or as a single newline character (if a newline is present) (3348) (22.12.0) - Correctly handle trailing commas that are inside a line's leading non-nested parens (3370) (22.12.0) - `--skip-string-normalization` / `-S` now prevents docstring prefixes from being normalized as expected (3168) (since 22.8.0) - When using `--skip-magic-trailing-comma` or `-C`, trailing commas are stripped from subscript expressions with more than 1 element (3209) (22.8.0) - Fix a string merging/split issue when a comment is present in the middle of implicitly concatenated strings on its own line (3227) (22.8.0) - Docstring quotes are no longer moved if it would violate the line length limit (3044, 3430) (22.6.0) - Parentheses around return annotations are now managed (2990) (22.6.0) - Remove unnecessary parentheses around awaited objects (2991) (22.6.0) - Remove unnecessary parentheses in `with` statements (2926) (22.6.0) - Remove trailing newlines after code block open (3035) (22.6.0) - Code cell separators `%%` are now standardised to ` %%` (2919) (22.3.0) - Remove unnecessary parentheses from `except` statements (2939) (22.3.0) - Remove unnecessary parentheses from tuple unpacking in `for` loops (2945) (22.3.0) - Avoid magic-trailing-comma in single-element subscripts (2942) (22.3.0) - Fix a crash when a colon line is marked between ` fmt: off` and ` fmt: on` (3439) Preview style <!-- Changes that affect Black's preview style --> - Format hex codes in unicode escape sequences in string literals (2916) - Add parentheses around `if`-`else` expressions (2278) - Improve performance on large expressions that contain many strings (3467) - Fix a crash in preview style with assert + parenthesized string (3415) - Fix crashes in preview style with walrus operators used in function return annotations and except clauses (3423) - Fix a crash in preview advanced string processing where mixed implicitly concatenated regular and f-strings start with an empty span (3463) - Fix a crash in preview advanced string processing where a standalone comment is placed before a dict's value (3469) - Fix an issue where extra empty lines are added when a decorator has ` fmt: skip` applied or there is a standalone comment between decorators (3470) - Do not put the closing quotes in a docstring on a separate line, even if the line is too long (3430) - Long values in dict literals are now wrapped in parentheses; correspondingly unnecessary parentheses around short values in dict literals are now removed; long string lambda values are now wrapped in parentheses (3440) - Fix two crashes in preview style involving edge cases with docstrings (3451) - Exclude string type annotations from improved string processing; fix crash when the return type annotation is stringified and spans across multiple lines (3462) - Wrap multiple context managers in parentheses when targeting Python 3.9+ (3489) - Fix several crashes in preview style with walrus operators used in `with` statements or tuples (3473) - Fix an invalid quote escaping bug in f-string expressions where it produced invalid code. Implicitly concatenated f-strings with different quotes can now be merged or quote-normalized by changing the quotes used in expressions. (3509) - Fix crash on `await (yield)` when Black is compiled with mypyc (3533) Configuration <!-- Changes to how Black can be configured --> - Black now tries to infer its `--target-version` from the project metadata specified in `pyproject.toml` (3219) Packaging <!-- Changes to how Black is packaged, such as dependency requirements --> - Upgrade mypyc from `0.971` to `0.991` so mypycified _Black_ can be built on armv7 (3380) - This also fixes some crashes while using compiled Black with a debug build of CPython - Drop specific support for the `tomli` requirement on 3.11 alpha releases, working around a bug that would cause the requirement not to be installed on any non-final Python releases (3448) - Black now depends on `packaging` version `22.0` or later. This is required for new functionality that needs to parse part of the project metadata (3219) Output <!-- Changes to Black's terminal output and error messages --> - Calling `black --help` multiple times will return the same help contents each time (3516) - Verbose logging now shows the values of `pyproject.toml` configuration variables (3392) - Fix false symlink detection messages in verbose output due to using an incorrect relative path to the project root (3385) Integrations <!-- For example, Docker, GitHub Actions, pre-commit, editors --> - Move 3.11 CI to normal flow now that all dependencies support 3.11 (3446) - Docker: Add new `latest_prerelease` tag automation to follow latest black alpha release on docker images (3465) Documentation <!-- Major changes to documentation and policies. Small docs changes don't need a changelog entry. --> - Expand `vim-plug` installation instructions to offer more explicit options (3468) ``` ### 23.1a1 ``` This release provides a preview of Black's 2023 stable style. Black's default formatting style includes the following changes: - Enforce empty lines before classes and functions with sticky leading comments (3302) (22.12.0) - Reformat empty and whitespace-only files as either an empty file (if no newline is present) or as a single newline character (if a newline is present) (3348) (22.12.0) - Implicitly concatenated strings used as function args are now wrapped inside parentheses (3307) (22.12.0) - Correctly handle trailing commas that are inside a line's leading non-nested parens (3370) (22.12.0) - `--skip-string-normalization` / `-S` now prevents docstring prefixes from being normalized as expected (3168) (since 22.8.0) - When using `--skip-magic-trailing-comma` or `-C`, trailing commas are stripped from subscript expressions with more than 1 element (3209) (22.8.0) - Implicitly concatenated strings inside a list, set, or tuple are now wrapped inside parentheses (3162) (22.8.0) - Fix a string merging/split issue when a comment is present in the middle of implicitly concatenated strings on its own line (3227) (22.8.0) - Docstring quotes are no longer moved if it would violate the line length limit (3044, 3430) (22.6.0) - Parentheses around return annotations are now managed (2990) (22.6.0) - Remove unnecessary parentheses around awaited objects (2991) (22.6.0) - Remove unnecessary parentheses in `with` statements (2926) (22.6.0) - Remove trailing newlines after code block open (3035) (22.6.0) - Code cell separators `%%` are now standardised to ` %%` (2919) (22.3.0) - Remove unnecessary parentheses from `except` statements (2939) (22.3.0) - Remove unnecessary parentheses from tuple unpacking in `for` loops (2945) (22.3.0) - Avoid magic-trailing-comma in single-element subscripts (2942) (22.3.0) Please try it out and give feedback here: https://github.com/psf/black/issues/3407 A stable 23.1.0 release will follow in January 2023. ``` ### 22.12.0 ``` Preview style <!-- Changes that affect Black's preview style --> - Enforce empty lines before classes and functions with sticky leading comments (3302) - Reformat empty and whitespace-only files as either an empty file (if no newline is present) or as a single newline character (if a newline is present) (3348) - Implicitly concatenated strings used as function args are now wrapped inside parentheses (3307) - Correctly handle trailing commas that are inside a line's leading non-nested parens (3370) Configuration <!-- Changes to how Black can be configured --> - Fix incorrectly applied `.gitignore` rules by considering the `.gitignore` location and the relative path to the target file (3338) - Fix incorrectly ignoring `.gitignore` presence when more than one source directory is specified (3336) Parser <!-- Changes to the parser or to version autodetection --> - Parsing support has been added for walruses inside generator expression that are passed as function args (for example, `any(match := my_re.match(text) for text in texts)`) (3327). Integrations <!-- For example, Docker, GitHub Actions, pre-commit, editors --> - Vim plugin: Optionally allow using the system installation of Black via `let g:black_use_virtualenv = 0`(3309) ``` ### 22.10.0 ``` Highlights - Runtime support for Python 3.6 has been removed. Formatting 3.6 code will still be supported until further notice. Stable style - Fix a crash when ` fmt: on` is used on a different block level than ` fmt: off` (3281) Preview style - Fix a crash when formatting some dicts with parenthesis-wrapped long string keys (3262) Configuration - `.ipynb_checkpoints` directories are now excluded by default (3293) - Add `--skip-source-first-line` / `-x` option to ignore the first line of source code while formatting (3299) Packaging - Executables made with PyInstaller will no longer crash when formatting several files at once on macOS. Native x86-64 executables for macOS are available once again. (3275) - Hatchling is now used as the build backend. This will not have any effect for users who install Black with its wheels from PyPI. (3233) - Faster compiled wheels are now available for CPython 3.11 (3276) _Blackd_ - Windows style (CRLF) newlines will be preserved (3257). Integrations - Vim plugin: add flag (`g:black_preview`) to enable/disable the preview style (3246) - Update GitHub Action to support formatting of Jupyter Notebook files via a `jupyter` option (3282) - Update GitHub Action to support use of version specifiers (e.g. `<23`) for Black version (3265) ``` ### 22.8.0 ``` Highlights - Python 3.11 is now supported, except for _blackd_ as aiohttp does not support 3.11 as of publishing (3234) - This is the last release that supports running _Black_ on Python 3.6 (formatting 3.6 code will continue to be supported until further notice) - Reword the stability policy to say that we may, in rare cases, make changes that affect code that was not previously formatted by _Black_ (3155) Stable style - Fix an infinite loop when using ` fmt: on/off` in the middle of an expression or code block (3158) - Fix incorrect handling of ` fmt: skip` on colon (`:`) lines (3148) - Comments are no longer deleted when a line had spaces removed around power operators (2874) Preview style - Single-character closing docstring quotes are no longer moved to their own line as this is invalid. This was a bug introduced in version 22.6.0. (3166) - `--skip-string-normalization` / `-S` now prevent
pyup-bot commented 4 months ago

Closing this in favor of #940