releases

158 rows sorted by node_id

View and edit SQL

Suggested facets: prerelease, created_at (date), published_at (date)

id html_url node_id ▼ tag_name target_commitish name draft author prerelease created_at published_at body repo
14560294 https://github.com/simonw/datasette/releases/tag/0.25.1 MDc6UmVsZWFzZTE0NTYwMjk0 0.25.1 master Datasette 0.25.1 0 simonw 9599 0 2018-11-05T06:31:41Z 2018-12-16T21:44:27Z

Documentation improvements plus a fix for publishing to Zeit Now.

  • datasette publish now now uses Zeit’s v1 platform, to work around the new 100MB image limit. Thanks, @slygent - closes #366.
datasette 107914493
14560304 https://github.com/simonw/datasette/releases/tag/0.25.2 MDc6UmVsZWFzZTE0NTYwMzA0 0.25.2 master Datasette 0.25.2 0 simonw 9599 0 2018-12-16T21:26:37Z 2018-12-16T21:45:39Z datasette 107914493
14914779 https://github.com/simonw/datasette/releases/tag/0.26 MDc6UmVsZWFzZTE0OTE0Nzc5 0.26 master Datasette 0.26 0 simonw 9599 0 2019-01-03T02:53:59Z 2019-01-10T21:41:00Z

Datasette 0.26 release notes

datasette 107914493
15175633 https://github.com/simonw/sqlite-utils/releases/tag/0.7 MDc6UmVsZWFzZTE1MTc1NjMz 0.7 master 0.7 0 simonw 9599 0 2019-01-25T07:20:49Z 2019-01-25T07:27:57Z

Release notes are here: https://sqlite-utils.readthedocs.io/en/latest/changelog.html#v0-7

sqlite-utils 140912432
15206659 https://github.com/simonw/datasette/releases/tag/0.26.1 MDc6UmVsZWFzZTE1MjA2NjU5 0.26.1 master Datasette 0.26.1 0 simonw 9599 0 2019-01-11T00:51:38Z 2019-01-28T01:50:45Z

Release notes: https://datasette.readthedocs.io/en/stable/changelog.html#v0-26-1

datasette 107914493
15208430 https://github.com/simonw/sqlite-utils/releases/tag/0.8 MDc6UmVsZWFzZTE1MjA4NDMw 0.8 master 0.8 0 simonw 9599 0 2019-01-26T02:13:29Z 2019-01-28T06:28:12Z

Two new commands: sqlite-utils csv and sqlite-utils json

https://sqlite-utils.readthedocs.io/en/latest/changelog.html#v0-8

sqlite-utils 140912432
15243253 https://github.com/simonw/sqlite-utils/releases/tag/0.9 MDc6UmVsZWFzZTE1MjQzMjUz 0.9 master 0.9 0 simonw 9599 0 2019-01-28T06:34:33Z 2019-01-29T15:30:48Z

https://sqlite-utils.readthedocs.io/en/latest/changelog.html#v0-9

sqlite-utils 140912432
15389392 https://github.com/simonw/datasette/releases/tag/0.27 MDc6UmVsZWFzZTE1Mzg5Mzky 0.27 master Datasette 0.27 0 simonw 9599 0 2019-02-01T03:47:05Z 2019-02-06T05:10:20Z

https://datasette.readthedocs.io/en/stable/changelog.html#v0-27

datasette 107914493
15439849 https://github.com/simonw/sqlite-utils/releases/tag/0.10 MDc6UmVsZWFzZTE1NDM5ODQ5 0.10 master 0.10 0 simonw 9599 0 2019-02-07T05:17:52Z 2019-02-08T05:19:33Z

https://sqlite-utils.readthedocs.io/en/latest/changelog.html#v0-10

sqlite-utils 140912432
15739051 https://github.com/simonw/sqlite-utils/releases/tag/0.13 MDc6UmVsZWFzZTE1NzM5MDUx 0.13 master 0.13 0 simonw 9599 0 2019-02-24T06:54:43Z 2019-02-24T07:00:14Z

https://sqlite-utils.readthedocs.io/en/latest/changelog.html#v0-13

sqlite-utils 140912432
15731282 https://github.com/simonw/sqlite-utils/releases/tag/0.11 MDc6UmVsZWFzZTE1NzMxMjgy 0.11 master 0.11 0 simonw 9599 0 2019-02-08T05:23:50Z 2019-02-23T02:15:34Z

https://sqlite-utils.readthedocs.io/en/latest/changelog.html#v0-11

sqlite-utils 140912432
15731354 https://github.com/simonw/sqlite-utils/releases/tag/0.12 MDc6UmVsZWFzZTE1NzMxMzU0 0.12 master 0.12 0 simonw 9599 0 2019-02-23T02:22:28Z 2019-02-23T02:31:29Z

https://sqlite-utils.readthedocs.io/en/latest/changelog.html#v0-12

sqlite-utils 140912432
15744513 https://github.com/simonw/sqlite-utils/releases/tag/0.14 MDc6UmVsZWFzZTE1NzQ0NTEz 0.14 master 0.14 0 simonw 9599 0 2019-02-24T23:11:51Z 2019-02-24T23:15:16Z

https://sqlite-utils.readthedocs.io/en/latest/changelog.html#v0-14

sqlite-utils 140912432
17450414 https://github.com/simonw/datasette/releases/tag/0.28 MDc6UmVsZWFzZTE3NDUwNDE0 0.28 master Datasette 0.28 0 simonw 9599 0 2019-05-19T21:37:49Z 2019-05-19T21:42:28Z

Datasette 0.28 - a salmagundi of new features!
* No longer immutable! Datasette now supports databases that change.
* Faceting improvements including facet-by-JSON-array and the ability to define custom faceting using plugins.
* datasette publish cloudrun lets you publish databasese to Google's new Cloud Run hosting service.
* New register_output_renderer plugin hook for adding custom output extensions to Datasette in addition to the default .json and .csv.
* Dozens of other smaller features and tweaks - see the release notes for full details.

datasette 107914493
17583581 https://github.com/simonw/sqlite-utils/releases/tag/1.0 MDc6UmVsZWFzZTE3NTgzNTgx 1.0 master 1.0 0 simonw 9599 0 2019-05-25T01:06:38Z 2019-05-25T01:19:21Z

https://sqlite-utils.readthedocs.io/en/latest/changelog.html#v1-0

sqlite-utils 140912432
17616531 https://github.com/simonw/sqlite-utils/releases/tag/1.0.1 MDc6UmVsZWFzZTE3NjE2NTMx 1.0.1 master 1.0.1 0 simonw 9599 0 2019-05-28T00:50:28Z 2019-05-28T00:51:21Z

https://sqlite-utils.readthedocs.io/en/latest/changelog.html#v1-0-1

sqlite-utils 140912432
17645877 https://github.com/simonw/sqlite-utils/releases/tag/1.1 MDc6UmVsZWFzZTE3NjQ1ODc3 1.1 master 1.1 0 simonw 9599 0 2019-05-29T05:12:03Z 2019-05-29T05:15:22Z

https://sqlite-utils.readthedocs.io/en/latest/changelog.html#v1-1

  • Support for ignore=True / --ignore for ignoring inserted records if the primary key alread exists (#21)
  • Ability to add a column that is a foreign key reference using fk=... / --fk (#16)
sqlite-utils 140912432
17961871 https://github.com/simonw/sqlite-utils/releases/tag/1.2 MDc6UmVsZWFzZTE3OTYxODcx 1.2 master 1.2 0 simonw 9599 0 2019-06-13T06:39:59Z 2019-06-13T06:42:21Z

https://sqlite-utils.readthedocs.io/en/latest/changelog.html#v1-2

sqlite-utils 140912432
18132566 https://github.com/simonw/sqlite-utils/releases/tag/1.2.1 MDc6UmVsZWFzZTE4MTMyNTY2 1.2.1 master 1.2.1 0 simonw 9599 0 2019-06-21T00:01:24Z 2019-06-21T00:06:29Z

https://sqlite-utils.readthedocs.io/en/latest/changelog.html#v1-2-1

sqlite-utils 140912432
18226656 https://github.com/simonw/sqlite-utils/releases/tag/1.2.2 MDc6UmVsZWFzZTE4MjI2NjU2 1.2.2 master 1.2.2 0 simonw 9599 0 2019-06-26T04:20:55Z 2019-06-26T04:24:33Z

https://sqlite-utils.readthedocs.io/en/latest/changelog.html#v1-2-2

sqlite-utils 140912432
18307928 https://github.com/simonw/sqlite-utils/releases/tag/1.3 MDc6UmVsZWFzZTE4MzA3OTI4 1.3 master 1.3 0 simonw 9599 0 2019-06-29T06:32:36Z 2019-06-29T06:39:32Z

https://sqlite-utils.readthedocs.io/en/latest/changelog.html#v1-3

sqlite-utils 140912432
18461320 https://github.com/simonw/datasette/releases/tag/0.29 MDc6UmVsZWFzZTE4NDYxMzIw 0.29 master Datasette 0.29 0 simonw 9599 0 2019-07-08T03:14:27Z 2019-07-08T03:43:13Z

ASGI, new plugin hooks, facet by date and much, much more… See the release notes for full details.

datasette 107914493
18598489 https://github.com/simonw/datasette/releases/tag/0.29.1 MDc6UmVsZWFzZTE4NTk4NDg5 0.29.1 master 0.29.1 0 simonw 9599 0 2019-07-11T16:17:55Z 2019-07-14T01:43:44Z
  • Fixed bug with static mounts using relative paths which could lead to traversal exploits (#555) - thanks Abdussamet Kocak!

https://datasette.readthedocs.io/en/stable/changelog.html#v0-29-1

datasette 107914493
18723202 https://github.com/simonw/sqlite-utils/releases/tag/1.6 MDc6UmVsZWFzZTE4NzIzMjAy 1.6 master 1.6 0 simonw 9599 0 2019-07-19T04:51:21Z 2019-07-19T05:36:48Z
  • sqlite-utils insert can now accept TSV data via the new --tsv option (#41)
sqlite-utils 140912432
18750559 https://github.com/dogsheep/healthkit-to-sqlite/releases/tag/0.2 MDc6UmVsZWFzZTE4NzUwNTU5 0.2 master 0.2 0 simonw 9599 0 2019-07-20T16:44:05Z 2019-07-20T16:44:41Z

Fixed a bug where duplicate records could crash the import.

healthkit-to-sqlite 197882382
18750551 https://github.com/dogsheep/healthkit-to-sqlite/releases/tag/0.1 MDc6UmVsZWFzZTE4NzUwNTUx 0.1 master Initial release 0 simonw 9599 0 2019-07-20T06:22:57Z 2019-07-20T16:43:09Z healthkit-to-sqlite 197882382
18762495 https://github.com/dogsheep/healthkit-to-sqlite/releases/tag/0.3 MDc6UmVsZWFzZTE4NzYyNDk1 0.3 master 0.3 0 simonw 9599 0 2019-07-22T03:31:54Z 2019-07-22T03:33:32Z
  • Tool now displays a progress bar during import - you can disable it with --silent #5
  • You can pass a path to a decompressed XML file instead of a zip file, using --xml
  • Records table is now broken up into different tables for each type of recorded data #6
healthkit-to-sqlite 197882382
18823859 https://github.com/dogsheep/healthkit-to-sqlite/releases/tag/0.3.1 MDc6UmVsZWFzZTE4ODIzODU5 0.3.1 master 0.3.1 0 simonw 9599 0 2019-07-24T06:33:22Z 2019-07-24T06:38:36Z

Uses less RAM - see #7

healthkit-to-sqlite 197882382
18881253 https://github.com/dogsheep/healthkit-to-sqlite/releases/tag/0.3.2 MDc6UmVsZWFzZTE4ODgxMjUz 0.3.2 master 0.3.2 0 simonw 9599 0 2019-07-26T06:02:30Z 2019-07-26T06:12:12Z

Fix for #9 - Too many SQL variables bug

healthkit-to-sqlite 197882382
18911392 https://github.com/simonw/sqlite-utils/releases/tag/1.7 MDc6UmVsZWFzZTE4OTExMzky 1.7 master 1.7 0 simonw 9599 0 2019-07-24T06:50:41Z 2019-07-28T12:03:21Z

https://sqlite-utils.readthedocs.io/en/latest/changelog.html#v1-7

sqlite-utils 140912432
18911404 https://github.com/simonw/sqlite-utils/releases/tag/1.7.1 MDc6UmVsZWFzZTE4OTExNDA0 1.7.1 master 1.7.1 0 simonw 9599 0 2019-07-28T12:00:51Z 2019-07-28T12:05:36Z

https://sqlite-utils.readthedocs.io/en/latest/changelog.html#v1-7-1

sqlite-utils 140912432
19669553 https://github.com/dogsheep/swarm-to-sqlite/releases/tag/0.1 MDc6UmVsZWFzZTE5NjY5NTUz 0.1 master 0.1 0 simonw 9599 0 2019-08-31T02:46:58Z 2019-08-31T02:58:32Z

First usable release.

swarm-to-sqlite 205429375
19704661 https://github.com/simonw/datasette/releases/tag/0.29.2 MDc6UmVsZWFzZTE5NzA0NjYx 0.29.2 master 0.29.2 0 simonw 9599 0 2019-07-14T03:04:05Z 2019-09-03T00:33:35Z
  • Bumped Uvicorn to 0.8.4, fixing a bug where the querystring was not included in the server logs. (#559)
  • Fixed bug where the navigation breadcrumbs were not displayed correctly on the page for a custom query. (#558)
  • Fixed bug where custom query names containing unicode characters caused errors.

https://datasette.readthedocs.io/en/stable/changelog.html#v0-29-2

datasette 107914493
19704736 https://github.com/simonw/sqlite-utils/releases/tag/1.8 MDc6UmVsZWFzZTE5NzA0NzM2 1.8 master 1.8 0 simonw 9599 0 2019-07-28T15:41:42Z 2019-09-03T00:45:42Z

https://sqlite-utils.readthedocs.io/en/stable/changelog.html#v1-8

sqlite-utils 140912432
19704739 https://github.com/simonw/sqlite-utils/releases/tag/1.9 MDc6UmVsZWFzZTE5NzA0NzM5 1.9 master 1.9 0 simonw 9599 0 2019-08-04T03:35:30Z 2019-09-03T00:46:02Z

https://sqlite-utils.readthedocs.io/en/stable/changelog.html#v1-9

sqlite-utils 140912432
19704743 https://github.com/simonw/sqlite-utils/releases/tag/1.10 MDc6UmVsZWFzZTE5NzA0NzQz 1.10 master 1.10 0 simonw 9599 0 2019-08-23T12:24:04Z 2019-09-03T00:46:27Z

https://sqlite-utils.readthedocs.io/en/stable/changelog.html#v1-10

sqlite-utils 140912432
19704889 https://github.com/simonw/sqlite-utils/releases/tag/1.11 MDc6UmVsZWFzZTE5NzA0ODg5 1.11 master 1.11 0 simonw 9599 0 2019-09-03T00:58:41Z 2019-09-03T01:03:27Z

https://sqlite-utils.readthedocs.io/en/stable/changelog.html#v1-11

sqlite-utils 140912432
19763160 https://github.com/dogsheep/twitter-to-sqlite/releases/tag/0.1a MDc6UmVsZWFzZTE5NzYzMTYw 0.1a master Alpha release 0 simonw 9599 0 2019-09-03T20:42:38Z 2019-09-04T22:08:18Z twitter-to-sqlite 206156866
19763185 https://github.com/dogsheep/twitter-to-sqlite/releases/tag/0.2 MDc6UmVsZWFzZTE5NzYzMTg1 0.2 master 0.2 0 simonw 9599 0 2019-09-04T21:17:34Z 2019-09-04T22:09:46Z

Full text search for tweets table

twitter-to-sqlite 206156866
19763200 https://github.com/dogsheep/twitter-to-sqlite/releases/tag/0.3 MDc6UmVsZWFzZTE5NzYzMjAw 0.3 master 0.3 0 simonw 9599 0 2019-09-04T22:10:07Z 2019-09-04T22:11:01Z

Extract places and media into separate tables

Demo: https://twitter-to-sqlite-demo.now.sh/

twitter-to-sqlite 206156866
19865891 https://github.com/dogsheep/twitter-to-sqlite/releases/tag/0.4 MDc6UmVsZWFzZTE5ODY1ODkx 0.4 master 0.4 0 simonw 9599 0 2019-09-09T22:41:25Z 2019-09-09T22:43:05Z
  • New users-lookup command for fetching multiple user profiles, including using new --sql and --attach options
  • New list-members subcommand for fetching members of a list
  • Added stop_after option to user-timeline command
twitter-to-sqlite 206156866
19889174 https://github.com/dogsheep/twitter-to-sqlite/releases/tag/0.5 MDc6UmVsZWFzZTE5ODg5MTc0 0.5 master 0.5 0 simonw 9599 0 2019-09-10T17:38:46Z 2019-09-10T17:39:47Z
  • Added followers-ids and friends-ids subcommands
twitter-to-sqlite 206156866
19993251 https://github.com/dogsheep/github-to-sqlite/releases/tag/0.1.1 MDc6UmVsZWFzZTE5OTkzMjUx 0.1.1 master 0.1.1 0 simonw 9599 0 2019-09-14T19:19:33Z 2019-09-14T19:42:08Z
  • Fix bug in authentication handling code
github-to-sqlite 207052882
19993751 https://github.com/dogsheep/github-to-sqlite/releases/tag/0.2 MDc6UmVsZWFzZTE5OTkzNzUx 0.2 master 0.2 0 simonw 9599 0 2019-09-14T21:31:17Z 2019-09-14T21:32:34Z
  • Added the github-to-sqlite starred command for retrieving starred repos, #1
github-to-sqlite 207052882
19993820 https://github.com/dogsheep/github-to-sqlite/releases/tag/0.3 MDc6UmVsZWFzZTE5OTkzODIw 0.3 master 0.3 0 simonw 9599 0 2019-09-14T21:49:27Z 2019-09-14T21:50:01Z
  • license is now extracted from the repos table into a separate licenses table with a foreign key, #2
github-to-sqlite 207052882
10458641 https://github.com/simonw/datasette/releases/tag/0.15 MDc6UmVsZWFzZTEwNDU4NjQx 0.15 master Datasette 0.15: sort by column 0 simonw 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 about the ages of different US politicians.

  • table_rows => table_rows_count, filtered_table_rows => filtered_table_rows_count

    Renamed properties. Closes #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

  • Column headers now link to sort/desc sort - refs #189

  • _sort and _sort_desc parameters for table views

    Allows for paginated sorted results based on a specified column.

    Refs #189

  • Total row count now correct even if _next applied

  • Use .custom_sql() for _group_count implementation (refs #150)

  • Make HTML title more readable in query template (#180) [Ryan Pitts]

  • New ?_shape=objects/object/lists param for JSON API (#192)

    New _shape= parameter replacing old .jsono extension

    Now instead of this:

    /database/table.jsono
    

    We use the _shape parameter like this:

    /database/table.json?_shape=objects
    

    Also introduced a new _shape called object which looks like this:

    /database/table.json?_shape=object
    

    Returning an object for the rows key:

    ...
    "rows": {
        "pk1": {
            ...
        },
        "pk2": {
            ...
        }
    }
    

    Refs #122

  • Utility for writing test database fixtures to a .db file

    python tests/fixtures.py /tmp/hello.db

    This is useful for making a SQLite database of the test fixtures for interactive exploration.

  • Compound primary key _next= now plays well with extra filters

    Closes #190

  • Fixed bug with keyset pagination over compound primary keys

    Refs #190

  • Database/Table views inherit source/license/source_url/license_url metadata

    If you set the source_url/license_url/source/license fields in your root metadata those values will now be inherited all the way down to the database and table templates.

    The title/description are NOT inherited.

    Also added unit tests for the HTML generated by the metadata.

    Refs #185

  • Add metadata, if it exists, to heroku temp dir (#178) [Tony Hirst]

  • Initial documentation for pagination

  • Broke up test_app into test_api and test_html

  • Fixed bug with .json path regular expression

    I had a table called geojson and it caused an exception because the regex was matching .json and not \.json

  • Deploy to Heroku with Python 3.6.3

datasette 107914493
10547491 https://github.com/simonw/datasette/releases/tag/0.18 MDc6UmVsZWFzZTEwNTQ3NDkx 0.18 master Datasette 0.18: units 0 simonw 9599 0 2018-04-14T15:36:10Z 2018-04-14T15:45:11Z

This release introduces support for units, contributed by Russ Garrett (#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.

  • 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

datasette 107914493
10542772 https://github.com/simonw/datasette/releases/tag/0.16 MDc6UmVsZWFzZTEwNTQyNzcy 0.16 master Datasette 0.16: sort on mobile, better error handling 0 simonw 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

    404s for missing tables/databases closes #184

  • long_description in markdown for the new PyPI

  • Hide Spatialite system tables. [Russ Garrett]

  • Allow explain select / explain query plan select #201

  • Datasette inspect now finds primary_keys #195

  • Ability to sort using form fields (for mobile portrait mode) #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.

datasette 107914493
10575542 https://github.com/simonw/datasette/releases/tag/0.19 MDc6UmVsZWFzZTEwNTc1NTQy 0.19 master Datasette 0.19: plugins preview 0 simonw 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 and get involved in the tracking ticket if you have feedback on the direction so far.

  • Fix for _sort_desc=sortable_with_nulls test, refs #216

  • Fixed #216 - paginate correctly when sorting by nullable column

  • Initial documentation for plugins, closes #213

https://datasette.readthedocs.io/en/latest/plugins.html

  • New --plugins-dir=plugins/ option (#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)

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

  • Return HTTP 405 on InvalidUsage rather than 500. [Russ Garrett]

This also stops it filling up the logs. This happens for HEAD requests at the moment - which perhaps should be handled better, but that's a different issue.

datasette 107914493
10645022 https://github.com/simonw/datasette/releases/tag/0.20 MDc6UmVsZWFzZTEwNjQ1MDIy 0.20 master Datasette 0.20: static assets and templates for plugins 0 simonw 9599 0 2018-04-20T14:36:29Z 2018-04-20T14:41:14Z

Mostly new work on the Plugins 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

datasette 107914493
10868113 https://github.com/simonw/datasette/releases/tag/0.21 MDc6UmVsZWFzZTEwODY4MTEz 0.21 master Datasette 0.21: New _shape=, new _size=, search within columns 0 simonw 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

  • Show version on /-/plugins page, closes #248

  • ?_size=max option, closes #249

  • Added /-/versions and /-/versions.json, closes #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

  • New ?_shape=array option + tweaks to _shape, closes #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

  • New ?_size=XXX querystring parameter for table view, closes #229

    Also added documentation for all of the _special arguments.

    Plus deleted some duplicate logic implementing _group_count.

  • If max_returned_rows==page_size, increment max_returned_rows - fixes #230

  • New hidden: True option for table metadata, closes #239

  • Hide idx_* tables if spatialite detected, closes #228

  • Added class=rows-and-columns to custom query results table

  • Added CSS class rows-and-columns to main table

  • label_column option in metadata.json - closes #234

datasette 107914493
11087850 https://github.com/simonw/datasette/releases/tag/0.22 MDc6UmVsZWFzZTExMDg3ODUw 0.22 master Datasette 0.22: Datasette Facets 0 simonw 9599 0 2018-05-20T23:41:47Z 2018-05-20T23:44:19Z

The big new feature in this release is facets. Datasette can now apply faceted browse to any column in any table. It will also suggest possible facets. See the Datasette Facets announcement post for more details.

In addition to the work on facets:

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

datasette 107914493
11136605 https://github.com/simonw/datasette/releases/tag/0.22.1 MDc6UmVsZWFzZTExMTM2NjA1 0.22.1 master Datasette 0.22.1 0 simonw 9599 0 2018-05-23T14:00:01Z 2018-05-23T14:04:17Z

Bugfix release, plus we now use 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]

datasette 107914493
11530498 https://github.com/simonw/datasette/releases/tag/0.23 MDc6UmVsZWFzZTExNTMwNDk4 0.23 master Datasette 0.23: CSV, SpatiaLite and more 0 simonw 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

datasette 107914493
11591352 https://github.com/simonw/datasette/releases/tag/0.23.1 MDc6UmVsZWFzZTExNTkxMzUy 0.23.1 master Datasette 0.23.1 0 simonw 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
datasette 107914493
11825600 https://github.com/simonw/datasette/releases/tag/0.23.2 MDc6UmVsZWFzZTExODI1NjAw 0.23.2 master Datasette 0.23.2 0 simonw 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 including docker image - closes #328
  • Fix for row pages for tables with / in, closes #325
datasette 107914493
12080036 https://github.com/simonw/datasette/releases/tag/0.24 MDc6UmVsZWFzZTEyMDgwMDM2 0.24 master Datasette 0.24 0 simonw 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

datasette 107914493
12986637 https://github.com/simonw/datasette/releases/tag/0.25 MDc6UmVsZWFzZTEyOTg2NjM3 0.25 master Datasette 0.25 0 simonw 9599 0 2018-09-19T17:48:12Z 2018-09-19T18:27:21Z

New plugin hooks, improved database view support and an easier way to use more recent versions of SQLite.

See full release notes here: https://datasette.readthedocs.io/en/latest/changelog.html#v0-25

datasette 107914493
24026132 https://github.com/simonw/sqlite-utils/releases/tag/2.4 MDc6UmVsZWFzZTI0MDI2MTMy 2.4 master 2.4 0 simonw 9599 0 2020-02-27T04:55:58Z 2020-02-27T04:58:25Z
  • table.disable_fts() can now be used to remove FTS tables and triggers that were created using table.enable_fts(...). (#88)
  • The sqlite-utils disable-fts command can be used to remove FTS tables and triggers from the command-line. (#88)
  • Trying to create table columns with square braces ([ or ]) in the name now raises an error. (#86)
  • Subclasses of dict, list and tuple are now detected as needing a JSON column. (#87)
sqlite-utils 140912432
24154697 https://github.com/simonw/datasette/releases/tag/0.37.1 MDc6UmVsZWFzZTI0MTU0Njk3 0.37.1 master Datasette 0.37.1 0 simonw 9599 0 2020-03-03T03:43:08Z 2020-03-03T03:46:17Z datasette 107914493
24330942 https://github.com/simonw/datasette/releases/tag/0.38 MDc6UmVsZWFzZTI0MzMwOTQy 0.38 master 0.38 0 simonw 9599 0 2020-03-08T23:26:50Z 2020-03-08T23:42:36Z
  • The Docker build of Datasette now uses SQLite 3.31.1, upgraded from 3.26. (#695)
  • datasette publish cloudrun now accepts an optional --memory=2Gi flag for setting the Cloud Run allocated memory to a value other than the default (256Mi). (#694)
  • Fixed bug where templates that shipped with plugins were sometimes not being correctly loaded. (#697)
datasette 107914493
24410477 https://github.com/dogsheep/github-to-sqlite/releases/tag/0.7 MDc6UmVsZWFzZTI0NDEwNDc3 0.7 master 0.7 0 simonw 9599 0 2020-03-11T02:47:32Z 2020-03-11T02:48:32Z
  • New github-to-sqlite commits my.db dogsheep/github-to-sqlite command. #17
github-to-sqlite 207052882
24530295 https://github.com/simonw/sqlite-utils/releases/tag/2.4.1 MDc6UmVsZWFzZTI0NTMwMjk1 2.4.1 master 2.4.1 0 simonw 9599 0 2020-03-02T06:12:21Z 2020-03-14T20:06:08Z
  • table.enable_fts() now works with columns that contain spaces. (#90)
sqlite-utils 140912432
24530387 https://github.com/simonw/sqlite-utils/releases/tag/2.4.2 MDc6UmVsZWFzZTI0NTMwMzg3 2.4.2 master 2.4.2 0 simonw 9599 0 2020-03-14T20:09:56Z 2020-03-14T20:13:18Z
  • table.column_dicts now works with all column types - previously it would throw errors on types other than TEXT, BLOB, INTEGER or FLOAT. (#92)
  • Documentation for NotFoundError thrown by table.get(pk) - see Retrieving a specific record.
sqlite-utils 140912432
24724394 https://github.com/dogsheep/twitter-to-sqlite/releases/tag/0.18 MDc6UmVsZWFzZTI0NzI0Mzk0 0.18 master 0.18 0 simonw 9599 0 2020-03-20T20:16:46Z 2020-03-20T20:19:42Z
  • twitter-to-sqlite user-timeline command now accepts --sql and --attach and --ids options, and can also accept multiple screen names or user IDs as command arguments. #35
twitter-to-sqlite 206156866
24728163 https://github.com/dogsheep/twitter-to-sqlite/releases/tag/0.19 MDc6UmVsZWFzZTI0NzI4MTYz 0.19 master 0.19 0 simonw 9599 0 2020-03-20T23:14:02Z 2020-03-20T23:16:53Z
  • The twitter-to-sqlite friends and twitter-to-sqlite followers commands now accept the --sql and --attach options. #36
  • Improved the display of the progress bar for the user-timeline command. #38
twitter-to-sqlite 206156866
24722801 https://github.com/dogsheep/twitter-to-sqlite/releases/tag/0.17 MDc6UmVsZWFzZTI0NzIyODAx 0.17 master 0.17 0 simonw 9599 0 2020-03-20T19:22:37Z 2020-03-20T19:23:40Z
  • Upgraded to latest sqlite-utils (currently 2.4.2)
  • This fixed a bug with user-timeline - #34
twitter-to-sqlite 206156866
24738954 https://github.com/dogsheep/hacker-news-to-sqlite/releases/tag/0.2a MDc6UmVsZWFzZTI0NzM4OTU0 0.2a master 0.2a 0 simonw 9599 0 2020-03-21T15:27:15Z 2020-03-21T19:46:58Z

Compatibility with sqlite-utils 1.x

hacker-news-to-sqlite 248903544
24738963 https://github.com/dogsheep/hacker-news-to-sqlite/releases/tag/0.3 MDc6UmVsZWFzZTI0NzM4OTYz 0.3 master 0.3 0 simonw 9599 0 2020-03-21T19:46:08Z 2020-03-21T19:47:36Z

First non-alpha release. Now configures full-text search for the users and items tables. #1

hacker-news-to-sqlite 248903544
24731201 https://github.com/dogsheep/hacker-news-to-sqlite/releases/tag/0.1a MDc6UmVsZWFzZTI0NzMxMjAx 0.1a master 0.1a 0 simonw 9599 0 2020-03-21T04:19:07Z 2020-03-21T04:26:28Z
  • user and trees commands.
hacker-news-to-sqlite 248903544
24740687 https://github.com/dogsheep/hacker-news-to-sqlite/releases/tag/0.3.1 MDc6UmVsZWFzZTI0NzQwNjg3 0.3.1 master 0.3.1 0 simonw 9599 0 2020-03-21T22:39:34Z 2020-03-21T22:41:16Z

Added documentation on Browsing your data with Datasette.

hacker-news-to-sqlite 248903544
24786773 https://github.com/simonw/sqlite-utils/releases/tag/2.4.3 MDc6UmVsZWFzZTI0Nzg2Nzcz 2.4.3 master 2.4.3 0 simonw 9599 0 2020-03-23T19:58:55Z 2020-03-23T20:00:25Z
  • Column type suggestion code is no longer confused by null values. (#94)
sqlite-utils 140912432
24787721 https://github.com/simonw/sqlite-utils/releases/tag/2.4.4 MDc6UmVsZWFzZTI0Nzg3NzIx 2.4.4 master 2.4.4 0 simonw 9599 0 2020-03-23T20:32:09Z 2020-03-23T20:34:18Z
  • Fixed bug where columns with only null values were not correctly created. (#95)
sqlite-utils 140912432
24792596 https://github.com/dogsheep/github-to-sqlite/releases/tag/1.0 MDc6UmVsZWFzZTI0NzkyNTk2 1.0 master 1.0 0 simonw 9599 0 2020-03-24T00:07:47Z 2020-03-24T00:11:51Z
  • Full-text search is configured for more tables. #19
  • Release assets are now pulled out into a separate assets table. #15
  • Now depends on sqlite-utils 2.x. #20
  • Commit raw authors are now used to populate a new raw_authors able. #18
  • New live demo at https://github-to-sqlite.dogsheep.net/ #13
  • GitHub API errors are now raised as Pyton exceptions. #21
  • Fixed bug running commits against repos with no commits. #22
github-to-sqlite 207052882
24793032 https://github.com/dogsheep/inaturalist-to-sqlite/releases/tag/0.2 MDc6UmVsZWFzZTI0NzkzMDMy 0.2 master 0.2 0 simonw 9599 0 2020-03-24T00:35:44Z 2020-03-24T00:36:40Z
  • Upgraded to sqlite-utils 2.x
  • First non-alpha release
inaturalist-to-sqlite 206202864
24836140 https://github.com/simonw/datasette/releases/tag/0.39 MDc6UmVsZWFzZTI0ODM2MTQw 0.39 master 0.39 0 simonw 9599 0 2020-03-25T04:02:37Z 2020-03-25T04:11:35Z
  • New base_url configuration setting for serving up the correct links while running Datasette under a different URL prefix. (#394)
  • New metadata settings "sort" and "sort_desc" for setting the default sort order for a table. See Setting a default sort order. (#702)
  • Sort direction arrow now displays by default on the primary key. This means you only have to click once (not twice) to sort in reverse order. (#677)
  • New await Request(scope, receive).post_vars() method for accessing POST form variables. (#700)
  • Plugin hooks documentation now links to example uses of each plugin. (#709)
datasette 107914493
24954042 https://github.com/dogsheep/swarm-to-sqlite/releases/tag/0.3 MDc6UmVsZWFzZTI0OTU0MDQy 0.3 master 0.3 0 simonw 9599 0 2020-03-28T02:25:29Z 2020-03-28T02:28:35Z
  • Upgraded to sqlite-utils 2.x
swarm-to-sqlite 205429375
24954053 https://github.com/dogsheep/swarm-to-sqlite/releases/tag/0.3.1 MDc6UmVsZWFzZTI0OTU0MDUz 0.3.1 master 0.3.1 0 simonw 9599 0 2020-03-28T02:29:41Z 2020-03-28T02:30:10Z
  • Fixed bug with very old checkins that were missing their source - thanks, @mfa! #6
swarm-to-sqlite 205429375
24950669 https://github.com/dogsheep/pocket-to-sqlite/releases/tag/0.2 MDc6UmVsZWFzZTI0OTUwNjY5 0.2 master 0.2 0 simonw 9599 0 2020-03-27T22:23:16Z 2020-03-27T22:26:30Z
  • Defaults to only retrieving updated items, unless you use --all. #2
  • Now displays a progress bar for initial data import and --all.
  • Data is now fetched 500 items at a time using API pagination. #1
  • Now depends on sqlite-utils 2.x.
  • auth.json now uses pocket_ prefix on each stored key. #4
pocket-to-sqlite 213286752
24953710 https://github.com/dogsheep/healthkit-to-sqlite/releases/tag/0.5 MDc6UmVsZWFzZTI0OTUzNzEw 0.5 master 0.5 0 simonw 9599 0 2020-03-28T01:50:51Z 2020-03-28T01:55:19Z
  • Upgraded to latest sqlite-utils
healthkit-to-sqlite 197882382
25070766 https://github.com/dogsheep/twitter-to-sqlite/releases/tag/0.20 MDc6UmVsZWFzZTI1MDcwNzY2 0.20 master 0.20 0 simonw 9599 0 2020-04-01T04:18:17Z 2020-04-01T04:18:53Z
  • Reworked how --since works to fix a bug spotted in #39. The most recently seen tweet ID for various commands is now stored in a new since_ids table.
  • New feature: the friends, followers and listed counts for each user are now stored in a count_history table and updated any time we spot that the counts in that user's profile have changed. #40
twitter-to-sqlite 206156866
25070964 https://github.com/dogsheep/twitter-to-sqlite/releases/tag/0.20.1 MDc6UmVsZWFzZTI1MDcwOTY0 0.20.1 master 0.20.1 0 simonw 9599 0 2020-04-01T04:31:23Z 2020-04-01T04:33:35Z
  • Buf fix: since_id table no longer records a record for None, None. #41
twitter-to-sqlite 206156866
25436265 https://github.com/simonw/sqlite-utils/releases/tag/2.5 MDc6UmVsZWFzZTI1NDM2MjY1 2.5 master 2.5 0 simonw 9599 0 2020-04-13T03:52:19Z 2020-04-13T03:54:08Z
  • Panda’s Timestamp is now stored as a SQLite TEXT column. Thanks, b0b5h4rp13! (#96)
  • table.last_pk is now only available for inserts or upserts of a single record. (#98)
  • New Database(filepath, recreate=True) parameter for deleting and recreating the database. (#97)
sqlite-utils 140912432
25554617 https://github.com/simonw/sqlite-utils/releases/tag/2.6 MDc6UmVsZWFzZTI1NTU0NjE3 2.6 master 2.6 0 simonw 9599 0 2020-04-16T03:13:13Z 2020-04-16T03:14:48Z
  • New table.rows_where(..., order_by="age desc") argument, see Listing rows. (#76)
sqlite-utils 140912432
25583094 https://github.com/dogsheep/github-to-sqlite/releases/tag/1.0.1 MDc6UmVsZWFzZTI1NTgzMDk0 1.0.1 master 1.0.1 0 simonw 9599 0 2020-04-16T17:41:47Z 2020-04-16T18:09:29Z github-to-sqlite 207052882
25632029 https://github.com/dogsheep/twitter-to-sqlite/releases/tag/0.21 MDc6UmVsZWFzZTI1NjMyMDI5 0.21 master 0.21 0 simonw 9599 0 2020-04-17T23:44:31Z 2020-04-17T23:46:51Z
  • New command: twitter-to-sqlite lists username fetches lists owned by the specified users. #43
  • Handle tweets with a blank source. #44
  • Fixed error with twitter-to-sqlite user-timeline --sql=... --ids. #42
  • Better error messages for non-existing users. #37
twitter-to-sqlite 206156866
25640859 https://github.com/dogsheep/github-to-sqlite/releases/tag/1.1 MDc6UmVsZWFzZTI1NjQwODU5 1.1 master 1.1 0 simonw 9599 0 2020-04-18T15:07:04Z 2020-04-18T15:09:55Z
  • New github-to-sqlite contributors command for fetching contributors to one or more repositories. #28
  • The live demo now includes contributors, and pulls data from simonw/datasette and simonw/sqlite-utils in addition to the Dogsheep repositories.
  • The organization column in the repos table is now a foreign key to users as opposed to a big piece of JSON. #27
github-to-sqlite 207052882
25745723 https://github.com/dogsheep/github-to-sqlite/releases/tag/2.0 MDc6UmVsZWFzZTI1NzQ1NzIz 2.0 master 2.0 0 simonw 9599 0 2020-04-22T01:20:52Z 2020-04-22T01:24:37Z

This release includes some backwards-incompatible schema changes:

  • The milestone and assignee columns on the issues table are now integers that are foreign keys to the milestones and users tables - previously they could be text columns instead. #30
  • milestones now has an integer foreign key in the creator column, and a new repo column that is an integer foreign key to the repos table. #29
  • The repo column in the issues table is now an integer foreign key to repos. Previously it was a string of the format dogsheep/github-to-sqlite. #31
github-to-sqlite 207052882
25748264 https://github.com/simonw/datasette/releases/tag/0.40 MDc6UmVsZWFzZTI1NzQ4MjY0 0.40 master 0.40 0 simonw 9599 0 2020-04-22T04:06:39Z 2020-04-22T04:06:51Z
  • Datasette Metadata can now be provided as a YAML file as an optional alternative to JSON. See Using YAML for metadata. (#713)
  • Removed support for datasette publish now, which used the the now-retired Zeit Now v1 hosting platform. A new plugin, datasette-publish-now, can be installed to publish data to Zeit (now Vercel) Now v2. (#710)
  • Fixed a bug where the extra_template_vars(request, view_name) plugin hook was not receiving the correct view_name. (#716)
  • Variables added to the template context by the extra_template_vars() plugin hook are now shown in the ?_context=1 debugging mode (see template_debug). (#693)
  • Fixed a bug where the “templates considered” HTML comment was no longer being displayed. (#689)
  • Fixed a datasette publish bug where --plugin-secret would over-ride plugin configuration in the provided metadata.json file. (#724)
  • Added a new CSS class for customizing the canned query page. (#727)
datasette 107914493
25832422 https://github.com/dogsheep/dogsheep-photos/releases/tag/0.1a MDc6UmVsZWFzZTI1ODMyNDIy 0.1a master 0.1a 0 simonw 9599 0 2020-04-19T00:15:55Z 2020-04-24T00:40:57Z
  • First alpha release
dogsheep-photos 256834907
25832475 https://github.com/dogsheep/dogsheep-photos/releases/tag/0.2a MDc6UmVsZWFzZTI1ODMyNDc1 0.2a master 0.2a 0 simonw 9599 0 2020-04-24T00:42:43Z 2020-04-24T00:44:21Z
  • Only upload photos not already in S3. #9
dogsheep-photos 256834907
26059149 https://github.com/dogsheep/twitter-to-sqlite/releases/tag/0.21.1 MDc6UmVsZWFzZTI2MDU5MTQ5 0.21.1 master 0.21.1 0 simonw 9599 0 2020-04-30T18:20:43Z 2020-04-30T18:21:46Z
  • Fixed bug that occurred when the since_ids table had not yet been created. #46
twitter-to-sqlite 206156866
26059545 https://github.com/simonw/sqlite-utils/releases/tag/2.7 MDc6UmVsZWFzZTI2MDU5NTQ1 2.7 master 2.7 0 simonw 9599 0 2020-04-18T00:04:50Z 2020-04-30T18:33:20Z
  • New columns= argument for the .insert(), .insert_all(), .upsert() and .upsert_all() methods, for over-riding the auto-detected types for columns and specifying additional columns that should be added when the table is created. See Custom column order and column types. (#100)
sqlite-utils 140912432
26067911 https://github.com/dogsheep/github-to-sqlite/releases/tag/2.1 MDc6UmVsZWFzZTI2MDY3OTEx 2.1 master 2.1 0 simonw 9599 0 2020-04-30T23:02:24Z 2020-04-30T23:03:32Z
  • New github-to-sqlite scrape-dependents command for importing the dependent repositories for a repo. #34
github-to-sqlite 207052882
26096691 https://github.com/simonw/sqlite-utils/releases/tag/2.7.1 MDc6UmVsZWFzZTI2MDk2Njkx 2.7.1 master 2.7.1 0 simonw 9599 0 2020-05-01T22:08:37Z 2020-05-01T22:11:19Z
  • New sqlite-utils views my.db command for listing views in a database, see Listing views. (#105)
  • sqlite-utils tables (and views) has a new --schema option which outputs the table/view schema, see Listing tables. (#104)
  • Nested structures containing invalid JSON values (e.g. Python bytestrings) are now serialized using repr() instead of throwing an error. (#102)
sqlite-utils 140912432
26107311 https://github.com/simonw/sqlite-utils/releases/tag/2.7.2 MDc6UmVsZWFzZTI2MTA3MzEx 2.7.2 master 2.7.2 0 simonw 9599 0 2020-05-02T16:05:27Z 2020-05-02T16:10:11Z
  • db.create_view(...) now has additional parameters ignore=True or replace=True, see Creating views. (#106)
sqlite-utils 140912432
26110434 https://github.com/dogsheep/github-to-sqlite/releases/tag/2.2 MDc6UmVsZWFzZTI2MTEwNDM0 2.2 master 2.2 0 simonw 9599 0 2020-05-02T21:23:11Z 2020-05-02T21:28:00Z
  • New command: github-to-sqlite stargazers (docs) for fetching all users who have starred the specified repositories. #4
  • Added several views: dependent_repos, repos_starred, recent_releases. #10 #12 #36
  • Added indexes on all foreign key relationships. #35
  • GitHub API token can now be read from GITHUB_TOKEN environment variable. #33
github-to-sqlite 207052882
26120136 https://github.com/simonw/sqlite-utils/releases/tag/2.8 MDc6UmVsZWFzZTI2MTIwMTM2 2.8 master 2.8 0 simonw 9599 0 2020-05-03T15:39:56Z 2020-05-03T15:41:31Z sqlite-utils 140912432
26199348 https://github.com/dogsheep/dogsheep-photos/releases/tag/0.3a MDc6UmVsZWFzZTI2MTk5MzQ4 0.3a master 0.3a 0 simonw 9599 0 2020-05-05T20:16:53Z 2020-05-05T20:17:00Z
  • Upload photos to S3 in a thread pool #11
  • New --dry-run option to upload command
  • New photos-to-sqlite apple-photos command for importing Apple Photos metadata #1
  • Apple Photos quality scores are imported into apple_photos_scores table #15
  • Machine learning labels imported from Apple Photos into labels table #16
dogsheep-photos 256834907
26240662 https://github.com/simonw/datasette/releases/tag/0.41 MDc6UmVsZWFzZTI2MjQwNjYy 0.41 master 0.41 0 simonw 9599 0 2020-05-06T18:20:58Z 2020-05-06T18:30:03Z

You can now create custom pages within your Datasette instance using a custom template file. For example, adding a template file called templates/pages/about.html will result in a new page being served at /about on your instance. See the custom pages documentation for full details, including how to return custom HTTP headers, redirects and status codes. (#648)

Configuration directory mode (#731) allows you to define a custom Datasette instance as a directory. So instead of running the following:

$ datasette one.db two.db \
  --metadata.json \
  --template-dir=templates/ \
  --plugins-dir=plugins \
  --static css:css

You can instead arrange your files in a single directory called my-project and run this:

$ datasette my-project/

Also in this release:

  • New NOT LIKE table filter: ?colname__notlike=expression. (#750)
  • Datasette now has a pattern portfolio at /-/patterns - e.g. https://latest.datasette.io/-/patterns. This is a page that shows every Datasette user interface component in one place, to aid core development and people building custom CSS themes. (#151)
  • SQLite PRAGMA functions such as pragma_table_info(tablename) are now allowed in Datasette SQL queries. (#761)
  • Datasette pages now consistently return a content-type of text/html; charset=utf-8". (#752)
  • Datasette now handles an ASGI raw_path value of None, which should allow compatibilty with the Mangum adapter for running ASGI apps on AWS Lambda. Thanks, Colin Dellow. (#719)
  • Installation documentation now covers how to Install using pipx. (#756)
  • Improved the documentation for Full-text search.
datasette 107914493

Next page

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE [releases] (
   [html_url] TEXT,
   [id] INTEGER PRIMARY KEY,
   [node_id] TEXT,
   [tag_name] TEXT,
   [target_commitish] TEXT,
   [name] TEXT,
   [draft] INTEGER,
   [author] INTEGER REFERENCES [users]([id]),
   [prerelease] INTEGER,
   [created_at] TEXT,
   [published_at] TEXT,
   [body] TEXT,
   [repo] INTEGER REFERENCES [repos]([id])
);
CREATE INDEX [idx_releases_repo]
                ON [releases] ([repo]);
CREATE INDEX [idx_releases_author]
                ON [releases] ([author]);
Powered by Datasette · Query took 42.462ms · About: github-to-sqlite