html_url,id,node_id,tag_name,target_commitish,name,draft,author,author_label,prerelease,created_at,published_at,body,repo,repo_label,reactions https://github.com/dogsheep/dogsheep-beta/releases/tag/0.7.1,31501584,MDc6UmVsZWFzZTMxNTAxNTg0,0.7.1,main,0.7.1,0,9599,simonw,0,2020-09-17T23:13:01Z,2020-09-17T23:13:46Z,- Fixed bug with sort orders displayed for the timeline view. #22,197431109,dogsheep-beta, https://github.com/dogsheep/dogsheep-beta/releases/tag/0.8,31547860,MDc6UmVsZWFzZTMxNTQ3ODYw,0.8,main,0.8,0,9599,simonw,0,2020-09-18T22:40:02Z,2020-09-18T22:41:33Z,"- New `template_debug` configuration setting. #25 - Templates now autoescape by default, use `{{ display.foo|safe }}` if you know you want HTML not to be escaped. - Fixed bug where the wrong template fragment could be used for a row. #24 - Sort order is now persisted when you execute a new search. #23 ",197431109,dogsheep-beta, https://github.com/simonw/sqlite-utils/releases/tag/2.19,31581701,MDc6UmVsZWFzZTMxNTgxNzAx,2.19,main,2.19,0,9599,simonw,0,2020-09-20T22:22:56Z,2020-09-20T22:24:04Z,"- New `sqlite-utils add-foreign-keys` command for [Adding multiple foreign keys at once](https://sqlite-utils.readthedocs.io/en/stable/cli.html#cli-add-foreign-keys). ([#157](https://github.com/simonw/sqlite-utils/issues/157)) - New `table.enable_fts(..., replace=True)` argument for replacing an existing FTS table with a new configuration. ([#160](https://github.com/simonw/sqlite-utils/issues/160)) - New `table.add_foreign_key(..., ignore=True)` argument for ignoring a foreign key if it already exists. ([#112](https://github.com/simonw/sqlite-utils/issues/112))",140912432,sqlite-utils, https://github.com/dogsheep/dogsheep-beta/releases/tag/0.9a0,31582397,MDc6UmVsZWFzZTMxNTgyMzk3,0.9a0,main,0.9a0,0,9599,simonw,1,2020-09-20T23:37:09Z,2020-09-20T23:37:48Z,"- Added by date, as part of developing a timeline view. #16",197431109,dogsheep-beta, https://github.com/simonw/sqlite-utils/releases/tag/2.20,31680849,MDc6UmVsZWFzZTMxNjgwODQ5,2.20,main,2.20,0,9599,simonw,0,2020-09-23T00:35:52Z,2020-09-23T00:37:01Z,"This release introduces two key new capabilities: **transform** ([#114](https://github.com/simonw/sqlite-utils/issues/114)) and **extract** ([#42](https://github.com/simonw/sqlite-utils/issues/42)). ### Transform SQLite's ALTER TABLE has [several documented limitations](https://sqlite.org/lang_altertable.html). The `table.transform()` Python method and `sqlite-utils transform` CLI command work around these limitations using a pattern where a new table with the desired structure is created, data is copied over to it and the old table is then dropped and replaced by the new one. You can use these tools to drop columns, change column types, rename columns, add and remove `NOT NULL` and defaults, remove foreign key constraints and more. See the [transforming tables (CLI)](https://sqlite-utils.readthedocs.io/en/stable/cli.html#cli-transform-table) and [transforming tables (Python library)](https://sqlite-utils.readthedocs.io/en/stable/python-api.html#python-api-transform) documentation for full details of how to use them. ### Extract Sometimes a database table - especially one imported from a CSV file - will contain duplicate data. A `Trees` table may include a `Species` column with only a few dozen unique values, when the table itself contains thousands of rows. The `table.extract()` method and `sqlite-utils extract` commands can extract a column - or multiple columns - out into a separate lookup table, and set up a foreign key relationship from the original table. The Python library [extract() documentation](https://sqlite-utils.readthedocs.io/en/stable/python-api.html#python-api-extract) describes how extraction works in detail, and [Extracting columns into a separate table](https://sqlite-utils.readthedocs.io/en/stable/cli.html#cli-extract) in the CLI documentation includes a detailed example. ### Other changes - The `@db.register_function` decorator can be used to quickly register Python functions as custom SQL functions, see [Registering custom SQL functions](https://sqlite-utils.readthedocs.io/en/stable/python-api.html#python-api-register-function). ([#162](https://github.com/simonw/sqlite-utils/issues/162)) - The `table.rows_where()` method now accepts an optional `select=` argument for specifying which columns should be selected, see [Listing rows](https://sqlite-utils.readthedocs.io/en/stable/python-api.html#python-api-rows).",140912432,sqlite-utils, https://github.com/simonw/sqlite-utils/releases/tag/2.21,31773390,MDc6UmVsZWFzZTMxNzczMzkw,2.21,main,2.21,0,9599,simonw,0,2020-09-24T16:44:30Z,2020-09-24T16:45:44Z,"- `table.extract()` and `sqlite-utils extract` now apply much, much faster - one example operation reduced from twelve minutes to just four seconds! ([#172](https://github.com/simonw/sqlite-utils/issues/172)) - `sqlite-utils extract` no longer shows a progress bar, because it's fast enough not to need one. - New `column_order=` option for `table.transform()` which can be used to alter the order of columns in a table. ([#175](https://github.com/simonw/sqlite-utils/issues/175)) - `sqlite-utils transform --column-order=` option (with a `-o` shortcut) for changing column order. ([#176](https://github.com/simonw/sqlite-utils/issues/176)) - The `table.transform(drop_foreign_keys=)` parameter and the `sqlite-utils transform --drop-foreign-key` option have changed. They now accept just the name of the column rather than requiring all three of the column, other table and other column. This is technically a backwards-incompatible change but I chose not to bump the major version number because the transform feature is so new. ([#177](https://github.com/simonw/sqlite-utils/issues/177)) - The table `.disable_fts()`, `.rebuild_fts()`, `.delete()`, `.delete_where()` and `.add_missing_columns()` methods all now `return self`, which means they can be chained together with other table operations.",140912432,sqlite-utils, https://github.com/simonw/datasette/releases/tag/0.50a0,32072114,MDc6UmVsZWFzZTMyMDcyMTE0,0.50a0,main,0.50a0,0,9599,simonw,1,2020-10-01T23:35:04Z,2020-10-01T23:35:54Z,"- New column action menu - table columns now show a cog icon which provides a contextual menu for that column. ([#981](https://github.com/simonw/datasette/issues/981)) - New `datasette -o` option which opens your browser as soon as Datasette starts up. ([#970](https://github.com/simonw/datasette/issues/970) - `sqlite3.enable_callback_tracebacks(True)` so errors in custom SQL functions will now display tracebacks. ([#891](https://github.com/simonw/datasette/issues/891)) - Fixed two rendering bugs with column headers in portrait mobile view. ([#978](https://github.com/simonw/datasette/issues/978), [#980](https://github.com/simonw/datasette/issues/980))",107914493,datasette, https://github.com/simonw/datasette/releases/tag/0.50a1,32238807,MDc6UmVsZWFzZTMyMjM4ODA3,0.50a1,main,0.50a1,0,9599,simonw,1,2020-10-06T20:50:54Z,2020-10-06T20:52:49Z,"- Column action menu now shows the column type. ([#993](https://github.com/simonw/datasette/issues/993)) - Column action sort links now correctly link to the first page of sorted results. ([#989](https://github.com/simonw/datasette/issues/989)) - [Publishing to Google Cloud Run](https://docs.datasette.io/en/latest/publish.html#publish-cloud-run) documentation now covers Google Cloud SDK options. Thanks, Geoffrey Hing. ([#995](https://github.com/simonw/datasette/pull/995))",107914493,datasette, https://github.com/simonw/datasette/releases/tag/0.50,32384200,MDc6UmVsZWFzZTMyMzg0MjAw,0.50,main,0.50,0,9599,simonw,0,2020-10-09T17:57:55Z,2020-10-09T17:58:27Z,"The key new feature in this release is the **column actions** menu on the table page ([#891](https://github.com/simonw/datasette/issues/891)). This can be used to sort a column in ascending or descending order, facet data by that column or filter the table to just rows that have a value for that column. Plugin authors can use the new [datasette.client](https://docs.datasette.io/en/stable/internals.html#internals-datasette-client) object to make internal HTTP requests from their plugins, allowing them to make use of Datasette's JSON API. ([#943](https://github.com/simonw/datasette/issues/943)) New [Deploying Datasette](https://docs.datasette.io/en/stable/deploying.html#deploying) documentation with guides for deploying Datasette on a Linux server [using systemd](https://docs.datasette.io/en/stable/deploying.html#deploying-systemd) or to hosting providers [that support buildpacks](https://docs.datasette.io/en/stable/deploying.html#deploying-buildpacks). ([#514](https://github.com/simonw/datasette/issues/514), [#997](https://github.com/simonw/datasette/issues/997)) Other improvements in this release: - [Publishing to Google Cloud Run](https://docs.datasette.io/en/stable/publish.html#publish-cloud-run) documentation now covers Google Cloud SDK options. Thanks, Geoffrey Hing. ([#995](https://github.com/simonw/datasette/pull/995)) - New `datasette -o` option which opens your browser as soon as Datasette starts up. ([#970](https://github.com/simonw/datasette/issues/970)) - Datasette now sets `sqlite3.enable_callback_tracebacks(True)` so that errors in custom SQL functions will display tracebacks. ([#891](https://github.com/simonw/datasette/issues/891)) - Fixed two rendering bugs with column headers in portrait mobile view. ([#978](https://github.com/simonw/datasette/issues/978), [#980](https://github.com/simonw/datasette/issues/980)) - New `db.table_column_details(table)` introspection method for retrieving full details of the columns in a specific table, see [Database introspection](https://docs.datasette.io/en/stable/internals.html#internals-database-introspection). - Fixed a routing bug with custom page wildcard templates. ([#996](https://github.com/simonw/datasette/issues/996)) - `datasette publish heroku` now deploys using Python 3.8.6. - New `datasette publish heroku --tar=` option. ([#969](https://github.com/simonw/datasette/issues/969)) - `OPTIONS` requests against HTML pages no longer return a 500 error. ([#1001](https://github.com/simonw/datasette/issues/1001)) - Datasette now supports Python 3.9.",107914493,datasette, https://github.com/simonw/datasette/releases/tag/0.50.1,32395303,MDc6UmVsZWFzZTMyMzk1MzAz,0.50.1,main,0.50.1,0,9599,simonw,0,2020-10-10T00:41:35Z,2020-10-10T00:44:23Z,"- Fixed a bug introduced in 0.50 where the export as JSON/CSV links on the table, row and query pages were broken. (#1010) ",107914493,datasette, https://github.com/simonw/datasette/releases/tag/0.50.2,32397338,MDc6UmVsZWFzZTMyMzk3MzM4,0.50.2,main,0.50.2,0,9599,simonw,0,2020-10-10T03:53:47Z,2020-10-10T03:59:18Z,"* Fixed another bug introduced in 0.50 where column header links on the table page were broken. (#1011) ",107914493,datasette, https://github.com/dogsheep/evernote-to-sqlite/releases/tag/0.1,32428098,MDc6UmVsZWFzZTMyNDI4MDk4,0.1,main,0.1,0,9599,simonw,0,2020-10-11T21:46:09Z,2020-10-11T21:47:39Z,"- Initial release, with support for importing ENEX files.",303218369,evernote-to-sqlite, https://github.com/dogsheep/evernote-to-sqlite/releases/tag/0.2,32429687,MDc6UmVsZWFzZTMyNDI5Njg3,0.2,main,0.2,0,9599,simonw,0,2020-10-12T00:05:21Z,2020-10-12T00:07:24Z,"- Notes now use an ID derived from a hash of their contents. #3 - Date columns are now in ISO format, and indexd. #4 - Notes and resources table now have full-text search configured. #4 - Improved how OCR is stored in the database, only storing the most confident matches. #6",303218369,evernote-to-sqlite, https://github.com/dogsheep/swarm-to-sqlite/releases/tag/0.3.2,32470830,MDc6UmVsZWFzZTMyNDcwODMw,0.3.2,main,0.3.2,0,9599,simonw,0,2020-10-12T20:31:24Z,2020-10-12T20:33:48Z,"- Fix for ""table photos has no column named hasSticker"" bug, thanks @mattiaborsoi. #10 - Switched CI to GitHub Actions.",205429375,swarm-to-sqlite, https://github.com/simonw/sqlite-utils/releases/tag/2.22,32688819,MDc6UmVsZWFzZTMyNjg4ODE5,2.22,main,2.22,0,9599,simonw,0,2020-10-16T19:30:25Z,2020-10-16T19:31:45Z,"- New `--encoding` option for processing CSV and TSV files that use a non-utf-8 encoding, for both the `insert` and `update` commands. ([#182](https://github.com/simonw/sqlite-utils/issues/182)) - The `--load-extension` option is now available to many more commands. ([#137](https://github.com/simonw/sqlite-utils/issues/137)) - `--load-extension=spatialite` can be used to load SpatiaLite from common installation locations, if it is available. ([#136](https://github.com/simonw/sqlite-utils/issues/136)) - Tests now also run against Python 3.9. ([#184](https://github.com/simonw/sqlite-utils/issues/184)) - Passing `pk=[""id""]` now has the same effect as passing `pk=""id""`. ([#181](https://github.com/simonw/sqlite-utils/issues/181))",140912432,sqlite-utils, https://github.com/dogsheep/healthkit-to-sqlite/releases/tag/1.0,32712413,MDc6UmVsZWFzZTMyNzEyNDEz,1.0,main,1.0,0,9599,simonw,0,2020-10-17T21:15:29Z,2020-10-17T21:17:34Z,"- Fixed a bug where export files generated in languages other than English failed to import. #11 - CI now uses GitHub Actions",197882382,healthkit-to-sqlite, https://github.com/dogsheep/dogsheep-beta/releases/tag/0.9,32713381,MDc6UmVsZWFzZTMyNzEzMzgx,0.9,main,0.9,0,9599,simonw,0,2020-10-17T23:01:38Z,2020-10-17T23:03:04Z,"- Facet by date. #16 - Now depends on [Datasette 0.50.2](https://docs.datasette.io/en/stable/changelog.html#v0-50-2) - Uses `datasette.client` and passes through authentication cookies. #28 ",197431109,dogsheep-beta, https://github.com/dogsheep/github-to-sqlite/releases/tag/2.7,32736481,MDc6UmVsZWFzZTMyNzM2NDgx,2.7,main,2.7,0,9599,simonw,0,2020-10-19T05:36:32Z,2020-10-19T05:38:34Z,"- `github-to-sqlite repos` command now takes options `--readme` and `--readme-html`, which write the README or rendered HTML README into the `readme` or `readme_html` columns, respectively. #52 - New `--accept` option for `github-to-sqlite get`. #50",207052882,github-to-sqlite, https://github.com/simonw/datasette/releases/tag/0.51a0,32791115,MDc6UmVsZWFzZTMyNzkxMTE1,0.51a0,main,0.51a0,0,9599,simonw,1,2020-10-20T05:31:14Z,2020-10-20T05:33:01Z,"- Fixed a bunch of issues relating to the [base_url](https://docs.datasette.io/en/latest/config.html#config-base-url) setting. ([#1023](https://github.com/simonw/datasette/issues/1023)) - New `datasette.urls` URL builder for plugins, see [Building URLs within plugins](https://docs.datasette.io/en/latest/writing_plugins.html#writing-plugins-building-urls). ([#904](https://github.com/simonw/datasette/issues/904)) - Removed `--debug` option, which didn't do anything. ([#814](https://github.com/simonw/datasette/issues/814)) - `Link:` HTTP header pagination. ([#1014](https://github.com/simonw/datasette/issues/1014)) - `x` button for clearing filters. ([#1016](https://github.com/simonw/datasette/issues/1016)) - Edit SQL button on canned queries, ([#1019](https://github.com/simonw/datasette/issues/1019)) - `--load-extension=spatialite` shortcut. ([#1028](https://github.com/simonw/datasette/issues/1028))",107914493,datasette, https://github.com/dogsheep/pocket-to-sqlite/releases/tag/0.2.1,32891952,MDc6UmVsZWFzZTMyODkxOTUy,0.2.1,master,0.2.1,0,9599,simonw,0,2020-10-22T00:06:50Z,2020-10-22T00:08:24Z,- Tweaked dependencies for compatibility with new PyPI resolver.,213286752,pocket-to-sqlite, https://github.com/dogsheep/inaturalist-to-sqlite/releases/tag/0.2.1,32891966,MDc6UmVsZWFzZTMyODkxOTY2,0.2.1,master,0.2.1,0,9599,simonw,0,2020-10-22T00:08:29Z,2020-10-22T00:08:58Z,"- Tweaked dependencies for compatibility with new PyPI resolver. ",206202864,inaturalist-to-sqlite, https://github.com/simonw/sqlite-utils/releases/tag/2.23,33188958,MDc6UmVsZWFzZTMzMTg4OTU4,2.23,main,2.23,0,9599,simonw,0,2020-10-28T21:38:10Z,2020-10-28T21:38:54Z,"- `table.m2m(other_table, records)` method now takes any iterable, not just a list or tuple. Thanks, Adam Wolf. ([#189](https://github.com/simonw/sqlite-utils/pull/189)) - `sqlite-utils insert` now displays a progress bar for CSV or TSV imports. ([#173](https://github.com/simonw/sqlite-utils/issues/173)) - New `@db.register_function(deterministic=True)` option for registering deterministic SQLite functions in Python 3.8 or higher. ([#191](https://github.com/simonw/sqlite-utils/issues/191))",140912432,sqlite-utils, https://github.com/simonw/datasette/releases/tag/0.51a1,33253780,MDc6UmVsZWFzZTMzMjUzNzgw,0.51a1,main,0.51a1,0,9599,simonw,1,2020-10-30T05:35:23Z,2020-10-30T05:37:34Z,"- New colour scheme and improved visual design, courtesy of Natalie Downe. ([#1056](https://github.com/simonw/datasette/pull/1056)) - scale-in animation for column action menu. ([#1039](https://github.com/simonw/datasette/issues/1039)) - Wide tables now scroll horizontally. ([#998](https://github.com/simonw/datasette/issues/998)) - Option to pass a list of templates to `.render_template()` is now documented. ([#1045](https://github.com/simonw/datasette/issues/1045)) - New `datasette.urls.static_plugins()` method. ([#1033](https://github.com/simonw/datasette/issues/1033)) - `BLOB` column values can now be downloaded directly from the Datasette UI. ([#1036](https://github.com/simonw/datasette/issues/1036)) - `.csv` exports now link to direct `BLOB` downloads. ([#1034](https://github.com/simonw/datasette/issues/1034)) - `datasette -o` option now opens the most relevant page. ([#976](https://github.com/simonw/datasette/issues/976)) - `datasette --cors` option now enables access to `/database.db` downloads. ([#1057](https://github.com/simonw/datasette/issues/1057)) - Database file downloads now implement cascading permissions, so you can download a database if you have `view-database-download` permission even if you do not have permission to access the Datasette instance. ([#1058](https://github.com/simonw/datasette/issues/1058)) - New documentation on [Designing URLs for your plugin](https://docs.datasette.io/en/latest/writing_plugins.html#writing-plugins-designing-urls). ([#1053](https://github.com/simonw/datasette/issues/1053)) - New navigation menu plus a [menu_links(datasette, actor)](https://docs.datasette.io/en/latest/plugin_hooks.html#plugin-hook-menu-links) plugin hook to customize it. ([#1064](https://github.com/simonw/datasette/issues/1064)) - [table_actions(datasette, actor, database, table)](https://docs.datasette.io/en/latest/plugin_hooks.html#plugin-hook-table-actions) plugin hook for the new table actions menu. ([#1066](https://github.com/simonw/datasette/issues/1066))",107914493,datasette, https://github.com/simonw/datasette/releases/tag/0.51a2,33284522,MDc6UmVsZWFzZTMzMjg0NTIy,0.51a2,main,0.51a2,0,9599,simonw,1,2020-10-30T17:56:02Z,2020-10-30T17:57:53Z,"- New [load_template(template, request, datasette)](https://docs.datasette.io/en/latest/plugin_hooks.html#plugin-hook-load-template) plugin hook. ([#1042](https://github.com/simonw/datasette/issues/1042)) - New [debug-menu](https://docs.datasette.io/en/latest/authentication.html#permissions-debug-menu) permission. ([#1068](https://github.com/simonw/datasette/issues/1068))",107914493,datasette, https://github.com/simonw/datasette/releases/tag/0.51,33311677,MDc6UmVsZWFzZTMzMzExNjc3,0.51,main,0.51,0,9599,simonw,0,2020-10-31T22:24:54Z,2020-10-31T22:29:33Z,"A new visual design, plugin hooks for adding navigation options, better handling of binary data, URL building utility methods and better support for running Datasette behind a proxy. ### New visual design Datasette is no longer white and grey with blue and purple links! [Natalie Downe](https://twitter.com/natbat) has been working on a visual refresh, the first iteration of which is included in this release. ([#1056](https://github.com/simonw/datasette/pull/1056)) ![datasette-0 51](https://user-images.githubusercontent.com/9599/97791267-d9011e80-1b8d-11eb-9b1b-42908266f36f.png) ### Plugins can now add links within Datasette A number of existing Datasette plugins add new pages to the Datasette interface, providig tools for things like [uploading CSVs](https://github.com/simonw/datasette-upload-csvs), [editing table schemas](https://github.com/simonw/datasette-edit-schema) or [configuring full-text search](https://github.com/simonw/datasette-configure-fts). Plugins like this can now link to themselves from other parts of Datasette interface. The [menu_links(datasette, actor)](https://docs.datasette.io/en/stable/plugin_hooks.html#plugin-hook-menu-links) hook ([#1064](https://github.com/simonw/datasette/issues/1064)) lets plugins add links to Datasette's new top-right application menu, and the [table_actions(datasette, actor, database, table)](https://docs.datasette.io/en/stable/plugin_hooks.html#plugin-hook-table-actions) hook ([#1066](https://github.com/simonw/datasette/issues/1066)) adds links to a new ""table actions"" menu on the table page. The demo at [latest.datasette.io](https://latest.datasette.io/) now includes some example plugins. To see the new table actions menu first [sign into that demo as root](https://latest.datasette.io/login-as-root) and then visit the [facetable](https://latest.datasette.io/fixtures/facetable) table to see the new cog icon menu at the top of the page. ### Binary data SQLite tables can contain binary data in `BLOB` columns. Datasette now provides links for users to download this data directly from Datasette, and uses those links to make binary data available from CSV exports. See [Binary data](https://docs.datasette.io/en/stable/binary_data.html#binary) for more details. ([#1036](https://github.com/simonw/datasette/issues/1036) and [#1034](https://github.com/simonw/datasette/issues/1034)). ### URL building The new [datasette.urls](https://docs.datasette.io/en/stable/internals.html#internals-datasette-urls) family of methods can be used to generate URLs to key pages within the Datasette interface, both within custom templates and Datasette plugins. See [Building URLs within plugins](https://docs.datasette.io/en/stable/writing_plugins.html#writing-plugins-building-urls) for more details. ([#904](https://github.com/simonw/datasette/issues/904)) ### Running Datasette behind a proxy The [base_url](https://docs.datasette.io/en/stable/config.html#config-base-url) configuration option is designed to help run Datasette on a specific path behind a proxy - for example if you want to run an instance of Datasette at `/my-datasette/` within your existing site's URL hierarchy, proxied behind nginx or Apache. Support for this configuration option has been greatly improved ([#1023](https://github.com/simonw/datasette/issues/1023)), and guidelines for using it are now available in a new documentation section on [Running Datasette behind a proxy](https://docs.datasette.io/en/stable/deploying.html#deploying-proxy). ([#1027](https://github.com/simonw/datasette/issues/1027)) ### Smaller changes - Wide tables shown within Datasette now scroll horizontally ([#998](https://github.com/simonw/datasette/issues/998)). This is achieved using a new `
` element which may impact the implementation of some plugins (for example [this change to datasette-cluster-map](https://github.com/simonw/datasette-cluster-map/commit/fcb4abbe7df9071c5ab57defd39147de7145b34e)). - New [debug-menu](https://docs.datasette.io/en/stable/authentication.html#permissions-debug-menu) permission. ([#1068](https://github.com/simonw/datasette/issues/1068)) - Removed `--debug` option, which didn't do anything. ([#814](https://github.com/simonw/datasette/issues/814)) - `Link:` HTTP header pagination. ([#1014](https://github.com/simonw/datasette/issues/1014)) - `x` button for clearing filters. ([#1016](https://github.com/simonw/datasette/issues/1016)) - Edit SQL button on canned queries, ([#1019](https://github.com/simonw/datasette/issues/1019)) - `--load-extension=spatialite` shortcut. ([#1028](https://github.com/simonw/datasette/issues/1028)) - scale-in animation for column action menu. ([#1039](https://github.com/simonw/datasette/issues/1039)) - Option to pass a list of templates to `.render_template()` is now documented. ([#1045](https://github.com/simonw/datasette/issues/1045)) - New `datasette.urls.static_plugins()` method. ([#1033](https://github.com/simonw/datasette/issues/1033)) - `datasette -o` option now opens the most relevant page. ([#976](https://github.com/simonw/datasette/issues/976)) - `datasette --cors` option now enables access to `/database.db` downloads. ([#1057](https://github.com/simonw/datasette/issues/1057)) - Database file downloads now implement cascading permissions, so you can download a database if you have `view-database-download` permission even if you do not have permission to access the Datasette instance. ([#1058](https://github.com/simonw/datasette/issues/1058)) - New documentation on [Designing URLs for your plugin](https://docs.datasette.io/en/stable/writing_plugins.html#writing-plugins-designing-urls). ([#1053](https://github.com/simonw/datasette/issues/1053))",107914493,datasette, https://github.com/simonw/datasette/releases/tag/0.51.1,33314301,MDc6UmVsZWFzZTMzMzE0MzAx,0.51.1,main,0.51.1,0,9599,simonw,0,2020-11-01T03:33:47Z,2020-11-01T03:34:36Z,- Improvements to the new [Binary data](https://docs.datasette.io/en/stable/binary_data.html#binary) documentation page.,107914493,datasette, https://github.com/simonw/sqlite-utils/releases/tag/3.0a0,33591216,MDc6UmVsZWFzZTMzNTkxMjE2,3.0a0,main,3.0a0,0,9599,simonw,1,2020-11-07T01:22:24Z,2020-11-07T01:24:43Z,"This release introduces a new `sqlite-utils search` command for searching tables, see [Executing searches](https://sqlite-utils.readthedocs.io/en/latest/cli.html#cli-search). ([#192](https://github.com/simonw/sqlite-utils/issues/192)) The `table.search()` method has been redesigned, see [Searching with table.search()](https://sqlite-utils.readthedocs.io/en/latest/python-api.html#python-api-fts-search). ([#197](https://github.com/simonw/sqlite-utils/issues/197)) The release includes minor backwards-incompatible changes, hence the version bump to 3.0. Those changes, which should not affect most users, are: - The `-c` shortcut option for outputting CSV is no longer available. The full `--csv` option is required instead. - The `-f` shortcut for `--fmt` has also been removed - use `--fmt`. - The `table.search()` method now defaults to sorting by relevance, not sorting by `rowid`. ([#198](https://github.com/simonw/sqlite-utils/issues/198)) - The `table.search()` method now returns a generator over a list of Python dictionaries. It previously returned a list of tuples. Also in this release: - The `query`, `tables`, `rows` and `search` CLI commands now accept a new `--tsv` option which outputs the results in TSV. ([#193](https://github.com/simonw/sqlite-utils/issues/193)) - A new `table.virtual_table_using` property reveals if a table is a virtual table, and returns the upper case type of virtual table (e.g. `FTS4` or `FTS5`) if it is. It returns `None` if the table is not a virtual table. ([#196](https://github.com/simonw/sqlite-utils/issues/196)) - The new `table.search_sql()` method returns the SQL for searching a table, see [Building SQL queries with table.search_sql()](https://sqlite-utils.readthedocs.io/en/latest/python-api.html#python-api-fts-search-sql). - `sqlite-utils rows` now accepts multiple optional `-c` parameters specifying the columns to return. ([#200](https://github.com/simonw/sqlite-utils/issues/200))",140912432,sqlite-utils, https://github.com/simonw/sqlite-utils/releases/tag/3.0,33615120,MDc6UmVsZWFzZTMzNjE1MTIw,3.0,main,3.0,0,9599,simonw,0,2020-11-08T17:23:38Z,2020-11-08T17:24:27Z,"This release introduces a new `sqlite-utils search` command for searching tables, see [Executing searches](https://sqlite-utils.readthedocs.io/en/latest/cli.html#cli-search). ([#192](https://github.com/simonw/sqlite-utils/issues/192)) The `table.search()` method has been redesigned, see [Searching with table.search()](https://sqlite-utils.readthedocs.io/en/latest/python-api.html#python-api-fts-search). ([#197](https://github.com/simonw/sqlite-utils/issues/197)) The release includes minor backwards-incompatible changes, hence the version bump to 3.0. Those changes, which should not affect most users, are: - The `-c` shortcut option for outputting CSV is no longer available. The full `--csv` option is required instead. - The `-f` shortcut for `--fmt` has also been removed - use `--fmt`. - The `table.search()` method now defaults to sorting by relevance, not sorting by `rowid`. ([#198](https://github.com/simonw/sqlite-utils/issues/198)) - The `table.search()` method now returns a generator over a list of Python dictionaries. It previously returned a list of tuples. Also in this release: - The `query`, `tables`, `rows` and `search` CLI commands now accept a new `--tsv` option which outputs the results in TSV. ([#193](https://github.com/simonw/sqlite-utils/issues/193)) - A new `table.virtual_table_using` property reveals if a table is a virtual table, and returns the upper case type of virtual table (e.g. `FTS4` or `FTS5`) if it is. It returns `None` if the table is not a virtual table. ([#196](https://github.com/simonw/sqlite-utils/issues/196)) - The new `table.search_sql()` method returns the SQL for searching a table, see [Building SQL queries with table.search_sql()](https://sqlite-utils.readthedocs.io/en/latest/python-api.html#python-api-fts-search-sql). - `sqlite-utils rows` now accepts multiple optional `-c` parameters specifying the columns to return. ([#200](https://github.com/simonw/sqlite-utils/issues/200)) Changes since the 3.0a0 alpha release: - The `sqlite-utils search` command now defaults to returning every result, unless you add a `--limit 20` option. - The `sqlite-utils search -c` and `table.search(columns=[])` options are now fully respected. ([#201](https://github.com/simonw/sqlite-utils/issues/201))",140912432,sqlite-utils, https://github.com/simonw/datasette/releases/tag/0.52,34539374,MDc6UmVsZWFzZTM0NTM5Mzc0,0.52,main,0.52,0,9599,simonw,0,2020-11-28T23:54:35Z,2020-11-28T23:57:12Z,"This release includes a number of changes relating to an internal rebranding effort: Datasette's **configuration** mechanism (things like `datasette --config default_page_size:10`) has been renamed to **settings**. - New `--setting default_page_size 10` option as a replacement for `--config default_page_size:10` (note the lack of a colon). The `--config` option is deprecated but will continue working until Datasette 1.0. ([#992](https://github.com/simonw/datasette/issues/992)) - The `/-/config` introspection page is now `/-/settings`, and the previous page redirects to the new one. ([#1103](https://github.com/simonw/datasette/issues/1103)) - The `config.json` file in [Configuration directory mode](https://docs.datasette.io/en/stable/settings.html#config-dir) is now called `settings.json`. ([#1104](https://github.com/simonw/datasette/issues/1104)) - The undocumented `datasette.config()` internal method has been replaced by a documented [.setting(key)](https://docs.datasette.io/en/stable/internals.html#datasette-setting) method. ([#1107](https://github.com/simonw/datasette/issues/1107)) Also in this release: - New plugin hook: [database_actions(datasette, actor, database)](https://docs.datasette.io/en/stable/plugin_hooks.html#plugin-hook-database-actions), which adds menu items to a new cog menu shown at the top of the database page. ([#1077](https://github.com/simonw/datasette/issues/1077)) - `datasette publish cloudrun` has a new `--apt-get-install` option that can be used to install additional Ubuntu packages as part of the deployment. This is useful for deploying the new [datasette-ripgrep plugin](https://github.com/simonw/datasette-ripgrep). ([#1110](https://github.com/simonw/datasette/issues/1110)) - Swept the documentation to remove words that minimize involved difficulty. ([#1089](https://github.com/simonw/datasette/issues/1089)) And some bug fixes: - Foreign keys linking to rows with blank label columns now display as a hyphen, allowing those links to be clicked. ([#1086](https://github.com/simonw/datasette/issues/1086)) - Fixed bug where row pages could sometimes 500 if the underlying queries exceeded a time limit. ([#1088](https://github.com/simonw/datasette/issues/1088)) - Fixed a bug where the table action menu could appear partially obscured by the edge of the page. ([#1084](https://github.com/simonw/datasette/issues/1084))",107914493,datasette, https://github.com/simonw/datasette/releases/tag/0.52.1,34551688,MDc6UmVsZWFzZTM0NTUxNjg4,0.52.1,main,0.52.1,0,9599,simonw,0,2020-11-29T19:38:29Z,2020-11-29T19:39:52Z,"- Documentation on [Testing plugins](https://docs.datasette.io/en/stable/testing_plugins.html#testing-plugins) now recommends using [datasette.client](https://docs.datasette.io/en/stable/internals.html#internals-datasette-client). ([#1102](https://github.com/simonw/datasette/issues/1102)) - Fix bug where compound foreign keys produced broken links. ([#1098](https://github.com/simonw/datasette/issues/1098)) - `datasette --load-module=spatialite` now also checks for `/usr/local/lib/mod_spatialite.so`. Thanks, Dan Peterson. ([#1114](https://github.com/simonw/datasette/issues/1114))",107914493,datasette, https://github.com/dogsheep/github-to-sqlite/releases/tag/2.8,34556308,MDc6UmVsZWFzZTM0NTU2MzA4,2.8,main,2.8,0,9599,simonw,0,2020-11-30T01:40:37Z,2020-11-30T01:41:38Z,"- New command: `github-to-sqlite workflows`, for fetching the YAML configuration used by [GitHub Actions](https://github.com/features/actions) workflows and using it to populate new `workflows`, `jobs` and `steps` tables. #54 - New command: `github-to-sqlite pull-requests` - thanks, @adamjonas! #48 - `github-to-sqlite issues --issue` option can now be used multiple times.",207052882,github-to-sqlite, https://github.com/dogsheep/github-to-sqlite/releases/tag/2.8.1,34558928,MDc6UmVsZWFzZTM0NTU4OTI4,2.8.1,main,2.8.1,0,9599,simonw,0,2020-11-30T04:16:41Z,2020-11-30T04:18:21Z,"- README now links to example database tables for each command. #56 - Added documentation for `github-to-sqlite releases`.",207052882,github-to-sqlite, https://github.com/simonw/datasette/releases/tag/0.52.2,34725716,MDc6UmVsZWFzZTM0NzI1NzE2,0.52.2,main,0.52.2,0,9599,simonw,0,2020-12-03T00:57:40Z,2020-12-03T00:58:43Z,"- Generated columns from SQLite 3.31.0 or higher are now correctly displayed. ([#1116](https://github.com/simonw/datasette/issues/1116)) - Error message if you attempt to open a SpatiaLite database now suggests using `--load-extension=spatialite` if it detects that the extension is available in a common location. ([#1115](https://github.com/simonw/datasette/issues/1115)) - `OPTIONS` requests against the `/database` page no longer raise a 500 error. ([#1100](https://github.com/simonw/datasette/issues/1100)) - Databases larger than 32MB that are published to Cloud Run can now be downloaded. ([#749](https://github.com/simonw/datasette/issues/749)) - Fix for misaligned cog icon on table and database pages. Thanks, Abdussamet Koçak. ([#1121](https://github.com/simonw/datasette/issues/1121))",107914493,datasette, https://github.com/simonw/datasette/releases/tag/0.52.3,34782337,MDc6UmVsZWFzZTM0NzgyMzM3,0.52.3,main,0.52.3,0,9599,simonw,0,2020-12-03T19:07:05Z,2020-12-03T19:08:29Z,- Fixed bug where static assets would 404 for Datasette installed on ARM Amazon Linux. ([#1124](https://github.com/simonw/datasette/issues/1124>)),107914493,datasette, https://github.com/simonw/datasette/releases/tag/0.52.4,34882011,MDc6UmVsZWFzZTM0ODgyMDEx,0.52.4,main,0.52.4,0,9599,simonw,0,2020-12-05T19:42:42Z,2020-12-05T19:42:57Z,"- Show [pysqlite3](https://github.com/coleifer/pysqlite3) version on `/-/versions`, if installed. ([#1125](https://github.com/simonw/datasette/issues/1125)) - Errors output by Datasette (e.g. for invalid SQL queries) now go to `stderr`, not `stdout`. ([#1131](https://github.com/simonw/datasette/issues/1131)) - Fix for a startup error on windows caused by unnecessary `from os import EX_CANTCREAT` - thanks, Abdussamet Koçak. ([#1094](https://github.com/simonw/datasette/issues/1094))",107914493,datasette, https://github.com/simonw/datasette/releases/tag/0.52.5,35063580,MDc6UmVsZWFzZTM1MDYzNTgw,0.52.5,0.52.x,0.52.5,0,9599,simonw,0,2020-12-09T20:03:44Z,2020-12-09T20:10:23Z,- Fix for error caused by combining the `_searchmode=raw` and `?_search_COLUMN` parameters. ([#1134](https://github.com/simonw/datasette/issues/1134)),107914493,datasette, https://github.com/simonw/datasette/releases/tag/0.53,35131848,MDc6UmVsZWFzZTM1MTMxODQ4,0.53,main,0.53,0,9599,simonw,0,2020-12-11T01:44:36Z,2020-12-11T01:46:44Z,"Datasette has an official project website now, at . This release mainly updates the documentation to reflect the new site. - New `?column__arraynotcontains=` table filter. ([#1132](https://github.com/simonw/datasette/issues/1132)) - `datasette serve` has a new `--create` option, which will create blank database files if they do not already exist rather than exiting with an error. ([#1135](https://github.com/simonw/datasette/issues/1135)) - New `?_header=off` option for CSV export which omits the CSV header row, [documented here](https://docs.datasette.io/en/stable/csv_export.html#csv-export-url-parameters). ([#1133](https://github.com/simonw/datasette/issues/1133)) - ""Powered by Datasette"" link in the footer now links to . ([#1138](https://github.com/simonw/datasette/issues/1138)) - Project news no longer lives in the README - it can now be found at . ([#1137](https://github.com/simonw/datasette/issues/1137))",107914493,datasette, https://github.com/simonw/sqlite-utils/releases/tag/3.1,35200016,MDc6UmVsZWFzZTM1MjAwMDE2,3.1,main,3.1,0,9599,simonw,0,2020-12-13T07:30:59Z,2020-12-13T07:31:40Z,"- New command: `sqlite-utils analyze-tables my.db` outputs useful information about the table columns in the database, such as the number of distinct values and how many rows are null. See [Analyzing tables](https://sqlite-utils.readthedocs.io/en/stable/cli.html#cli-analyze-tables) for documentation. ([#207](https://github.com/simonw/sqlite-utils/issues/207)) - New `table.analyze_column(column)` Python method used by the `analyze-tables` command - see [Analyzing a column](https://sqlite-utils.readthedocs.io/en/stable/python-api.html#python-api-analyze-column). - The `table.update()` method now correctly handles values that should be stored as JSON. Thanks, Andreas Madsack. ([#204](https://github.com/simonw/sqlite-utils/pull/204))",140912432,sqlite-utils, https://github.com/dogsheep/github-to-sqlite/releases/tag/2.8.2,35374715,MDc6UmVsZWFzZTM1Mzc0NzE1,2.8.2,main,2.8.2,0,9599,simonw,0,2020-12-16T19:20:36Z,2020-12-16T19:21:58Z,"- `--readme` now stores `null` if the README file does not exist, rather than throwing an error. #57 - README HTML is rewritten to fix broken internal links, e.g. for a table of contents. #58 ",207052882,github-to-sqlite, https://github.com/dogsheep/dogsheep-beta/releases/tag/0.10,35382391,MDc6UmVsZWFzZTM1MzgyMzkx,0.10,main,0.10,0,9599,simonw,0,2020-12-16T21:27:04Z,2020-12-16T21:28:13Z,"- Now depends on [sqlite-utils](https://github.com/simonw/sqlite-utils) >= 3.0. #30 - The user's original search term is now passed to the `display_sql` SQL query as the `:q` parameter. #29 ",197431109,dogsheep-beta, https://github.com/dogsheep/dogsheep-beta/releases/tag/0.10.1,35520026,MDc6UmVsZWFzZTM1NTIwMDI2,0.10.1,main,0.10.1,0,9599,simonw,0,2020-12-19T06:18:01Z,2020-12-19T06:19:13Z,- Fix for error if search query contains hyphens such as `github-to-sqlite`. #31 ,197431109,dogsheep-beta, https://github.com/simonw/sqlite-utils/releases/tag/3.1.1,35902315,MDc6UmVsZWFzZTM1OTAyMzE1,3.1.1,main,3.1.1,0,9599,simonw,0,2021-01-01T23:56:20Z,2021-01-01T23:57:07Z,"- Fixed failing test caused by `optimize` sometimes creating larger database files. ([#209](https://github.com/simonw/sqlite-utils/issues/209)) - Documentation now lives on - README now includes `brew install sqlite-utils` installation method.",140912432,sqlite-utils, https://github.com/simonw/sqlite-utils/releases/tag/3.2,35930040,MDc6UmVsZWFzZTM1OTMwMDQw,3.2,main,3.2,0,9599,simonw,0,2021-01-03T21:15:26Z,2021-01-03T21:17:37Z,"This release introduces a new mechanism for speeding up `count(*)` queries using cached table counts, stored in a `_counts` table and updated by triggers. This mechanism is described in [Cached table counts using triggers](https://sqlite-utils.datasette.io/en/stable/python-api.html#python-api-cached-table-counts), and can be enabled using Python API methods or the new `enable-counts` CLI command. ([#212](https://github.com/simonw/sqlite-utils/issues/212)) - `table.enable_counts()` method for enabling these triggers on a specific table. - `db.enable_counts()` method for enabling triggers on every table in the database. ([#213](https://github.com/simonw/sqlite-utils/issues/213)) - New `sqlite-utils enable-counts my.db` command for enabling counts on all or specific tables, see [Enabling cached counts](https://sqlite-utils.datasette.io/en/stable/cli.html#cli-enable-counts). ([#214](https://github.com/simonw/sqlite-utils/issues/214)) - New `sqlite-utils triggers` command for listing the triggers defined for a database or specific tables, see [Listing triggers](https://sqlite-utils.datasette.io/en/stable/cli.html#cli-triggers). ([#218](https://github.com/simonw/sqlite-utils/issues/218)) - New `db.use_counts_table` property which, if `True`, causes `table.count` to read from the `_counts` table. ([#215](https://github.com/simonw/sqlite-utils/issues/215)) - `table.has_counts_triggers` property revealing if a table has been configured with the new `_counts` database triggers. - `db.reset_counts()` method and `sqlite-utils reset-counts` command for resetting the values in the `_counts` table. ([#219](https://github.com/simonw/sqlite-utils/issues/219)) - The previously undocumented `db.escape()` method has been renamed to `db.quote()` and is now covered by the documentation: [Quoting strings for use in SQL](https://sqlite-utils.datasette.io/en/stable/python-api.html#python-api-quote). ([#217](https://github.com/simonw/sqlite-utils/issues/217)) - New `table.triggers_dict` and `db.triggers_dict` introspection properties. ([#211](https://github.com/simonw/sqlite-utils/issues/211), [#216](https://github.com/simonw/sqlite-utils/issues/216)) - `sqlite-utils insert` now shows a more useful error message for invalid JSON. ([#206](https://github.com/simonw/sqlite-utils/issues/206))",140912432,sqlite-utils, https://github.com/simonw/sqlite-utils/releases/tag/3.2.1,36307444,MDc6UmVsZWFzZTM2MzA3NDQ0,3.2.1,main,3.2.1,0,9599,simonw,0,2021-01-12T23:22:53Z,2021-01-12T23:23:25Z,- Fixed a bug where `.add_missing_columns()` failed to take case insensitive column names into account. ([#221](https://github.com/simonw/sqlite-utils/issues/221)),140912432,sqlite-utils, https://github.com/simonw/sqlite-utils/releases/tag/3.3,36530216,MDc6UmVsZWFzZTM2NTMwMjE2,3.3,main,3.3,0,9599,simonw,0,2021-01-18T04:28:24Z,2021-01-18T04:29:48Z,- The `table.m2m()` method now accepts an optional `alter=True` argument to specify that any missing columns should be added to the referenced table. See [Working with many-to-many relationships](https://sqlite-utils.datasette.io/en/stable/python-api.html#python-api-m2m). ([#222](https://github.com/simonw/sqlite-utils/issues/222)),140912432,sqlite-utils, https://github.com/dogsheep/swarm-to-sqlite/releases/tag/0.3.3,36530359,MDc6UmVsZWFzZTM2NTMwMzU5,0.3.3,main,0.3.3,0,9599,simonw,0,2021-01-18T04:34:56Z,2021-01-18T04:36:03Z,- Fixed bug where tool could crash with an error about missing columns. #11,205429375,swarm-to-sqlite, https://github.com/simonw/datasette/releases/tag/0.54a0,36623336,MDc6UmVsZWFzZTM2NjIzMzM2,0.54a0,main,0.54a0,0,9599,simonw,1,2021-01-19T20:50:12Z,2021-01-19T20:51:13Z,"**Alpha release**. Release notes in progress. - Improved support for named in-memory databases. ([#1151](https://github.com/simonw/datasette/issues/1151)) - New `_internal` in-memory database tracking attached databases, tables and columns. ([#1150](https://github.com/simonw/datasette/issues/1150)) - Support for JavaScript modules. ([#1186](https://github.com/simonw/datasette/issues/1186), [#1187](https://github.com/simonw/datasette/issues/1187))",107914493,datasette, https://github.com/simonw/datasette/releases/tag/0.54,36871901,MDc6UmVsZWFzZTM2ODcxOTAx,0.54,main,0.54,0,9599,simonw,0,2021-01-25T17:35:06Z,2021-01-25T17:36:30Z,"The two big new features in this release are the `_internal` SQLite in-memory database storing details of all connected databases and tables, and support for JavaScript modules in plugins and additional scripts. For additional commentary on this release, see [Datasette 0.54, the annotated release notes](https://simonwillison.net/2021/Jan/25/datasette/). ### The _internal database As part of ongoing work to help Datasette handle much larger numbers of connected databases and tables (see [Datasette Library](https://github.com/simonw/datasette/issues/417)) Datasette now maintains an in-memory SQLite database with details of all of the attached databases, tables, columns, indexes and foreign keys. ([#1150](https://github.com/simonw/datasette/issues/1150)) This will support future improvements such as a searchable, paginated homepage of all available tables. You can explore an example of this database by [signing in as root](https://latest.datasette.io/login-as-root) to the `latest.datasette.io` demo instance and then navigating to [latest.datasette.io/_internal](https://latest.datasette.io/_internal). Plugins can use these tables to introspect attached data in an efficient way. Plugin authors should note that this is not yet considered a stable interface, so any plugins that use this may need to make changes prior to Datasette 1.0 if the `_internal` table schemas change. ### Named in-memory database support As part of the work building the `_internal` database, Datasette now supports named in-memory databases that can be shared across multiple connections. This allows plugins to create in-memory databases which will persist data for the lifetime of the Datasette server process. ([#1151](https://github.com/simonw/datasette/issues/1151)) The new `memory_name=` parameter to the [Database class](https://docs.datasette.io/en/stable/internals.html#internals-database) can be used to create named, shared in-memory databases. ### JavaScript modules [JavaScript modules](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules) were introduced in ECMAScript 2015 and provide native browser support for the `import` and `export` keywords. To use modules, JavaScript needs to be included in `