github
html_url | id | node_id | tag_name | target_commitish | name | draft | author | prerelease | created_at | published_at | body | repo | reactions |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
https://github.com/simonw/datasette/releases/tag/0.12 | 8546575 | MDc6UmVsZWFzZTg1NDY1NzU= | 0.12 | main | Datasette 0.12 | 0 | 9599 | 0 | 2017-11-16T15:37:46Z | 2017-11-16T16:01:35Z | - Added `__version__`, now displayed as tooltip in page footer (#108). - Added initial docs, including a changelog (#99). - Turned on auto-escaping in Jinja. - Added a UI for editing named parameters (#96). You can now construct a custom SQL statement using SQLite named parameters (e.g. `:name`) and datasette will display form fields for editing those parameters. [Here's an example](https://australian-dogs.now.sh/australian-dogs-3ba9628?sql=select+name%2C+count%28*%29+as+n+from+%28%0D%0A%0D%0Aselect+upper%28%22Animal+name%22%29+as+name+from+%5BAdelaide-City-Council-dog-registrations-2013%5D+where+Breed+like+%3Abreed%0D%0A%0D%0Aunion+all%0D%0A%0D%0Aselect+upper%28Animal_Name%29+as+name+from+%5BAdelaide-City-Council-dog-registrations-2014%5D+where+Breed_Description+like+%3Abreed%0D%0A%0D%0Aunion+all+%0D%0A%0D%0Aselect+upper%28Animal_Name%29+as+name+from+%5BAdelaide-City-Council-dog-registrations-2015%5D+where+Breed_Description+like+%3Abreed%0D%0A%0D%0Aunion+all%0D%0A%0D%0Aselect+upper%28%22AnimalName%22%29+as+name+from+%5BCity-of-Port-Adelaide-Enfield-Dog_Registrations_2016%5D+where+AnimalBreed+like+%3Abreed%0D%0A%0D%0Aunion+all%0D%0A%0D%0Aselect+upper%28%22Animal+Name%22%29+as+name+from+%5BMitcham-dog-registrations-2015%5D+where+Breed+like+%3Abreed%0D%0A%0D%0Aunion+all%0D%0A%0D%0Aselect+upper%28%22DOG_NAME%22%29+as+name+from+%5Bburnside-dog-registrations-2015%5D+where+DOG_BREED+like+%3Abreed%0D%0A%0D%0Aunion+all+%0D%0A%0D%0Aselect+upper%28%22Animal_Name%22%29+as+name+from+%5Bcity-of-playford-2015-dog-registration%5D+where+Breed_Description+like+%3Abreed%0D%0A%0D%0Aunion+all%0D%0A%0D%0Aselect+upper%28%22Animal+Name%22%29+as+name+from+%5Bcity-of-prospect-dog-registration-details-2016%5D+where%22Breed+Description%22+like+%3Abreed%0D%0A%0D%0A%29+group+by+name+order+by+n+desc%3B&breed=pug) which lets you see the most popular names for dogs of different species registered through various dog registration schemes in Australia. - Pin to specific Jinja version. (#100). - Default to 127.0.0.1 n… | 107914493 | |
https://github.com/simonw/datasette/releases/tag/0.13 | 8652546 | MDc6UmVsZWFzZTg2NTI1NDY= | 0.13 | main | Datasette 0.13: foreign key, search and filters | 0 | 9599 | 0 | 2017-11-25T03:33:39Z | 2017-11-25T03:44:46Z | # 0.13 (2017-11-24) - Search now applies to current filters. Combined search into the same form as filters. Closes [\#133](https://github.com/simonw/datasette/issues/133) - Much tidier design for table view header. Closes [\#147](https://github.com/simonw/datasette/issues/147) - Added `?column__not=blah` filter. Closes [\#148](https://github.c) - Row page now resolves foreign keys. Closes [\#132]() - Further tweaks to select/input filter styling. Refs [\#86]() - thanks for the help, @natbat\! - Show linked foreign key in table cells. - Added UI for editing table filters. Refs [\#86]() - Hide FTS-created tables on index pages. Closes [\#129]() - Add publish to heroku support \[Jacob Kaplan-Moss\] `datasette publish heroku mydb.db` Pull request [\#104]() - Initial implementation of `?_group_count=column`. URL shortcut for counting rows grouped by one or more columns. `?_group_count=column1&_group_count=column2` works as well. SQL generated looks like this: select "qSpecies", count(*) as "count" from Street_Tree_List group by "qSpecies" order by "count" desc limit 100 Or for two columns like this: select "qSpecies", "qSiteInfo", count(*) as "count" from Street_Tree_List group by "qSpecies", "qSiteInfo" order by "count" desc limit 100 Refs [\#44]() - Added `--build=master` option to datasette publish and package. The `datasette publish` and `datasette package` commands both now accept an optional `--build` argument. If provided, this can be used to specify a branch published to GitHub that should be built into the container. This makes it easier to test code that has not yet been officially released to PyPI, e.g.: datasette publish now mydb.db --branch=master … | 107914493 | |
https://github.com/simonw/datasette/releases/tag/0.14 | 8841695 | MDc6UmVsZWFzZTg4NDE2OTU= | 0.14 | main | Datasette 0.14: customization edition | 0 | 9599 | 0 | 2017-12-10T01:33:24Z | 2017-12-10T01:41:14Z | The theme of this release is customization: Datasette now allows every aspect of its presentation [to be customized](http://datasette.readthedocs.io/en/latest/custom_templates.html) either using additional CSS or by providing entirely new templates. Datasette's [metadata.json format](http://datasette.readthedocs.io/en/latest/metadata.html) has also been expanded, to allow per-database and per-table metadata. A new `datasette skeleton` command can be used to generate a skeleton JSON file ready to be filled in with per-database and per-table details. The `metadata.json` file can also be used to define [canned queries](http://datasette.readthedocs.io/en/latest/sql_queries.html#canned-queries), as a more powerful alternative to SQL views. - `extra_css_urls`/`extra_js_urls` in metadata A mechanism in the `metadata.json` format for adding custom CSS and JS urls. Create a `metadata.json` file that looks like this: { "extra_css_urls": [ "https://simonwillison.net/static/css/all.bf8cd891642c.css" ], "extra_js_urls": [ "https://code.jquery.com/jquery-3.2.1.slim.min.js" ] } Then start datasette like this: datasette mydb.db --metadata=metadata.json The CSS and JavaScript files will be linked in the `<head>` of every page. You can also specify a SRI (subresource integrity hash) for these assets: { "extra_css_urls": [ { "url": "https://simonwillison.net/static/css/all.bf8cd891642c.css", "sri": "sha384-9qIZekWUyjCyDIf2YK1FRoKiPJq4PHt6tp/ulnuuyRBvazd0hG7pWbE99zvwSznI" } ], "extra_js_urls": [ { "url": "https://code.jquery.com/jquery-3.2.1.slim.min.js", "sri": "sha256-k2WSCIexGzOj3Euiig+TlR8gA0EmPjuc79OEeY5L45g=" } ] } … | 107914493 | |
https://github.com/simonw/datasette/releases/tag/0.15 | 10458641 | MDc6UmVsZWFzZTEwNDU4NjQx | 0.15 | main | Datasette 0.15: sort by column | 0 | 9599 | 0 | 2018-04-09T15:48:24Z | 2018-04-09T15:55:29Z | The biggest new feature in this release is the ability to sort by column. On the table page the column headers can now be clicked to apply sort (or descending sort), or you can specify `?_sort=column` or `?_sort_desc=column` directly in the URL. You can try this feature out on [this fivethirtyeight data](https://fivethirtyeight.datasettes.com/fivethirtyeight/congress-age%2Fcongress-terms) about the ages of different US politicians. - `table_rows` =\> `table_rows_count`, `filtered_table_rows` =\> `filtered_table_rows_count` Renamed properties. Closes [\#194](https://github.com/simonw/datasette/issues/194) - New `sortable_columns` option in `metadata.json` to control sort options. You can now explicitly set which columns in a table can be used for sorting using the `_sort` and `_sort_desc` arguments using `metadata.json`: { "databases": { "database1": { "tables": { "example_table": { "sortable_columns": [ "height", "weight" ] } } } } } Refs [\#189](https://github.com/simonw/datasette/issues/189) - Column headers now link to sort/desc sort - refs [\#189](https://github.com/simonw/datasette/issues/189) - `_sort` and `_sort_desc` parameters for table views Allows for paginated sorted results based on a specified column. Refs [\#189](https://github.com/simonw/datasette/issues/189) - Total row count now correct even if `_next` applied - Use .custom\_sql() for \_group\_count implementation (refs [\#150](https://github.com/simonw/datasette/issues/150)) - Make HTML title more readable in query template ([\#180](https://github.com/simonw/datasette/issues/180)) \[Ryan Pitts\] - New `?_shape=objects/object/lists` param for JSON API ([\… | 107914493 | |
https://github.com/simonw/datasette/releases/tag/0.16 | 10542772 | MDc6UmVsZWFzZTEwNTQyNzcy | 0.16 | main | Datasette 0.16: sort on mobile, better error handling | 0 | 9599 | 0 | 2018-04-13T18:28:55Z | 2018-04-13T21:10:53Z | - Better mechanism for handling errors; 404s for missing table/database New error mechanism closes [#193](https://github.com/simonw/datasette/issues/193) 404s for missing tables/databases closes [#184](https://github.com/simonw/datasette/issues/184) - long\_description in markdown for the new PyPI - Hide Spatialite system tables. \[Russ Garrett\] - Allow `explain select` / `explain query plan select` [#201](https://github.com/simonw/datasette/issues/201) - Datasette inspect now finds primary\_keys [#195](https://github.com/simonw/datasette/issues/195) - Ability to sort using form fields (for mobile portrait mode) [#199](https://github.com/simonw/datasette/issues/199) We now display sort options as a select box plus a descending checkbox, which means you can apply sort orders even in portrait mode on a mobile phone where the column headers are hidden. | 107914493 | |
https://github.com/simonw/datasette/releases/tag/0.18 | 10547491 | MDc6UmVsZWFzZTEwNTQ3NDkx | 0.18 | main | Datasette 0.18: units | 0 | 9599 | 0 | 2018-04-14T15:36:10Z | 2018-04-14T15:45:11Z | This release introduces [support for units](http://datasette.readthedocs.io/en/latest/metadata.html#specifying-units-for-a-column), contributed by Russ Garrett ([\#203](https://github.com/simonw/datasette/issues/203)). You can now optionally specify the units for specific columns using `metadata.json`. Once specified, units will be displayed in the HTML view of your table. They also become available for use in filters - if a column is configured with a unit of distance, you can request all rows where that column is less than 50 meters or more than 20 feet [for example](https://wtr-api.herokuapp.com/wtr-663ea99/license_frequency?frequency__gt=50GHz&height__lt=50ft). - Link foreign keys which don't have labels. \[Russ Garrett\] This renders unlabeled FKs as simple links. Also includes bonus fixes for two minor issues: - In foreign key link hrefs the primary key was escaped using HTML escaping rather than URL escaping. This broke some non-integer PKs. - Print tracebacks to console when handling 500 errors. - Fix SQLite error when loading rows with no incoming FKs. \[Russ Garrett\] This fixes `ERROR: conn=<sqlite3.Connection object at 0x10bbb9f10>, sql = 'select ', params = {'id': '1'}` caused by an invalid query when loading incoming FKs. The error was ignored due to async but it still got printed to the console. - Allow custom units to be registered with Pint. \[Russ Garrett\] - Support units in filters. \[Russ Garrett\] - Tidy up units support. \[Russ Garrett\] - Add units to exported JSON - Units key in metadata skeleton - Docs - Initial units support. \[Russ Garrett\] Add support for specifying units for a column in `metadata.json` and rendering them on display using [pint](https://pint.readthedocs.io/en/latest/) | 107914493 | |
https://github.com/simonw/datasette/releases/tag/0.19 | 10575542 | MDc6UmVsZWFzZTEwNTc1NTQy | 0.19 | main | Datasette 0.19: plugins preview | 0 | 9599 | 0 | 2018-04-17T02:12:21Z | 2018-04-17T02:21:51Z | This is the first preview of the new Datasette plugins mechanism. Only two plugin hooks are available so far - for custom SQL functions and custom template filters. There's plenty more to come - read [the documentation](https://datasette.readthedocs.io/en/latest/plugins.html) and get involved in [the tracking ticket](https://github.com/simonw/datasette/issues/14) if you have feedback on the direction so far. - Fix for `_sort_desc=sortable_with_nulls` test, refs [#216](https://github.com/simonw/datasette/issues/216) - Fixed [#216](https://github.com/simonw/datasette/issues/216) - paginate correctly when sorting by nullable column - Initial documentation for plugins, closes [#213](https://github.com/simonw/datasette/issues/213) https://datasette.readthedocs.io/en/latest/plugins.html - New `--plugins-dir=plugins/` option ([#212](https://github.com/simonw/datasette/issues/212)) New option causing Datasette to load and evaluate all of the Python files in the specified directory and register any plugins that are defined in those files. This new option is available for the following commands: datasette serve mydb.db --plugins-dir=plugins/ datasette publish now/heroku mydb.db --plugins-dir=plugins/ datasette package mydb.db --plugins-dir=plugins/ - Start of the plugin system, based on pluggy ([#210](https://github.com/simonw/datasette/issues/14)) Uses https://pluggy.readthedocs.io/ originally created for the py.test project We're starting with two plugin hooks: `prepare_connection(conn)` This is called when a new SQLite connection is created. It can be used to register custom SQL functions. `prepare_jinja2_environment(env)` This is called with the Jinja2 environment. It can be used to register custom template tags and filters. An example plugin which uses these two hooks can be found at https://github.com/simonw/datasette-plugin-demos or installed using `pip install datasette-plugin-demos` Refs [#14](https://github.com/simonw/dat… | 107914493 | |
https://github.com/simonw/datasette/releases/tag/0.20 | 10645022 | MDc6UmVsZWFzZTEwNjQ1MDIy | 0.20 | main | Datasette 0.20: static assets and templates for plugins | 0 | 9599 | 0 | 2018-04-20T14:36:29Z | 2018-04-20T14:41:14Z | Mostly new work on the [Plugins](http://datasette.readthedocs.io/en/latest/plugins.html) mechanism: plugins can now bundle static assets and custom templates, and ``datasette publish`` has a new ``--install=name-of-plugin`` option. - Add col-X classes to HTML table on custom query page - Fixed out-dated template in documentation - Plugins can now bundle custom templates, #224 - Added /-/metadata /-/plugins /-/inspect, #225 - Documentation for --install option, refs #223 - Datasette publish/package --install option, #223 - Fix for plugins in Python 3.5, #222 - New plugin hooks: extra_css_urls() and extra_js_urls(), #214 - /-/static-plugins/PLUGIN_NAME/ now serves static/ from plugins - <th> now gets class="col-X" - plus added col-X documentation - Use to_css_class for table cell column classes This ensures that columns with spaces in the name will still generate usable CSS class names. Refs #209 - Add column name classes to <td>s, make PK bold [Russ Garrett] - Don't duplicate simple primary keys in the link column [Russ Garrett] When there's a simple (single-column) primary key, it looks weird to duplicate it in the link column. This change removes the second PK column and treats the link column as if it were the PK column from a header/sorting perspective. - Correct escaping for HTML display of row links [Russ Garrett] - Longer time limit for test_paginate_compound_keys It was failing intermittently in Travis - see #209 - Use application/octet-stream for downloadable databses - Updated PyPI classifiers - Updated PyPI link to pypi.org | 107914493 | |
https://github.com/simonw/datasette/releases/tag/0.21 | 10868113 | MDc6UmVsZWFzZTEwODY4MTEz | 0.21 | main | Datasette 0.21: New _shape=, new _size=, search within columns | 0 | 9599 | 0 | 2018-05-05T23:15:38Z | 2018-05-05T23:21:33Z | New JSON `_shape=` options, the ability to set table `_size=` and a mechanism for searching within specific columns. - Default tests to using a longer timelimit Every now and then a test will fail in Travis CI on Python 3.5 because it hit the default 20ms SQL time limit. Test fixtures now default to a 200ms time limit, and we only use the 20ms time limit for the specific test that tests query interruption. This should make our tests on Python 3.5 in Travis much more stable. - Support `_search_COLUMN=text` searches, closes [\#237](https://github.com/simonw/datasette/issues/237) - Show version on `/-/plugins` page, closes [\#248](https://github.com/simonw/datasette/issues/248) - `?_size=max` option, closes [\#249](https://github.com/simonw/datasette/issues/249) - Added `/-/versions` and `/-/versions.json`, closes [\#244](https://github.com/simonw/datasette/issues/244) Sample output: { "python": { "version": "3.6.3", "full": "3.6.3 (default, Oct 4 2017, 06:09:38) \n[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.37)]" }, "datasette": { "version": "0.20" }, "sqlite": { "version": "3.23.1", "extensions": { "json1": null, "spatialite": "4.3.0a" } } } - Renamed `?_sql_time_limit_ms=` to `?_timelimit`, closes [\#242](https://github.com/simonw/datasette/issues/242) - New `?_shape=array` option + tweaks to `_shape`, closes [\#245](https://github.com/simonw/datasette/issues/245) - Default is now `?_shape=arrays` (renamed from `lists`) - New `?_shape=array` returns an array of objects as the root object - Changed `?_shape=object` to return the object as the root - Updated docs - FTS tables now detected by `inspect()`, closes [\#240](https://github.com/simonw/datasette/issues/240) - New `?_size=XXX` querystrin… | 107914493 | |
https://github.com/simonw/datasette/releases/tag/0.22 | 11087850 | MDc6UmVsZWFzZTExMDg3ODUw | 0.22 | main | Datasette 0.22: Datasette Facets | 0 | 9599 | 0 | 2018-05-20T23:41:47Z | 2018-05-20T23:44:19Z | The big new feature in this release is [facets](http://datasette.readthedocs.io/en/latest/facets.html). Datasette can now apply faceted browse to any column in any table. It will also suggest possible facets. See the [Datasette Facets](https://simonwillison.net/2018/May/20/datasette-facets/) announcement post for more details. In addition to the work on facets: - Added [docs for introspection endpoints](https://datasette.readthedocs.io/en/latest/introspection.html) - New `--config` option, added `--help-config`, closes #274 Removed the `--page_size=` argument to `datasette serve` in favour of: datasette serve --config default_page_size:50 mydb.db Added new help section: $ datasette --help-config Config options: default_page_size Default page size for the table view (default=100) max_returned_rows Maximum rows that can be returned from a table or custom query (default=1000) sql_time_limit_ms Time limit for a SQL query in milliseconds (default=1000) default_facet_size Number of values to return for requested facets (default=30) facet_time_limit_ms Time limit for calculating a requested facet (default=200) facet_suggest_time_limit_ms Time limit for calculating a suggested facet (default=50) - Only apply responsive table styles to `.rows-and-column` Otherwise they interfere with tables in the description, e.g. on https://fivethirtyeight.datasettes.com/fivethirtyeight/nba-elo%2Fnbaallelo - Refactored views into new `views/` modules, refs #256 - [Documentation for SQLite full-text search](http://datasette.readthedocs.io/en/latest/full_text_search.html) support, closes #253 - `/-/versions` now includes SQLite `fts_versions`, closes #2… | 107914493 | |
https://github.com/simonw/datasette/releases/tag/0.22.1 | 11136605 | MDc6UmVsZWFzZTExMTM2NjA1 | 0.22.1 | main | Datasette 0.22.1 | 0 | 9599 | 0 | 2018-05-23T14:00:01Z | 2018-05-23T14:04:17Z | Bugfix release, plus we now use [versioneer](https://github.com/warner/python-versioneer) for our version numbers. - Faceting no longer breaks pagination, fixes #282 - Add ``__version_info__`` derived from `__version__` [Robert Gieseke] This might be tuple of more than two values (major and minor version) if commits have been made after a release. - Add version number support with Versioneer. [Robert Gieseke] Versioneer Licence: Public Domain (CC0-1.0) Closes #273 - Refactor inspect logic [Russ Garrett] | 107914493 | |
https://github.com/simonw/datasette/releases/tag/0.23 | 11530498 | MDc6UmVsZWFzZTExNTMwNDk4 | 0.23 | main | Datasette 0.23: CSV, SpatiaLite and more | 0 | 9599 | 0 | 2018-06-18T15:11:57Z | 2018-06-18T15:28:37Z | This release features CSV export, improved options for foreign key expansions, new configuration settings and improved support for SpatiaLite. See full release notes here: http://datasette.readthedocs.io/en/latest/changelog.html#v0-23 | 107914493 | |
https://github.com/simonw/datasette/releases/tag/0.23.1 | 11591352 | MDc6UmVsZWFzZTExNTkxMzUy | 0.23.1 | main | Datasette 0.23.1 | 0 | 9599 | 0 | 2018-06-21T15:37:13Z | 2018-06-21T16:02:44Z | Minor bugfix release. * Correctly display empty strings in HTML table, closes #314 * Allow “.” in database filenames, closes #302 * 404s ending in slash redirect to remove that slash, closes #309 * Fixed incorrect display of compound primary keys with foreign key references. Closes #319 * Docs + example of canned SQL query using || concatenation. Closes #321 * Correctly display facets with value of 0 - closes #318 * Default ‘expand labels’ to checked in CSV advanced export | 107914493 | |
https://github.com/simonw/datasette/releases/tag/0.23.2 | 11825600 | MDc6UmVsZWFzZTExODI1NjAw | 0.23.2 | main | Datasette 0.23.2 | 0 | 9599 | 0 | 2018-07-08T05:28:45Z | 2018-07-08T05:41:38Z | Minor bugfix and documentation release. * CSV export now respects `--cors`, fixes #326 * [Installation instructions](https://datasette.readthedocs.io/en/latest/installation.html) including docker image - closes #328 * Fix for row pages for tables with / in, closes #325 | 107914493 | |
https://github.com/simonw/datasette/releases/tag/0.24 | 12080036 | MDc6UmVsZWFzZTEyMDgwMDM2 | 0.24 | main | Datasette 0.24 | 0 | 9599 | 0 | 2018-07-24T04:34:38Z | 2018-07-24T16:51:29Z | See full release notes here: http://datasette.readthedocs.io/en/latest/changelog.html#v0-24 | 107914493 | |
https://github.com/simonw/datasette/releases/tag/0.46 | 29489364 | MDc6UmVsZWFzZTI5NDg5MzY0 | 0.46 | main | 0.46 | 0 | 9599 | 0 | 2020-08-09T16:09:07Z | 2020-08-09T16:10:47Z | **Warning:** This release contains a security fix related to authenticated writable canned queries. If you are using this feature you should upgrade as soon as possible. - **Security fix:** CSRF tokens were incorrectly included in read-only canned query forms, which could allow them to be leaked to a sophisticated attacker. See [issue 918](https://github.com/simonw/datasette/issues/918) for details. - Datasette now supports GraphQL via the new [datasette-graphql](https://github.com/simonw/datasette-graphql) plugin - see [GraphQL in Datasette with the new datasette-graphql plugin](https://simonwillison.net/2020/Aug/7/datasette-graphql/). - Principle git branch has been renamed from `master` to `main`. ([#849](https://github.com/simonw/datasette/issues/849)) - New debugging tool: `/-/allow-debug tool` ([demo here](https://latest.datasette.io/-/allow-debug)) helps test allow blocks against actors, as described in [Defining permissions with "allow" blocks](https://datasette.readthedocs.io/en/stable/authentication.html#authentication-permissions-allow). ([#908](https://github.com/simonw/datasette/issues/908)) - New logo for the documentation, and a new project tagline: "An open source multi-tool for exploring and publishing data". - Whitespace in column values is now respected on display, using `white-space: pre-wrap`. ([#896](https://github.com/simonw/datasette/issues/896)) - New `await request.post_body()` method for accessing the raw POST body, see [Request object](https://datasette.readthedocs.io/en/stable/internals.html#internals-request). ([#897](https://github.com/simonw/datasette/issues/897)) - Database file downloads now include a `content-length` HTTP header, enabling download progress bars. ([#905](https://github.com/simonw/datasette/issues/905)) - File downloads now also correctly set the suggested file name using a `content-disposition` HTTP header. ([#909](https://github.com/simonw/datasette/issues/909)) - `tests` are now excluded from the Datasette package properly - than… | 107914493 | |
https://github.com/simonw/datasette/releases/tag/0.47 | 29585154 | MDc6UmVsZWFzZTI5NTg1MTU0 | 0.47 | main | 0.47 | 0 | 9599 | 0 | 2020-08-12T00:42:47Z | 2020-08-12T00:44:52Z | - Datasette now has [a GitHub discussions forum](https://github.com/simonw/datasette/discussions) for conversations about the project that go beyond just bug reports and issues. - Datasette can now be installed on macOS using Homebrew! Run `brew install simonw/datasette/datasette`. See [Using Homebrew](https://datasette.readthedocs.io/en/stable/installation.html#installation-homebrew). ([#335](https://github.com/simonw/datasette/issues/335)) - Two new commands: `datasette install name-of-plugin` and `datasette uninstall name-of-plugin`. These are equivalent to `pip install` and `pip uninstall` but automatically run in the same virtual environment as Datasette, so users don't have to figure out where that virtual environment is - useful for installations created using Homebrew or `pipx`. See [Installing plugins](https://datasette.readthedocs.io/en/stable/plugins.html#plugins-installing). ([#925](https://github.com/simonw/datasette/issues/925)) - A new command-line option, `datasette --get`, accepts a path to a URL within the Datasette instance. It will run that request through Datasette (without starting a web server) and print out the repsonse. See [datasette --get](https://datasette.readthedocs.io/en/stable/getting_started.html#getting-started-datasette-get) for an example. ([#926](https://github.com/simonw/datasette/issues/926)) | 107914493 | |
https://github.com/simonw/datasette/releases/tag/0.47.1 | 29587652 | MDc6UmVsZWFzZTI5NTg3NjUy | 0.47.1 | main | 0.47.1 | 0 | 9599 | 0 | 2020-08-12T02:37:24Z | 2020-08-12T02:38:00Z | - Fixed a bug where the `sdist` distribution of Datasette was not correctly including the template files. ([#930](https://github.com/simonw/datasette/issues/930)) | 107914493 | |
https://github.com/simonw/sqlite-utils/releases/tag/2.15.1 | 29616454 | MDc6UmVsZWFzZTI5NjE2NDU0 | 2.15.1 | main | 2.15.1 | 0 | 9599 | 0 | 2020-08-12T16:59:48Z | 2020-08-12T17:00:27Z | - Now available as a `sdist` package on PyPI in addition to a wheel. ([#133](https://github.com/simonw/sqlite-utils/issues/133)) | 140912432 | |
https://github.com/simonw/datasette/releases/tag/0.47.2 | 29625082 | MDc6UmVsZWFzZTI5NjI1MDgy | 0.47.2 | main | 0.47.2 | 0 | 9599 | 0 | 2020-08-12T20:54:33Z | 2020-08-12T20:55:28Z | - Fixed an issue with the Docker image [published to Docker Hub](https://hub.docker.com/r/datasetteproject/datasette). ([#931](https://github.com/simonw/datasette/issues/931)) | 107914493 | |
https://github.com/simonw/datasette/releases/tag/0.47.3 | 29738457 | MDc6UmVsZWFzZTI5NzM4NDU3 | 0.47.3 | main | 0.47.3 | 0 | 9599 | 0 | 2020-08-15T20:56:08Z | 2020-08-15T21:03:58Z | - The `datasette --get` command-line mechanism now ensures any plugins using the `startup()` hook are correctly executed. ([#934](https://github.com/simonw/datasette/issues/934)) | 107914493 | |
https://github.com/simonw/datasette/releases/tag/0.48 | 29749566 | MDc6UmVsZWFzZTI5NzQ5NTY2 | 0.48 | main | 0.48 | 0 | 9599 | 0 | 2020-08-16T18:56:31Z | 2020-08-16T18:58:34Z | - Datasette documentation now lives at [docs.datasette.io](https://docs.datasette.io/). - `db.is_mutable` property is now documented and tested, see [Database introspection](https://docs.datasette.io/en/stable/internals.html#internals-database-introspection). - The `extra_template_vars`, `extra_css_urls`, `extra_js_urls` and `extra_body_script` plugin hooks now all accept the same arguments. See [extra_template_vars(template, database, table, columns, view_name, request, datasette)](https://docs.datasette.io/en/stable/plugin_hooks.html#plugin-hook-extra-template-vars) for details. ([#939](https://github.com/simonw/datasette/issues/939)) - Those hooks now accept a new `columns` argument detailing the table columns that will be rendered on that page. ([#938](https://github.com/simonw/datasette/issues/938)) - Fixed bug where plugins calling `db.execute_write_fn()` could hang Datasette if the connection failed. ([#935](https://github.com/simonw/datasette/issues/935)) - Fixed bug with the `?_nl=on` output option and binary data. ([#914](https://github.com/simonw/datasette/issues/914)) | 107914493 | |
https://github.com/dogsheep/github-to-sqlite/releases/tag/2.5 | 29822005 | MDc6UmVsZWFzZTI5ODIyMDA1 | 2.5 | main | 2.5 | 0 | 9599 | 0 | 2020-08-18T15:05:50Z | 2020-08-18T15:08:20Z | - New `github-to-sqlite emojis` command for fetching emoji supported by GitHub. [Demo](https://github-to-sqlite.dogsheep.net/github/emojis). #47 - Added table of contents to README. - Switched to GitHub Actions for CI. - Switched default branch to `main` | 207052882 | |
https://github.com/simonw/sqlite-utils/releases/tag/2.16 | 29999731 | MDc6UmVsZWFzZTI5OTk5NzMx | 2.16 | main | 2.16 | 0 | 9599 | 0 | 2020-08-21T21:02:29Z | 2020-08-21T21:05:51Z | - `--load-extension` option for `sqlite-utils query` for loading SQLite extensions. ([#134](https://github.com/simonw/sqlite-utils/issues/134)) - New `sqlite_utils.utils.find_spatialite()` function for finding SpatiaLite in common locations. ([#135](https://github.com/simonw/sqlite-utils/issues/135)) | 140912432 | |
https://github.com/simonw/sqlite-utils/releases/tag/2.16.1 | 30352225 | MDc6UmVsZWFzZTMwMzUyMjI1 | 2.16.1 | main | 2.16.1 | 0 | 9599 | 0 | 2020-08-28T22:45:11Z | 2020-08-28T22:47:02Z | - `insert_all(..., alter=True)` now works for columns introduced after the first 100 records. Thanks, Simon Wiles! ([#139](https://github.com/simonw/sqlite-utils/issues/139)) - Continuous Integration is now powered by GitHub Actions. ([#143](https://github.com/simonw/sqlite-utils/issues/143)) | 140912432 | |
https://github.com/dogsheep/dogsheep-beta/releases/tag/0.1 | 30481804 | MDc6UmVsZWFzZTMwNDgxODA0 | 0.1 | main | 0.1 | 0 | 9599 | 0 | 2020-09-01T06:10:44Z | 2020-09-01T06:12:05Z | - Optimize the FTS table and vacuum the database. #4 - First non-alpha release | 197431109 | |
https://github.com/dogsheep/dogsheep-beta/releases/tag/0.2 | 30536189 | MDc6UmVsZWFzZTMwNTM2MTg5 | 0.2 | main | 0.2 | 0 | 9599 | 0 | 2020-09-01T20:40:52Z | 2020-09-01T20:41:31Z | - Use Porter stemming by default, allow that to be over-ridden with the new `--tokenize=` option. #2 | 197431109 | |
https://github.com/dogsheep/dogsheep-beta/releases/tag/0.3 | 30613603 | MDc6UmVsZWFzZTMwNjEzNjAz | 0.3 | main | 0.3 | 0 | 9599 | 0 | 2020-09-02T21:07:13Z | 2020-09-02T21:07:44Z | - New `category` column plus default `categories` table. #7 | 197431109 | |
https://github.com/dogsheep/dogsheep-beta/releases/tag/0.4 | 30688677 | MDc6UmVsZWFzZTMwNjg4Njc3 | 0.4 | main | 0.4 | 0 | 9599 | 0 | 2020-09-03T21:09:50Z | 2020-09-03T21:11:28Z | - Working faceted search interface at `/-/beta` #3 - `is_public` column for filtering between public and private data. #11 - New `received` category. #10 | 197431109 | |
https://github.com/dogsheep/dogsheep-beta/releases/tag/0.4.1 | 30690154 | MDc6UmVsZWFzZTMwNjkwMTU0 | 0.4.1 | main | 0.4.1 | 0 | 9599 | 0 | 2020-09-03T21:40:40Z | 2020-09-03T21:41:52Z | - Fixed support for [advanced FTS query syntax](https://www.sqlite.org/fts5.html#full_text_query_syntax). #13 | 197431109 | |
https://github.com/dogsheep/dogsheep-beta/releases/tag/0.5 | 30699190 | MDc6UmVsZWFzZTMwNjk5MTkw | 0.5 | main | 0.5 | 0 | 9599 | 0 | 2020-09-04T01:45:35Z | 2020-09-04T01:46:16Z | - Custom template displays can now render a point on a map. #12 | 197431109 | |
https://github.com/dogsheep/dogsheep-beta/releases/tag/0.6 | 30780951 | MDc6UmVsZWFzZTMwNzgwOTUx | 0.6 | main | 0.6 | 0 | 9599 | 0 | 2020-09-05T16:24:11Z | 2020-09-05T16:26:06Z | - Rerun the search query with FTS quoting if a SQLite FTS error occurs. This means searching for e.g. "#dogfest" will no longer throw an error, while still supporting advanced SQLite FTS syntax. #14 - Maximum width 100% on images in results - Don't display facet headers if there are no results for that facet. | 197431109 | |
https://github.com/simonw/sqlite-utils/releases/tag/2.17 | 30875333 | MDc6UmVsZWFzZTMwODc1MzMz | 2.17 | main | 2.17 | 0 | 9599 | 0 | 2020-09-07T22:08:12Z | 2020-09-07T22:08:33Z | This release handles a bug where replacing rows in FTS tables could result in growing numbers of unneccessary rows in the associated `*_fts_docsize` table. ([#149](https://github.com/simonw/sqlite-utils/issues/149)) - `PRAGMA recursive_triggers=on` by default for all connections. You can turn it off with `Database(recursive_triggers=False)`. ([#152](https://github.com/simonw/sqlite-utils/issues/152)) - `table.optimize()` method now deletes unnecessary rows from the `*_fts_docsize` table. ([#153](https://github.com/simonw/sqlite-utils/issues/153)) - New tracer method for tracking underlying SQL queries, see [Tracing queries](http://127.0.0.1:8000/python-api.html#python-api-tracing). ([#150](https://github.com/simonw/sqlite-utils/issues/150)) - Neater indentation for schema SQL. ([#148](https://github.com/simonw/sqlite-utils/issues/148)) - Documentation for `sqlite_utils.AlterError` exception thrown by in `add_foreign_keys()`. | 140912432 | |
https://github.com/simonw/sqlite-utils/releases/tag/2.18 | 30942758 | MDc6UmVsZWFzZTMwOTQyNzU4 | 2.18 | main | 2.18 | 0 | 9599 | 0 | 2020-09-08T23:37:28Z | 2020-09-08T23:39:21Z | - `table.rebuild_fts()` method for rebuilding a FTS index, see [Rebuilding a full-text search table](https://sqlite-utils.readthedocs.io/en/stable/python-api.html#python-api-fts-rebuild). ([#155](https://github.com/simonw/sqlite-utils/issues/155)) - `sqlite-utils rebuild-fts data.db` command for rebuilding FTS indexes across all tables, or just specific tables. ([#155](https://github.com/simonw/sqlite-utils/issues/155)) - `table.optimize()` method no longer deletes junk rows from the `*_fts_docsize` table. This was added in 2.17 but it turns out running `table.rebuild_fts()` is a better solution to this problem. - Fixed a bug where rows with additional columns that are inserted after the first batch of records could cause an error due to breaking SQLite's maximum number of parameters. Thanks, Simon Wiles. ([#145](https://github.com/simonw/sqlite-utils/issues/145)) | 140912432 | |
https://github.com/simonw/datasette/releases/tag/0.49 | 31288240 | MDc6UmVsZWFzZTMxMjg4MjQw | 0.49 | main | 0.49 | 0 | 9599 | 0 | 2020-09-14T21:38:24Z | 2020-09-14T21:40:11Z | - Writable canned queries now expose a JSON API, see [JSON API for writable canned queries](https://docs.datasette.io/en/stable/sql_queries.html#canned-queries-json-api). ([#880](https://github.com/simonw/datasette/issues/880)) - New mechanism for defining page templates with custom path parameters - a template file called `pages/about/{slug}.html` will be used to render any requests to `/about/something`. See [Path parameters for pages](https://docs.datasette.io/en/stable/custom_templates.html#custom-pages-parameters). ([#944](https://github.com/simonw/datasette/issues/944)) - `register_output_renderer()` render functions can now return a `Response`. ([#953](https://github.com/simonw/datasette/issues/953)) - New `--upgrade` option for `datasette install`. ([#945](https://github.com/simonw/datasette/issues/945)) - New `datasette --pdb` option. ([#962](https://github.com/simonw/datasette/issues/962)) - `datasette --get` exit code now reflects the internal HTTP status code. ([#947](https://github.com/simonw/datasette/issues/947)) - New `raise_404()` template function for returning 404 errors. ([#964](https://github.com/simonw/datasette/issues/964)) - `datasette publish heroku` now deploys using Python 3.8.5 - Upgraded [CodeMirror](https://codemirror.net/) to 5.57.0. ([#948](https://github.com/simonw/datasette/issues/948)) - Upgraded code style to Black 20.8b1. ([#958](https://github.com/simonw/datasette/issues/958)) - Fixed bug where selected facets were not correctly persisted in hidden form fields on the table page. ([#963](https://github.com/simonw/datasette/issues/963)) - Renamed the default error template from `500.html` to `error.html`. - Custom error pages are now documented, see [Custom error pages](https://docs.datasette.io/en/stable/custom_templates.html#custom-pages-errors). ([#965](https://github.com/simonw/datasette/issues/965)) | 107914493 | |
https://github.com/simonw/datasette/releases/tag/0.49.1 | 31354944 | MDc6UmVsZWFzZTMxMzU0OTQ0 | 0.49.1 | main | 0.49.1 | 0 | 9599 | 0 | 2020-09-15T20:20:15Z | 2020-09-15T20:21:16Z | - Fixed a bug with writable canned queries that use magic parameters but accept no non-magic arguments. (#967) | 107914493 | |
https://github.com/dogsheep/github-to-sqlite/releases/tag/2.6 | 31441882 | MDc6UmVsZWFzZTMxNDQxODgy | 2.6 | main | 2.6 | 0 | 9599 | 0 | 2020-09-17T03:54:16Z | 2020-09-17T03:55:03Z | - New `github-to-sqlite get /gists` command for making authenticated API calls against any API path. #50 | 207052882 | |
https://github.com/dogsheep/dogsheep-beta/releases/tag/0.7 | 31501128 | MDc6UmVsZWFzZTMxNTAxMTI4 | 0.7 | main | 0.7 | 0 | 9599 | 0 | 2020-09-17T22:56:01Z | 2020-09-17T22:57:09Z | - Option to sort by relevance / oldest / newest. #21 - Renamed `table` column to `type`. #17 - New `-d` option for passing one or more databases to index. Without this all databases in the config file will be indexed. | 197431109 | |
https://github.com/dogsheep/dogsheep-beta/releases/tag/0.7.1 | 31501584 | MDc6UmVsZWFzZTMxNTAxNTg0 | 0.7.1 | main | 0.7.1 | 0 | 9599 | 0 | 2020-09-17T23:13:01Z | 2020-09-17T23:13:46Z | - Fixed bug with sort orders displayed for the timeline view. #22 | 197431109 | |
https://github.com/dogsheep/dogsheep-beta/releases/tag/0.8 | 31547860 | MDc6UmVsZWFzZTMxNTQ3ODYw | 0.8 | main | 0.8 | 0 | 9599 | 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 | |
https://github.com/simonw/sqlite-utils/releases/tag/2.19 | 31581701 | MDc6UmVsZWFzZTMxNTgxNzAx | 2.19 | main | 2.19 | 0 | 9599 | 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 | |
https://github.com/simonw/sqlite-utils/releases/tag/2.20 | 31680849 | MDc6UmVsZWFzZTMxNjgwODQ5 | 2.20 | main | 2.20 | 0 | 9599 | 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.rea… | 140912432 | |
https://github.com/simonw/sqlite-utils/releases/tag/2.21 | 31773390 | MDc6UmVsZWFzZTMxNzczMzkw | 2.21 | main | 2.21 | 0 | 9599 | 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 | |
https://github.com/simonw/datasette/releases/tag/0.50 | 32384200 | MDc6UmVsZWFzZTMyMzg0MjAw | 0.50 | main | 0.50 | 0 | 9599 | 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://do… | 107914493 | |
https://github.com/simonw/datasette/releases/tag/0.50.1 | 32395303 | MDc6UmVsZWFzZTMyMzk1MzAz | 0.50.1 | main | 0.50.1 | 0 | 9599 | 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 | |
https://github.com/simonw/datasette/releases/tag/0.50.2 | 32397338 | MDc6UmVsZWFzZTMyMzk3MzM4 | 0.50.2 | main | 0.50.2 | 0 | 9599 | 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 | |
https://github.com/dogsheep/evernote-to-sqlite/releases/tag/0.1 | 32428098 | MDc6UmVsZWFzZTMyNDI4MDk4 | 0.1 | main | 0.1 | 0 | 9599 | 0 | 2020-10-11T21:46:09Z | 2020-10-11T21:47:39Z | - Initial release, with support for importing ENEX files. | 303218369 | |
https://github.com/dogsheep/evernote-to-sqlite/releases/tag/0.2 | 32429687 | MDc6UmVsZWFzZTMyNDI5Njg3 | 0.2 | main | 0.2 | 0 | 9599 | 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 | |
https://github.com/dogsheep/swarm-to-sqlite/releases/tag/0.3.2 | 32470830 | MDc6UmVsZWFzZTMyNDcwODMw | 0.3.2 | main | 0.3.2 | 0 | 9599 | 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 | |
https://github.com/simonw/sqlite-utils/releases/tag/2.22 | 32688819 | MDc6UmVsZWFzZTMyNjg4ODE5 | 2.22 | main | 2.22 | 0 | 9599 | 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 | |
https://github.com/dogsheep/healthkit-to-sqlite/releases/tag/1.0 | 32712413 | MDc6UmVsZWFzZTMyNzEyNDEz | 1.0 | main | 1.0 | 0 | 9599 | 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 | |
https://github.com/dogsheep/dogsheep-beta/releases/tag/0.9 | 32713381 | MDc6UmVsZWFzZTMyNzEzMzgx | 0.9 | main | 0.9 | 0 | 9599 | 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 | |
https://github.com/dogsheep/github-to-sqlite/releases/tag/2.7 | 32736481 | MDc6UmVsZWFzZTMyNzM2NDgx | 2.7 | main | 2.7 | 0 | 9599 | 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 | |
https://github.com/simonw/sqlite-utils/releases/tag/2.23 | 33188958 | MDc6UmVsZWFzZTMzMTg4OTU4 | 2.23 | main | 2.23 | 0 | 9599 | 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 | |
https://github.com/simonw/datasette/releases/tag/0.51 | 33311677 | MDc6UmVsZWFzZTMzMzExNjc3 | 0.51 | main | 0.51 | 0 | 9599 | 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… | 107914493 | |
https://github.com/simonw/datasette/releases/tag/0.51.1 | 33314301 | MDc6UmVsZWFzZTMzMzE0MzAx | 0.51.1 | main | 0.51.1 | 0 | 9599 | 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 | |
https://github.com/simonw/sqlite-utils/releases/tag/3.0 | 33615120 | MDc6UmVsZWFzZTMzNjE1MTIw | 3.0 | main | 3.0 | 0 | 9599 | 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-uti… | 140912432 | |
https://github.com/simonw/datasette/releases/tag/0.52 | 34539374 | MDc6UmVsZWFzZTM0NTM5Mzc0 | 0.52 | main | 0.52 | 0 | 9599 | 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… | 107914493 | |
https://github.com/simonw/datasette/releases/tag/0.52.1 | 34551688 | MDc6UmVsZWFzZTM0NTUxNjg4 | 0.52.1 | main | 0.52.1 | 0 | 9599 | 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 | |
https://github.com/dogsheep/github-to-sqlite/releases/tag/2.8 | 34556308 | MDc6UmVsZWFzZTM0NTU2MzA4 | 2.8 | main | 2.8 | 0 | 9599 | 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 | |
https://github.com/dogsheep/github-to-sqlite/releases/tag/2.8.1 | 34558928 | MDc6UmVsZWFzZTM0NTU4OTI4 | 2.8.1 | main | 2.8.1 | 0 | 9599 | 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 | |
https://github.com/simonw/datasette/releases/tag/0.52.2 | 34725716 | MDc6UmVsZWFzZTM0NzI1NzE2 | 0.52.2 | main | 0.52.2 | 0 | 9599 | 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 | |
https://github.com/simonw/datasette/releases/tag/0.52.3 | 34782337 | MDc6UmVsZWFzZTM0NzgyMzM3 | 0.52.3 | main | 0.52.3 | 0 | 9599 | 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 | |
https://github.com/simonw/datasette/releases/tag/0.52.4 | 34882011 | MDc6UmVsZWFzZTM0ODgyMDEx | 0.52.4 | main | 0.52.4 | 0 | 9599 | 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 | |
https://github.com/simonw/datasette/releases/tag/0.53 | 35131848 | MDc6UmVsZWFzZTM1MTMxODQ4 | 0.53 | main | 0.53 | 0 | 9599 | 0 | 2020-12-11T01:44:36Z | 2020-12-11T01:46:44Z | Datasette has an official project website now, at <https://datasette.io/>. 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 <https://datasette.io/>. ([#1138](https://github.com/simonw/datasette/issues/1138)) - Project news no longer lives in the README - it can now be found at <https://datasette.io/news>. ([#1137](https://github.com/simonw/datasette/issues/1137)) | 107914493 | |
https://github.com/simonw/sqlite-utils/releases/tag/3.1 | 35200016 | MDc6UmVsZWFzZTM1MjAwMDE2 | 3.1 | main | 3.1 | 0 | 9599 | 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 | |
https://github.com/dogsheep/github-to-sqlite/releases/tag/2.8.2 | 35374715 | MDc6UmVsZWFzZTM1Mzc0NzE1 | 2.8.2 | main | 2.8.2 | 0 | 9599 | 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 | |
https://github.com/dogsheep/dogsheep-beta/releases/tag/0.10 | 35382391 | MDc6UmVsZWFzZTM1MzgyMzkx | 0.10 | main | 0.10 | 0 | 9599 | 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 | |
https://github.com/dogsheep/dogsheep-beta/releases/tag/0.10.1 | 35520026 | MDc6UmVsZWFzZTM1NTIwMDI2 | 0.10.1 | main | 0.10.1 | 0 | 9599 | 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 | |
https://github.com/simonw/sqlite-utils/releases/tag/3.1.1 | 35902315 | MDc6UmVsZWFzZTM1OTAyMzE1 | 3.1.1 | main | 3.1.1 | 0 | 9599 | 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 <https://sqlite-utils.datasette.io/> - README now includes `brew install sqlite-utils` installation method. | 140912432 | |
https://github.com/simonw/sqlite-utils/releases/tag/3.2 | 35930040 | MDc6UmVsZWFzZTM1OTMwMDQw | 3.2 | main | 3.2 | 0 | 9599 | 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 prop… | 140912432 | |
https://github.com/simonw/sqlite-utils/releases/tag/3.2.1 | 36307444 | MDc6UmVsZWFzZTM2MzA3NDQ0 | 3.2.1 | main | 3.2.1 | 0 | 9599 | 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 | |
https://github.com/simonw/sqlite-utils/releases/tag/3.3 | 36530216 | MDc6UmVsZWFzZTM2NTMwMjE2 | 3.3 | main | 3.3 | 0 | 9599 | 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 | |
https://github.com/dogsheep/swarm-to-sqlite/releases/tag/0.3.3 | 36530359 | MDc6UmVsZWFzZTM2NTMwMzU5 | 0.3.3 | main | 0.3.3 | 0 | 9599 | 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 | |
https://github.com/simonw/datasette/releases/tag/0.54 | 36871901 | MDc6UmVsZWFzZTM2ODcxOTAx | 0.54 | main | 0.54 | 0 | 9599 | 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.mozill… | 107914493 | |
https://github.com/simonw/sqlite-utils/releases/tag/3.4 | 37437744 | MDc6UmVsZWFzZTM3NDM3NzQ0 | 3.4 | main | 3.4 | 0 | 9599 | 0 | 2021-02-06T01:37:27Z | 2021-02-06T01:38:26Z | - `sqlite-utils insert --csv` now accepts optional `--delimiter` and `--quotechar` options. See [Alternative delimiters and quote characters](https://sqlite-utils.datasette.io/en/stable/cli.html#cli-insert-csv-tsv-delimiter). ([#223](https://github.com/simonw/sqlite-utils/issues/223)) | 140912432 | |
https://github.com/simonw/sqlite-utils/releases/tag/3.4.1 | 37438817 | MDc6UmVsZWFzZTM3NDM4ODE3 | 3.4.1 | main | 3.4.1 | 0 | 9599 | 0 | 2021-02-06T02:10:04Z | 2021-02-06T02:11:15Z | - Fixed a code import bug that slipped in to 3.4. ([#226](https://github.com/simonw/sqlite-utils/issues/226)) | 140912432 | |
https://github.com/dogsheep/evernote-to-sqlite/releases/tag/0.3 | 37946829 | MDc6UmVsZWFzZTM3OTQ2ODI5 | 0.3 | main | 0.3 | 0 | 9599 | 0 | 2021-02-11T22:14:01Z | 2021-02-11T22:16:20Z | - Correctly handle entities in XHTML notes. [#9](https://github.com/dogsheep/evernote-to-sqlite/issues/9) - Fixed a bug importing ENEX files on Windows. Thanks, [dskrad](https://github.com/dskrad). [#11](https://github.com/dogsheep/evernote-to-sqlite/issues/11) | 303218369 | |
https://github.com/dogsheep/evernote-to-sqlite/releases/tag/0.3.1 | 37947725 | MDc6UmVsZWFzZTM3OTQ3NzI1 | 0.3.1 | main | 0.3.1 | 0 | 9599 | 0 | 2021-02-11T22:38:21Z | 2021-02-11T22:40:40Z | - Explicitly open file using utf-8 encoding - thanks, RiverZhou. [#10](https://github.com/dogsheep/evernote-to-sqlite/pull/10) - Fix import error if note has no "updated" element - thanks, Matej Korosec. [#8](https://github.com/dogsheep/evernote-to-sqlite/pull/8) | 303218369 | |
https://github.com/simonw/sqlite-utils/releases/tag/3.5 | 38037267 | MDc6UmVsZWFzZTM4MDM3MjY3 | 3.5 | main | 3.5 | 0 | 9599 | 0 | 2021-02-14T22:43:06Z | 2021-02-14T22:44:21Z | - `sqlite-utils insert --sniff` option for detecting the delimiter and quote character used by a CSV file, see [Alternative delimiters and quote characters](https://sqlite-utils.datasette.io/en/stable/cli.html#cli-insert-csv-tsv-delimiter). ([#230](https://github.com/simonw/sqlite-utils/issues/230)) - The `table.rows_where()`, `table.search()` and `table.search_sql()` methods all now take optional `offset=` and `limit=` arguments. ([#231](https://github.com/simonw/sqlite-utils/issues/231)) - New `--no-headers` option for `sqlite-utils insert --csv` to handle CSV files that are missing the header row, see [CSV files without a header row](https://sqlite-utils.datasette.io/en/stable/cli.html#cli-insert-csv-tsv-no-header). ([#228](https://github.com/simonw/sqlite-utils/issues/228)) - Fixed bug where inserting data with extra columns in subsequent chunks would throw an error. Thanks [@nieuwenhoven](https://github.com/nieuwenhoven) for the fix. ([#234](https://github.com/simonw/sqlite-utils/issues/234)) - Fixed bug importing CSV files with columns containing more than 128KB of data. ([#229](https://github.com/simonw/sqlite-utils/issues/229)) - Test suite now runs in CI against Ubuntu, macOS and Windows. Thanks [@nieuwenhoven](https://github.com/nieuwenhoven) for the Windows test fixes. ([#232](https://github.com/simonw/sqlite-utils/issues/232)) | 140912432 | |
https://github.com/simonw/datasette/releases/tag/0.55 | 38264801 | MDc6UmVsZWFzZTM4MjY0ODAx | 0.55 | main | 0.55 | 0 | 9599 | 0 | 2021-02-19T02:01:06Z | 2021-02-19T02:02:29Z | Support for cross-database SQL queries and built-in support for serving via HTTPS. - The new `--crossdb` command-line option causes Datasette to attach up to ten database files to the same `/_memory` database connection. This enables cross-database SQL queries, including the ability to use joins and unions to combine data from tables that exist in different database files. See [Cross-database queries](https://docs.datasette.io/en/stable/sql_queries.html#cross-database-queries) for details. ([#283](https://github.com/simonw/datasette/issues/283)) - `--ssl-keyfile` and `--ssl-certfile` options can be used to specify a TLS certificate, allowing Datasette to serve traffic over `https://` without needing to run it behind a separate proxy. ([#1221](https://github.com/simonw/datasette/issues/1221)) - The `/:memory:` page has been renamed (and redirected) to `/_memory` for consistency with the new `/_internal` database introduced in Datasette 0.54. ([#1205](https://github.com/simonw/datasette/issues/1205)) - Added plugin testing documentation on [Using pdb for errors thrown inside Datasette](https://docs.datasette.io/en/stable//testing_plugins.html#testing-plugins-pdb). ([#1207](https://github.com/simonw/datasette/issues/1207)) - The [official Datasette Docker image](https://hub.docker.com/r/datasetteproject/datasette) now uses Python 3.7.10, applying [the latest security fix](https://www.python.org/downloads/release/python-3710/) for that Python version. ([#1235](https://github.com/simonw/datasette/issues/1235)) | 107914493 | |
https://github.com/simonw/sqlite-utils/releases/tag/3.6 | 38290990 | MDc6UmVsZWFzZTM4MjkwOTkw | 3.6 | main | 3.6 | 0 | 9599 | 0 | 2021-02-19T05:18:02Z | 2021-02-19T05:19:00Z | This release adds the ability to execute queries joining data from more than one database file - similar to the cross database querying feature introduced in [Datasette 0.55](https://docs.datasette.io/en/stable/changelog.html#v0-55). - The `db.attach(alias, filepath)` Python method can be used to attach extra databases to the same connection, see [db.attach() in the Python API documentation](https://sqlite-utils.datasette.io/en/stable/python-api.html#python-api-attach). ([#113](https://github.com/simonw/sqlite-utils/issues/113)) - The `--attach` option attaches extra aliased databases to run SQL queries against directly on the command-line, see [attaching additional databases in the CLI documentation](https://sqlite-utils.datasette.io/en/stable/cli.html#cli-attach). ([#236](https://github.com/simonw/sqlite-utils/issues/236)) | 140912432 | |
https://github.com/dogsheep/hacker-news-to-sqlite/releases/tag/0.4 | 39765751 | MDc6UmVsZWFzZTM5NzY1NzUx | 0.4 | main | 0.4 | 0 | 9599 | 0 | 2021-03-13T19:11:12Z | 2021-03-13T19:15:06Z | Progress display now shows the total as well as the number currently in the queue. ``` % hacker-news-to-sqlite trees hn.db 26440397 done: 1, in queue: 0, total: 1 done: 2, in queue: 28, total: 30 done: 3, in queue: 27, total: 30 ``` | 248903544 | |
https://github.com/simonw/datasette/releases/tag/0.56 | 40608711 | MDc6UmVsZWFzZTQwNjA4NzEx | 0.56 | main | 0.56 | 0 | 9599 | 0 | 2021-03-29T00:41:12Z | 2021-03-29T00:43:36Z | Documentation improvements, bug fixes and support for SpatiaLite 5. - The SQL editor can now be resized by dragging a handle. ([#1236](https://github.com/simonw/datasette/issues/1236)) - Fixed a bug with JSON faceting and the `__arraycontains` filter caused by tables with spaces in their names. ([#1239](https://github.com/simonw/datasette/issues/1239)) - Upgraded `httpx` dependency. ([#1005](https://github.com/simonw/datasette/issues/1005)) - JSON faceting is now suggested even if a column contains blank strings. ([#1246](https://github.com/simonw/datasette/issues/1246)) - New [datasette.add_memory_database()](https://docs.datasette.io/en/stable/internals.html#datasette-add-memory-database) method. ([#1247](https://github.com/simonw/datasette/issues/1247)) - The [Response.asgi_send()](https://docs.datasette.io/en/stable/internals.html#internals-response-asgi-send) method is now documented. ([#1266](https://github.com/simonw/datasette/issues/1266)) - The official Datasette Docker image now bundles SpatiaLite version 5. ([#1278](https://github.com/simonw/datasette/issues/1278)) - Fixed a `no such table: pragma_database_list` bug when running Datasette against SQLite versions prior to SQLite 3.16.0. ([#1276](https://github.com/simonw/datasette/issues/1276)) - HTML lists displayed in table cells are now styled correctly. Thanks, Bob Whitelock. ([#1141](https://github.com/simonw/datasette/issues/1141), [#1252](https://github.com/simonw/datasette/pull/1252)) - Configuration directory mode now correctly serves immutable databases that are listed in `inspect-data.json`. Thanks Campbell Allen and Frankie Robertson. ([#1031](https://github.com/simonw/datasette/pull/1031), [#1229](https://github.com/simonw/datasette/pull/1229)) | 107914493 | |
https://github.com/simonw/sqlite-utils/releases/tag/3.7 | 43797212 | MDc6UmVsZWFzZTQzNzk3MjEy | 3.7 | main | 3.7 | 0 | 9599 | 0 | 2021-05-29T05:47:59Z | 2021-05-29T05:49:59Z | - New `table.pks_and_rows_where()` method returning `(primary_key, row_dictionary)` tuples - see [Listing rows with their primary keys](https://sqlite-utils.datasette.io/en/stable/python-api.html#python-api-pks-and-rows-where). ([#240](https://github.com/simonw/sqlite-utils/issues/240)) - Fixed bug with *table.add_foreign_key()* against columns containing spaces. ([#238](https://github.com/simonw/sqlite-utils/issues/238)) - `table_or_view.drop(ignore=True)` option for avoiding errors if the table or view does not exist. ([#237](https://github.com/simonw/sqlite-utils/issues/237)) - `sqlite-utils drop-view --ignore` and `sqlite-utils drop-table --ignore` options. ([#237](https://github.com/simonw/sqlite-utils/issues/237)) - Fixed a bug with inserts of nested JSON containing non-ascii strings - thanks, Dylan Wu. ([#257](https://github.com/simonw/sqlite-utils/issues/257)) - Suggest `--alter` if an error occurs caused by a missing column. ([#259](https://github.com/simonw/sqlite-utils/issues/259)) - Support creating indexes with columns in descending order, see [API documentation](https://sqlite-utils.datasette.io/en/stable/python-api.html#python-api-create-index) and [CLI documentation](https://sqlite-utils.datasette.io/en/stable/cli.html#cli-create-index). ([#260](https://github.com/simonw/sqlite-utils/issues/260)) - Correctly handle CSV files that start with a UTF-8 BOM. ([#250](https://github.com/simonw/sqlite-utils/issues/250)) | 140912432 | |
https://github.com/simonw/sqlite-utils/releases/tag/3.8 | 44019361 | MDc6UmVsZWFzZTQ0MDE5MzYx | 3.8 | main | 3.8 | 0 | 9599 | 0 | 2021-06-03T05:16:33Z | 2021-06-03T05:17:33Z | - New `sqlite-utils indexes` command to list indexes in a database, see [Listing indexes](https://sqlite-utils.datasette.io/en/stable/cli.html#cli-indexes). ([#263](https://github.com/simonw/sqlite-utils/issues/263)) - `table.xindexes` introspection property returning more details about that table's indexes, see [.xindexes](https://sqlite-utils.datasette.io/en/stable/python-api.html#python-api-introspection-xindexes). ([#261](https://github.com/simonw/sqlite-utils/issues/261)) | 140912432 | |
https://github.com/simonw/datasette/releases/tag/0.57 | 44155601 | MDc6UmVsZWFzZTQ0MTU1NjAx | 0.57 | main | 0.57 | 0 | 9599 | 0 | 2021-06-05T22:06:55Z | 2021-06-05T22:11:18Z | **Warning**: This release fixes a [reflected cross-site scripting](https://owasp.org/www-community/attacks/xss/#reflected-xss-attacks) security hole with the `?_trace=1` feature. You should upgrade to this version, or to Datasette 0.56.1, as soon as possible. ([#1360](https://github.com/simonw/datasette/issues/1360)) In addition to the security fix, this release includes `?_col=` and `?_nocol=` options for controlling which columns are displayed for a table, `?_facet_size=` for increasing the number of facet results returned, re-display of your SQL query should an error occur and numerous bug fixes. ### New features - If an error occurs while executing a user-provided SQL query, that query is now re-displayed in an editable form along with the error message. ([#619](https://github.com/simonw/datasette/issues/619)) - New `?_col=` and `?_nocol=` parameters to show and hide columns in a table, plus an interface for hiding and showing columns in the column cog menu. ([#615](https://github.com/simonw/datasette/issues/615)) - A new `?_facet_size=` parameter for customizing the number of facet results returned on a table or view page. ([#1332](https://github.com/simonw/datasette/issues/1332)) - `?_facet_size=max` sets that to the maximum, which defaults to 1,000 and is controlled by the the [max_returned_rows](https://docs.datasette.io/en/stable/settings.html#setting-max-returned-rows) setting. If facet results are truncated the ... at the bottom of the facet list now links to this parameter. ([#1337](https://github.com/simonw/datasette/issues/1337)) - `?_nofacet=1` option to disable all facet calculations on a page, used as a performance optimization for CSV exports and `?_shape=array/object`. ([#1349](https://github.com/simonw/datasette/issues/1349), [#263](https://github.com/simonw/datasette/issues/263)) - `?_nocount=1` option to disable full query result counts. ([#1353](https://github.com/simonw/datasette/issues/1353)) - `?_trace=1` debugging option is now controlled by the new [trace_d… | 107914493 | { "url": "https://api.github.com/repos/simonw/datasette/releases/44155601/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 1, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
https://github.com/simonw/datasette/releases/tag/0.57.1 | 44292523 | MDc6UmVsZWFzZTQ0MjkyNTIz | 0.57.1 | main | 0.57.1 | 0 | 9599 | 0 | 2021-06-08T16:26:45Z | 2021-06-08T16:28:31Z | - Fixed visual display glitch with global navigation menu. ([#1367](https://github.com/simonw/datasette/issues/1367)) - No longer truncates the list of table columns displayed on the `/database` page. ([#1364](https://github.com/simonw/datasette/issues/1364)) | 107914493 | { "url": "https://api.github.com/repos/simonw/datasette/releases/44292523/reactions", "total_count": 4, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 4, "rocket": 0, "eyes": 0 } |
https://github.com/simonw/sqlite-utils/releases/tag/3.9 | 44511190 | MDc6UmVsZWFzZTQ0NTExMTkw | 3.9 | main | 3.9 | 0 | 9599 | 0 | 2021-06-12T02:07:18Z | 2021-06-12T02:08:03Z | - New `sqlite-utils schema` command showing the full SQL schema for a database, see [Showing the schema (CLI)](https://sqlite-utils.datasette.io/en/stable/cli.html#cli-schema). ([#268](https://github.com/simonw/sqlite-utils/issues/268)) - `db.schema` introspection property exposing the same feature to the Python library, see [Showing the schema (Python library)](https://sqlite-utils.datasette.io/en/stable/python-api.html#python-api-schema). | 140912432 | { "url": "https://api.github.com/repos/simonw/sqlite-utils/releases/44511190/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
https://github.com/simonw/sqlite-utils/releases/tag/3.9.1 | 44529219 | MDc6UmVsZWFzZTQ0NTI5MjE5 | 3.9.1 | main | 3.9.1 | 0 | 9599 | 0 | 2021-06-13T02:59:08Z | 2021-06-13T03:00:45Z | - Fixed bug when using `table.upsert_all()` to create a table with only a single column that is treated as the primary key. ([#271](https://github.com/simonw/sqlite-utils/issues/271)) | 140912432 | |
https://github.com/dogsheep/dogsheep-beta/releases/tag/0.10.2 | 44537329 | MDc6UmVsZWFzZTQ0NTM3MzI5 | 0.10.2 | main | 0.10.2 | 0 | 9599 | 0 | 2021-06-13T14:37:17Z | 2021-06-13T14:38:09Z | - Fixed bug where searches consisting only of whitespace caused a server error. [#33](https://github.com/dogsheep/dogsheep-beta/issues/33) | 197431109 | |
https://github.com/simonw/sqlite-utils/releases/tag/3.10 | 44904928 | MDc6UmVsZWFzZTQ0OTA0OTI4 | 3.10 | main | 3.10 | 0 | 9599 | 0 | 2021-06-19T16:09:29Z | 2021-06-19T16:13:11Z | This release introduces the `sqlite-utils memory` command, which can be used to load CSV or JSON data into a temporary in-memory database and run SQL queries (including joins across multiple files) directly against that data. Also new: `sqlite-utils insert --detect-types`, `sqlite-utils dump`, `table.use_rowid` plus some smaller fixes. ### sqlite-utils memory This example of `sqlite-utils memory` retrieves information about the all of the repositories in the [Dogsheep](https://github.com/dogsheep) organization on GitHub using [this JSON API](https://api.github.com/users/dogsheep/repos), sorts them by their number of stars and outputs a table of the top five (using `-t`): ``` $ curl -s 'https://api.github.com/users/dogsheep/repos'\ | sqlite-utils memory - ' select full_name, forks_count, stargazers_count from stdin order by stargazers_count desc limit 5 ' -t full_name forks_count stargazers_count --------------------------------- ------------- ------------------ dogsheep/twitter-to-sqlite 12 225 dogsheep/github-to-sqlite 14 139 dogsheep/dogsheep-photos 5 116 dogsheep/dogsheep.github.io 7 90 dogsheep/healthkit-to-sqlite 4 85 ``` The tool works against files on disk as well. This example joins data from two CSV files: ``` $ cat creatures.csv species_id,name 1,Cleo 2,Bants 2,Dori 2,Azi $ cat species.csv id,species_name 1,Dog 2,Chicken $ sqlite-utils memory species.csv creatures.csv ' select * from creatures join species on creatures.species_id = species.id ' [{"species_id": 1, "name": "Cleo", "id": 1, "species_name": "Dog"}, {"species_id": 2, "name": "Bants", "id": 2, "species_name": "Chicken"}, {"species_id": 2, "name": "Dori", "id": 2, "species_name": "Chicken"}, {"species_id": 2, "name": "Azi", "id": 2, "species_name": "Chicken"}] ``` … | 140912432 | { "url": "https://api.github.com/repos/simonw/sqlite-utils/releases/44904928/reactions", "total_count": 3, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 1, "eyes": 1 } |
https://github.com/simonw/sqlite-utils/releases/tag/3.11 | 44927292 | MDc6UmVsZWFzZTQ0OTI3Mjky | 3.11 | main | 3.11 | 0 | 9599 | 0 | 2021-06-20T18:52:15Z | 2021-06-20T18:53:09Z | - New `sqlite-utils memory data.csv --schema` option, for outputting the schema of the in-memory database generated from one or more files. See [--schema, --dump and --save](https://sqlite-utils.datasette.io/en/stable/cli.html#cli-memory-schema-dump-save). ([#288](https://github.com/simonw/sqlite-utils/issues/288)) - Added [installation instructions](https://sqlite-utils.datasette.io/en/stable/installation.html#installation). ([#286](https://github.com/simonw/sqlite-utils/issues/286)) | 140912432 | |
https://github.com/simonw/sqlite-utils/releases/tag/3.12 | 45251624 | MDc6UmVsZWFzZTQ1MjUxNjI0 | 3.12 | main | 3.12 | 0 | 9599 | 0 | 2021-06-25T17:59:05Z | 2021-06-25T18:00:18Z | - New [db.query(sql, params)](https://sqlite-utils.datasette.io/en/stable/python-api.html#python-api-query) method, which executes a SQL query and returns the results as an iterator over Python dictionaries. ([#290](https://github.com/simonw/sqlite-utils/issues/290)) - This project now uses `flake8` and has started to use `mypy`. ([#291](https://github.com/simonw/sqlite-utils/issues/291)) - New documentation on [contributing](https://sqlite-utils.datasette.io/en/stable/contributing.html#contributing) to this project. ([#292](https://github.com/simonw/sqlite-utils/issues/292)) | 140912432 | |
https://github.com/simonw/datasette/releases/tag/0.58 | 46222036 | MDc6UmVsZWFzZTQ2MjIyMDM2 | 0.58 | main | 0.58 | 0 | 9599 | 0 | 2021-07-15T00:33:04Z | 2021-07-15T00:37:57Z | - New `datasette --uds /tmp/datasette.sock` option for binding Datasette to a Unix domain socket, see [proxy documentation](https://docs.datasette.io/en/stable/deploying.html#deploying-proxy). ([#1388](https://github.com/simonw/datasette/issues/1388)) - `"searchmode": "raw"` table metadata option for defaulting a table to executing SQLite full-text search syntax without first escaping it, see [Advanced SQLite search queries](https://docs.datasette.io/en/stable/full_text_search.html#full-text-search-advanced-queries). ([#1389](https://github.com/simonw/datasette/issues/1389)) - New plugin hook: [get_metadata(datasette, key, database, table)](https://docs.datasette.io/en/stable/plugin_hooks.html#plugin-hook-get-metadata), for returning custom metadata for an instance, database or table. Thanks, Brandon Roberts! ([#1384](https://github.com/simonw/datasette/issues/1384)) - New plugin hook: [skip_csrf(datasette, scope)](https://docs.datasette.io/en/stable/plugin_hooks.html#plugin-hook-skip-csrf), for opting out of CSRF protection based on the incoming request. ([#1377](https://github.com/simonw/datasette/issues/1377)) - The [menu_links()](https://docs.datasette.io/en/stable/plugin_hooks.html#plugin-hook-menu-links), [table_actions()](https://docs.datasette.io/en/stable/plugin_hooks.html#plugin-hook-table-actions) and [database_actions()](https://docs.datasette.io/en/stable/plugin_hooks.html#plugin-hook-database-actions) plugin hooks all gained a new optional `request` argument providing access to the current request. ([#1371](https://github.com/simonw/datasette/issues/1371)) - Major performance improvement for Datasette faceting. ([#1394](https://github.com/simonw/datasette/issues/1394)) - Improved documentation for [Running Datasette behind a proxy](https://docs.datasette.io/en/stable/deploying.html#deploying-proxy) to recommend using `ProxyPreservehost On` with Apache. ([#1387](https://github.com/simonw/datasette/issues/1387)) - `POST` requests to endpoints that do not support that HTTP verb now return a 405 … | 107914493 | |
https://github.com/simonw/datasette/releases/tag/0.58.1 | 46341814 | MDc6UmVsZWFzZTQ2MzQxODE0 | 0.58.1 | main | 0.58.1 | 0 | 9599 | 0 | 2021-07-16T19:50:06Z | 2021-07-16T19:51:15Z | - Fix for an intermittent race condition caused by the `refresh_schemas()` internal function. ([#1231](https://github.com/simonw/datasette/issues/1231)) | 107914493 | |
https://github.com/simonw/sqlite-utils/releases/tag/3.13 | 46720847 | MDc6UmVsZWFzZTQ2NzIwODQ3 | 3.13 | main | 3.13 | 0 | 9599 | 0 | 2021-07-24T22:15:27Z | 2021-07-24T22:17:47Z | - `sqlite-utils schema my.db table1 table2` command now accepts optional table names. ([#299](https://github.com/simonw/sqlite-utils/issues/299)) - `sqlite-utils memory --help` now describes the `--schema` option. | 140912432 | |
https://github.com/simonw/sqlite-utils/releases/tag/3.14 | 47185841 | MDc6UmVsZWFzZTQ3MTg1ODQx | 3.14 | main | 3.14 | 0 | 9599 | 0 | 2021-08-02T21:29:16Z | 2021-08-02T21:34:43Z | This release introduces the new [sqlite-utils convert command](https://sqlite-utils.datasette.io/en/stable/cli.html#cli-convert) ([#251](https://github.com/simonw/sqlite-utils/issues/251)) and corresponding [table.convert(...)](https://sqlite-utils.datasette.io/en/stable/python-api.html#python-api-convert) Python method ([#302](https://github.com/simonw/sqlite-utils/issues/302)). These tools can be used to apply a Python conversion function to one or more columns of a table, either updating the column in place or using transformed data from that column to populate one or more other columns. This command-line example uses the Python standard library [textwrap module](https://docs.python.org/3/library/textwrap.html) to wrap the content of the `content` column in the `articles` table to 100 characters: ``` $ sqlite-utils convert content.db articles content\ '"\n".join(textwrap.wrap(value, 100))'\ --import=textwrap ``` The same operation in Python code looks like this: ```python import sqlite_utils, textwrap db = sqlite_utils.Database("content.db") db["articles"].convert("content", lambda v: "\n".join(textwrap.wrap(v, 100))) ``` See the full documentation for the [sqlite-utils convert command](https://sqlite-utils.datasette.io/en/stable/cli.html#cli-convert) and the [table.convert(...)](https://sqlite-utils.datasette.io/en/stable/python-api.html#python-api-convert) Python method for more details. Also in this release: - The new `table.count_where(...)` method, for counting rows in a table that match a specific SQL `WHERE` clause. ([#305](https://github.com/simonw/sqlite-utils/issues/305)) - New `--silent` option for the [sqlite-utils insert-files command](https://sqlite-utils.datasette.io/en/stable/cli.html#cli-insert-files) to hide the terminal progress bar, consistent with the `--silent` option for `sqlite-utils convert`. ([#301](https://github.com/simonw/sqlite-utils/issues/301)) | 140912432 | |
https://github.com/simonw/sqlite-utils/releases/tag/3.15 | 47569134 | MDc6UmVsZWFzZTQ3NTY5MTM0 | 3.15 | main | 3.15 | 0 | 9599 | 0 | 2021-08-09T22:42:06Z | 2021-08-09T22:43:16Z | - `sqlite-utils insert --flatten` option for [flattening nested JSON objects](https://sqlite-utils.datasette.io/en/stable/cli.html#cli-inserting-data-flatten) to create tables with column names like `topkey_nestedkey`. ([#310](https://github.com/simonw/sqlite-utils/issues/310)) - Fixed several spelling mistakes in the documentation, spotted [using codespell](https://til.simonwillison.net/python/codespell). - Errors that occur while using the `sqlite-utils` CLI tool now show the responsible SQL and query parameters, if possible. ([#309](https://github.com/simonw/sqlite-utils/issues/309)) | 140912432 | |
https://github.com/simonw/sqlite-utils/releases/tag/3.15.1 | 47636109 | MDc6UmVsZWFzZTQ3NjM2MTA5 | 3.15.1 | main | 3.15.1 | 0 | 9599 | 0 | 2021-08-10T23:55:12Z | 2021-08-10T23:55:38Z | - Python library now includes type annotations on almost all of the methods, plus detailed docstrings describing each one. ([#311](https://github.com/simonw/sqlite-utils/issues/311)) - New [API Reference](https://sqlite-utils.datasette.io/en/stable/reference.html) documentation page, powered by those docstrings. - Fixed bug where `.add_foreign_keys()` failed to raise an error if called against a `View`. ([#313](https://github.com/simonw/sqlite-utils/issues/313)) - Fixed bug where `.delete_where()` returned a `[]` instead of returning `self` if called against a non-existant table. ([#315](https://github.com/simonw/sqlite-utils/issues/315)) | 140912432 | { "url": "https://api.github.com/repos/simonw/sqlite-utils/releases/47636109/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0 } |
https://github.com/simonw/sqlite-utils/releases/tag/3.16 | 48077246 | MDc6UmVsZWFzZTQ4MDc3MjQ2 | 3.16 | main | 3.16 | 0 | 9599 | 0 | 2021-08-18T22:36:32Z | 2021-08-18T22:37:55Z | - Type signatures added to more methods, including `table.resolve_foreign_keys()`, `db.create_table_sql()`, `db.create_table()` and `table.create()`. ([#314](https://github.com/simonw/sqlite-utils/issues/314)) - New `db.quote_fts(value)` method, see [Quoting characters for use in search](https://sqlite-utils.datasette.io/en/stable/python-api.html#python-api-quote-fts) - thanks, Mark Neumann. ([#246](https://github.com/simonw/sqlite-utils/issues/246)) - `table.search()` now accepts an optional `quote=True` parameter. ([#296](https://github.com/simonw/sqlite-utils/issues/296)) - CLI command `sqlite-utils search` now accepts a `--quote` option. ([#296](https://github.com/simonw/sqlite-utils/issues/296)) - Fixed bug where `--no-headers` and `--tsv` options to [sqlite-utils insert](https://sqlite-utils.datasette.io/en/stable/cli.html#cli-insert-csv-tsv) could not be used together. ([#295](https://github.com/simonw/sqlite-utils/issues/295)) - Various small improvements to [API reference](https://sqlite-utils.datasette.io/en/stable/reference.html#reference) documentation. | 140912432 |