falkben / steam-to-sqlite

Public Steam app and achievement data in a sqlite database
https://steam-to-sqlite.fly.dev
MIT License
3 stars 0 forks source link

Bump datasette from 0.60.2 to 0.61.1 #44

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps datasette from 0.60.2 to 0.61.1.

Release notes

Sourced from datasette's releases.

0.61.1

  • Fixed a bug where databases with a different route from their name (as used by the datasette-hashed-urls plugin) returned errors when executing custom SQL queries. (#1682)

0.61

In preparation for Datasette 1.0, this release includes two potentially backwards-incompatible changes. Hashed URL mode has been moved to a separate plugin, and the way Datasette generates URLs to databases and tables with special characters in their name such as / and . has changed.

Datasette also now requires Python 3.7 or higher.

See also the annotated release notes.

  • URLs within Datasette now use a different encoding scheme for tables or databases that include "special" characters outside of the range of a-zA-Z0-9_-. This scheme is explained here: Tilde encoding. (#1657)
  • Removed hashed URL mode from Datasette. The new datasette-hashed-urls plugin can be used to achieve the same result, see datasette-hashed-urls for details. (#1661)
  • Databases can now have a custom path within the Datasette instance that is independent of the database name, using the db.route property. (#1668)
  • Datasette is now covered by a Code of Conduct. (#1654)
  • Python 3.6 is no longer supported. (#1577)
  • Tests now run against Python 3.11-dev. (#1621)
  • New datasette.ensure_permissions(actor, permissions) internal method for checking multiple permissions at once. (#1675)
  • New datasette.check_visibility(actor, action, resource=None) internal method for checking if a user can see a resource that would otherwise be invisible to unauthenticated users. (#1678)
  • Table and row HTML pages now include a <link rel="alternate" type="application/json+datasette" href="..."> element and return a Link: URL; rel="alternate"; type="application/json+datasette" HTTP header pointing to the JSON version of those pages. (#1533)
  • Access-Control-Expose-Headers: Link is now added to the CORS headers, allowing remote JavaScript to access that header.
  • Canned queries are now shown at the top of the database page, directly below the SQL editor. Previously they were shown at the bottom, below the list of tables. (#1612)
  • Datasette now has a default favicon. (#1603)
  • sqlite_stat tables are now hidden by default. (#1587)
  • SpatiaLite tables data_licenses, KNN and KNN2 are now hidden by default. (#1601)
  • SQL query tracing mechanism now works for queries executed in asyncio sub-tasks, such as those created by asyncio.gather(). (#1576)
  • datasette.tracer mechanism is now documented.
  • Common Datasette symbols can now be imported directly from the top-level datasette package, see Import shortcuts. Those symbols are Response, Forbidden, NotFound, hookimpl, actor_matches_allow. (#957)
  • /-/versions page now returns additional details for libraries used by SpatiaLite. (#1607)
  • Documentation now links to the Datasette Tutorials.
  • Datasette will now also look for SpatiaLite in /opt/homebrew - thanks, Dan Peterson. (#1649)
  • Fixed bug where custom pages did not work on Windows. Thanks, Robert Christie. (#1545)
  • Fixed error caused when a table had a column named n. (#1228)

0.61a0

  • Removed hashed URL mode from Datasette. The new datasette-hashed-urls plugin can be used to achieve the same result, see datasette-hashed-urls for details. (#1661)
  • Databases can now have a custom path within the Datasette instance that is indpendent of the database name, using the db.route property. (#1668)
  • URLs within Datasette now use a different encoding scheme for tables or databases that include "special" characters outside of the range of a-zA-Z0-9_-. This scheme is explained here: Tilde encoding. (#1657)
  • Table and row HTML pages now include a <link rel="alternate" type="application/json+datasette" href="..."> element and return a Link: URL; rel="alternate"; type="application/json+datasette" HTTP header pointing to the JSON version of those pages. (#1533)
  • Access-Control-Expose-Headers: Link is now added to the CORS headers, allowing remote JavaScript to access that header.
  • Canned queries are now shown at the top of the database page, directly below the SQL editor. Previously they were shown at the bottom, below the list of tables. (#1612)
  • Datasette now has a default favicon. (#1603)
  • sqlite_stat tables are now hidden by default. (#1587)
  • SpatiaLite tables data_licenses, KNN and KNN2 are now hidden by default. (#1601)
  • Python 3.6 is no longer supported. (#1577)
  • Tests now run against Python 3.11-dev. (#1621)
  • Fixed bug where custom pages did not work on Windows. Thanks, Robert Christie. (#1545)
  • SQL query tracing mechanism now works for queries executed in asyncio sub-tasks, such as those created by asyncio.gather(). (#1576)
  • datasette.tracer mechanism is now documented.
  • Common Datasette symbols can now be imported directly from the top-level datasette package, see Import shortcuts. Those symbols are Response, Forbidden, NotFound, hookimpl, actor_matches_allow. (#957)
  • /-/versions page now returns additional details for libraries used by SpatiaLite. (#1607)

... (truncated)

Changelog

Sourced from datasette's changelog.

0.61.1 (2022-03-23)

  • Fixed a bug where databases with a different route from their name (as used by the datasette-hashed-urls plugin <https://datasette.io/plugins/datasette-hashed-urls>__) returned errors when executing custom SQL queries. (:issue:1682)

.. _v0_61:

0.61 (2022-03-23)

In preparation for Datasette 1.0, this release includes two potentially backwards-incompatible changes. Hashed URL mode has been moved to a separate plugin, and the way Datasette generates URLs to databases and tables with special characters in their name such as / and . has changed.

Datasette also now requires Python 3.7 or higher.

  • URLs within Datasette now use a different encoding scheme for tables or databases that include "special" characters outside of the range of a-zA-Z0-9_-. This scheme is explained here: :ref:internals_tilde_encoding. (:issue:1657)
  • Removed hashed URL mode from Datasette. The new datasette-hashed-urls plugin can be used to achieve the same result, see :ref:performance_hashed_urls for details. (:issue:1661)
  • Databases can now have a custom path within the Datasette instance that is independent of the database name, using the db.route property. (:issue:1668)
  • Datasette is now covered by a Code of Conduct <https://github.com/simonw/datasette/blob/main/CODE_OF_CONDUCT.md>__. (:issue:1654)
  • Python 3.6 is no longer supported. (:issue:1577)
  • Tests now run against Python 3.11-dev. (:issue:1621)
  • New :ref:datasette.ensure_permissions(actor, permissions) <datasette_ensure_permissions> internal method for checking multiple permissions at once. (:issue:1675)
  • New :ref:datasette.check_visibility(actor, action, resource=None) <datasette_check_visibilty> internal method for checking if a user can see a resource that would otherwise be invisible to unauthenticated users. (:issue:1678)
  • Table and row HTML pages now include a <link rel="alternate" type="application/json+datasette" href="..."> element and return a Link: URL; rel="alternate"; type="application/json+datasette" HTTP header pointing to the JSON version of those pages. (:issue:1533)
  • Access-Control-Expose-Headers: Link is now added to the CORS headers, allowing remote JavaScript to access that header.
  • Canned queries are now shown at the top of the database page, directly below the SQL editor. Previously they were shown at the bottom, below the list of tables. (:issue:1612)
  • Datasette now has a default favicon. (:issue:1603)
  • sqlite_stat tables are now hidden by default. (:issue:1587)
  • SpatiaLite tables data_licenses, KNN and KNN2 are now hidden by default. (:issue:1601)
  • SQL query tracing mechanism now works for queries executed in asyncio sub-tasks, such as those created by asyncio.gather(). (:issue:1576)
  • :ref:internals_tracer mechanism is now documented.
  • Common Datasette symbols can now be imported directly from the top-level datasette package, see :ref:internals_shortcuts. Those symbols are Response, Forbidden, NotFound, hookimpl, actor_matches_allow. (:issue:957)
  • /-/versions page now returns additional details for libraries used by SpatiaLite. (:issue:1607)
  • Documentation now links to the Datasette Tutorials <https://datasette.io/tutorials>__.
  • Datasette will now also look for SpatiaLite in /opt/homebrew - thanks, Dan Peterson. ([#1649](https://github.com/simonw/datasette/issues/1649) <https://github.com/simonw/datasette/pull/1649>__)
  • Fixed bug where :ref:custom pages <custom_pages> did not work on Windows. Thanks, Robert Christie. (:issue:1545)
  • Fixed error caused when a table had a column named n. (:issue:1228)

.. _v0_60_2:

Commits
  • d431a90 Release 0.61.1
  • 0159662 Fix for bug running ?sql= against databases with a different route, closes #1682
  • d7c793d Release 0.61
  • c4c9dbd google-github-actions/setup-gcloud@v0
  • 12f3ca7 google-github-actions/setup-gcloud@v0
  • 72bfd75 Drop n=1 threshold down to <= 20ms, closes #1679
  • 1a7750e Documented datasette.check_visibility() method, closes #1678
  • 194e4f6 Removed check_permission() from BaseView, closes #1677
  • dfafce6 Display no-opinion permission checks on /-/permissions
  • e627510 BaseView.check_permissions is now datasette.ensure_permissions, closes #1675
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
codecov-commenter commented 2 years ago

Codecov Report

Merging #44 (6e297b9) into main (1517e0b) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #44   +/-   ##
=======================================
  Coverage   87.65%   87.65%           
=======================================
  Files           6        6           
  Lines         324      324           
=======================================
  Hits          284      284           
  Misses         40       40           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 1517e0b...6e297b9. Read the comment docs.

dependabot[bot] commented 2 years ago

Looks like datasette is up-to-date now, so this is no longer needed.