{"id": 267517348, "node_id": "MDU6SXNzdWUyNjc1MTczNDg=", "number": 9, "title": "Initial test suite", "user": {"value": 9599, "label": "simonw"}, "state": "closed", "locked": 0, "assignee": null, "milestone": {"value": 2857392, "label": "Ship first public release"}, "comments": 2, "created_at": "2017-10-23T01:28:46Z", "updated_at": "2017-10-24T05:55:33Z", "closed_at": "2017-10-24T05:55:33Z", "author_association": "OWNER", "pull_request": null, "body": "", "repo": {"value": 107914493, "label": "datasette"}, "type": "issue", "active_lock_reason": null, "performed_via_github_app": null, "reactions": "{\"url\": \"https://api.github.com/repos/simonw/datasette/issues/9/reactions\", \"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "draft": null, "state_reason": "completed"} {"id": 273595473, "node_id": "MDExOlB1bGxSZXF1ZXN0MTUyMzYwNzQw", "number": 81, "title": ":fire: Removes DS_Store", "user": {"value": 50527, "label": "jefftriplett"}, "state": "closed", "locked": 0, "assignee": null, "milestone": null, "comments": 2, "created_at": "2017-11-13T22:07:52Z", "updated_at": "2017-11-14T02:24:54Z", "closed_at": "2017-11-13T22:16:55Z", "author_association": "CONTRIBUTOR", "pull_request": "simonw/datasette/pulls/81", "body": "", "repo": {"value": 107914493, "label": "datasette"}, "type": "pull", "active_lock_reason": null, "performed_via_github_app": null, "reactions": "{\"url\": \"https://api.github.com/repos/simonw/datasette/issues/81/reactions\", \"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "draft": 0, "state_reason": null} {"id": 331343824, "node_id": "MDU6SXNzdWUzMzEzNDM4MjQ=", "number": 309, "title": "On 404s with a trailing slash redirect to that page without a trailing slash", "user": {"value": 9599, "label": "simonw"}, "state": "closed", "locked": 0, "assignee": null, "milestone": {"value": 3439337, "label": "0.23.1"}, "comments": 2, "created_at": "2018-06-11T20:46:49Z", "updated_at": "2018-06-21T15:22:02Z", "closed_at": "2018-06-21T15:13:15Z", "author_association": "OWNER", "pull_request": null, "body": "", "repo": {"value": 107914493, "label": "datasette"}, "type": "issue", "active_lock_reason": null, "performed_via_github_app": null, "reactions": "{\"url\": \"https://api.github.com/repos/simonw/datasette/issues/309/reactions\", \"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "draft": null, "state_reason": "completed"} {"id": 361764460, "node_id": "MDExOlB1bGxSZXF1ZXN0MjE2NjUxMzE3", "number": 365, "title": "fix small doc typo", "user": {"value": 418191, "label": "jaywgraves"}, "state": "closed", "locked": 0, "assignee": null, "milestone": null, "comments": 2, "created_at": "2018-09-19T14:02:02Z", "updated_at": "2019-12-19T02:30:33Z", "closed_at": "2018-09-19T17:15:43Z", "author_association": "CONTRIBUTOR", "pull_request": "simonw/datasette/pulls/365", "body": "", "repo": {"value": 107914493, "label": "datasette"}, "type": "pull", "active_lock_reason": null, "performed_via_github_app": null, "reactions": "{\"url\": \"https://api.github.com/repos/simonw/datasette/issues/365/reactions\", \"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "draft": 0, "state_reason": null} {"id": 382471625, "node_id": "MDExOlB1bGxSZXF1ZXN0MjMyMTcyMTA2", "number": 389, "title": "Bump dependency versions", "user": {"value": 9599, "label": "simonw"}, "state": "closed", "locked": 0, "assignee": null, "milestone": null, "comments": 2, "created_at": "2018-11-20T02:23:12Z", "updated_at": "2019-11-13T19:13:41Z", "closed_at": "2019-11-13T19:13:41Z", "author_association": "OWNER", "pull_request": "simonw/datasette/pulls/389", "body": "", "repo": {"value": 107914493, "label": "datasette"}, "type": "pull", "active_lock_reason": null, "performed_via_github_app": null, "reactions": "{\"url\": \"https://api.github.com/repos/simonw/datasette/issues/389/reactions\", \"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "draft": 0, "state_reason": null} {"id": 465003070, "node_id": "MDU6SXNzdWU0NjUwMDMwNzA=", "number": 551, "title": "Ship many-to-many faceting support (and facet-by-delimiter)", "user": {"value": 9599, "label": "simonw"}, "state": "open", "locked": 0, "assignee": null, "milestone": null, "comments": 2, "created_at": "2019-07-07T23:11:45Z", "updated_at": "2019-07-08T15:45:23Z", "closed_at": null, "author_association": "OWNER", "pull_request": null, "body": "", "repo": {"value": 107914493, "label": "datasette"}, "type": "issue", "active_lock_reason": null, "performed_via_github_app": null, "reactions": "{\"url\": \"https://api.github.com/repos/simonw/datasette/issues/551/reactions\", \"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "draft": null, "state_reason": null} {"id": 471818939, "node_id": "MDU6SXNzdWU0NzE4MTg5Mzk=", "number": 48, "title": "Jupyter notebook demo of the library, launchable on Binder", "user": {"value": 9599, "label": "simonw"}, "state": "closed", "locked": 0, "assignee": null, "milestone": null, "comments": 2, "created_at": "2019-07-23T17:05:05Z", "updated_at": "2022-01-26T02:08:46Z", "closed_at": "2022-01-26T02:08:39Z", "author_association": "OWNER", "pull_request": null, "body": "", "repo": {"value": 140912432, "label": "sqlite-utils"}, "type": "issue", "active_lock_reason": null, "performed_via_github_app": null, "reactions": "{\"url\": \"https://api.github.com/repos/simonw/sqlite-utils/issues/48/reactions\", \"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "draft": null, "state_reason": "completed"} {"id": 529376481, "node_id": "MDExOlB1bGxSZXF1ZXN0MzQ2MjY0OTI2", "number": 67, "title": "Run tests against 3.5 too", "user": {"value": 9599, "label": "simonw"}, "state": "closed", "locked": 0, "assignee": null, "milestone": null, "comments": 2, "created_at": "2019-11-27T14:20:35Z", "updated_at": "2019-12-31T01:29:44Z", "closed_at": "2019-12-31T01:29:43Z", "author_association": "OWNER", "pull_request": "simonw/sqlite-utils/pulls/67", "body": "", "repo": {"value": 140912432, "label": "sqlite-utils"}, "type": "pull", "active_lock_reason": null, "performed_via_github_app": null, "reactions": "{\"url\": \"https://api.github.com/repos/simonw/sqlite-utils/issues/67/reactions\", \"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "draft": 0, "state_reason": null} {"id": 602533481, "node_id": "MDU6SXNzdWU2MDI1MzM0ODE=", "number": 3, "title": "Import EXIF data into SQLite - lens used, ISO, aperture etc", "user": {"value": 9599, "label": "simonw"}, "state": "open", "locked": 0, "assignee": null, "milestone": {"value": 5324096, "label": "Apple Photos online and securely browsable"}, "comments": 2, "created_at": "2020-04-18T19:24:31Z", "updated_at": "2021-10-05T12:38:24Z", "closed_at": null, "author_association": "MEMBER", "pull_request": null, "body": "", "repo": {"value": 256834907, "label": "dogsheep-photos"}, "type": "issue", "active_lock_reason": null, "performed_via_github_app": null, "reactions": "{\"url\": \"https://api.github.com/repos/dogsheep/dogsheep-photos/issues/3/reactions\", \"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "draft": null, "state_reason": null} {"id": 815955014, "node_id": "MDExOlB1bGxSZXF1ZXN0NTc5Njk3ODMz", "number": 1243, "title": "fix small typo", "user": {"value": 306240, "label": "UtahDave"}, "state": "closed", "locked": 0, "assignee": null, "milestone": null, "comments": 2, "created_at": "2021-02-25T00:22:34Z", "updated_at": "2021-03-04T05:46:10Z", "closed_at": "2021-03-04T05:46:10Z", "author_association": "CONTRIBUTOR", "pull_request": "simonw/datasette/pulls/1243", "body": "", "repo": {"value": 107914493, "label": "datasette"}, "type": "pull", "active_lock_reason": null, "performed_via_github_app": null, "reactions": "{\"url\": \"https://api.github.com/repos/simonw/datasette/issues/1243/reactions\", \"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "draft": 0, "state_reason": null} {"id": 843739658, "node_id": "MDExOlB1bGxSZXF1ZXN0NjAzMDgyMjgw", "number": 1282, "title": "Fix little typo", "user": {"value": 192568, "label": "mroswell"}, "state": "closed", "locked": 0, "assignee": null, "milestone": null, "comments": 2, "created_at": "2021-03-29T19:45:28Z", "updated_at": "2021-03-29T19:57:34Z", "closed_at": "2021-03-29T19:57:34Z", "author_association": "CONTRIBUTOR", "pull_request": "simonw/datasette/pulls/1282", "body": "", "repo": {"value": 107914493, "label": "datasette"}, "type": "pull", "active_lock_reason": null, "performed_via_github_app": null, "reactions": "{\"url\": \"https://api.github.com/repos/simonw/datasette/issues/1282/reactions\", \"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "draft": 0, "state_reason": null} {"id": 927766296, "node_id": "MDU6SXNzdWU5Mjc3NjYyOTY=", "number": 291, "title": "Adopt flake8", "user": {"value": 9599, "label": "simonw"}, "state": "closed", "locked": 0, "assignee": null, "milestone": null, "comments": 2, "created_at": "2021-06-23T01:19:37Z", "updated_at": "2021-06-24T17:50:27Z", "closed_at": "2021-06-24T17:50:27Z", "author_association": "OWNER", "pull_request": null, "body": "", "repo": {"value": 140912432, "label": "sqlite-utils"}, "type": "issue", "active_lock_reason": null, "performed_via_github_app": null, "reactions": "{\"url\": \"https://api.github.com/repos/simonw/sqlite-utils/issues/291/reactions\", \"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "draft": null, "state_reason": "completed"} {"id": 1473664029, "node_id": "PR_kwDOBm6k_c5ELz0u", "number": 1930, "title": "Typo in JSON API `Updating a row` documentation", "user": {"value": 3556, "label": "davidbgk"}, "state": "closed", "locked": 0, "assignee": null, "milestone": null, "comments": 2, "created_at": "2022-12-03T02:22:31Z", "updated_at": "2022-12-08T21:12:35Z", "closed_at": "2022-12-08T21:12:35Z", "author_association": "CONTRIBUTOR", "pull_request": "simonw/datasette/pulls/1930", "body": "\r\n\r\n\r\n----\n:books: Documentation preview :books:: https://datasette--1930.org.readthedocs.build/en/1930/\n\r\n", "repo": {"value": 107914493, "label": "datasette"}, "type": "pull", "active_lock_reason": null, "performed_via_github_app": null, "reactions": "{\"url\": \"https://api.github.com/repos/simonw/datasette/issues/1930/reactions\", \"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "draft": 0, "state_reason": null} {"id": 1452485922, "node_id": "PR_kwDOBm6k_c5DEh-E", "number": 1898, "title": "Use DOMContentLoaded instead of load event for CodeMirror initialization", "user": {"value": 95570, "label": "bgrins"}, "state": "closed", "locked": 0, "assignee": null, "milestone": null, "comments": 2, "created_at": "2022-11-17T00:19:21Z", "updated_at": "2022-11-18T07:29:01Z", "closed_at": "2022-11-18T07:29:01Z", "author_association": "CONTRIBUTOR", "pull_request": "simonw/datasette/pulls/1898", "body": " Closes #1894\r\n\r\n\r\n----\n:books: Documentation preview :books:: https://datasette--1898.org.readthedocs.build/en/1898/\n\r\n", "repo": {"value": 107914493, "label": "datasette"}, "type": "pull", "active_lock_reason": null, "performed_via_github_app": null, "reactions": "{\"url\": \"https://api.github.com/repos/simonw/datasette/issues/1898/reactions\", \"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "draft": 0, "state_reason": null} {"id": 1182227211, "node_id": "I_kwDOBm6k_c5Gd1sL", "number": 1692, "title": "[plugins][feature request]: Support additional script tag attributes when loading custom JS", "user": {"value": 9020979, "label": "hydrosquall"}, "state": "open", "locked": 0, "assignee": null, "milestone": null, "comments": 2, "created_at": "2022-03-27T01:16:03Z", "updated_at": "2022-03-30T06:14:51Z", "closed_at": null, "author_association": "CONTRIBUTOR", "pull_request": null, "body": "## Motivation\r\n\r\n- The build system for my new [plugin](https://github.com/hydrosquall/datasette-nteract-data-explorer) has two output JS files, one for browsers that support ES modules, one for browsers that don't. At present, I'm only passing one of them into Datasette.\r\n- I'd like to specify the non-es-module script as a fallback for older browsers. I don't want to load it by default, because browsers will only need one, and it's heavy, so for now I'm only supporting modern browsers. \r\n\r\nTo be able to support legacy browsers without slowing down users with modern browsers, I would like to be able to set additional HTML attributes on the tag fallback script, `nomodule` and `defer`. My injected scripts should look something like this:\r\n\r\n```html\r\n\r\n\r\n```\r\n\r\n## Proposal\r\n\r\nTo achieve this, I propose additional optional properties to the API accepted by the `extra_js_urls` hook and custom JS field the `metadata.json` [described here](https://docs.datasette.io/en/stable/custom_templates.html#custom-css-and-javascript). \r\n\r\nUnder this API, I'd write something like this to get the above HTML rendered in Datasette.\r\n\r\n```json\r\n{\r\n \"extra_js_urls\": [\r\n {\r\n \"url\": \"/index.my-es-module-bundle.js\",\r\n \"module\": true,\r\n },\r\n {\r\n \"url\": \"/index.my-legacy-fallback-bundle.js\",\r\n \"nomodule\": \"\",\r\n \"defer\": true\r\n }\r\n ]\r\n}\r\n```\r\n\r\n## Resources\r\n\r\n- [MDN on the script tag](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script)\r\n - There may be other properties that could be added that are potentially valuable, like `async` or `referrerpolicy`, but I don't have an immediate need for those.", "repo": {"value": 107914493, "label": "datasette"}, "type": "issue", "active_lock_reason": null, "performed_via_github_app": null, "reactions": "{\"url\": \"https://api.github.com/repos/simonw/datasette/issues/1692/reactions\", \"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "draft": null, "state_reason": null} {"id": 1339663518, "node_id": "I_kwDOBm6k_c5P2aSe", "number": 1784, "title": "Include \"entrypoint\" option on `--load-extension`?", "user": {"value": 15178711, "label": "asg017"}, "state": "closed", "locked": 0, "assignee": null, "milestone": null, "comments": 2, "created_at": "2022-08-16T00:22:57Z", "updated_at": "2022-08-23T18:34:31Z", "closed_at": "2022-08-23T18:34:31Z", "author_association": "CONTRIBUTOR", "pull_request": null, "body": "## Problem \r\n\r\nSQLite extensions have the option to define multiple \"entrypoints\" in each loadable extension. For example, the upcoming version of `sqlite-lines` will have 2 entrypoints: the default `sqlite3_lines_init` (which SQLite will automatically guess for) and `sqlite3_lines_noread_init`. The `sqlite3_lines_noread_init` version omits functions that read from the filesystem, which is necessary for security purposes when running untrusted SQL (which Datasette does).\r\n\r\n(Similar multiple entrypoints will also be added for sqlite-http).\r\n\r\n\r\n\r\nThe `--load-extension` flag, however, doesn't give the option to specify a different entrypoint, so the default one is always used. \r\n\r\n## Proposal\r\n\r\nI want there to be a new command line option of the `--load-extension` flag to specify a custom entrypoint like so:\r\n```\r\ndatasette my.db \\\r\n --load-extension ./lines0 sqlite3_lines0_noread_init\r\n```\r\n\r\nThen, under the hood, this line of code:\r\n\r\nhttps://github.com/simonw/datasette/blob/7af67b54b7d9bca43e948510fc62f6db2b748fa8/datasette/app.py#L562\r\n\r\nWould look something like this:\r\n\r\n```python\r\n conn.execute(\"SELECT load_extension(?, ?)\", [extension, entrypoint]) \r\n```\r\n\r\nOne potential problem: For backward compatibility, I'm not sure if Click allows cli flags to have variable number of options (\"arity\"). So I guess it could also use a `:` delimiter like `--static`:\r\n\r\n```\r\ndatasette my.db \\\r\n --load-extension ./lines0:sqlite3_lines0_noread_init\r\n```\r\n\r\nOr maybe even a new flag name?\r\n\r\n```\r\ndatasette my.db \\\r\n --load-extension-entrypoint ./lines0 sqlite3_lines0_noread_init\r\n```\r\n\r\n\r\nPersonally I prefer the `:` option... and maybe even `--load-extension` -> `--load`? Definitely out of scope for this issue tho\r\n\r\n```\r\ndatasette my.db \\\r\n --load./lines0:sqlite3_lines0_noread_init\r\n```", "repo": {"value": 107914493, "label": "datasette"}, "type": "issue", "active_lock_reason": null, "performed_via_github_app": null, "reactions": "{\"url\": \"https://api.github.com/repos/simonw/datasette/issues/1784/reactions\", \"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "draft": null, "state_reason": "completed"} {"id": 831163537, "node_id": "MDExOlB1bGxSZXF1ZXN0NTkyNTQ4MTAz", "number": 1260, "title": "Fix: code quality issues", "user": {"value": 25361949, "label": "withshubh"}, "state": "closed", "locked": 0, "assignee": null, "milestone": null, "comments": 2, "created_at": "2021-03-14T13:56:10Z", "updated_at": "2021-03-29T00:22:41Z", "closed_at": "2021-03-29T00:22:41Z", "author_association": "NONE", "pull_request": "simonw/datasette/pulls/1260", "body": "### Description\r\nHi :wave: I work at [DeepSource](https://deepsource.io), I ran DeepSource analysis on the forked copy of this repo and found some interesting [code quality issues](https://deepsource.io/gh/withshubh/datasette/issues/?category=recommended) in the codebase, opening this PR so you can assess if our platform is right and helpful for you.\r\n\r\n### Summary of changes\r\n\r\n- Replaced ternary syntax with if expression\r\n- Removed redundant `None` default\r\n- Used `is` to compare type of objects\r\n- Iterated dictionary directly\r\n- Removed unnecessary lambda expression\r\n- Refactored unnecessary `else` / `elif` when `if` block has a `return` statement\r\n- Refactored unnecessary `else` / `elif` when `if` block has a `raise` statement\r\n- Added .deepsource.toml to continuously analyze and detect code quality issues", "repo": {"value": 107914493, "label": "datasette"}, "type": "pull", "active_lock_reason": null, "performed_via_github_app": null, "reactions": "{\"url\": \"https://api.github.com/repos/simonw/datasette/issues/1260/reactions\", \"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "draft": 0, "state_reason": null} {"id": 1161937073, "node_id": "I_kwDOBm6k_c5FQcCx", "number": 1653, "title": "Mechanism to default a table to sorting by multiple columns", "user": {"value": 9599, "label": "simonw"}, "state": "open", "locked": 0, "assignee": null, "milestone": null, "comments": 2, "created_at": "2022-03-07T21:20:11Z", "updated_at": "2022-03-07T21:23:39Z", "closed_at": null, "author_association": "OWNER", "pull_request": null, "body": "### Discussed in https://github.com/simonw/datasette/discussions/1652\r\n\r\n
params = {{ query.params|tojson(4) }}\r\n File \"/usr/lib/python3/dist-packages/jinja2/environment.py\", line 515, in _generate\r\n return generate(source, self, name, filename, defer_init=defer_init)\r\n File \"/usr/lib/python3/dist-packages/jinja2/compiler.py\", line 62, in generate\r\n generator.visit(node)\r\n File \"/usr/lib/python3/dist-packages/jinja2/visitor.py\", line 38, in visit\r\n return f(node, *args, **kwargs)\r\n File \"/usr/lib/python3/dist-packages/jinja2/compiler.py\", line 849, in visit_Template\r\n self.blockvisit(block.body, block_frame)\r\n File \"/usr/lib/python3/dist-packages/jinja2/compiler.py\", line 492, in blockvisit\r\n self.visit(node, frame)\r\n File \"/usr/lib/python3/dist-packages/jinja2/visitor.py\", line 38, in visit\r\n return f(node, *args, **kwargs)\r\n File \"/usr/lib/python3/dist-packages/jinja2/compiler.py\", line 1172, in visit_If\r\n self.blockvisit(node.body, if_frame)\r\n File \"/usr/lib/python3/dist-packages/jinja2/compiler.py\", line 492, in blockvisit\r\n self.visit(node, frame)\r\n File \"/usr/lib/python3/dist-packages/jinja2/visitor.py\", line 38, in visit\r\n return f(node, *args, **kwargs)\r\n File \"/usr/lib/python3/dist-packages/jinja2/compiler.py\", line 1353, in visit_Output\r\n self.visit(argument, frame)\r\n File \"/usr/lib/python3/dist-packages/jinja2/visitor.py\", line 38, in visit\r\n return f(node, *args, **kwargs)\r\n File \"/usr/lib/python3/dist-packages/jinja2/compiler.py\", line 1565, in visit_Filter\r\n self.fail('no filter named %r' % node.name, node.lineno)\r\n File \"/usr/lib/python3/dist-packages/jinja2/compiler.py\", line 427, in fail\r\n raise TemplateAssertionError(msg, lineno, self.name, self.filename)\r\njinja2.exceptions.TemplateAssertionError: no filter named 'tojson'\r\n\r\n2017-11-15 14:33:57 - (network)[INFO][127.0.0.1:41316]: GET http://0.0.0.0:8001/test_check-c1f4771/users 500 144\r\n2017-11-15 14:33:57 - (network)[INFO][127.0.0.1:41316]: GET http://0.0.0.0:8001/favicon.ico 200 0\r\n```", "repo": {"value": 107914493, "label": "datasette"}, "type": "issue", "active_lock_reason": null, "performed_via_github_app": null, "reactions": "{\"url\": \"https://api.github.com/repos/simonw/datasette/issues/100/reactions\", \"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "draft": null, "state_reason": "completed"} {"id": 668308777, "node_id": "MDU6SXNzdWU2NjgzMDg3Nzc=", "number": 129, "title": "\"insert-files --sqlar\" for creating SQLite archives", "user": {"value": 9599, "label": "simonw"}, "state": "closed", "locked": 0, "assignee": null, "milestone": null, "comments": 2, "created_at": "2020-07-30T02:28:29Z", "updated_at": "2020-07-30T22:41:01Z", "closed_at": "2020-07-30T22:40:55Z", "author_association": "OWNER", "pull_request": null, "body": "A `--sqlar` option could cause `insert-files` to behave in the same way as SQLite's own sqlar mechanism.\r\n\r\nhttps://www.sqlite.org/sqlar.html and https://sqlite.org/sqlar/doc/trunk/README.md", "repo": {"value": 140912432, "label": "sqlite-utils"}, "type": "issue", "active_lock_reason": null, "performed_via_github_app": null, "reactions": "{\"url\": \"https://api.github.com/repos/simonw/sqlite-utils/issues/129/reactions\", \"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "draft": null, "state_reason": "completed"} {"id": 738514367, "node_id": "MDU6SXNzdWU3Mzg1MTQzNjc=", "number": 202, "title": "sqlite-utils insert -f colname - for configuring full-text search", "user": {"value": 9599, "label": "simonw"}, "state": "closed", "locked": 0, "assignee": null, "milestone": null, "comments": 2, "created_at": "2020-11-08T17:30:09Z", "updated_at": "2021-01-03T05:00:36Z", "closed_at": "2021-01-03T05:00:27Z", "author_association": "OWNER", "pull_request": null, "body": "A mechanism for specifying columns that should be configured for full-text search as part of the initial data import:\r\n\r\n sqlite-utils insert mydb.db articles articles.csv --csv -f title -f body", "repo": {"value": 140912432, "label": "sqlite-utils"}, "type": "issue", "active_lock_reason": null, "performed_via_github_app": null, "reactions": "{\"url\": \"https://api.github.com/repos/simonw/sqlite-utils/issues/202/reactions\", \"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "draft": null, "state_reason": "completed"} {"id": 1618249044, "node_id": "I_kwDOBm6k_c5gdIVU", "number": 2038, "title": "Consider a `strict_templates` setting", "user": {"value": 9599, "label": "simonw"}, "state": "open", "locked": 0, "assignee": null, "milestone": null, "comments": 2, "created_at": "2023-03-10T02:09:13Z", "updated_at": "2023-03-10T02:11:06Z", "closed_at": null, "author_association": "OWNER", "pull_request": null, "body": "A setting which turns on Jinja strict mode, so any templates that access undefined variables raise a hard error.\r\n\r\nPrototype here:\r\n```diff\r\ndiff --git a/datasette/app.py b/datasette/app.py\r\nindex 40416713..1428a3f0 100644\r\n--- a/datasette/app.py\r\n+++ b/datasette/app.py\r\n@@ -200,6 +200,7 @@ SETTINGS = (\r\n \"Allow display of SQL trace debug information with ?_trace=1\",\r\n ),\r\n Setting(\"base_url\", \"/\", \"Datasette URLs should use this base path\"),\r\n+ Setting(\"strict_templates\", False, \"Raise errors for undefined template variables\"),\r\n )\r\n _HASH_URLS_REMOVED = \"The hash_urls setting has been removed, try the datasette-hashed-urls plugin instead\"\r\n OBSOLETE_SETTINGS = {\r\n@@ -399,11 +400,14 @@ class Datasette:\r\n ),\r\n ]\r\n )\r\n+ env_extras = {}\r\n+ if self.setting(\"strict_templates\"):\r\n+ env_extras[\"undefined\"] = StrictUndefined\r\n self.jinja_env = Environment(\r\n loader=template_loader,\r\n autoescape=True,\r\n enable_async=True,\r\n- undefined=StrictUndefined,\r\n+ **env_extras,\r\n )\r\n self.jinja_env.filters[\"escape_css_string\"] = escape_css_string\r\n self.jinja_env.filters[\"quote_plus\"] = urllib.parse.quote_plus\r\n```\r\nExplored this idea a bit in:\r\n- #1999", "repo": {"value": 107914493, "label": "datasette"}, "type": "issue", "active_lock_reason": null, "performed_via_github_app": null, "reactions": "{\"url\": \"https://api.github.com/repos/simonw/datasette/issues/2038/reactions\", \"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "draft": null, "state_reason": null} {"id": 688395275, "node_id": "MDU6SXNzdWU2ODgzOTUyNzU=", "number": 144, "title": "Run some tests against numpy", "user": {"value": 9599, "label": "simonw"}, "state": "closed", "locked": 0, "assignee": null, "milestone": null, "comments": 2, "created_at": "2020-08-28T22:53:00Z", "updated_at": "2020-08-28T22:57:05Z", "closed_at": "2020-08-28T22:57:04Z", "author_association": "OWNER", "pull_request": null, "body": "Accidentally removed in #143:\r\n\r\nhttps://github.com/simonw/sqlite-utils/blob/d7d3f962861ef32c5ead8f514c8756f5b6f7c4a0/.travis.yml#L18-L19", "repo": {"value": 140912432, "label": "sqlite-utils"}, "type": "issue", "active_lock_reason": null, "performed_via_github_app": null, "reactions": "{\"url\": \"https://api.github.com/repos/simonw/sqlite-utils/issues/144/reactions\", \"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "draft": null, "state_reason": "completed"} {"id": 612089949, "node_id": "MDU6SXNzdWU2MTIwODk5NDk=", "number": 756, "title": "Add pipx to installation documentation", "user": {"value": 9599, "label": "simonw"}, "state": "closed", "locked": 0, "assignee": null, "milestone": null, "comments": 2, "created_at": "2020-05-04T18:49:01Z", "updated_at": "2020-05-04T19:19:06Z", "closed_at": "2020-05-04T19:10:33Z", "author_association": "OWNER", "pull_request": null, "body": "Add to this page: https://datasette.readthedocs.io/en/stable/installation.html\r\n\r\nHere's how to install plugins: https://twitter.com/simonw/status/1257348687979778050\r\n```\r\n$ datasette plugins\r\n[]\r\n\r\n$ pipx inject datasette datasette-json-html \r\n injected package datasette-json-html into venv datasette\r\ndone! \u2728 \ud83c\udf1f \u2728\r\n\r\n$ datasette plugins\r\n[\r\n {\r\n \"name\": \"datasette-json-html\",\r\n \"static\": false,\r\n \"templates\": false,\r\n \"version\": \"0.6\"\r\n }\r\n]\r\n```", "repo": {"value": 107914493, "label": "datasette"}, "type": "issue", "active_lock_reason": null, "performed_via_github_app": null, "reactions": "{\"url\": \"https://api.github.com/repos/simonw/datasette/issues/756/reactions\", \"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "draft": null, "state_reason": "completed"} {"id": 589801352, "node_id": "MDExOlB1bGxSZXF1ZXN0Mzk1MjU4Njg3", "number": 96, "title": "Add type conversion for Panda's Timestamp", "user": {"value": 32605365, "label": "b0b5h4rp13"}, "state": "closed", "locked": 0, "assignee": null, "milestone": null, "comments": 2, "created_at": "2020-03-29T14:13:09Z", "updated_at": "2020-03-31T04:40:49Z", "closed_at": "2020-03-31T04:40:48Z", "author_association": "CONTRIBUTOR", "pull_request": "simonw/sqlite-utils/pulls/96", "body": "Add type conversion for Panda's Timestamp, if Panda library is present in system\r\n(thanks for this project, I was about to do the same thing from scratch)", "repo": {"value": 140912432, "label": "sqlite-utils"}, "type": "pull", "active_lock_reason": null, "performed_via_github_app": null, "reactions": "{\"url\": \"https://api.github.com/repos/simonw/sqlite-utils/issues/96/reactions\", \"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "draft": 0, "state_reason": null} {"id": 832687563, "node_id": "MDExOlB1bGxSZXF1ZXN0NTkzODA1ODA0", "number": 247, "title": "FTS quote functionality from datasette", "user": {"value": 16001974, "label": "DeNeutoy"}, "state": "closed", "locked": 0, "assignee": null, "milestone": null, "comments": 2, "created_at": "2021-03-16T11:17:34Z", "updated_at": "2021-08-18T18:43:12Z", "closed_at": "2021-08-18T18:43:12Z", "author_association": "CONTRIBUTOR", "pull_request": "simonw/sqlite-utils/pulls/247", "body": "Addresses #246 - this is a bit of a kludge because it doesn't actually *validate* the FTS string, just makes sure that it will not crash when executed, but I figured that building a query parser is a bit out of the scope of sqlite-utils and if you actually want to use the query language, you probably need to parse that yourself.\r\n", "repo": {"value": 140912432, "label": "sqlite-utils"}, "type": "pull", "active_lock_reason": null, "performed_via_github_app": null, "reactions": "{\"url\": \"https://api.github.com/repos/simonw/sqlite-utils/issues/247/reactions\", \"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "draft": 0, "state_reason": null} {"id": 1326391841, "node_id": "PR_kwDOCGYnMM48iLGF", "number": 462, "title": "Discord badge", "user": {"value": 9599, "label": "simonw"}, "state": "closed", "locked": 0, "assignee": null, "milestone": null, "comments": 2, "created_at": "2022-08-02T20:56:04Z", "updated_at": "2022-08-02T21:15:57Z", "closed_at": "2022-08-02T21:15:52Z", "author_association": "OWNER", "pull_request": "simonw/sqlite-utils/pulls/462", "body": "Also testing fix for:\r\n- https://github.com/readthedocs/readthedocs-preview/issues/10\r\n\r\n\r\n----\n:books: Documentation preview :books:: https://sqlite-utils--462.org.readthedocs.build/en/462/\n\r\n", "repo": {"value": 140912432, "label": "sqlite-utils"}, "type": "pull", "active_lock_reason": null, "performed_via_github_app": null, "reactions": "{\"url\": \"https://api.github.com/repos/simonw/sqlite-utils/issues/462/reactions\", \"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "draft": 0, "state_reason": null} {"id": 1319881016, "node_id": "PR_kwDOCGYnMM48Mmde", "number": 457, "title": "Link to installation instructions", "user": {"value": 9599, "label": "simonw"}, "state": "closed", "locked": 0, "assignee": null, "milestone": {"value": 8355157, "label": "3.29"}, "comments": 2, "created_at": "2022-07-27T17:38:36Z", "updated_at": "2022-08-27T03:55:52Z", "closed_at": "2022-07-27T17:57:50Z", "author_association": "OWNER", "pull_request": "simonw/sqlite-utils/pulls/457", "body": "Also testing https://docs.readthedocs.io/en/stable/pull-requests.html", "repo": {"value": 140912432, "label": "sqlite-utils"}, "type": "pull", "active_lock_reason": null, "performed_via_github_app": null, "reactions": "{\"url\": \"https://api.github.com/repos/simonw/sqlite-utils/issues/457/reactions\", \"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "draft": 0, "state_reason": null} {"id": 503218205, "node_id": "MDU6SXNzdWU1MDMyMTgyMDU=", "number": 586, "title": "Enable browser caching for plugin statics with datasette-auth", "user": {"value": 9599, "label": "simonw"}, "state": "closed", "locked": 0, "assignee": null, "milestone": null, "comments": 2, "created_at": "2019-10-07T03:47:14Z", "updated_at": "2019-10-07T15:46:04Z", "closed_at": "2019-10-07T15:46:03Z", "author_association": "OWNER", "pull_request": null, "body": "An authenticated Datasette I run is seeing delays on every page load. On looking at the network inspector it turns out it's because datasette-vega is nearly 1MB and a `cache-control: private` is preventing it from being cached!\r\n\r\n\r\n\r\n\r\nThis may well turn out to be a bug in `datasette-auth-github` but it's still worth tracking here because caching of static assets from plugins is very important.\r\n", "repo": {"value": 107914493, "label": "datasette"}, "type": "issue", "active_lock_reason": null, "performed_via_github_app": null, "reactions": "{\"url\": \"https://api.github.com/repos/simonw/datasette/issues/586/reactions\", \"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "draft": null, "state_reason": "completed"} {"id": 749981663, "node_id": "MDU6SXNzdWU3NDk5ODE2NjM=", "number": 1104, "title": "config.json in directory config mode should be settings.json", "user": {"value": 9599, "label": "simonw"}, "state": "closed", "locked": 0, "assignee": null, "milestone": {"value": 6055094, "label": "Datasette 0.52"}, "comments": 2, "created_at": "2020-11-24T19:34:38Z", "updated_at": "2020-11-24T20:37:42Z", "closed_at": "2020-11-24T20:37:41Z", "author_association": "OWNER", "pull_request": null, "body": "Another knock-on effect of #992.\r\n\r\nhttps://github.com/simonw/datasette/blob/4bac9f18f9d04e5ed10f072502bcc508e365438e/docs/config.rst#L51-L55", "repo": {"value": 107914493, "label": "datasette"}, "type": "issue", "active_lock_reason": null, "performed_via_github_app": null, "reactions": "{\"url\": \"https://api.github.com/repos/simonw/datasette/issues/1104/reactions\", \"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "draft": null, "state_reason": "completed"} {"id": 749979454, "node_id": "MDU6SXNzdWU3NDk5Nzk0NTQ=", "number": 1103, "title": "Rename /-/config to /-/settings", "user": {"value": 9599, "label": "simonw"}, "state": "closed", "locked": 0, "assignee": null, "milestone": {"value": 6055094, "label": "Datasette 0.52"}, "comments": 2, "created_at": "2020-11-24T19:31:00Z", "updated_at": "2020-11-24T20:19:20Z", "closed_at": "2020-11-24T20:19:19Z", "author_association": "OWNER", "pull_request": null, "body": "As part of rebranding config to settings, see also #992.", "repo": {"value": 107914493, "label": "datasette"}, "type": "issue", "active_lock_reason": null, "performed_via_github_app": null, "reactions": "{\"url\": \"https://api.github.com/repos/simonw/datasette/issues/1103/reactions\", \"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "draft": null, "state_reason": "completed"} {"id": 958516743, "node_id": "MDU6SXNzdWU5NTg1MTY3NDM=", "number": 306, "title": "Configure sphinx.ext.extlinks for issues", "user": {"value": 9599, "label": "simonw"}, "state": "closed", "locked": 0, "assignee": null, "milestone": null, "comments": 2, "created_at": "2021-08-02T21:19:19Z", "updated_at": "2021-08-02T21:39:34Z", "closed_at": "2021-08-02T21:29:22Z", "author_association": "OWNER", "pull_request": null, "body": "As seen in Datasette: https://github.com/simonw/datasette/issues/1227", "repo": {"value": 140912432, "label": "sqlite-utils"}, "type": "issue", "active_lock_reason": null, "performed_via_github_app": null, "reactions": "{\"url\": \"https://api.github.com/repos/simonw/sqlite-utils/issues/306/reactions\", \"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "draft": null, "state_reason": "completed"} {"id": 1243704847, "node_id": "I_kwDOCGYnMM5KIW4P", "number": 435, "title": "Switch to Furo documentation theme", "user": {"value": 9599, "label": "simonw"}, "state": "closed", "locked": 0, "assignee": null, "milestone": null, "comments": 2, "created_at": "2022-05-20T21:46:39Z", "updated_at": "2022-05-20T21:56:10Z", "closed_at": "2022-05-20T21:54:43Z", "author_association": "OWNER", "pull_request": null, "body": "As seen in:\r\n- https://github.com/simonw/datasette/issues/1746\r\n- https://github.com/simonw/shot-scraper/issues/77", "repo": {"value": 140912432, "label": "sqlite-utils"}, "type": "issue", "active_lock_reason": null, "performed_via_github_app": null, "reactions": "{\"url\": \"https://api.github.com/repos/simonw/sqlite-utils/issues/435/reactions\", \"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "draft": null, "state_reason": "completed"} {"id": 695556681, "node_id": "MDU6SXNzdWU2OTU1NTY2ODE=", "number": 19, "title": "Figure out incremental re-indexing", "user": {"value": 9599, "label": "simonw"}, "state": "open", "locked": 0, "assignee": null, "milestone": null, "comments": 2, "created_at": "2020-09-08T05:23:31Z", "updated_at": "2020-09-08T05:27:07Z", "closed_at": null, "author_association": "MEMBER", "pull_request": null, "body": "As tables get bigger reindexing everything on a schedule (essentially recreating the entire index from scratch) will start to become a performance bottleneck.", "repo": {"value": 197431109, "label": "dogsheep-beta"}, "type": "issue", "active_lock_reason": null, "performed_via_github_app": null, "reactions": "{\"url\": \"https://api.github.com/repos/dogsheep/dogsheep-beta/issues/19/reactions\", \"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "draft": null, "state_reason": null} {"id": 374953006, "node_id": "MDU6SXNzdWUzNzQ5NTMwMDY=", "number": 369, "title": "Interface should show same JSON shape options for custom SQL queries", "user": {"value": 416374, "label": "gfrmin"}, "state": "open", "locked": 0, "assignee": null, "milestone": {"value": 3268330, "label": "Datasette 1.0"}, "comments": 2, "created_at": "2018-10-29T10:39:15Z", "updated_at": "2020-05-30T17:24:06Z", "closed_at": null, "author_association": "CONTRIBUTOR", "pull_request": null, "body": "At the moment the page returning a custom SQL query shows the JSON and CSV APIs, but not the multiple JSON shapes. However, adding the `_shape` parameter to the JSON API URL manually still works, so perhaps there should be consistency in the interface by having the same \"Advanced Export\" box for custom SQL queries.", "repo": {"value": 107914493, "label": "datasette"}, "type": "issue", "active_lock_reason": null, "performed_via_github_app": null, "reactions": "{\"url\": \"https://api.github.com/repos/simonw/datasette/issues/369/reactions\", \"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "draft": null, "state_reason": null} {"id": 273192789, "node_id": "MDU6SXNzdWUyNzMxOTI3ODk=", "number": 67, "title": "Command that builds a local docker container", "user": {"value": 9599, "label": "simonw"}, "state": "closed", "locked": 0, "assignee": null, "milestone": {"value": 2857392, "label": "Ship first public release"}, "comments": 2, "created_at": "2017-11-12T02:13:29Z", "updated_at": "2017-11-13T16:17:52Z", "closed_at": "2017-11-13T16:17:52Z", "author_association": "OWNER", "pull_request": null, "body": "Be nice to indicate that this isn't just for Now. Shouldn't be too hard either.", "repo": {"value": 107914493, "label": "datasette"}, "type": "issue", "active_lock_reason": null, "performed_via_github_app": null, "reactions": "{\"url\": \"https://api.github.com/repos/simonw/datasette/issues/67/reactions\", \"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "draft": null, "state_reason": "completed"} {"id": 1099584685, "node_id": "I_kwDOCGYnMM5BilSt", "number": 381, "title": "`sqlite-utils rows` options `--limit` and `--offset`", "user": {"value": 9599, "label": "simonw"}, "state": "closed", "locked": 0, "assignee": null, "milestone": null, "comments": 2, "created_at": "2022-01-11T20:23:12Z", "updated_at": "2022-01-11T23:33:37Z", "closed_at": "2022-01-11T23:19:36Z", "author_association": "OWNER", "pull_request": null, "body": "Because I often want to use it just to preview a few rows from the database. Piping through `| head -n 20` works for JSON and CSV (they stream) but not for `--table`.", "repo": {"value": 140912432, "label": "sqlite-utils"}, "type": "issue", "active_lock_reason": null, "performed_via_github_app": null, "reactions": "{\"url\": \"https://api.github.com/repos/simonw/sqlite-utils/issues/381/reactions\", \"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "draft": null, "state_reason": "completed"} {"id": 438450757, "node_id": "MDExOlB1bGxSZXF1ZXN0Mjc0NDc4NzYx", "number": 442, "title": "Suppress rendering of binary data", "user": {"value": 45057, "label": "russss"}, "state": "closed", "locked": 0, "assignee": null, "milestone": null, "comments": 2, "created_at": "2019-04-29T18:36:41Z", "updated_at": "2019-05-03T18:26:48Z", "closed_at": "2019-05-03T16:44:49Z", "author_association": "CONTRIBUTOR", "pull_request": "simonw/datasette/pulls/442", "body": "Binary columns (including spatialite geographies) get shown as ugly\r\nbinary strings in the HTML by default. Nobody wants to see that mess.\r\n\r\nShow the size of the column in bytes instead. If you want to decode\r\nthe binary data, you can use a plugin to do it.", "repo": {"value": 107914493, "label": "datasette"}, "type": "pull", "active_lock_reason": null, "performed_via_github_app": null, "reactions": "{\"url\": \"https://api.github.com/repos/simonw/datasette/issues/442/reactions\", \"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "draft": 0, "state_reason": null} {"id": 1122416919, "node_id": "I_kwDOBm6k_c5C5rkX", "number": 1623, "title": "/-/patterns returns link: alternate JSON header to 404", "user": {"value": 9599, "label": "simonw"}, "state": "closed", "locked": 0, "assignee": null, "milestone": {"value": 3268330, "label": "Datasette 1.0"}, "comments": 2, "created_at": "2022-02-02T21:42:49Z", "updated_at": "2022-03-19T04:04:49Z", "closed_at": "2022-02-02T21:48:56Z", "author_association": "OWNER", "pull_request": null, "body": "Bug from:\r\n- #1620\r\n\r\n```\r\n% curl -s -I 'https://latest.datasette.io/-/patterns' | grep link\r\nlink: https://latest.datasette.io/-/patterns.json; rel=\"alternate\"; type=\"application/json+datasette\"\r\n```", "repo": {"value": 107914493, "label": "datasette"}, "type": "issue", "active_lock_reason": null, "performed_via_github_app": null, "reactions": "{\"url\": \"https://api.github.com/repos/simonw/datasette/issues/1623/reactions\", \"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "draft": null, "state_reason": "completed"} {"id": 869237023, "node_id": "MDExOlB1bGxSZXF1ZXN0NjI0NjM1NDQw", "number": 1309, "title": "Bump black from 20.8b1 to 21.4b0", "user": {"value": 27856297, "label": "dependabot-preview[bot]"}, "state": "closed", "locked": 0, "assignee": null, "milestone": null, "comments": 2, "created_at": "2021-04-27T20:28:11Z", "updated_at": "2021-04-28T18:26:06Z", "closed_at": "2021-04-28T18:26:04Z", "author_association": "CONTRIBUTOR", "pull_request": "simonw/datasette/pulls/1309", "body": "Bumps [black](https://github.com/psf/black) from 20.8b1 to 21.4b0.\n
Sourced from black's releases.
\n\n\n21.4b0
\nBlack
\n\n
\n\n- \n
\nFixed a rare but annoying formatting instability created by the combination of\noptional trailing commas inserted by
\nBlack
and optional parentheses looking at\npre-existing "magic" trailing commas. This fixes issue #1629 and all of its many many\nduplicates. (#2126)- \n
\n\n
Black
now processes one-line docstrings by stripping leading and trailing spaces,\nand adding a padding space when needed to break up """". (#1740)- \n
\n\n
Black
now cleans up leading non-breaking spaces in comments (#2092)- \n
\n\n
Black
now respects--skip-string-normalization
when normalizing multiline\ndocstring quotes (#1637)- \n
\n\n
Black
no longer removes all empty lines between non-function code and decorators\nwhen formatting typing stubs. NowBlack
enforces a single empty line. (#1646)- \n
\n\n
Black
no longer adds an incorrect space after a parenthesized assignment expression\nin if/while statements (#1655)- \n
\nAdded
\n--skip-magic-trailing-comma
/-C
to avoid using trailing commas as a reason\nto split lines (#1824)- \n
\nfixed a crash when PWD=/ on POSIX (#1631)
\n- \n
\nfixed "I/O operation on closed file" when using --diff (#1664)
\n- \n
\nPrevent coloured diff output being interleaved with multiple files (#1673)
\n- \n
\nAdded support for PEP 614 relaxed decorator syntax on python 3.9 (#1711)
\n- \n
\nAdded parsing support for unparenthesized tuples and yield expressions in annotated\nassignments (#1835)
\n- \n
\nuse lowercase hex strings (#1692)
\n- \n
\nadded
\n--extend-exclude
argument (PR #2005)- \n
\nspeed up caching by avoiding pathlib (#1950)
\n- \n
\n\n
--diff
correctly indicates when a file doesn't end in a newline (#1662)- \n
\nAdded
\n--stdin-filename
argument to allow stdin to respect--force-exclude
rules\n(#1780)- \n
\nLines ending with
\nfmt: skip
will now be not formatted (#1800)- \n
\nPR #2053: Black no longer relies on typed-ast for Python 3.8 and higher
\n
... (truncated)
\nSourced from black's changelog.
\n\n\n21.4b0
\nBlack
\n\n
\n\n- \n
\nFixed a rare but annoying formatting instability created by the combination of\noptional trailing commas inserted by
\nBlack
and optional parentheses looking at\npre-existing "magic" trailing commas. This fixes issue #1629 and all of its many many\nduplicates. (#2126)- \n
\n\n
Black
now processes one-line docstrings by stripping leading and trailing spaces,\nand adding a padding space when needed to break up """". (#1740)- \n
\n\n
Black
now cleans up leading non-breaking spaces in comments (#2092)- \n
\n\n
Black
now respects--skip-string-normalization
when normalizing multiline\ndocstring quotes (#1637)- \n
\n\n
Black
no longer removes all empty lines between non-function code and decorators\nwhen formatting typing stubs. NowBlack
enforces a single empty line. (#1646)- \n
\n\n
Black
no longer adds an incorrect space after a parenthesized assignment expression\nin if/while statements (#1655)- \n
\nAdded
\n--skip-magic-trailing-comma
/-C
to avoid using trailing commas as a reason\nto split lines (#1824)- \n
\nfixed a crash when PWD=/ on POSIX (#1631)
\n- \n
\nfixed "I/O operation on closed file" when using --diff (#1664)
\n- \n
\nPrevent coloured diff output being interleaved with multiple files (#1673)
\n- \n
\nAdded support for PEP 614 relaxed decorator syntax on python 3.9 (#1711)
\n- \n
\nAdded parsing support for unparenthesized tuples and yield expressions in annotated\nassignments (#1835)
\n- \n
\nadded
\n--extend-exclude
argument (PR #2005)- \n
\nspeed up caching by avoiding pathlib (#1950)
\n- \n
\n\n
--diff
correctly indicates when a file doesn't end in a newline (#1662)- \n
\nAdded
\n--stdin-filename
argument to allow stdin to respect--force-exclude
rules\n(#1780)- \n
\nLines ending with
\nfmt: skip
will now be not formatted (#1800)- \n
\nPR #2053: Black no longer relies on typed-ast for Python 3.8 and higher
\n
... (truncated)
\nSourced from black's releases.
\n\n\n21.4b1
\nBlack
\n\n
\n- \n
\nFix crash on docstrings ending with "\\ ". (#2142)
\n- \n
\nFix crash when atypical whitespace is cleaned out of dostrings (#2120)
\n- \n
\nReflect the
\n--skip-magic-trailing-comma
and--experimental-string-processing
flags\nin the name of the cache file. Without this fix, changes in these flags would not take\neffect if the cache had already been populated. (#2131)- \n
\nDon't remove necessary parentheses from assignment expression containing assert /\nreturn statements. (#2143)
\nPackaging
\n\n
\n- Bump pathspec to >= 0.8.1 to solve invalid .gitignore exclusion handling
\n21.4b0
\nBlack
\n\n
\n\n- \n
\nFixed a rare but annoying formatting instability created by the combination of\noptional trailing commas inserted by
\nBlack
and optional parentheses looking at\npre-existing "magic" trailing commas. This fixes issue #1629 and all of its many many\nduplicates. (#2126)- \n
\n\n
Black
now processes one-line docstrings by stripping leading and trailing spaces,\nand adding a padding space when needed to break up """". (#1740)- \n
\n\n
Black
now cleans up leading non-breaking spaces in comments (#2092)- \n
\n\n
Black
now respects--skip-string-normalization
when normalizing multiline\ndocstring quotes (#1637)- \n
\n\n
Black
no longer removes all empty lines between non-function code and decorators\nwhen formatting typing stubs. NowBlack
enforces a single empty line. (#1646)- \n
\n\n
Black
no longer adds an incorrect space after a parenthesized assignment expression\nin if/while statements (#1655)- \n
\nAdded
\n--skip-magic-trailing-comma
/-C
to avoid using trailing commas as a reason\nto split lines (#1824)- \n
\nfixed a crash when PWD=/ on POSIX (#1631)
\n- \n
\nfixed "I/O operation on closed file" when using --diff (#1664)
\n- \n
\nPrevent coloured diff output being interleaved with multiple files (#1673)
\n- \n
\nAdded support for PEP 614 relaxed decorator syntax on python 3.9 (#1711)
\n
... (truncated)
\nSourced from black's changelog.
\n\n\n21.4b1
\nBlack
\n\n
\n- \n
\nFix crash on docstrings ending with "\\ ". (#2142)
\n- \n
\nFix crash when atypical whitespace is cleaned out of dostrings (#2120)
\n- \n
\nReflect the
\n--skip-magic-trailing-comma
and--experimental-string-processing
flags\nin the name of the cache file. Without this fix, changes in these flags would not take\neffect if the cache had already been populated. (#2131)- \n
\nDon't remove necessary parentheses from assignment expression containing assert /\nreturn statements. (#2143)
\nPackaging
\n\n
\n- Bump pathspec to >= 0.8.1 to solve invalid .gitignore exclusion handling
\n21.4b0
\nBlack
\n\n
\n\n- \n
\nFixed a rare but annoying formatting instability created by the combination of\noptional trailing commas inserted by
\nBlack
and optional parentheses looking at\npre-existing "magic" trailing commas. This fixes issue #1629 and all of its many many\nduplicates. (#2126)- \n
\n\n
Black
now processes one-line docstrings by stripping leading and trailing spaces,\nand adding a padding space when needed to break up """". (#1740)- \n
\n\n
Black
now cleans up leading non-breaking spaces in comments (#2092)- \n
\n\n
Black
now respects--skip-string-normalization
when normalizing multiline\ndocstring quotes (#1637)- \n
\n\n
Black
no longer removes all empty lines between non-function code and decorators\nwhen formatting typing stubs. NowBlack
enforces a single empty line. (#1646)- \n
\n\n
Black
no longer adds an incorrect space after a parenthesized assignment expression\nin if/while statements (#1655)- \n
\nAdded
\n--skip-magic-trailing-comma
/-C
to avoid using trailing commas as a reason\nto split lines (#1824)- \n
\nfixed a crash when PWD=/ on POSIX (#1631)
\n- \n
\nfixed "I/O operation on closed file" when using --diff (#1664)
\n- \n
\nPrevent coloured diff output being interleaved with multiple files (#1673)
\n
... (truncated)
\nSourced from black's releases.
\n\n\n21.4b2
\nBlack
\n\n
\n- \n
\nFix crash if the user configuration directory is inaccessible. (#2158)
\n- \n
\nClarify\ncircumstances\nin which Black may change the AST (#2159)
\nPackaging
\n\n
\n- Install
\nprimer.json
(used byblack-primer
by default) with black. (#2154)21.4b1
\nBlack
\n\n
\n- \n
\nFix crash on docstrings ending with "\\ ". (#2142)
\n- \n
\nFix crash when atypical whitespace is cleaned out of dostrings (#2120)
\n- \n
\nReflect the
\n--skip-magic-trailing-comma
and--experimental-string-processing
flags\nin the name of the cache file. Without this fix, changes in these flags would not take\neffect if the cache had already been populated. (#2131)- \n
\nDon't remove necessary parentheses from assignment expression containing assert /\nreturn statements. (#2143)
\nPackaging
\n\n
\n- Bump pathspec to >= 0.8.1 to solve invalid .gitignore exclusion handling
\n21.4b0
\nBlack
\n\n
\n\n- \n
\nFixed a rare but annoying formatting instability created by the combination of\noptional trailing commas inserted by
\nBlack
and optional parentheses looking at\npre-existing "magic" trailing commas. This fixes issue #1629 and all of its many many\nduplicates. (#2126)- \n
\n\n
Black
now processes one-line docstrings by stripping leading and trailing spaces,\nand adding a padding space when needed to break up """". (#1740)- \n
\n\n
Black
now cleans up leading non-breaking spaces in comments (#2092)- \n
\n\n
Black
now respects--skip-string-normalization
when normalizing multiline\ndocstring quotes (#1637)- \n
\n\n
Black
no longer removes all empty lines between non-function code and decorators\nwhen formatting typing stubs. NowBlack
enforces a single empty line. (#1646)
... (truncated)
\nSourced from black's changelog.
\n\n\n21.4b2
\nBlack
\n\n
\n- \n
\nFix crash if the user configuration directory is inaccessible. (#2158)
\n- \n
\nClarify\ncircumstances\nin which Black may change the AST (#2159)
\nPackaging
\n\n
\n- Install
\nprimer.json
(used byblack-primer
by default) with black. (#2154)21.4b1
\nBlack
\n\n
\n- \n
\nFix crash on docstrings ending with "\\ ". (#2142)
\n- \n
\nFix crash when atypical whitespace is cleaned out of dostrings (#2120)
\n- \n
\nReflect the
\n--skip-magic-trailing-comma
and--experimental-string-processing
flags\nin the name of the cache file. Without this fix, changes in these flags would not take\neffect if the cache had already been populated. (#2131)- \n
\nDon't remove necessary parentheses from assignment expression containing assert /\nreturn statements. (#2143)
\nPackaging
\n\n
\n- Bump pathspec to >= 0.8.1 to solve invalid .gitignore exclusion handling
\n21.4b0
\nBlack
\n\n
\n\n- \n
\nFixed a rare but annoying formatting instability created by the combination of\noptional trailing commas inserted by
\nBlack
and optional parentheses looking at\npre-existing "magic" trailing commas. This fixes issue #1629 and all of its many many\nduplicates. (#2126)- \n
\n\n
Black
now processes one-line docstrings by stripping leading and trailing spaces,\nand adding a padding space when needed to break up """". (#1740)- \n
\n\n
Black
now cleans up leading non-breaking spaces in comments (#2092)- \n
\n\n
Black
now respects--skip-string-normalization
when normalizing multiline\ndocstring quotes (#1637)
... (truncated)
\nSourced from black's releases.
\n\n\n22.1.0
\nAt long last, Black is no longer a beta product! This is the first non-beta release and the first release covered by our new stability policy.
\nHighlights
\n\nStyle
\n\n
\n- Deprecate
\n--experimental-string-processing
and move the functionality under--preview
(#2789)- For stubs, one blank line between class attributes and methods is now kept if there's at least one pre-existing blank line (#2736)
\n- Black now normalizes string prefix order (#2297)
\n- Remove spaces around power operators if both operands are simple (#2726)
\n- Work around bug that causes unstable formatting in some cases in the presence of the magic trailing comma (#2807)
\n- Use parentheses for attribute access on decimal float and int literals (#2799)
\n- Don't add whitespace for attribute access on hexadecimal, binary, octal, and complex literals (#2799)
\n- Treat blank lines in stubs the same inside top-level if statements (#2820)
\n- Fix unstable formatting with semicolons and arithmetic expressions (#2817)
\n- Fix unstable formatting around magic trailing comma (#2572)
\nParser
\n\n
\n- Fix mapping cases that contain as-expressions, like
\ncase {"key": 1 | 2 as password}
(#2686)- Fix cases that contain multiple top-level as-expressions, like
\ncase 1 as a, 2 as b
(#2716)- Fix call patterns that contain as-expressions with keyword arguments, like
\ncase Foo(bar=baz as quux)
(#2749)- Tuple unpacking on
\nreturn
andyield
constructs now implies 3.8+ (#2700)- Unparenthesized tuples on annotated assignments (e.g
\nvalues: Tuple[int, ...] = 1, 2, 3
) now implies 3.8+ (#2708)- Fix handling of standalone
\nmatch()
orcase()
when there is a trailing newline or a comment inside of the parentheses. (#2760)- \n
from __future__ import annotations
statement now implies Python 3.7+ (#2690)Performance
\n\n
\n- Speed-up the new backtracking parser about 4X in general (enabled when
\n--target-version
is set to 3.10 and higher). (#2728)- Black is now compiled with mypyc for an overall 2x speed-up. 64-bit Windows, MacOS, and Linux (not including musl) are supported. (#1009, #2431)
\nConfiguration
\n\n
\n- Do not accept bare carriage return line endings in pyproject.toml (#2408)
\n- Add configuration option (
\npython-cell-magics
) to format cells with custom magics in Jupyter Notebooks (#2744)- Allow setting custom cache directory on all platforms with environment variable
\nBLACK_CACHE_DIR
(#2739).- Enable Python 3.10+ by default, without any extra need to specify -
\n-target-version=py310
. (#2758)- Make passing
\nSRC
or--code
mandatory and mutually exclusive (#2804)Output
\n\n
\n- Improve error message for invalid regular expression (#2678)
\n- Improve error message when parsing fails during AST safety check by embedding the underlying SyntaxError (#2693)
\n- No longer color diff headers white as it's unreadable in light themed terminals (#2691)
\n- Text coloring added in the final statistics (#2712)
\n- Verbose mode also now describes how a project root was discovered and which paths will be formatted. (#2526)
\nPackaging
\n\n\n
... (truncated)
\nSourced from black's changelog.
\n\n\n22.1.0
\nAt long last, Black is no longer a beta product! This is the first non-beta release\nand the first release covered by our new stability policy.
\nHighlights
\n\nStyle
\n\n
\n- Deprecate
\n--experimental-string-processing
and move the functionality under\n--preview
(#2789)- For stubs, one blank line between class attributes and methods is now kept if there's\nat least one pre-existing blank line (#2736)
\n- Black now normalizes string prefix order (#2297)
\n- Remove spaces around power operators if both operands are simple (#2726)
\n- Work around bug that causes unstable formatting in some cases in the presence of the\nmagic trailing comma (#2807)
\n- Use parentheses for attribute access on decimal float and int literals (#2799)
\n- Don't add whitespace for attribute access on hexadecimal, binary, octal, and complex\nliterals (#2799)
\n- Treat blank lines in stubs the same inside top-level
\nif
statements (#2820)- Fix unstable formatting with semicolons and arithmetic expressions (#2817)
\n- Fix unstable formatting around magic trailing comma (#2572)
\nParser
\n\n
\n- Fix mapping cases that contain as-expressions, like
\ncase {"key": 1 | 2 as password}
\n(#2686)- Fix cases that contain multiple top-level as-expressions, like
\ncase 1 as a, 2 as b
\n(#2716)- Fix call patterns that contain as-expressions with keyword arguments, like\n
\ncase Foo(bar=baz as quux)
(#2749)- Tuple unpacking on
\nreturn
andyield
constructs now implies 3.8+ (#2700)- Unparenthesized tuples on annotated assignments (e.g\n
\nvalues: Tuple[int, ...] = 1, 2, 3
) now implies 3.8+ (#2708)- Fix handling of standalone
\nmatch()
orcase()
when there is a trailing newline or a\ncomment inside of the parentheses. (#2760)- \n
from __future__ import annotations
statement now implies Python 3.7+ (#2690)Performance
\n\n\n
... (truncated)
\nSourced from black's releases.
\n\n\n21.5b0
\nBlack
\n\n
\n- Set
\n--pyi
mode if--stdin-filename
ends in.pyi
(#2169)- Stop detecting target version as Python 3.9+ with pre-PEP-614 decorators that are\nbeing called but with no arguments (#2182)
\nBlack-Primer
\n\n
\n- Add
\n--no-diff
to black-primer to suppress formatting changes (#2187)
Sourced from black's changelog.
\n\n\n21.5b0
\nBlack
\n\n
\n- Set
\n--pyi
mode if--stdin-filename
ends in.pyi
(#2169)- Stop detecting target version as Python 3.9+ with pre-PEP-614 decorators that are\nbeing called but with no arguments (#2182)
\nBlack-Primer
\n\n
\n- Add
\n--no-diff
to black-primer to suppress formatting changes (#2187)
Sourced from black's releases.
\n\n\n21.8b0
\nBlack
\n\n
\n- Add support for formatting Jupyter Notebook files (#2357)
\n- Move from
\nappdirs
dependency toplatformdirs
(#2375)- Present a more user-friendly error if .gitignore is invalid (#2414)
\n- The failsafe for accidentally added backslashes in f-string expressions has been hardened to handle more edge cases during quote normalization (#2437)
\n- Avoid changing a function return type annotation's type to a tuple by adding a trailing comma (#2384)
\n- Parsing support has been added for unparenthesized walruses in set literals, set comprehensions, and indices (#2447).
\n- Pin
\nsetuptools-scm
build-time dependency version (#2457)- Exclude typing-extensions version 3.10.0.1 due to it being broken on Python 3.10 (#2460)
\nBlackd
\n\n
\n- Replace sys.exit(-1) with raise ImportError as it plays more nicely with tools that scan installed packages (#2440)
\nIntegrations
\n\n
\n- The provided pre-commit hooks no longer specify
\nlanguage_version
to avoid overridingdefault_language_version
(#2430)
Sourced from black's changelog.
\n\n\n21.8b0
\nBlack
\n\n
\n- Add support for formatting Jupyter Notebook files (#2357)
\n- Move from
\nappdirs
dependency toplatformdirs
(#2375)- Present a more user-friendly error if .gitignore is invalid (#2414)
\n- The failsafe for accidentally added backslashes in f-string expressions has been\nhardened to handle more edge cases during quote normalization (#2437)
\n- Avoid changing a function return type annotation's type to a tuple by adding a\ntrailing comma (#2384)
\n- Parsing support has been added for unparenthesized walruses in set literals, set\ncomprehensions, and indices (#2447).
\n- Pin
\nsetuptools-scm
build-time dependency version (#2457)- Exclude typing-extensions version 3.10.0.1 due to it being broken on Python 3.10\n(#2460)
\nBlackd
\n\n
\n- Replace sys.exit(-1) with raise ImportError as it plays more nicely with tools that\nscan installed packages (#2440)
\nIntegrations
\n\n
\n- The provided pre-commit hooks no longer specify
\nlanguage_version
to avoid overriding\ndefault_language_version
(#2430)
Sourced from black's releases.
\n\n\n21.10b0
\nBlack
\n\n
\n- Document stability policy, that will apply for non-beta releases (#2529)
\n- Add new
\n--workers
parameter (#2514)- Fixed feature detection for positional-only arguments in lambdas (#2532)
\n- Bumped typed-ast version minimum to 1.4.3 for 3.10 compatiblity (#2519)
\n- Fixed a Python 3.10 compatibility issue where the loop argument was still being passed\neven though it has been removed (#2580)
\n- Deprecate Python 2 formatting support (#2523)
\nBlackd
\n\nBlack-Primer
\n\n
\n- Add primer support for --projects (#2555)
\n- Print primer summary after individual failures (#2570)
\nIntegrations
\n\n
Sourced from black's changelog.
\n\n\n21.10b0
\nBlack
\n\n
\n- Document stability policy, that will apply for non-beta releases (#2529)
\n- Add new
\n--workers
parameter (#2514)- Fixed feature detection for positional-only arguments in lambdas (#2532)
\n- Bumped typed-ast version minimum to 1.4.3 for 3.10 compatiblity (#2519)
\n- Fixed a Python 3.10 compatibility issue where the loop argument was still being passed\neven though it has been removed (#2580)
\n- Deprecate Python 2 formatting support (#2523)
\nBlackd
\n\nBlack-Primer
\n\n
\n- Add primer support for --projects (#2555)
\n- Print primer summary after individual failures (#2570)
\nIntegrations
\n\n
Sourced from black's releases.
\n\n\n21.11b0
\nBlack
\n\n
\n- Warn about Python 2 deprecation in more cases by improving Python 2 only syntax\ndetection (#2592)
\n- Add experimental PyPy support (#2559)
\n- Add partial support for the match statement. As it's experimental, it's only enabled\nwhen
\n--target-version py310
is explicitly specified (#2586)- Add support for parenthesized with (#2586)
\n- Declare support for Python 3.10 for running Black (#2562)
\nIntegrations
\n\n
\n- Fixed vim plugin with Python 3.10 by removing deprecated distutils import (#2610)
\n- The vim plugin now parses
\nskip_magic_trailing_comma
from pyproject.toml (#2613)21.10b0
\nBlack
\n\n
\n- Document stability policy, that will apply for non-beta releases (#2529)
\n- Add new
\n--workers
parameter (#2514)- Fixed feature detection for positional-only arguments in lambdas (#2532)
\n- Bumped typed-ast version minimum to 1.4.3 for 3.10 compatiblity (#2519)
\n- Fixed a Python 3.10 compatibility issue where the loop argument was still being passed\neven though it has been removed (#2580)
\n- Deprecate Python 2 formatting support (#2523)
\nBlackd
\n\nBlack-Primer
\n\n
\n- Add primer support for --projects (#2555)
\n- Print primer summary after individual failures (#2570)
\nIntegrations
\n\n
Sourced from black's changelog.
\n\n\n21.11b0
\nBlack
\n\n
\n- Warn about Python 2 deprecation in more cases by improving Python 2 only syntax\ndetection (#2592)
\n- Add experimental PyPy support (#2559)
\n- Add partial support for the match statement. As it's experimental, it's only enabled\nwhen
\n--target-version py310
is explicitly specified (#2586)- Add support for parenthesized with (#2586)
\n- Declare support for Python 3.10 for running Black (#2562)
\nIntegrations
\n\n
\n- Fixed vim plugin with Python 3.10 by removing deprecated distutils import (#2610)
\n- The vim plugin now parses
\nskip_magic_trailing_comma
from pyproject.toml (#2613)21.10b0
\nBlack
\n\n
\n- Document stability policy, that will apply for non-beta releases (#2529)
\n- Add new
\n--workers
parameter (#2514)- Fixed feature detection for positional-only arguments in lambdas (#2532)
\n- Bumped typed-ast version minimum to 1.4.3 for 3.10 compatibility (#2519)
\n- Fixed a Python 3.10 compatibility issue where the loop argument was still being passed\neven though it has been removed (#2580)
\n- Deprecate Python 2 formatting support (#2523)
\nBlackd
\n\nBlack-Primer
\n\n
\n- Add primer support for --projects (#2555)
\n- Print primer summary after individual failures (#2570)
\nIntegrations
\n\n
Sourced from black's releases.
\n\n\n23.1.0
\nHighlights
\nThis is the first release of 2023, and following our 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.
\nThere are also many changes to the preview style; try out
\nblack --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
\npyproject.toml
file, removing the need to set Black's target versions separately.Stable style
\n\n\n
\n- Introduce the 2023 stable style, which incorporates most aspects of last year's preview style (#3418). Specific changes:\n
\n\n
\n- Enforce empty lines before classes and functions with sticky leading comments (#3302) (22.12.0)
\n- 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)
\n- Correctly handle trailing commas that are inside a line's leading non-nested parens (#3370) (22.12.0)
\n- \n
--skip-string-normalization
/-S
now prevents docstring prefixes from being normalized as expected (#3168) (since 22.8.0)- When using
\n--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)
\n- Docstring quotes are no longer moved if it would violate the line length limit (#3044, #3430) (22.6.0)
\n- Parentheses around return annotations are now managed (#2990) (22.6.0)
\n- Remove unnecessary parentheses around awaited objects (#2991) (22.6.0)
\n- Remove unnecessary parentheses in
\nwith
statements (#2926) (22.6.0)- Remove trailing newlines after code block open (#3035) (22.6.0)
\n- Code cell separators
\n#%%
are now standardised to# %%
(#2919) (22.3.0)- Remove unnecessary parentheses from
\nexcept
statements (#2939) (22.3.0)- Remove unnecessary parentheses from tuple unpacking in
\nfor
loops (#2945) (22.3.0)- Avoid magic-trailing-comma in single-element subscripts (#2942) (22.3.0)
\n- Fix a crash when a colon line is marked between
\n# fmt: off
and# fmt: on
(#3439)Preview style
\n\n\n
\n\n- Format hex codes in unicode escape sequences in string literals (#2916)
\n- Add parentheses around
\nif
-else
expressions (#2278)- Improve performance on large expressions that contain many strings (#3467)
\n- Fix a crash in preview style with assert + parenthesized string (#3415)
\n- Fix crashes in preview style with walrus operators used in function return annotations and except clauses (#3423)
\n- Fix a crash in preview advanced string processing where mixed implicitly concatenated regular and f-strings start with an empty span (#3463)
\n- Fix a crash in preview advanced string processing where a standalone comment is placed before a dict's value (#3469)
\n- Fix an issue where extra empty lines are added when a decorator has
\n# 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)
\n- 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)
\n- Fix two crashes in preview style involving edge cases with docstrings (#3451)
\n- Exclude string type annotations from improved string processing; fix crash when the return type annotation is stringified and spans across multiple lines (#3462)
\n- Wrap multiple context managers in parentheses when targeting Python 3.9+ (#3489)
\n- Fix several crashes in preview style with walrus operators used in
\nwith
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)
\n
... (truncated)
\nSourced from black's changelog.
\n\n\n23.1.0
\nHighlights
\nThis is the first release of 2023, and following our\nstability policy,\nit comes with a number of improvements to our stable style, including improvements to\nempty line handling, removal of redundant parentheses in several contexts, and output\nthat highlights implicitly concatenated strings better.
\nThere are also many changes to the preview style; try out
\nblack --preview
and give us\nfeedback to help us set the stable style for next year.In addition to style changes, Black now automatically infers the supported Python\nversions from your
\npyproject.toml
file, removing the need to set Black's target\nversions separately.Stable style
\n\n\n
\n\n- Introduce the 2023 stable style, which incorporates most aspects of last year's\npreview style (#3418). Specific changes:\n
\n\n
\n- Enforce empty lines before classes and functions with sticky leading comments\n(#3302) (22.12.0)
\n- Reformat empty and whitespace-only files as either an empty file (if no newline is\npresent) or as a single newline character (if a newline is present) (#3348)\n(22.12.0)
\n- Implicitly concatenated strings used as function args are now wrapped inside\nparentheses (#3307) (22.12.0)
\n- Correctly handle trailing commas that are inside a line's leading non-nested parens\n(#3370) (22.12.0)
\n- \n
--skip-string-normalization
/-S
now prevents docstring prefixes from being\nnormalized as expected (#3168) (since 22.8.0)- When using
\n--skip-magic-trailing-comma
or-C
, trailing commas are stripped from\nsubscript expressions with more than 1 element (#3209) (22.8.0)- Implicitly concatenated strings inside a list, set, or tuple are now wrapped inside\nparentheses (#3162) (22.8.0)
\n- Fix a string merging/split issue when a comment is present in the middle of\nimplicitly concatenated strings on its own line (#3227) (22.8.0)
\n- Docstring quotes are no longer moved if it would violate the line length limit\n(#3044, #3430) (22.6.0)
\n- Parentheses around return annotations are now managed (#2990) (22.6.0)
\n- Remove unnecessary parentheses around awaited objects (#2991) (22.6.0)
\n- Remove unnecessary parentheses in
\nwith
statements (#2926) (22.6.0)- Remove trailing newlines after code block open (#3035) (22.6.0)
\n- Code cell separators
\n#%%
are now standardised to# %%
(#2919) (22.3.0)- Remove unnecessary parentheses from
\nexcept
statements (#2939) (22.3.0)- Remove unnecessary parentheses from tuple unpacking in
\nfor
loops (#2945) (22.3.0)- Avoid magic-trailing-comma in single-element subscripts (#2942) (22.3.0)
\n
... (truncated)
\nb0d1fba
Prepare release 23.1.0 (#3536)69ca0a4
Infer target version based on project metadata (#3219)c4bd2e3
Draft for Black 2023 stable style (#3418)226cbf0
Fix unsafe cast in linegen.py w/ await yield handling (#3533)f4ebc68
Upgrade isort (#3534)6407ebb
Remove Python version in the_basics.md (#3528)196b1f3
Fix black --help
output for --python-cell-magics
option to be reproducibl...d950f15
Update document now that paren wrapping CMs on Python 3.9+ is implemented (#3...a36878e
Fix an invalid quote escaping bug in f-string expressions (#3509)eabff67
Format hex code in unicode escape sequences in string literals (#2916)Sourced from blacken-docs's changelog.
\n\n\n1.15.0 (2023-07-09)
\n\n
\n- Drop Python 3.7 support.
\n
2e74dc4
Version 1.15.08ddb2f1
[pre-commit.ci] pre-commit autoupdate (#257)64fbca6
Drop Python 3.7 support (#256)f6a0817
[pre-commit.ci] pre-commit autoupdate (#255)cbdcb50
[pre-commit.ci] pre-commit autoupdate (#254)37fc70e
Upgrade requirements (#253)7bbe434
[pre-commit.ci] pre-commit autoupdate (#250)Sourced from furo's changelog.
\n\n\nChangelog
\n\n2023.03.23 -- Sassy Saffron
\n\n
\n- Regenerate with newer version of sphinx-theme-builder, to fix RECORD hashes.
\n- Update Python version classifiers.
\n- Increase the icon size in mobile header.
\n- Increase admonition title bg opacity.
\n- Change the default API background to transparent.
\n- Transition the API background change.
\n- Remove the "indent" of API entries which have a background.
\n- Break long inline code literals.
\n2022.12.07 -- Reverent Raspberry
\n\n
\n- \u2728 Add support for Sphinx 6.
\n- \u2728 Improve footnote presentation with docutils 0.18+.
\n- Drop support for Sphinx 4.
\n- Improve documentation about what the edit button does.
\n- Improve handling of empty-flexboxes for better print experience on Chrome.
\n- Improve styling for inline signatures.
\n- Replace the
\nmeta
generator tag with a comment.- Tweak labels with icons to prevent users selecting icons as text on touch.
\n2022.09.29 -- Quaint Quartz
\n\n
\n- Add ability to set arbitrary URLs for edit button.
\n- Add support for aligning text in MyST-parser generated tables.
\n2022.09.15 -- Pragmatic Pistachio
\n\n
\n\n- Add a minimum version constraint on pygments.
\n- Add an explicit dependency on
\nsass
.- Change right sidebar title from "Contents" to "On this page".
\n- Correctly position sidebars on small screens.
\n- Correctly select only Furo's own
\nsvg
in related pagesnav
.- Make numpy-style documentation headers consistent.
\n- Retitle the reference section.
\n- Update npm dependencies.
\n
... (truncated)
\n81139dd
Prepare release: 2023.03.23dafa73a
Update changelog82591ef
Allow all pre
tags to have overflows55b32f0
Update Python version classifiers (#626)cd6ecdd
Update linters82a1cec
Drop the black pin in blacken-docs483b05c
Increase the icon size in mobile headerab3ca77
Revert "Increase icon sizes (#554)"82376d2
Supply encoding. Fixes #621. (#622)193643f
Increase admonition title bg opacity (#555)Sourced from furo's changelog.
\n\n\nChangelog
\n\n2022.06.04.1 -- Naughty Nickel bugfix
\n\n
\n- Fix the URL used in the "Edit this page" for Read the Docs builds.
\n2022.06.04 -- Naughty Nickel
\n\n
\n- \u2728 Advertise Sphinx 5 compatibility.
\n- \u2728 Change to
\nbasic-ng
as the base theme (from {pypi}sphinx-basic-ng
).- Document site-wide announcement banners.
\n- Drop the pin on pygments.
\n- Improve edit button, using
\nbasic-ng
'sedit-this-page
component.- Tweak headings to better match what users expect.
\n- Tweak how Sphinx's default HTML is rendered, using docutils post-transforms (this replaces parsing+modifying it with BeautifulSoup).
\n- When built with docutils 0.18, footnotes are rendered differently and stylised differently in Furo.
\n2022.04.07 -- Magical Mauve
\n\n
\n- \u2728 Make sphinx-copybutton look better.
\n- Add margin to indentations in line blocks.
\n- Add styling for non-arabic list styles
\n- Add support for
\nhtml_baseurl
.- Improve "Edit this page" icon to be more accessible.
\n- Improve
\nhtml_sidebars
example.- Tweak positioning of back to top on desktop.
\n2022.03.04 -- Lucent Lilac
\n\n
\n- Improve support for print media.
\n- Reduce heading sizes for h3 and below.
\n- Don't allow selecting headerlink content.
\n- Improve how overflow wrapping is handled.
\n- Add a reference from the configuration variables to the color customisation page.
\n2022.02.23 -- Keen Kobi
\n\n
\n\n- \u2728 Add a "Back to Top" button that shows up when scrolling up.
\n- Add a URL to GitHub in Project-URLs.
\n- Break long words in the prev/next buttons.
\n- Fix includes in Kitchen sink.
\n
... (truncated)
\n1142fad
Prepare release: 2022.06.04.1211abb4
Update changelog06cdba6
Fix the edit this page URL43ce491
Back to developmentfb6e486
Prepare release: 2022.06.04090b02e
Update changelog098d51d
Fix the Just the Docs link7fa8d08
Change to a post-transform for wrapping math blocks and table51f1e52
Speed up determining if there's multiple toc entries99a6ff8
Update caniuse-lite NPM packageSourced from furo's changelog.
\n\n\nChangelog
\n\n2023.07.26 -- Vigilant Volt
\n\n
\n- Fix compatiblity with Sphinx 7.1.
\n- Improve how content overflow is handled.
\n- Improve how literal blocks containing inline code are handled.
\n2023.05.20 -- Unassuming Ultramarine
\n\n
\n- \u2728 Add support for Sphinx 7.
\n- Drop support for Sphinx 5.
\n- Improve the screen-reader label for sidebar collapse.
\n- Make it easier to create derived themes from Furo.
\n- Bump all JS dependencies (NodeJS and npm packages).
\n2023.03.27 -- Tasty Tangerine
\n\n
\n- Regenerate with newer version of sphinx-theme-builder, to fix RECORD hashes.
\n- Add missing class to Font Awesome examples
\n2023.03.23 -- Sassy Saffron
\n\n
\n- Update Python version classifiers.
\n- Increase the icon size in mobile header.
\n- Increase admonition title bg opacity.
\n- Change the default API background to transparent.
\n- Transition the API background change.
\n- Remove the "indent" of API entries which have a background.
\n- Break long inline code literals.
\n2022.12.07 -- Reverent Raspberry
\n\n
\n\n- \u2728 Add support for Sphinx 6.
\n- \u2728 Improve footnote presentation with docutils 0.18+.
\n- Drop support for Sphinx 4.
\n- Improve documentation about what the edit button does.
\n- Improve handling of empty-flexboxes for better print experience on Chrome.
\n- Improve styling for inline signatures.
\n
... (truncated)
\n35f5307
Prepare release: 2023.07.260a8bedc
Update changeloga92dd0c
Make _add_asset_hashes
a no-op with Sphinx 7.1f8db95b
Improve literals with inline code are handled1680dbe
Document the use of figclass
with figure
directivebeebd7e
Increase the specificity of the admonition title selector834e951
Setup uploads to Percy27bf2c0
[pre-commit.ci] pre-commit autoupdate (#672)c8b51d0
Fix how content overflow is handled80afa27
[pre-commit.ci] pre-commit autoupdate (#652)Sourced from sphinx's releases.
\n\n\nv6.0.0
\nChangelog: https://www.sphinx-doc.org/en/master/changes.html
\nv6.0.0b2
\nChangelog: https://www.sphinx-doc.org/en/master/changes.html
\nv6.0.0b1
\nChangelog: https://www.sphinx-doc.org/en/master/changes.html
\n
Sourced from sphinx's changelog.
\n\n\nRelease 6.0.0 (released Dec 29, 2022)
\nDependencies
\n\n
\n- #10468: Drop Python 3.6 support
\n- #10470: Drop Python 3.7, Docutils 0.14, Docutils 0.15, Docutils 0.16, and\nDocutils 0.17 support. Patch by Adam Turner
\nIncompatible changes
\n\n
\n- \n
\n#7405: Removed the jQuery and underscore.js JavaScript frameworks.
\nThese frameworks are no longer be automatically injected into themes from\nSphinx 6.0. If you develop a theme or extension that uses the\n
\njQuery
,$
, or$u
global objects, you need to update your\nJavaScript to modern standards, or use the mitigation below.The first option is to use the sphinxcontrib.jquery_ extension, which has been\ndeveloped by the Sphinx team and contributors. To use this, add\n
\nsphinxcontrib.jquery
to theextensions
list inconf.py
, or call\napp.setup_extension("sphinxcontrib.jquery")
if you develop a Sphinx theme\nor extension.The second option is to manually ensure that the frameworks are present.\nTo re-add jQuery and underscore.js, you will need to copy
\njquery.js
and\nunderscore.js
fromthe Sphinx repository
_ to yourstatic
directory,\nand add the following to yourlayout.html
:.. code-block:: html+jinja
\n{%- block scripts %}\n\n\n{{ super() }}\n{%- endblock %}
\n.. _sphinxcontrib.jquery: https://github.com/sphinx-contrib/jquery/
\nPatch by Adam Turner.
\n- \n
\n#10471, #10565: Removed deprecated APIs scheduled for removal in Sphinx 6.0. See\n:ref:
\ndev-deprecated-apis
for details. Patch by Adam Turner.- \n
\n#10901: C Domain: Remove support for parsing pre-v3 style type directives and\nroles. Also remove associated configuration variables
\nc_allow_pre_v3
and\nc_warn_on_allowed_pre_v3
. Patch by Adam Turner.Features added
\n\n
... (truncated)
\n5b56a23
Bump to 6.0.0 finalf1d1e9c
Update coverage workflow for Tox 466a738c
Update coverage workflow for new configuration location041e5f8
Add test coverage for 'today_fmt' reference substitution (#10980)da25145
Remove unnecessary conditional import in sphinx.ext.napoleon
(#11043)45a0ea9
Migrate coveragepy config into pyproject.toml (#11025)3ec54f1
Create a pydata_sphinx_theme
section in usage examples (#11046)32bce8f
Copy edit the tutorial (#11049)9844162
Fix example using add_config_value
(#10937)bf4a626
RTD builder: add graphviz depedendency (#11040)Sourced from sphinx's releases.
\n\n\nv6.1.0
\nChangelog: https://www.sphinx-doc.org/en/master/changes.html
\nv6.0.1
\nChangelog: https://www.sphinx-doc.org/en/master/changes.html
\nv6.0.0
\nChangelog: https://www.sphinx-doc.org/en/master/changes.html
\nv6.0.0b2
\nChangelog: https://www.sphinx-doc.org/en/master/changes.html
\nv6.0.0b1
\nChangelog: https://www.sphinx-doc.org/en/master/changes.html
\n
Sourced from sphinx's changelog.
\n\n\nRelease 6.1.0 (released Jan 05, 2023)
\nDependencies
\n\n
\n- \n
\nAdopted the
\nRuff
_ code linter... _Ruff: https://github.com/charliermarsh/ruff
\nIncompatible changes
\n\n
\n- #10979: gettext: Removed support for pluralisation in
\nget_translation
.\nThis was unused and complicated other changes tosphinx.locale
.Deprecated
\n\n
\n- \n
\n\n
sphinx.util
functions:\n
\n- Renamed
\nsphinx.util.typing.stringify()
\ntosphinx.util.typing.stringify_annotation()
- Moved
\nsphinx.util.xmlname_checker()
\ntosphinx.builders.epub3._XML_NAME_PATTERN
Moved to
\nsphinx.util.display
:\n
\n- \n
sphinx.util.status_iterator
- \n
sphinx.util.display_chunk
- \n
sphinx.util.SkipProgressMessage
- \n
sphinx.util.progress_message
Moved to
\nsphinx.util.http_date
:\n
\n- \n
sphinx.util.epoch_to_rfc1123
- \n
sphinx.util.rfc1123_to_epoch
Moved to
\nsphinx.util.exceptions
:\n
\n- \n
sphinx.util.save_traceback
- \n
sphinx.util.format_exception_cut_frames
Features added
\n\n
\n\n- Cache doctrees in the build environment during the writing phase.
\n- Make all writing phase tasks support parallel execution.
\n- #11072: Use PEP 604 (
\nX | Y
) display conventions fortyping.Optional
\nandtyping.Optional
types within the Python domain and autodoc.
... (truncated)
\n4e1004a
Bump to 6.1.0 finala2176d4
Fix deprecation warnings2c104e9
Merge branch '6.0.x'a27d262
Bump to 6.0.1 final821569e
Add note for Pygments222d366
imgmath: Fix relative file path (#10965)c499f66
Add SIM113 lint (#11057)0fbd8af
Add missing default arguments in sphinx-apidoc.rst (#11084)f89f943
Remove flake8 plugins in favour of Ruff (#11085)0479115
Suppress lint failures from Ruff 0.0.211 (#11086)Sourced from sphinx's releases.
\n\n\nv6.1.1
\nChangelog: https://www.sphinx-doc.org/en/master/changes.html
\nv6.1.0
\nChangelog: https://www.sphinx-doc.org/en/master/changes.html
\nv6.0.1
\nChangelog: https://www.sphinx-doc.org/en/master/changes.html
\nv6.0.0
\nChangelog: https://www.sphinx-doc.org/en/master/changes.html
\nv6.0.0b2
\nChangelog: https://www.sphinx-doc.org/en/master/changes.html
\nv6.0.0b1
\nChangelog: https://www.sphinx-doc.org/en/master/changes.html
\n
Sourced from sphinx's changelog.
\n\n\nRelease 6.1.1 (released Jan 05, 2023)
\nBugs fixed
\n\n
\n- #11091: Fix
\nutil.nodes.apply_source_workaround
forliteral_block
nodes\nwith no source information in the node or the node's parents.Release 6.1.0 (released Jan 05, 2023)
\nDependencies
\n\n
\n- \n
\nAdopted the
\nRuff
_ code linter... _Ruff: https://github.com/charliermarsh/ruff
\nIncompatible changes
\n\n
\n- #10979: gettext: Removed support for pluralisation in
\nget_translation
.\nThis was unused and complicated other changes tosphinx.locale
.Deprecated
\n\n
\n\n- \n
\n\n
sphinx.util
functions:\n
\n- Renamed
\nsphinx.util.typing.stringify()
\ntosphinx.util.typing.stringify_annotation()
- Moved
\nsphinx.util.xmlname_checker()
\ntosphinx.builders.epub3._XML_NAME_PATTERN
Moved to
\nsphinx.util.display
:\n
\n- \n
sphinx.util.status_iterator
- \n
sphinx.util.display_chunk
- \n
sphinx.util.SkipProgressMessage
- \n
sphinx.util.progress_message
Moved to
\nsphinx.util.http_date
:\n
\n- \n
sphinx.util.epoch_to_rfc1123
- \n
sphinx.util.rfc1123_to_epoch
Moved to
\nsphinx.util.exceptions
:\n
\n- \n
sphinx.util.save_traceback
... (truncated)
\n77aaa86
Bump to 6.1.1 final476c115
Suppress ValueError
in apply_source_workaround
(#11092)c80d656
Bump version4e1004a
Bump to 6.1.0 finala2176d4
Fix deprecation warnings2c104e9
Merge branch '6.0.x'a27d262
Bump to 6.0.1 final821569e
Add note for Pygments222d366
imgmath: Fix relative file path (#10965)c499f66
Add SIM113 lint (#11057)Sourced from sphinx's releases.
\n\n\nv7.0.1
\nChangelog: https://www.sphinx-doc.org/en/master/changes.html
\nv7.0.0
\nChangelog: https://www.sphinx-doc.org/en/master/changes.html
\nv7.0.0rc1
\nChangelog: https://www.sphinx-doc.org/en/master/changes.html
\nv6.2.1
\nChangelog: https://www.sphinx-doc.org/en/master/changes.html
\nv6.2.0
\nChangelog: https://www.sphinx-doc.org/en/master/changes.html
\n
Sourced from sphinx's changelog.
\n\n\nRelease 7.0.1 (released May 12, 2023)
\nDependencies
\n\n
\n- #11411: Support
\nDocutils 0.20
_. Patch by Adam Turner... _Docutils 0.20: https://docutils.sourceforge.io/RELEASE-NOTES.html#release-0-20-2023-05-04
\nBugs fixed
\n\n
\n- #11418: Clean up remaining references to
\nsphinx.setup_command
\nfollowing the removal of support for setuptools.\nPatch by Willem Mulder.Release 7.0.0 (released Apr 29, 2023)
\nIncompatible changes
\n\n
\n- #11359: Remove long-deprecated aliases for
\nMecabSplitter
and\nDefaultSplitter
insphinx.search.ja
.- #11360: Remove deprecated
\nmake_old_id
functions in domain object\ndescription classes.- #11363: Remove the Setuptools integration (
\nbuild_sphinx
hook in\nsetup.py
).- #11364: Remove deprecated
\nsphinx.ext.napoleon.iterators
module.- #11365: Remove support for the
\njsdump
format insphinx.search
.- #11366: Make
\nlocale
a required argument to\nsphinx.util.i18n.format_date()
.- #11370: Remove deprecated
\nsphinx.util.stemmer
module.- #11371: Remove deprecated
\nsphinx.pycode.ast.parse()
function.- #11372: Remove deprecated
\nsphinx.io.read_doc()
function.- #11373: Removed deprecated
\nsphinx.util.get_matching_files()
function.- #11378: Remove deprecated
\nsphinx.util.docutils.is_html5_writer_available()
\nfunction.- #11379: Make the
\nenv
argument toBuilder
subclasses required.- #11380: autosummary: Always emit grouped import exceptions.
\n- #11381: Remove deprecated
\nstyle
key for HTML templates.- #11382: Remove deprecated
\nsphinx.writers.latex.LaTeXTranslator.docclasses
\nattribute.- #11383: Remove deprecated
\nsphinx.builders.html.html5_ready
and\nsphinx.builders.html.HTMLTranslator
attributes.- #11385: Remove support for HTML 4 output.
\nRelease 6.2.1 (released Apr 25, 2023)
\n\n
... (truncated)
\nd48cc78
Bump to 7.0.1 finalde6b18a
Remove remaining references to the setuptools integration (#11418)db54618
Support Docutils 0.20 (#11411)8942a1d
Test with Docutils 0.20c9d0933
linkcheck: Use context managers for HTTP requests (#11318)2b1c106
Update documentation workflowba74082
Change concurrency groups for GitHub workflowsb546879
Bump versiond568b2f
Bump to 7.0.0 finalff79edf
Remove jsdump
references post removalSourced from sphinx's releases.
\n\n\nSphinx 7.1.0
\nChangelog: https://www.sphinx-doc.org/en/master/changes.html
\nv7.0.1
\nChangelog: https://www.sphinx-doc.org/en/master/changes.html
\nv7.0.0
\nChangelog: https://www.sphinx-doc.org/en/master/changes.html
\nv7.0.0rc1
\nChangelog: https://www.sphinx-doc.org/en/master/changes.html
\nv6.2.1
\nChangelog: https://www.sphinx-doc.org/en/master/changes.html
\nv6.2.0
\nChangelog: https://www.sphinx-doc.org/en/master/changes.html
\n
Sourced from sphinx's changelog.
\n\n\nRelease 7.1.0 (released Jul 24, 2023)
\nIncompatible changes
\n\n
\n- \n
\nReleases are no longer signed, given the
\nchange in PyPI policy
_... _change in PyPI policy: https://blog.pypi.org/posts/2023-05-23-removing-pgp/
\nDeprecated
\n\n
\n- #11412: Emit warnings on using a deprecated Python-specific index entry type\n(namely,
\nmodule
,keyword
,operator
,object
,exception
,\nstatement
, andbuiltin
) in the :rst:dir:index
directive, and\nset the removal version to Sphinx 9. Patch by Adam Turner.Features added
\n\n
\n\n- #11415: Add a checksum to JavaScript and CSS asset URIs included within\ngenerated HTML, using the CRC32 algorithm.
\n- :meth:
\n~sphinx.application.Sphinx.require_sphinx
now allows the version\nrequirement to be specified as(major, minor)
.- #11011: Allow configuring a line-length limit for object signatures, via\n:confval:
\nmaximum_signature_line_length
and the domain-specific variants.\nIf the length of the signature (in characters) is greater than the configured\nlimit, each parameter in the signature will be split to its own logical line.\nThis behaviour may also be controlled by options on object description\ndirectives, for example :rst:dir:py:function:single-line-parameter-list
.\nPatch by Thomas Louf, Adam Turner, and Jean-Fran\u00e7ois B.- #10983: Support for multiline copyright statements in the footer block.\nPatch by Stefanie Molin
\n- \n
sphinx.util.display.status_iterator
now clears the current line\nwith ANSI control codes, rather than overprinting with space characters.- #11431: linkcheck: Treat SSL failures as broken links.\nPatch by B\u00e9n\u00e9dikt Tran
\n- #11157: Keep the
\ntranslated
attribute on translated nodes.- #11451: Improve the traceback displayed when using :option:
\nsphinx-build -T
\nin parallel builds. Patch by B\u00e9n\u00e9dikt Tran- #11324: linkcheck: Use session-basd HTTP requests.
\n- #11438: Add support for the :rst:dir:
\npy:class
and :rst:dir:py:function
\ndirectives for PEP 695 (generic classes and functions declarations) and\nPEP 696 (default type parameters). Multi-line support (#11011) is enabled\nfor type parameters list and can be locally controlled on object description\ndirectives, e.g., :rst:dir:py:function:single-line-type-parameter-list
.\nPatch by B\u00e9n\u00e9dikt Tran.- #11484: linkcheck: Allow HTML anchors to be ignored on a per-URL basis\nvia :confval:
\nlinkcheck_anchors_ignore_for_url
while
... (truncated)
\ne560f63
Bump to 7.1.0 final066e0fa
Add translation progress information (#11509)0882914
Target PyPI in create-release.yml21fbee5
Fix OIDC token payload1a403e4
Add informational log messaging258b0ea
Revert "Switch to using github.request
"f9c89e5
Switch to using github.request
52c7f66
Use the correct token minting URL for TestPyPI6079f28
Install twine in PyPI publish workflow3d43b9e
Fix github-script syntax in create-release.ymlSourced from sphinx's releases.
\n\n\nSphinx 7.1.1
\nChangelog: https://www.sphinx-doc.org/en/master/changes.html
\nSphinx 7.1.0
\nChangelog: https://www.sphinx-doc.org/en/master/changes.html
\nv7.0.1
\nChangelog: https://www.sphinx-doc.org/en/master/changes.html
\nv7.0.0
\nChangelog: https://www.sphinx-doc.org/en/master/changes.html
\nv7.0.0rc1
\nChangelog: https://www.sphinx-doc.org/en/master/changes.html
\nv6.2.1
\nChangelog: https://www.sphinx-doc.org/en/master/changes.html
\nv6.2.0
\nChangelog: https://www.sphinx-doc.org/en/master/changes.html
\n
Sourced from sphinx's changelog.
\n\n\nRelease 7.1.1 (released Jul 27, 2023)
\nBugs fixed
\n\n
\n- #11514: Fix
\nSOURCE_DATE_EPOCH
in multi-line copyright footer.\nPatch by B\u00e9n\u00e9dikt Tran.Release 7.1.0 (released Jul 24, 2023)
\nIncompatible changes
\n\n
\n- \n
\nReleases are no longer signed, given the
\nchange in PyPI policy
_... _change in PyPI policy: https://blog.pypi.org/posts/2023-05-23-removing-pgp/
\nDeprecated
\n\n
\n- #11412: Emit warnings on using a deprecated Python-specific index entry type\n(namely,
\nmodule
,keyword
,operator
,object
,exception
,\nstatement
, andbuiltin
) in the :rst:dir:index
directive, and\nset the removal version to Sphinx 9. Patch by Adam Turner.Features added
\n\n
\n\n- #11415: Add a checksum to JavaScript and CSS asset URIs included within\ngenerated HTML, using the CRC32 algorithm.
\n- :meth:
\n~sphinx.application.Sphinx.require_sphinx
now allows the version\nrequirement to be specified as(major, minor)
.- #11011: Allow configuring a line-length limit for object signatures, via\n:confval:
\nmaximum_signature_line_length
and the domain-specific variants.\nIf the length of the signature (in characters) is greater than the configured\nlimit, each parameter in the signature will be split to its own logical line.\nThis behaviour may also be controlled by options on object description\ndirectives, for example :rst:dir:py:function:single-line-parameter-list
.\nPatch by Thomas Louf, Adam Turner, and Jean-Fran\u00e7ois B.- #10983: Support for multiline copyright statements in the footer block.\nPatch by Stefanie Molin
\n- \n
sphinx.util.display.status_iterator
now clears the current line\nwith ANSI control codes, rather than overprinting with space characters.- #11431: linkcheck: Treat SSL failures as broken links.\nPatch by B\u00e9n\u00e9dikt Tran
\n- #11157: Keep the
\ntranslated
attribute on translated nodes.- #11451: Improve the traceback displayed when using :option:
\nsphinx-build -T
\nin parallel builds. Patch by B\u00e9n\u00e9dikt Tran
... (truncated)
\nd8d73c1
Bump to 7.1.1 finala54e630
[internationalisation] Update message catalogues8452300
Fix multi-line copyright when SOURCE_DATE_EPOCH
is set (#11524)fe08cec
bump versione560f63
Bump to 7.1.0 final066e0fa
Add translation progress information (#11509)0882914
Target PyPI in create-release.yml21fbee5
Fix OIDC token payload1a403e4
Add informational log messaging258b0ea
Revert "Switch to using github.request
"Sourced from sphinx's releases.
\n\n\nSphinx 7.1.2
\nChangelog: https://www.sphinx-doc.org/en/master/changes.html
\nSphinx 7.1.1
\nChangelog: https://www.sphinx-doc.org/en/master/changes.html
\nSphinx 7.1.0
\nChangelog: https://www.sphinx-doc.org/en/master/changes.html
\nv7.0.1
\nChangelog: https://www.sphinx-doc.org/en/master/changes.html
\nv7.0.0
\nChangelog: https://www.sphinx-doc.org/en/master/changes.html
\nv7.0.0rc1
\nChangelog: https://www.sphinx-doc.org/en/master/changes.html
\nv6.2.1
\nChangelog: https://www.sphinx-doc.org/en/master/changes.html
\nv6.2.0
\nChangelog: https://www.sphinx-doc.org/en/master/changes.html
\n
Sourced from sphinx's changelog.
\n\n\nRelease 7.1.2 (released Aug 02, 2023)
\nBugs fixed
\n\n
\n- #11542: linkcheck: Properly respect :confval:
\nlinkcheck_anchors
\nand do not spuriously report failures to validate anchors.\nPatch by James Addison.Release 7.1.1 (released Jul 27, 2023)
\nBugs fixed
\n\n
\n- #11514: Fix
\nSOURCE_DATE_EPOCH
in multi-line copyright footer.\nPatch by B\u00e9n\u00e9dikt Tran.Release 7.1.0 (released Jul 24, 2023)
\nIncompatible changes
\n\n
\n- \n
\nReleases are no longer signed, given the
\nchange in PyPI policy
_... _change in PyPI policy: https://blog.pypi.org/posts/2023-05-23-removing-pgp/
\nDeprecated
\n\n
\n- #11412: Emit warnings on using a deprecated Python-specific index entry type\n(namely,
\nmodule
,keyword
,operator
,object
,exception
,\nstatement
, andbuiltin
) in the :rst:dir:index
directive, and\nset the removal version to Sphinx 9. Patch by Adam Turner.Features added
\n\n
\n\n- #11415: Add a checksum to JavaScript and CSS asset URIs included within\ngenerated HTML, using the CRC32 algorithm.
\n- :meth:
\n~sphinx.application.Sphinx.require_sphinx
now allows the version\nrequirement to be specified as(major, minor)
.- #11011: Allow configuring a line-length limit for object signatures, via\n:confval:
\nmaximum_signature_line_length
and the domain-specific variants.\nIf the length of the signature (in characters) is greater than the configured\nlimit, each parameter in the signature will be split to its own logical line.\nThis behaviour may also be controlled by options on object description\ndirectives, for example :rst:dir:py:function:single-line-parameter-list
.
... (truncated)
\n320d0b6
Bump to 7.1.2 final06c1339
Ensure that linkcheck_anchors
is properly respected (#11544)89808c6
Emend attribution for GH-11431 in CHANGES (#11547)4958d2a
Fix flake8 E231 reported linting failure4862da8
Bump versiond8d73c1
Bump to 7.1.1 finala54e630
[internationalisation] Update message catalogues8452300
Fix multi-line copyright when SOURCE_DATE_EPOCH
is set (#11524)fe08cec
bump versione560f63
Bump to 7.1.0 finalSourced from black's releases.
\n\n\n23.10.1
\nHighlights
\n\n
\n- Maintanence release to get a fix out for GitHub Action edge case (#3957)
\nPreview style
\n\n
\n- Fix merging implicit multiline strings that have inline comments (#3956)
\n- Allow empty first line after block open before a comment or compound statement (#3967)
\nPackaging
\n\n
\n- Change Dockerfile to hatch + compile black (#3965)
\nIntegrations
\n\n
\n- The summary output for GitHub workflows is now suppressible using the
\nsummary
\nparameter. (#3958)- Fix the action failing when Black check doesn't pass (#3957)
\nDocumentation
\n\n
\n- It is known Windows documentation CI is broken\npsf/black#3968
\n23.10.0
\nStable style
\n\n
\n- Fix comments getting removed from inside parenthesized strings (#3909)
\nPreview style
\n\n
\n- Fix long lines with power operators getting split before the line length (#3942)
\n- Long type hints are now wrapped in parentheses and properly indented when split across\nmultiple lines (#3899)
\n- Magic trailing commas are now respected in return types. (#3916)
\n- Require one empty line after module-level docstrings. (#3932)
\n- Treat raw triple-quoted strings as docstrings (#3947)
\nConfiguration
\n\n
\n- Fix cache versioning logic when
\nBLACK_CACHE_DIR
is set (#3937)Parser
\n\n\n
... (truncated)
\nSourced from black's changelog.
\n\n\n23.10.1
\nHighlights
\n\n
\n- Maintanence release to get a fix out for GitHub Action edge case (#3957)
\nPreview style
\n\n
\n- Fix merging implicit multiline strings that have inline comments (#3956)
\n- Allow empty first line after block open before a comment or compound statement (#3967)
\nPackaging
\n\n
\n- Change Dockerfile to hatch + compile black (#3965)
\nIntegrations
\n\n
\n- The summary output for GitHub workflows is now suppressible using the
\nsummary
\nparameter. (#3958)- Fix the action failing when Black check doesn't pass (#3957)
\nDocumentation
\n\n
\n- It is known Windows documentation CI is broken\npsf/black#3968
\n23.10.0
\nStable style
\n\n
\n- Fix comments getting removed from inside parenthesized strings (#3909)
\nPreview style
\n\n
\n- Fix long lines with power operators getting split before the line length (#3942)
\n- Long type hints are now wrapped in parentheses and properly indented when split across\nmultiple lines (#3899)
\n- Magic trailing commas are now respected in return types. (#3916)
\n- Require one empty line after module-level docstrings. (#3932)
\n- Treat raw triple-quoted strings as docstrings (#3947)
\nConfiguration
\n\n
\n- Fix cache versioning logic when
\nBLACK_CACHE_DIR
is set (#3937)Parser
\n\n
\n\n- Fix bug where attributes named
\ntype
were not accepted insidematch
statements\n(#3950)- Add support for PEP 695 type aliases containing lambdas and other unusual expressions
\n
... (truncated)
\n744d23b
Prepare release 23.10.1 (#3969)8de4be5
Fix CI failing (#3957)c0adca3
docs: specifies the use of the .git-blame-ignore-revs file (#3961)a7643fa
Add summary parameter to action (#3958)d291c23
Move Docker image to hatch + compile (#3965)7f1c578
Bump peter-evans/create-or-update-comment from 3.0.2 to 3.1.0 (#3966)2db5ab0
Allow empty line after block open before a comment or compound statement (#3967)0a37888
Fix typos in CHANGES.md (#3963)882d879
Fix merging implicit multiline strings that have inline comments (#3956)9edba85
Prepare release 23.10.0 (#3951)Sourced from blacken-docs's changelog.
\n\n\n1.16.0 (2023-08-16)
\n\n
\n- \n
\nAllow Markdown fence options.
\nThanks to initial work from Matthew Anderson in
\nPR [#246](https://github.com/asottile/blacken-docs/issues/246) <https://github.com/adamchainz/blacken-docs/pull/246>
__.- \n
\nExpand Markdown detection to all Python language names from Pygments:
\npy
,sage
,python3
,py3
, andnumpy
.- \n
\nPreserve leading whitespace lines in reStructuredText code blocks.
\nThanks to Julianus Pfeuffer for the report in
\nIssue [#217](https://github.com/asottile/blacken-docs/issues/217) <https://github.com/adamchainz/blacken-docs/issues/217>
__.- \n
\nUse exit code 2 to indicate errors from Black, whilst exit code 1 remains for \u201cfiles have been formatted\u201d.
\nThanks to Julianus Pfeuffer for the report in
\nIssue [#218](https://github.com/asottile/blacken-docs/issues/218) <https://github.com/adamchainz/blacken-docs/issues/218>
__.- \n
\nSupport passing the
\n--preview
option through to Black, to select the future style.- \n
\nRemove
\nlanguage_version
from.pre-commit-hooks.yaml
.\nThis change allowsdefault_language_version
in ``.pre-commit-config.yaml` to take precedence.Thanks to Aneesh Agrawal in
\nPR [#258](https://github.com/asottile/blacken-docs/issues/258) <https://github.com/adamchainz/blacken-docs/pull/258>
__.
960ead2
Version 1.16.08f0ed18
Support passing --preview through to Black (#273)4eb4e4c
Tweak changelog note6c7450c
Use exit code 2 to indicate errors (#272)99dfc8d
Preserve leading whitespace lines in rST (#271)94465e8
Reformat markdown tests with dedent() (#270)7cd5f30
Use .md in glob examplef97e569
Document applying to many files (#269)ae612b0
Expand Markdown detection to all Python language names (#268)da9b455
Replace NamedTuple with plain class (#267)Sourced from sphinx's releases.
\n\n\nSphinx 7.2.0
\nChangelog: https://www.sphinx-doc.org/en/master/changes.html
\n
Sourced from sphinx's changelog.
\n\n\nRelease 7.2.0 (released Aug 17, 2023)
\nDependencies
\n\nDeprecated
\n\n
\n- #11512: Deprecate
\nsphinx.util.md5
andsphinx.util.sha1
.\nUsehashlib
instead.- #11526: Deprecate
\nsphinx.testing.path
.\nUseos.path
orpathlib
instead.- #11528: Deprecate
\nsphinx.util.split_index_msg
andsphinx.util.split_into
.\nUsesphinx.util.index_entries.split_index_msg
instead.- Deprecate
\nsphinx.builders.html.Stylesheet
\nandsphinx.builders.html.Javascript
.\nUsesphinx.application.Sphinx.add_css_file()
\nandsphinx.application.Sphinx.add_js_file()
instead.- #11582: Deprecate
\nsphinx.builders.html.StandaloneHTMLBuilder.css_files
and\nsphinx.builders.html.StandaloneHTMLBuilder.script_files
.\nUsesphinx.application.Sphinx.add_css_file()
\nandsphinx.application.Sphinx.add_js_file()
instead.- #11459: Deprecate
\nsphinx.ext.autodoc.preserve_defaults.get_function_def()
.\nPatch by B\u00e9n\u00e9dikt Tran.Features added
\n\n
\n\n- #11526: Support
\nos.PathLike
types andpathlib.Path
objects\nin many more places.- #5474: coverage: Print summary statistics tables.\nPatch by Jorge Leitao.
\n- #6319: viewcode: Add :confval:
\nviewcode_line_numbers
to control\nwhether line numbers are added to rendered source code.\nPatch by Ben Krikler.- #9662: Add the
\n:no-typesetting:
option to suppress textual output\nand only create a linkable anchor.\nPatch by Latosha Maltba.- #11221: C++: Support domain objects in the table of contents.\nPatch by Rouslan Korneychuk.
\n- #10938: doctest: Add :confval:
\ndoctest_show_successes
option.\nPatch by Trey Hunner.- #11533: Add
\n:no-index:
,:no-index-entry:
, and:no-contents-entry:
.- #11572: Improve
\ndebug
logging of reasons why files are detected as out of\ndate.\nPatch by Eric Larson.
... (truncated)
\nda9f8a5
Bump to 7.2.0 final794324a
Declare support for Python 3.1303bceac
[bot]: Update message catalogues (#11538)aecebce
Make _resolve_toctree()
keyword-only76658c4
Fix sphinx.ext.autodoc.preserve_defaults
(#11550)4dee162
Fix layout issues in the agogo theme for smaller viewports (#11594)4ddbee4
Fix console_scripts
entry points4add50a
Remove unneeded type annotation9d8ef83
Fix test_inspect_main_noargs
ddf8a8e
Add CHANGES entry for GH-11533Sourced from blacken-docs's changelog.
\n\n\n1.16.0 (2023-08-16)
\n\n
\n- \n
\nAllow Markdown fence options.
\nThanks to initial work from Matthew Anderson in
\nPR [#246](https://github.com/asottile/blacken-docs/issues/246) <https://github.com/adamchainz/blacken-docs/pull/246>
__.- \n
\nExpand Markdown detection to all Python language names from Pygments:
\npy
,sage
,python3
,py3
, andnumpy
.- \n
\nPreserve leading whitespace lines in reStructuredText code blocks.
\nThanks to Julianus Pfeuffer for the report in
\nIssue [#217](https://github.com/asottile/blacken-docs/issues/217) <https://github.com/adamchainz/blacken-docs/issues/217>
__.- \n
\nUse exit code 2 to indicate errors from Black, whilst exit code 1 remains for \u201cfiles have been formatted\u201d.
\nThanks to Julianus Pfeuffer for the report in
\nIssue [#218](https://github.com/asottile/blacken-docs/issues/218) <https://github.com/adamchainz/blacken-docs/issues/218>
__.- \n
\nSupport passing the
\n--preview
option through to Black, to select the future style.- \n
\nRemove
\nlanguage_version
from.pre-commit-hooks.yaml
.\nThis change allowsdefault_language_version
in ``.pre-commit-config.yaml` to take precedence.Thanks to Aneesh Agrawal in
\nPR [#258](https://github.com/asottile/blacken-docs/issues/258) <https://github.com/adamchainz/blacken-docs/pull/258>
__.
960ead2
Version 1.16.08f0ed18
Support passing --preview through to Black (#273)4eb4e4c
Tweak changelog note6c7450c
Use exit code 2 to indicate errors (#272)99dfc8d
Preserve leading whitespace lines in rST (#271)94465e8
Reformat markdown tests with dedent() (#270)7cd5f30
Use .md in glob examplef97e569
Document applying to many files (#269)ae612b0
Expand Markdown detection to all Python language names (#268)da9b455
Replace NamedTuple with plain class (#267)Sourced from sphinx's releases.
\n\n\nSphinx 7.2.2
\nChangelog: https://www.sphinx-doc.org/en/master/changes.html
\nSphinx 7.2.1
\nChangelog: https://www.sphinx-doc.org/en/master/changes.html
\nSphinx 7.2.0
\nChangelog: https://www.sphinx-doc.org/en/master/changes.html
\n
Sourced from sphinx's changelog.
\n\n\nRelease 7.2.2 (released Aug 17, 2023)
\nBugs fixed
\n\n
\n- Fix the signature of the
\nStateMachine.insert_input()
patch,\nfor when calling with keyword arguments.- Fixed membership testing (
\nin
) for the :py:class:str
interface\nof the asset classes (_CascadingStyleSheet
and_JavaScript
),\nwhich several extensions relied upon.- Fixed a type error in
\nSingleFileHTMLBuilder._get_local_toctree
,\nincludehidden
may be passed as a string or a boolean.- Fix
\n:noindex:
forPyModule
and JSModule``.Release 7.2.1 (released Aug 17, 2023)
\nBugs fixed
\n\n
\n- Restored the the :py:class:
\nstr
interface of the asset classes\n(_CascadingStyleSheet
and_JavaScript
), which several extensions relied upon.\nThis will be removed in Sphinx 9.- Restored calls to
\nBuilder.add_{css,js}_file()
,\nwhich several extensions relied upon.- Restored the private API
\nTocTree.get_toctree_ancestors()
,\nwhich several extensions relied upon.Release 7.2.0 (released Aug 17, 2023)
\nDependencies
\n\nDeprecated
\n\n
\n\n- #11512: Deprecate
\nsphinx.util.md5
andsphinx.util.sha1
.\nUsehashlib
instead.- #11526: Deprecate
\nsphinx.testing.path
.\nUseos.path
orpathlib
instead.- #11528: Deprecate
\nsphinx.util.split_index_msg
andsphinx.util.split_into
.\nUsesphinx.util.index_entries.split_index_msg
instead.- Deprecate
\nsphinx.builders.html.Stylesheet
\nandsphinx.builders.html.Javascript
.\nUsesphinx.application.Sphinx.add_css_file()
... (truncated)
\ned84d63
Bump to 7.2.2 finalea4a73e
[bot]: Update message catalogues (#11612)e47846a
Fix :noindex:
for PyModule
and JSModule``b2fc47f
Add CHANGES entry for renaming the StateMachine.insert_input()
parameter0835c3e
Fix regression in SingleFileHTMLBuilder._get_local_toctree
49dc0dd
Fix asset class string interface membership testing8512855
Fix signature of docutils include_source monkeypatch (#11610)e1d9068
Bump version441a9e4
Bump to 7.2.1 finalec31853
Restore TocTree.get_toctree_ancestors()
Sourced from furo's changelog.
\n\n\nChangelog
\n\n2023.08.17 -- Wonderous White
\n\n
\n- Fix compatiblity with Sphinx 7.2.0 and 7.2.1.
\n2023.07.26 -- Vigilant Volt
\n\n
\n- Fix compatiblity with Sphinx 7.1.
\n- Improve how content overflow is handled.
\n- Improve how literal blocks containing inline code are handled.
\n2023.05.20 -- Unassuming Ultramarine
\n\n
\n- \u2728 Add support for Sphinx 7.
\n- Drop support for Sphinx 5.
\n- Improve the screen-reader label for sidebar collapse.
\n- Make it easier to create derived themes from Furo.
\n- Bump all JS dependencies (NodeJS and npm packages).
\n2023.03.27 -- Tasty Tangerine
\n\n
\n- Regenerate with newer version of sphinx-theme-builder, to fix RECORD hashes.
\n- Add missing class to Font Awesome examples
\n2023.03.23 -- Sassy Saffron
\n\n
\n- Update Python version classifiers.
\n- Increase the icon size in mobile header.
\n- Increase admonition title bg opacity.
\n- Change the default API background to transparent.
\n- Transition the API background change.
\n- Remove the "indent" of API entries which have a background.
\n- Break long inline code literals.
\n2022.12.07 -- Reverent Raspberry
\n\n
\n\n- \u2728 Add support for Sphinx 6.
\n- \u2728 Improve footnote presentation with docutils 0.18+.
\n
... (truncated)
\nSourced from blacken-docs's changelog.
\n\n\n1.16.0 (2023-08-16)
\n\n
\n- \n
\nAllow Markdown fence options.
\nThanks to initial work from Matthew Anderson in
\nPR [#246](https://github.com/asottile/blacken-docs/issues/246) <https://github.com/adamchainz/blacken-docs/pull/246>
__.- \n
\nExpand Markdown detection to all Python language names from Pygments:
\npy
,sage
,python3
,py3
, andnumpy
.- \n
\nPreserve leading whitespace lines in reStructuredText code blocks.
\nThanks to Julianus Pfeuffer for the report in
\nIssue [#217](https://github.com/asottile/blacken-docs/issues/217) <https://github.com/adamchainz/blacken-docs/issues/217>
__.- \n
\nUse exit code 2 to indicate errors from Black, whilst exit code 1 remains for \u201cfiles have been formatted\u201d.
\nThanks to Julianus Pfeuffer for the report in
\nIssue [#218](https://github.com/asottile/blacken-docs/issues/218) <https://github.com/adamchainz/blacken-docs/issues/218>
__.- \n
\nSupport passing the
\n--preview
option through to Black, to select the future style.- \n
\nRemove
\nlanguage_version
from.pre-commit-hooks.yaml
.\nThis change allowsdefault_language_version
in ``.pre-commit-config.yaml` to take precedence.Thanks to Aneesh Agrawal in
\nPR [#258](https://github.com/asottile/blacken-docs/issues/258) <https://github.com/adamchainz/blacken-docs/pull/258>
__.
960ead2
Version 1.16.08f0ed18
Support passing --preview through to Black (#273)4eb4e4c
Tweak changelog note6c7450c
Use exit code 2 to indicate errors (#272)99dfc8d
Preserve leading whitespace lines in rST (#271)94465e8
Reformat markdown tests with dedent() (#270)7cd5f30
Use .md in glob examplef97e569
Document applying to many files (#269)ae612b0
Expand Markdown detection to all Python language names (#268)da9b455
Replace NamedTuple with plain class (#267)