Skip to content

Releases: simonw/datasette

0.61a0

20 Mar 01:16
Compare
Choose a tag to compare
0.61a0 Pre-release
Pre-release
  • 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)
  • Documentation now links to the Datasette Tutorials.
  • Datasette will now also look for SpatiaLite in /opt/homebrew - thanks, Dan Peterson. (#1649)
  • Datasette is now covered by a Code of Conduct. (#1654)

0.60.2

07 Feb 23:49
Compare
Choose a tag to compare
  • Fixed a bug where Datasette would open the same file twice with two different database names if you ran datasette file.db file.db. (#1632)

0.60.1

21 Jan 02:12
Compare
Choose a tag to compare
  • Fixed a bug where installation on Python 3.6 stopped working due to a change to an underlying dependency. This release can now be installed on Python 3.6, but is the last release of Datasette that will support anything less than Python 3.7. (#1609)

0.60

14 Jan 01:41
Compare
Choose a tag to compare

Plugins and internals

Faceting

  • The number of unique values in a facet is now always displayed. Previously it was only displayed if the user specified ?_facet_size=max. (#1556)
  • Facets of type date or array can now be configured in metadata.json, see Facets in metadata.json. Thanks, David Larlet. (#1552)
  • New ?_nosuggest=1 parameter for table views, which disables facet suggestion. (#1557)
  • Fixed bug where ?_facet_array=tags&_facet=tags would only display one of the two selected facets. (#625)

Other small fixes

  • Made several performance improvements to the database schema introspection code that runs when Datasette first starts up. (#1555)
  • Label columns detected for foreign keys are now case-insensitive, so Name or TITLE will be detected in the same way as name or title. (#1544)
  • Upgraded Pluggy dependency to 1.0. (#1575)
  • Now using Plausible analytics for the Datasette documentation.
  • explain query plan is now allowed with varying amounts of whitespace in the query. (#1588)
  • New CLI reference page showing the output of --help for each of the datasette sub-commands. This lead to several small improvements to the help copy. (#1594)
  • Fixed bug where writable canned queries could not be used with custom templates. (#1547)
  • Improved fix for a bug where columns with a underscore prefix could result in unnecessary hidden form fields. (#1527)

0.60a1

19 Dec 22:11
Compare
Choose a tag to compare
0.60a1 Pre-release
Pre-release

0.60a0

17 Dec 19:15
Compare
Choose a tag to compare
0.60a0 Pre-release
Pre-release
  • New plugin hook: filters_from_request(request, database, table, datasette), which runs on the table page and can be used to support new custom query string parameters that modify the SQL query. (#473)
  • The number of unique values in a facet is now always displayed. Previously it was only displayed if the user specified ?_facet_size=max. (#1556)
  • Fixed bug where ?_facet_array=tags&_facet=tags would only display one of the two selected facets. (#625)
  • Facets of type date or array can now be configured in metadata.json, see Facets in metadata.json. Thanks, David Larlet. (#1552)
  • New ?_nosuggest=1 parameter for table views, which disables facet suggestion. (#1557)
  • Label columns detected for foreign keys are now case-insensitive, so Name or TITLE will be detected in the same way as name or title. (#1544)
  • The query string variables exposed by request.args will now include blank strings for arguments such as foo in ?foo=&bar=1 rather than ignoring those parameters entirely. (#1551)

0.59.4

30 Nov 06:50
Compare
Choose a tag to compare
  • Fixed bug where columns with a leading underscore could not be removed from the interactive filters list. (#1527)
  • Fixed bug where columns with a leading underscore were not correctly linked to by the "Links from other tables" interface on the row page. (#1525)
  • Upgraded dependencies aiofiles, black and janus.

0.59.3

20 Nov 23:41
Compare
Choose a tag to compare
  • Fixed numerous bugs when running Datasette behind a proxy with a prefix URL path using the base_url setting. A live demo of this mode is now available at datasette-apache-proxy-demo.datasette.io/prefix/. (#1519, #838)
  • ?column__arraycontains= and ?column__arraynotcontains= table parameters now also work against SQL views. (#448)
  • ?_facet_array=column no longer returns incorrect counts if columns contain the same value more than once.

0.59.2

14 Nov 05:43
Compare
Choose a tag to compare
  • Column names with a leading underscore now work correctly when used as a facet. (#1506)
  • Applying ?_nocol= to a column no longer removes that column from the filtering interface. (#1503)
  • Official Datasette Docker container now uses Debian Bullseye as the base image. (#1497)
  • Datasette is four years old today! Here's the original release announcement from 2017.

0.59.1

24 Oct 22:32
Compare
Choose a tag to compare
  • Fix compatibility with Python 3.10. (#1482)
  • Documentation on how to use Named parameters with integer and floating point values. (#1496)