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 March #940

Closed pyup-bot closed 3 months ago

pyup-bot commented 4 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.12.

Changelog ### 9.5.12 ``` * Fixed 6846: Some meta tags removed on instant navigation (9.5.5 regression) * Fixed 6823: KaTex not rendering on instant navigation (9.5.5 regression) * Fixed 6821: Privacy plugin doesn't handle URLs with encoded characters mkdocs-material-9.5.11+insiders-4.53.0 (2024-02-24) * Added support for automatic instant previews * Added support for pinned blog posts ``` ### 9.5.11 ``` * Updated Finnish translation mkdocs-material-9.5.10+insiders-4.52.3 (2024-02-21) * Fixed resolution of URLs in instant previews * Fixed instant previews not mounting for same-page links ``` ### 9.5.10 ``` * Updated Bahasa Malaysia translations * Fixed 6783: Hide continue reading link for blog posts without separators * Fixed 6779: Incorrect positioning of integrated table of contents ``` ### 9.5.9 ``` * Fixed navigation pruning with tabs and sections enabled mkdocs-material-9.5.8+insiders-4.52.2 (2024-02-07) * Fixed 6735: Instant previews misplaced when below tabs ``` ### 9.5.8 ``` * Added Tamil translations * Updated Esperanto translations * Fixed relative images not being resolved for instant navigation ``` ### 9.5.7 ``` * Fixed 6731: Small images in figures are not centered * Fixed 6719: Instant navigation breaks table of contents (9.5.5 regression) mkdocs-material-9.5.6+insiders-4.52.1 (2024-01-30) * Fixed 6705: Navigation path not being hidden when specified * Fixed 6703: New tags plugin crashes on Windows (2nd attempt) mkdocs-material-9.5.6+insiders-4.52.0 (2024-01-28) * Added support for instant previews * Fixed footnote tooltips positioning edge cases * Fixed 6703: New tags plugin crashes on Windows ``` ### 9.5.6 ``` * Fixed 6700: Missing styles for Mermaid.js labels with Markdown mkdocs-material-9.5.5+insiders-4.51.0 (2024-01-24) * Added support for footnote tooltips ``` ### 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 mkdocs-material-9.5.4+insiders-4.50.0 (2024-01-19) * Added configurable logging capabilities to privacy plugin ``` ### 9.5.4 ``` * Fixed 6645: Local storage with invalid value can break site * Fixed 6635: Tags icons before default ignored if default is set mkdocs-material-9.5.3+insiders-4.49.2 (2024-01-09) * Fixed missing attribute lists extension for tags plugin * Fixed 6627: New tags plugin crashes on Python 3.8 mkdocs-material-9.5.3+insiders-4.49.1 (2024-01-07) * Improved interop of new tags plugin with other plugins * Fixed 6594: Tags plugin doesn't work with mkdocs-macros plugin * Fixed 6569: Social plugin crashes if in different file system location mkdocs-material-9.5.3+insiders-4.49.0 (2023-12-29) * Added support for exporting tags and mappings * Added support for disabling tags and/or listings or both * Fixed tag links from pages to listings on homepage mkdocs-material-9.5.3+insiders-4.48.0 (2023-12-23) * Rewrite of tags plugin, now much more powerful * Added support for nested tags (tag hierarchies, e.g. foo/bar) * Added support for shadow tags (by list, prefix or suffix) * Added support for custom tag layouts and templates * Added support for hiding tags in table of contents * Added support for configurable inline tag listings * Added support for automatically linking to closest tag listing * Added support for scoped listings (limit to subsection of site) * Added support for multiple instances of tags plugin * Added support for changing front matter property and template variable * Added support for tag slugification format strings * Fixed 6510: Projects plugin out of memory on Linux (4.47.1 regression) * Fixed projects plugin not notifying plugins about serve mode * Fixed projects plugin skipping projects on prefix match * Deprecated tags_file and tags_extra_files settings * Modernized tags plugin code base ``` ### 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 mkdocs-material-9.5.2+insiders-4.47.1 (2023-12-11) * Improved editing experience for projects plugin * Improved resilience of optimize and social plugin * Fixed race condition when writing manifest in optimize and social plugin * Fixed 6475: Logo not taking precedence over icon in social card * Fixed 6399: Projects plugin doesn't pick up added/removed projects * Fixed 6306: Projects plugin cache not correctly updated ``` ### 9.5.2 ``` * Fixed types for slugify settings in blog plugin config * Fixed 6469: Horizontal scrollbars on MathJax containers mkdocs-material-9.5.1+insiders-4.47.0 (2023-12-08) * Added support for staying on page when switching languages * Added configurable logging capabilities to projects plugin * Removed temporary warning on blog plugin authors file format change * Fixed projects plugin logging messages twice on Linux systems * Fixed projects plugin trying to hoist theme assets of divergent themes * Fixed compatibility of optimize plugin and projects plugin * Fixed compatibility of social plugin and projects plugin * Fixed 6448: Code line selection broken for code blocks with custom ids * Fixed 6437: Projects plugin crashing for certain site URL configurations * Fixed 6414: Projects plugin doesn't prefix messages coming from projects ``` ### 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 mkdocs-material-9.4.14+insiders-4.46.0 (2023-11-26) * Added support for author profiles in blog plugin * Fixed custom index pages yielding two navigation items (4.45.0 regression) ``` ### 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) mkdocs-material-9.4.12+insiders-4.45.0 (2023-11-24) * Added support for sorting blog categories by post count or custom function * Improved tags plugin to generate Unicode-aware slugs by default * Fixed non-deterministic order of multiple authors in blog plugin ``` ### 9.4.12 ``` * Improved blog plugin to generate Unicode-aware slugs by default * Fixed non-deterministic order of categories in blog plugin mkdocs-material-9.4.11+insiders-4.44.0 (2023-11-23) * Added pagination settings for archive pages in blog plugin * Added pagination settings for category pages in blog plugin ``` ### 9.4.11 ``` * Fixed 6364: Search plugin crashing when enabling theme while serving * Fixed blog plugin crashing when disabling pagination mkdocs-material-9.4.10+insiders-4.43.1 (2023-11-19) * Added third-party theme support in projects plugin, improving editing * Fixed 6360: Projects plugin crashes when theme is not Material for MkDocs * Fixed 6306: Projects plugin not reloading nested project configuration ``` ### 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 mkdocs-material-9.4.8+insiders-4.43.0 (2023-11-05) * Added support for GitLab committers (document contributors) * Fixed 6264: Fixed compatibility with Python < 3.10 * Fixed 6254: Meta plugin not applying meta files to blog posts ``` ### 9.4.8 ``` * Fixed invalid local address replacement when using instant loading * Fixed 6275: Crash after navigation caused 404 when using instant loading mkdocs-material-9.4.7+insiders-4.42.3 (2023-10-27) * Fixed 6251: Cards in grids cut off on very small screens * Fixed 6241: Using social plugin + static-i18n plugin errors ``` ### 9.4.7 ``` * Added Azerbaijani translations mkdocs-material-9.4.6+insiders-4.42.2 (2023-10-14) * Fixed 6186: Privacy plugin ignores hash fragments on images * Fixed 6180: Projects plugin crashing when adding or removing files ``` ### 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) mkdocs-material-9.4.4+insiders-4.42.1 (2023-10-05) * Fixed spacing of related links in blog posts on small screens ``` ### 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 - 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 * 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 crashes on Linux mkdocs-material-9.3.2+insiders-4.42.0 (2023-09-19) * Added support for using git submodules in projects plugin * Added support for transforming project configurations * Improved resilience of optimize and blog plugin * Fixed optimize plugin crashing on .jpeg extension * Fixed project URLs not using site URLs in projects plugin ``` ### 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 mkdocs-material-9.3.1+insiders-4.41.0 (2023-09-11) * Improved multi-instance support for optimize plugin * Added inclusion and exclusion patterns for optimize plugin * Added transparent keyword for color handling in social plugin * Changed default quality of PNGs to 3 in optimize plugin * Fixed 5979: meta file not detected in root of docs directory ``` ### 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) mkdocs-material-9.2.8+insiders-4.40.4 (2023-09-04) * Fixed privacy plugin choking on boolean HTML5 attributes * Fixed wrapping of inline code blocks in typeset table of contents * Fixed blog plugin error when running under dirty reload ``` ### 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 mkdocs-material-9-2.7+insiders-4.40.3 (2023-09-02) * Fixed 5946: Docker image missing pngquant for optimize plugin ``` ### 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 mkdocs-material-9-2.6+insiders-4.40.2 (2023-08-31) * Added configurable error handling capabilities for social plugin * Fixed 5922: Blog plugin shows no posts when building a standalone blog * Fixed 5914: Tags plugin tags_extra_files errors (4.39.3 regression) * Fixed 5904: Blog plugin sometimes excludes files (4.40.1 regression) ``` ### 9.2.4 ``` * Added version to bug report name in info plugin * Updated Afrikaans translations mkdocs-material-9.2.3+insiders-4.39.3 (2023-08-24) * Fixed lxml dependency missing in Docker image (4.39.2 regression) mkdocs-material-9.2.3+insiders-4.39.2 (2023-08-23) * Fixed color palette toggle being reversed (9.2.0 regression) ``` ### 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 mkdocs-material-9.2.0+insiders-4.39.1 (2023-08-21) * Fixed git diff in tags plugin after merging back 9.2.0 changes ``` ### 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 mkdocs-material-9.1.21+insiders-4.39.0 (2023-08-01) * Added support for hoisting theme media files when building projects * Added support for sorting pages on tags index for tags plugin * Added support for adding date of last update to blog posts * Fixed 5797: Parse error in typeset plugin (4.38.1 regression) mkdocs-material-9.1.21+insiders-4.38.1 (2023-08-01) * Improved nested serve mode for projects plugin * Improved compat in privacy plugin with third-party plugins * Fixed 5790: Typeset plugin ignores data-toc-label attribute * Fixed 5778: Interplay of privacy plugin with git-revision-date-localized * Fixed 5773: Info plugin erroring when community edition is in beta mkdocs-material-9.1.21+insiders-4.38.0 (2023-07-29) * Added projects plugin for building nested projects * Updated privacy plugin to new MkDocs API mkdocs-material-9.1.21+insiders-4.37.1 (2023-07-28) * Updated MkDocs to 1.5.1 * Fixed deprecation warning in social plugin due to MkDocs upgrade * Fixed 5772: Privacy plugin fails due to API change in MkDocs ``` ### 9.1.21 ``` * Fixed MkDocs 1.4 compat issue in social plugin (9.1.20 regression) ``` ### 9.1.20 ``` * Fixed deprecation warnings for social plugin ``` ### 9.1.19 ``` * Added support for MkDocs 1.5+ * Fixed 5699: Improve error reporting in social plugin mkdocs-material-9.1.18+insiders-4.37.0 (2023-07-07) * Added support for overriding social cards settings per page * Added new social card default/only/image layout * Improved resilience of optimize and social plugin * Fixed rendering bugs for pruned navigation items * Fixed jumping of content tabs anchor links when instant loading is enabled * Fixed 5676: Optimize plugin doesn't check for pngquant ``` ### 9.1.18 ``` * Updated Danish translations * Added support for installing user requirements in Docker image * Fixed 5655: Search separator with lookbehind breaks highlighting mkdocs-material-9.1.17+insiders-4.36.1 (2023-06-23) * Fixed 5618: Date comparison breaking for drafts in blog plugin ``` ### 9.1.17 ``` * Fixed 5633: Code annotations with nested lists incorrectly mounted * Fixed 5628: Regression in new social plugin configuration scheme mkdocs-material-9.1.16+insiders-4.36.0 (2023-06-15) * Added support for instant prefetching to speed up slow connections * Improved stability of anchor link removal in built-in typeset plugin * Improved performance of regular expressions in typeset plugin * Removed unnecessary import test for cairosvg in optimize plugin * Fixed 5590: regular expression for anchor link removal too greedy ``` ### 9.1.16 ``` * Updated Indonesian translations * Ensure scroll bar follows color scheme of operating system mkdocs-material-9.1.15+insiders-4.35.3 (2023-06-01) * Fixed 5579: Abbreviations in headlines filtered by typeset plugin mkdocs-material-9.1.15+insiders-4.35.2 (2023-05-29) * Fixed 5555: Blog plugin crashes when computing readtime for emojis ``` ### 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 mkdocs-material-9.1.14+insiders-4.35.1 (2023-05-20) * Fixed internal handling of errors in social plugin mkdocs-material-9.1.14+insiders-4.35.0 (2023-05-20) * Improve editing experience and stability of social plugin * Added support for custom layout syntax validation in social plugin * Added support for layer origin for easier placement in social plugin * Added support for in- and exclusion patterns in social plugin * Catch and print syntax errors in custom layouts ``` ### 9.1.14 ``` * Updated Armenian and Greek translations mkdocs-material-9.1.13+insiders-4.34.1 (2023-05-16) * Disable social plugin debug mode by default on mkdocs build * Added warning in social plugin debug mode when font style couldn't be found * Set default concurrency of built-in multi-threaded plugins to CPUs - 1 * Fixed 5521: Social plugin triggers race condition when downloading fonts * Fixed 5515: Social plugin crashes when concurrency is set to 1 ``` ### 9.1.13 ``` * Fixed 5517: Social plugin crashes for some fonts (e.g. Open Sans) mkdocs-material-9.1.12+insiders-4.34.0 (2023-05-14) * Added support for new overflow mode to auto-fit text in social plugin * Reduced subtle rendering bugs in (code) annotations due to subpixel rounding * Improved print styles for (code) annotation lists * Improved performance of social plugin, now 3x as fast * Improved interop of typeset plugin with MkDocstrings * Fixed logo location for variants of default template in social plugin * Fixed 5446: Built-in typeset plugin picks up headings in code blocks mkdocs-material-9.1.12+insiders-4.33.2 (2023-05-12) * Fixed 5508: Social plugin crashes trying to copy cards on Docker/Windows * Fixed 5507: Social plugin crashes on serve when layouts folder doesn't exist * Fixed 5505: Social plugin trying to resolve logo in wrong location * Fixed 5496: Annotations with nested lists incorrectly mounted * Fixed 5493: Social plugin crashes on Python 3.8 ``` ### 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 mkdocs-material-9.1.11+insiders-4.33.1 (2023-05-09) * Added support for SVG background images in social plugin ``` ### 9.1.11 ``` * Fixed 5487: Social plugin crashes without options (9.1.10 regression) mkdocs-material-9.1.10+insiders-4.33.0 (2023-05-08) * Added support for custom layouts for social plugin * Added support for background images for social cards ``` ### 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) mkdocs-material-9.1.7+insiders-4.32.6 (2023-04-22) * Fixed 5336: Interplay of blog plugin with git-revision-date-localized ``` ### 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 mkdocs-material-9.1.6+insiders-4.32.5 (2023-04-07) * Fixed 5322: Navigation tabs hoist nested page icons ``` ### 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 mkdocs-material-9.1.4+insiders-4.32.4 (2023-03-24) * Fixed 5241: Built-in typeset plugin jams navigation for anchors in headings ``` ### 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) mkdocs-material-9.1.2+insiders-4.32.3 (2023-03-09) * Fixed Docker image release workflow (9.1.0 regression) * Fixed 5159: Missing underline for abbreviations (9.1.0 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 mkdocs-material-9.1.0+insiders-4.32.2 (2023-03-02) * Fixed 5127: Privacy plugin not handling large number of occurrences * Fixed 5126: Privacy plugin breaks when replacing specific emojis ``` ### 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 mkdocs-material-9.0.14+insiders-4.32.1 (2023-02-23) * Fixed code block spans interfering with copying * Fixed 5077: Privacy plugin breaks image alt text encoding * Fixed 5079: Privacy plugin removing rel=me on external links ``` ### 9.0.14 ``` * Fixed 5072: Rendering bug on navigation expand button in Firefox mkdocs-material-9.0.13+insiders-4.32.0 (2023-02-19) * Added support for custom selectors for code annotations * Added support for code line range selection for better sharing mkdocs-material-9.0.13+insiders-4.31.0 (2023-02-18) * Added support for table of contents on blog index and archive pages * Fixed 4512: Allow custom search field boosts (experimental) ``` ### 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 mkdocs-material-9.0.12+insiders-4.30.2 (2023-02-13) * Fixed privacy plugin excludes not working (4.30.0 regression) mkdocs-material-9.0.12+insiders-4.30.1 (2023-02-12) * Fixed privacy plugin not handling static templates e.g. 404.html ``` ### 9.0.12 ``` * Updated Catalan translations * Fixed 4975: Mermaid entity relationship rendering diagrams bug * Fixed 4924: Header title not reset when using instant loading mkdocs-material-9.0.11+insiders-4.30.0 (2023-02-06) * Rewrite of privacy plugin for concurrency, now twice as fast * Added support for explicit inclusion for privacy plugin * Added optimization support for privacy plugin (+ optimize plugin) ``` ### 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 mkdocs-material-9.0.6+insiders-4.29.0 (2023-01-21) * Added built-in optimize plugin for automatically compressing images * Switched reporting in built-in privacy plugin to info level ``` ### 9.0.6 ``` * Fixed 4883: Automatically disable info plugin when serving * Fixed 4885: Search plugin crashes in some exotic cases (9.0.3 regression) mkdocs-material-9.0.5+insiders-4.28.1 (2023-01-17) * Fixed built-in info plugin erroring for Insiders on version check * Fixed 4865: Navigation paths render bug when there's no top-level section * Fixed 4875: Added support for hiding navigation paths * Improved navigation path to not render for a single item mkdocs-material-9.0.5+insiders-4.28.0 (2023-01-14) * Added support for navigation path (breadcrumbs) ``` ### 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 mkdocs-material-9.0.3+insiders-4.27.1 (2023-01-08) * Fixed rendering of succeeding navigation items in typeset plugin * Fixed 4795: Built-in typeset plugin changes MkDocs' title precedence * Fixed 4724: Blog plugin not rendering integrate table of contents ``` ### 9.0.3 ``` * Improved discernibility 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 h1-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 mkdocs-material-8.5.11+insiders-4.27.0 (2022-12-20) * Added built-in typeset plugin to preserve formatting in sidebars * Added URL and table of contents support for blog categories ``` ### 8.5.11 ``` * Let it snow, see https://twitter.com/squidfunk/status/1597939243090788352 mkdocs-material-8.5.10+insiders-4.26.6 (2022-11-28) * Fixed 4683: Tags plugin crashes when a tag is empty mkdocs-material-8.5.10+insiders-4.26.5 (2022-11-27) * Fixed 4632: Post excerpt title link doesn't point to top of the page mkdocs-material-8.5.10+insiders-4.26.4 (2022-11-27) * Fixed redundant file extension when using privacy plugin mkdocs-material-8.5.10+insiders-4.26.3 (2022-11-15) * Fixed 4637: Attachments w/o titles in related links error in blog plugin * Fixed 4631: Remote favicons not downloaded and inlined by privacy plugin ``` ### 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 link colors for black and white primary colors * Fixed 4594: Need to set schema to change link color mkdocs-material-8.5.8+insiders-4.26.2 (2022-11-03) * Updated MkDocs to 1.4.2 * Added support for tag compare functions when sorting on index pages * Fixed footnotes being rendered in post excerpts without separators * Fixed error in blog plugin when toc extension is not enabled * Fixed issues with invalid asset paths and linked post titles * Fixed 4572: Privacy plugin fails when symlinks cannot be created * Fixed 4545: Blog plugin doesn't automatically link headline to post * Fixed 4542: Blog plugin doesn't allow for multiple instances * Fixed 4532: Blog plugin doesn't allow for mixed use of date and datetime ``` ### 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 mkdocs-material-8.5.7+insiders-4.26.1 (2022-10-22) * Improved reporting of configuration errors in tags plugin * Fixed 4515: Privacy plugin fails when site URL is not defined * Fixed 4514: Privacy plugin doesn't fetch Google fonts (4.26.0 regression) ``` ### 8.5.7 ``` * Deprecated additional admonition qualifiers to reduce size of CSS * Fixed 4511: Search boost does not apply to sections mkdocs-material-8.5.6+insiders-4.26.0 (2022-10-18) * Refactored privacy plugin to prepare for new features * Added support for rel=noopener links in privacy plugin * Resolve encoding issues with blog and privacy plugin mkdocs-material-8.5.6+insiders-4.25.5 (2022-10-16) * Updated MkDocs to 1.4.1 * Added namespace prefix to built-in plugins * Updated content and header partial mkdocs-material-8.5.6+insiders-4.25.4 (2022-10-09) * Fixed other path issues for standalone blogs (4.24.2 regression) mkdocs-material-8.5.6+insiders-4.25.3 (2022-10-09) * Fixed 4457: Posts not collected for standalone blog (4.24.2 regression) mkdocs-material-8.5.6+insiders-4.25.2 (2022-10-04) * Fixed 4452: Blog and tags plugin crash when specifying slugify function mkdocs-material-8.5.6+insiders-4.25.1 (2022-10-03) * Updated mkdocs-rss-plugin in Dockerfile to fix MkDocs compat errors mkdocs-material-8.5.6+insiders-4.25.0 (2022-10-02) * Added support for navigation subtitles * Added support for defining an allow list for built-in tags plugin * Added support for custom slugify functions for built-in tags plugin * Improved stability of search plugin when using --dirtyreload ``` ### 8.5.6 ``` * Modernized appearance of admonitions (with fallback, see docs) * Improved appearance of inline code blocks in admonition titles mkdocs-material-8.5.5+insiders-4.24.2 (2022-10-01) * Updated MkDocs to 1.4 * Fixed compatibility issues with MkDocs 1.4 * Fixed incorrectly generated paths in privacy plugin * Fixed blog index page not showing navigation when using meta plugin ``` ### 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 mkdocs-material-8.5.4+insiders-4.24.1 (2022-09-30) * 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 mkdocs-material-8.5.3+insiders-4.24.0 (2022-09-27) * Added support for custom content on index pages (blog) * Added support for keeping content on paginated index pages (blog) * Added support for limiting categories in post excerpts (blog) * Added support for simple override of templates via front matter (blog) * Added icon in navigation for pages with encrypted content * Fixed 4396: Front matter of index pages not inherited by pagination (blog) * Improved performance by building post excerpts once (blog) mkdocs-material-8.5.3+insiders-4.23.6 (2022-09-22) * Fixed 4389: Blog posts in first week of year in wrong archive * Fixed (= switched) footer previous and next links for blog posts ``` ### 8.5.3 ``` * Fixed build error when enabling cookie consent without analytics * Fixed 4381: Code blocks render ligatures for some fonts mkdocs-material-8.5.2+insiders-4.23.5 (2022-09-18) * Fixed 4367: Improved blog plugin date handling for MultiMarkdown syntax * Fixed 4374: Fixed invalid URLs of related links to other blog posts ``` ### 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 cookie consent ``` ### 8.5.1 ``` * Fixed 4366: Removed dependencies with native extensions mkdocs-material-8.5.0+insiders-4.23.4 (2022-09-14) * Fixed 4365: Recursion error in blog plugin due to deepcopy * Fixed path errors for blog plugin on Windows * Fixed publishing workflow in forked repositories mkdocs-material-8.5.0+insiders-4.23.3 (2022-09-13) * Fixed previous and next page links for drafts of blog posts ``` ### 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 mkdocs-material-8.4.4+insiders-4.23.2 (2022-09-13) * Fixed 4348: Blog plugin crashes on custom nav title * Fixed blog plugin crashing when category contained only drafts * Fixed rendering of content from blog index file mkdocs-material-8.4.4+insiders-4.23.1 (2022-09-12) * Fixed 4345: Blog plugin errors with default settings mkdocs-material-8.4.4+insiders-4.23.0 (2022-09-12) * Added blogging support via built-in blog plugin ``` ### 8.4.4 ``` * Moved comments integration to separate partial (comments.html) mkdocs-material-8.4.3+insiders-4.22.1 (2022-09-07) * Fixed 4217: Tooltips in data tables render in wrong position ``` ### 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 mkdocs-material-8.4.1+insiders-4.22.0 (2022-08-21) * Added support for navigation status ``` ### 8.4.1 ``` * Updated Croatian and Hebrew translations mkdocs-material-8.4.0+insiders-4.21.1 (2022-08-13) * Fixed 4176: Broken image when avatar is served by Gravatar * Fixed 4212: Deferred search initialization for file:// locations ``` ### 8.4.0 ``` * Added support for cookie consent * Added support for feedback widget (Was this page helpful?) * Added support for dismissible announcement bar * Added Armenian, Lithuanian, Tagalog, and Urdu translations mkdocs-material-8.3.9+insiders-4.21.0 (2022-07-17) * Added meta plugin: set front matter for all pages in a folder * Fixed 4114: Tags plugin fails if only tags_extra_files is set mkdocs-material-8.3.9+insiders-4.20.1 (2022-07-11) * Fixed 4105: Tags plugin fails if tags_file is not set (4.20.0 regression) mkdocs-material-8.3.9+insiders-4.20.0 (2022-07-07) * Added support for additional tags indexes * Fixed 4100: Tag icons not shown in tags index mkdocs-material-8.3.9+insiders-4.19.2 (2022-07-04) * Fixed 4051: Privacy plugin fails if symlinking isn't allowed on Windows ``` ### 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) mkdocs-material-8.3.8+insiders-4.19.1 (2022-06-25) * Added mkdocs-git-committers-plugin to Dockerfile * Added mkdocs-git-revision-date-localized-plugin to Dockerfile mkdocs-material-8.3.8+insiders-4.19.0 (2022-06-24) * Added support for document contributors * Updated French translations for cookie consent ``` ### 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) mkdocs-material-8.3.6+insiders-4.18.2 (2022-06-16) * Fixed 4026: Fixed tooltips not mounted for nested navigation links ``` ### 8.3.6 ``` * Fixed 4028: Links not clickable when using versioning (8.3.5 regression) mkdocs-material-8.3.5+insiders-4.18.1 (2022-06-14) * Fixed 3990: Chinese search highlighting not working on non-boundaries ``` ### 8.3.5 ``` * Fixed 4012: Stay on page not working for alias of active version mkdocs-material-8.3.4+insiders-4.18.0 (2022-06-11) * Added support for automatic dark/light mode * Fixed 4009: Privacy plugin uses invalid paths for file cache on Windows ``` ### 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) mkdocs-material-8.3.2+insiders-4.17.2 (2022-06-05) * Added support for custom jieba dictionaries (Chinese search) mkdocs-material-8.3.2+insiders-4.17.1 (2022-06-05) * Added support for cookie consent reject button * Added support for cookie consent custom button ordering * Fixed 3988: Content tab not focused after alternating anchor links ``` ### 8.3.2 ``` * Fixed 3987: Custom admonition icons don't work when defining color palette mkdocs-material-8.3.1+insiders-4.17.0 (2022-06-04) * Added support for content tabs anchor links (deep linking) * Fixed 3975: Detect composition events in search interface (Chinese) * Fixed 3980: Search plugin doesn't use title set via front matter ``` ### 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 mkdocs-material-8.2.16+insiders-4.16.2 (2022-05-28) * Fixed 3961: Nested sections triggered build error for navigation tabs mkdocs-material-8.2.16+insiders-4.16.1 (2022-05-28) * Switched feedback widget rating titles to tooltips * Improved contrast of link colors for light/dark color schemes * Fixed 3950: Sticky navigation tabs rendering broken (4.15.2 regression) * Fixed 3958: Links invisible when using white primary color ``` ### 8.2.16 ``` * Fixed 3957: Only animate code annotations when visible (save CPU cycles) mkdocs-material-8.2.15+insiders-4.16.0 (2022-05-25) * Added support for navigation pruning * Fixed search results for non-segmented characters (4.15.2 regression) mkdocs-material-8.2.15+insiders-4.15.2 (2022-05-22) * Removed workaround for abbr on touch devices (superseded by tooltips) * Fixed 3915: Improved Chinese search query segmentation * Fixed 3938: Fixed tooltips position for navigation titles with ellipsis mkdocs-material-8.2.15+insiders-4.15.1 (2022-05-14) * Improved performance of element focus observables * Fixed 3531: Added prev/next buttons to content tabs * Fixed tooltip positioning when host element is hidden ``` ### 8.2.15 ``` * Added Uzbek translations * Fixed spacing for code block results in content tabs mkdocs-material-8.2.14+insiders-4.15.0 (2022-05-08) * Added support for improved tooltips * Fixed 3785: Show tooltip on hover for overflowing navigation link ``` ### 8.2.14 ``` * Fixed missing top right rounded border on admonition * Fixed 3886: 4xx status codes not handled when using instant loading mkdocs-material-8.2.13+insiders-4.14.0 (2022-05-05) * Added Chinese language support to built-in search plugin * Fixed all-numeric page titles raising error in social plugin ``` ### 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+ mkdocs-material-8.2.12+insiders-4.13.2 (2022-04-30) * Improved caching of downloaded resources in privacy plugin * Fixed 3851: External images not downloaded by privacy plugin ```
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.1.

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.2.0.

Changelog ### 24.2.0 ``` Stable style - Fixed a bug where comments where mistakenly removed along with redundant parentheses (4218) Preview style - Move the `hug_parens_with_braces_and_square_brackets` feature to the unstable style due to an outstanding crash and proposed formatting tweaks (4198) - Fixed a bug where base expressions caused inconsistent formatting of \*\* in tenary expression (4154) - Checking for newline before adding one on docstring that is almost at the line limit (4185) - Remove redundant parentheses in `case` statement `if` guards (4214). Configuration - Fix issue where _Black_ would ignore input files in the presence of symlinks (4222) - _Black_ now ignores `pyproject.toml` that is missing a `tool.black` section when discovering project root and configuration. Since _Black_ continues to use version control as an indicator of project root, this is expected to primarily change behavior for users in a monorepo setup (desirably). If you wish to preserve previous behavior, simply add an empty `[tool.black]` to the previously discovered `pyproject.toml` (4204) Output - Black will swallow any `SyntaxWarning`s or `DeprecationWarning`s produced by the `ast` module when performing equivalence checks (4189) Integrations - Add a JSONSchema and provide a validate-pyproject entry-point (4181) ``` ### 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 syml
pyup-bot commented 3 months ago

Closing this in favor of #941