# releases

html_url: https://github.com/simonw/datasette/releases/tag/0.12
node_id: MDc6UmVsZWFzZTg1NDY1NzU=
tag_name: 0.12
target_commitish: main
name: Datasette 0.12
created_at: 2017-11-16T15:37:46Z
published_at: 2017-11-16T16:01:35Z
body:
  -   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 not 0.0.0.0. (#98).
  -   Added extra metadata options to publish and package commands.
      (#92).

      You can now run these commands like so:

          datasette now publish mydb.db \
              --title="My Title" \
              --source="Source" \
              --source_url="http://www.example.com/" \
              --license="CC0" \
              --license_url="https://creativecommons.org/publicdomain/zero/1.0/"

      This will write those values into the metadata.json that is packaged
      with the app. If you also pass `--metadata=metadata.json` that file
      will be updated with the extra values before being written into the
      Docker image.

  -   Added simple production-ready Dockerfile (#94) \[Andrew Cutler\]
  -   New `?_sql_time_limit_ms=10` argument to database and table page
      (#95)
  -   SQL syntax highlighting with Codemirror (#89) \[Tom Dyson\]


html_url: https://github.com/simonw/csvs-to-sqlite/releases/tag/0.3
node_id: MDc6UmVsZWFzZTg1NTYwNTQ=
tag_name: 0.3
target_commitish: main
name: csvs-to-sqlite 0.3
created_at: 2017-11-17T05:26:07Z
published_at: 2017-11-17T05:33:39Z
body:
  - **Mechanism for converting columns into separate tables**

    Let's say you have a CSV file that looks like this:
    
        county,precinct,office,district,party,candidate,votes
        Clark,1,President,,REP,John R. Kasich,5
        Clark,2,President,,REP,John R. Kasich,0
        Clark,3,President,,REP,John R. Kasich,7
    
    (Real example from https://github.com/openelections/openelections-data-sd/blob/  master/2016/20160607__sd__primary__clark__precinct.csv )
    
    You can now convert selected columns into separate lookup tables using the new
    --extract-column option (shortname: -c) - for example:
    
        csvs-to-sqlite openelections-data-*/*.csv \
            -c county:County:name \
            -c precinct:Precinct:name \
            -c office -c district -c party -c candidate \
            openelections.db
    
    The format is as follows:
    
        column_name:optional_table_name:optional_table_value_column_name
    
    If you just specify the column name e.g. `-c office`, the following table will
    be created:
    
        CREATE TABLE "party" (
            "id" INTEGER PRIMARY KEY,
            "value" TEXT
        );
    
    If you specify all three options, e.g. `-c precinct:Precinct:name` the table
    will look like this:
    
        CREATE TABLE "Precinct" (
            "id" INTEGER PRIMARY KEY,
            "name" TEXT
        );
    
    The original tables will be created like this:
    
        CREATE TABLE "ca__primary__san_francisco__precinct" (
            "county" INTEGER,
            "precinct" INTEGER,
            "office" INTEGER,
            "district" INTEGER,
            "party" INTEGER,
            "candidate" INTEGER,
            "votes" INTEGER,
            FOREIGN KEY (county) REFERENCES County(id),
            FOREIGN KEY (party) REFERENCES party(id),
            FOREIGN KEY (precinct) REFERENCES Precinct(id),
            FOREIGN KEY (office) REFERENCES office(id),
            FOREIGN KEY (candidate) REFERENCES candidate(id)
        );
    
    They will be populated with IDs that reference the new derived tables.
    
    Closes #2


html_url: https://github.com/simonw/csvs-to-sqlite/releases/tag/0.5
node_id: MDc6UmVsZWFzZTg1NzU3ODU=
tag_name: 0.5
target_commitish: main
name: csvs-to-sqlite 0.5
created_at: 2017-11-19T05:11:27Z
published_at: 2017-11-19T05:53:25Z
body:
  ## Now handles columns with integers and nulls in correctly

  Pandas does a good job of figuring out which SQLite column types should be
  used for a DataFrame - with one exception: due to a limitation of NumPy it
  treats columns containing a mixture of integers and NaN (blank values) as
  being of type float64, which means they end up as REAL columns in SQLite.

  http://pandas.pydata.org/pandas-docs/stable/gotchas.html#support-for-integer-na

  To fix this, we now check to see if a float64 column actually consists solely
  of NaN and integer-valued floats (checked using v.is_integer() in Python). If
  that is the case, we over-ride the column type to be INTEGER instead.

  See #5 - also a8ab524 and 0997b7b


html_url: https://github.com/simonw/csvs-to-sqlite/releases/tag/0.6
node_id: MDc6UmVsZWFzZTg2NTE4Njk=
tag_name: 0.6
target_commitish: main
name: csvs-to-sqlite 0.6
created_at: 2017-11-24T23:12:10Z
published_at: 2017-11-24T23:16:45Z
body:
  ## SQLite full-text search support

  - Added `--fts` option for setting up SQLite full-text search.

    The `--fts` option will create a corresponding SQLite FTS virtual table, using
    the best available version of the FTS module.

    https://sqlite.org/fts5.html
    https://www.sqlite.org/fts3.html

    Usage:

        csvs-to-sqlite my-csv.csv output.db -f column1 -f column2

    Example generated with this option: https://sf-trees-search.now.sh/

    Example search: https://sf-trees-search.now.sh/sf-trees-search-a899b92?sql=select+*+from+Street_Tree_List+where+rowid+in+%28select+rowid+from+Street_Tree_List_fts+where+Street_Tree_List_fts+match+%27grove+london+dpw%27%29%0D%0A

    Will be used in https://github.com/simonw/datasette/issues/131
  - `--fts` and `--extract-column` now cooperate.

    If you extract a column and then specify that same column in the `--fts` list,
    `csvs-to-sqlite` now uses the original value of that column in the index.

    Example using CSV from https://data.sfgov.org/City-Infrastructure/Street-Tree-List/tkzw-k3nq

        csvs-to-sqlite Street_Tree_List.csv trees-fts.db \
            -c qLegalStatus -c qSpecies -c qSiteInfo \
            -c PlantType -c qCaretaker -c qCareAssistant \
            -f qLegalStatus -f qSpecies -f qAddress \
            -f qSiteInfo -f PlantType -f qCaretaker \
            -f qCareAssistant -f PermitNotes

    Closes #9
  - Handle column names with spaces in them.
  - Added `csvs-to-sqlite --version` option.

    Using http://click.pocoo.org/5/api/#click.version_option


html_url: https://github.com/simonw/datasette/releases/tag/0.13
node_id: MDc6UmVsZWFzZTg2NTI1NDY=
tag_name: 0.13
target_commitish: main
name: Datasette 0.13: foreign key, search and filters
created_at: 2017-11-25T03:33:39Z
published_at: 2017-11-25T03:44:46Z
body:
  # 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

    - Implemented `?_search=XXX` + UI if a FTS table is detected.
      
      Closes [\#131]()

    - Added `datasette --version` support.

    - Table views now show expanded foreign key references, if possible.
      
      If a table has foreign key columns, and those foreign key tables
      have `label_columns`, the TableView will now query those other
      tables for the corresponding values and display those values as
      links in the corresponding table cells.
      
      label\_columns are currently detected by the `inspect()` function,
      which looks for any table that has just two columns - an ID column
      and one other - and sets the `label_column` to be that second non-ID
      column.

    - Don't prevent tabbing to "Run SQL" button ([\#117]()) \[Robert
      Gieseke\]
      
      See comment in [\#115]()

    - Add keyboard shortcut to execute SQL query ([\#115]()) \[Robert
      Gieseke\]

    - Allow `--load-extension` to be set via environment variable.

    - Add support for `?field__isnull=1` ([\#107]()) \[Ray N\]

    - Add spatialite, switch to debian and local build ([\#114]()) \[Ariel
      Núñez\]

    - Added `--load-extension` argument to datasette serve.
      
      Allows loading of SQLite extensions. Refs [\#110]().


html_url: https://github.com/simonw/datasette/releases/tag/0.14
node_id: MDc6UmVsZWFzZTg4NDE2OTU=
tag_name: 0.14
target_commitish: main
name: Datasette 0.14: customization edition
created_at: 2017-12-10T01:33:24Z
published_at: 2017-12-10T01:41:14Z
body:
  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="
                  }
              ]
          }
      
      Modern browsers will only execute the stylesheet or JavaScript if the SRI hash matches the content served. You can generate hashes using <https://www.srihash.org/>

    - Auto-link column values that look like URLs ([\#153](https://github.com/simonw/datasette/issues/153))

    - CSS styling hooks as classes on the body ([\#153](https://github.com/simonw/datasette/issues/153))
      
      Every template now gets CSS classes in the body designed to support custom styling.
      
      The index template (the top level page at `/`) gets this:
      
          <body class="index">
      
      The database template (`/dbname/`) gets this:
      
          <body class="db db-dbname">
      
      The table template (`/dbname/tablename`) gets:
      
          <body class="table db-dbname table-tablename">
      
      The row template (`/dbname/tablename/rowid`) gets:
      
          <body class="row db-dbname table-tablename">
      
      The `db-x` and `table-x` classes use the database or table names themselves IF they are valid CSS identifiers. If they aren't, we strip any invalid characters out and append a 6 character md5 digest of the original name, in order to ensure that multiple tables which resolve to the same stripped character version still have different CSS classes.
      
      Some examples (extracted from the unit tests):
      
          "simple" => "simple"
          "MixedCase" => "MixedCase"
          "-no-leading-hyphens" => "no-leading-hyphens-65bea6"
          "_no-leading-underscores" => "no-leading-underscores-b921bc"
          "no spaces" => "no-spaces-7088d7"
          "-" => "336d5e"
          "no $ characters" => "no--characters-59e024"

    - `datasette --template-dir=mytemplates/` argument
      
      You can now pass an additional argument specifying a directory to look for custom templates in.
      
      Datasette will fall back on the default templates if a template is not found in that directory.

    - Ability to over-ride templates for individual tables/databases.
      
      It is now possible to over-ride templates on a per-database / per-row or per-table basis.
      
      When you access e.g. `/mydatabase/mytable` Datasette will look for the following:
      
          - table-mydatabase-mytable.html
          - table.html
      
      If you provided a `--template-dir` argument to datasette serve it will look in that directory first.
      
      The lookup rules are as follows:
      
          Index page (/):
              index.html
          
          Database page (/mydatabase):
              database-mydatabase.html
              database.html
          
          Table page (/mydatabase/mytable):
              table-mydatabase-mytable.html
              table.html
          
          Row page (/mydatabase/mytable/id):
              row-mydatabase-mytable.html
              row.html
      
      If a table name has spaces or other unexpected characters in it, the template filename will follow the same rules as our custom `<body>` CSS classes - for example, a table called "Food Trucks" will attempt to load the following templates:
      
          table-mydatabase-Food-Trucks-399138.html
          table.html
      
      It is possible to extend the default templates using Jinja template inheritance. If you want to customize EVERY row template with some additional content you can do so by creating a row.html template like this:
      
          {% extends "default:row.html" %}
          
          {% block content %}
          <h1>EXTRA HTML AT THE TOP OF THE CONTENT BLOCK</h1>
          <p>This line renders the original block:</p>
          {{ super() }}
          {% endblock %}

    - `--static` option for datasette serve ([\#160](https://github.com/simonw/datasette/issues/160))
      
      You can now tell Datasette to serve static files from a specific location at a specific mountpoint.
      
      For example:
      
          datasette serve mydb.db --static extra-css:/tmp/static/css
      
      Now if you visit this URL:
      
          http://localhost:8001/extra-css/blah.css
      
      The following file will be served:
      
          /tmp/static/css/blah.css

    - Canned query support.
      
      Named canned queries can now be defined in `metadata.json` like this:
      
          {
              "databases": {
                  "timezones": {
                      "queries": {
                          "timezone_for_point": "select tzid from timezones ..."
                      }
                  }
              }
          }
      
      These will be shown in a new "Queries" section beneath "Views" on the database page.

    - New `datasette skeleton` command for generating `metadata.json` ([\#164](https://github.com/simonw/datasette/issues/164))

    - `metadata.json` support for per-table/per-database metadata ([\#165](https://github.com/simonw/datasette/issues/165))
      
      Also added support for descriptions and HTML descriptions.
      
      Here's an example metadata.json file illustrating custom per-database and per-table metadata:
      
          {
              "title": "Overall datasette title",
              "description_html": "This is a <em>description with HTML</em>.",
              "databases": {
                  "db1": {
                      "title": "First database",
                      "description": "This is a string description & has no HTML",
                      "license_url": "http://example.com/",
                  "license": "The example license",
                      "queries": {
                        "canned_query": "select * from table1 limit 3;"
                      },
                      "tables": {
                          "table1": {
                              "title": "Custom title for table1",
                              "description": "Tables can have descriptions too",
                              "source": "This has a custom source",
                              "source_url": "http://example.com/"
                          }
                      }
                  }
              }
          }

    - Renamed `datasette build` command to `datasette inspect` ([\#130](https://github.com/simonw/datasette/issues/130))

    - Upgrade to Sanic 0.7.0 ([\#168](https://github.com/simonw/datasette/issues/168))
      
      <https://github.com/channelcat/sanic/releases/tag/0.7.0>

    - Package and publish commands now accept `--static` and `--template-dir`
      
      Example usage:
      
          datasette package --static css:extra-css/ --static js:extra-js/ \
            sf-trees.db --template-dir templates/ --tag sf-trees --branch master
      
      This creates a local Docker image that includes copies of the templates/, extra-css/ and extra-js/ directories. You can then run it like this:
      
          docker run -p 8001:8001 sf-trees
      
      For publishing to Zeit now:
      
          datasette publish now --static css:extra-css/ --static js:extra-js/ \
            sf-trees.db --template-dir templates/ --name sf-trees --branch master

    - HTML comment showing which templates were considered for a page ([\#171](https://github.com/simonw/datasette/issues/171))


html_url: https://github.com/simonw/datasette/releases/tag/0.15
node_id: MDc6UmVsZWFzZTEwNDU4NjQx
tag_name: 0.15
target_commitish: main
name: Datasette 0.15: sort by column
created_at: 2018-04-09T15:48:24Z
published_at: 2018-04-09T15:55:29Z
body:
  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 ([\#192](https://github.com/simonw/datasette/issues/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](https://github.com/simonw/datasette/issues/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](https://github.com/simonw/datasette/issues/190)

    - Fixed bug with keyset pagination over compound primary keys
      
      Refs [\#190](https://github.com/simonw/datasette/issues/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](https://github.com/simonw/datasette/issues/185)

    - Add metadata, if it exists, to heroku temp dir ([\#178](https://github.com/simonw/datasette/issues/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


html_url: https://github.com/simonw/datasette/releases/tag/0.16
node_id: MDc6UmVsZWFzZTEwNTQyNzcy
tag_name: 0.16
target_commitish: main
name: Datasette 0.16: sort on mobile, better error handling
created_at: 2018-04-13T18:28:55Z
published_at: 2018-04-13T21:10:53Z
body:
    - 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.


html_url: https://github.com/simonw/datasette/releases/tag/0.18
node_id: MDc6UmVsZWFzZTEwNTQ3NDkx
tag_name: 0.18
target_commitish: main
name: Datasette 0.18: units
created_at: 2018-04-14T15:36:10Z
published_at: 2018-04-14T15:45:11Z
body:
  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/)


html_url: https://github.com/simonw/datasette/releases/tag/0.19
node_id: MDc6UmVsZWFzZTEwNTc1NTQy
tag_name: 0.19
target_commitish: main
name: Datasette 0.19: plugins preview
created_at: 2018-04-17T02:12:21Z
published_at: 2018-04-17T02:21:51Z
body:
  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/datasette/issues/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.


html_url: https://github.com/simonw/datasette/releases/tag/0.20
node_id: MDc6UmVsZWFzZTEwNjQ1MDIy
tag_name: 0.20
target_commitish: main
name: Datasette 0.20: static assets and templates for plugins
created_at: 2018-04-20T14:36:29Z
published_at: 2018-04-20T14:41:14Z
body:
  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


html_url: https://github.com/simonw/csvs-to-sqlite/releases/tag/0.8
node_id: MDc6UmVsZWFzZTEwNjk2NzAx
tag_name: 0.8
target_commitish: main
name: csvs-to-sqlite 0.8
created_at: 2018-04-24T15:08:37Z
published_at: 2018-04-24T15:35:30Z
body:
  - `-d` and `-df` options for specifying date/datetime columns, closes #33
  - Maintain lookup tables in SQLite, refs #17
  - `--index` option to specify which columns to index, closes #24
  - Test confirming `--shape` and `--filename-column` and `-c` work together #25
  - Use usecols when loading CSV if shape specified
  - `--filename-column` is now compatible with `--shape`, closes #10
  - `--no-index-fks` option

    By default, csvs-to-sqlite creates an index for every foreign key column that is
    added using the `--extract-column` option.

    For large tables, this can dramatically increase the size of the resulting
    database file on disk. The new `--no-index-fks` option allows you to disable
    this feature to save on file size.

    Refs #24 which will allow you to explicitly list which columns SHOULD have
    an index created.
  - Added `--filename-column` option, refs #10
  - Fixes for Python 2, refs #25
  - Implemented new `--shape` option - refs #25
  - `--table` option for specifying table to write to, refs #10
  - Updated README to cover `--skip-errors`, refs #20
  - Add `--skip-errors` option (#20) [Jani Monoses]
  - Less verbosity (#19) [Jani Monoses]

    Only log `extract_columns` info when that option is passed.
  - Add option for field quoting behaviour (#15) [Jani Monoses]


html_url: https://github.com/simonw/datasette/releases/tag/0.21
node_id: MDc6UmVsZWFzZTEwODY4MTEz
tag_name: 0.21
target_commitish: main
name: Datasette 0.21: New _shape=, new _size=, search within columns
created_at: 2018-05-05T23:15:38Z
published_at: 2018-05-05T23:21:33Z
body:
  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` querystring parameter for table view, closes [\#229](https://github.com/simonw/datasette/issues/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](https://github.com/simonw/datasette/issues/230)

    - New `hidden: True` option for table metadata, closes [\#239](https://github.com/simonw/datasette/issues/239)

    - Hide `idx_*` tables if spatialite detected, closes [\#228](https://github.com/simonw/datasette/issues/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](https://github.com/simonw/datasette/issues/234)


html_url: https://github.com/simonw/datasette/releases/tag/0.22
node_id: MDc6UmVsZWFzZTExMDg3ODUw
tag_name: 0.22
target_commitish: main
name: Datasette 0.22: Datasette Facets
created_at: 2018-05-20T23:41:47Z
published_at: 2018-05-20T23:44:19Z
body:
  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 #252


html_url: https://github.com/simonw/datasette/releases/tag/0.22.1
node_id: MDc6UmVsZWFzZTExMTM2NjA1
tag_name: 0.22.1
target_commitish: main
name: Datasette 0.22.1
created_at: 2018-05-23T14:00:01Z
published_at: 2018-05-23T14:04:17Z
body:
  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]


html_url: https://github.com/simonw/datasette/releases/tag/0.23
node_id: MDc6UmVsZWFzZTExNTMwNDk4
tag_name: 0.23
target_commitish: main
name: Datasette 0.23: CSV, SpatiaLite and more
created_at: 2018-06-18T15:11:57Z
published_at: 2018-06-18T15:28:37Z
body:
  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


html_url: https://github.com/simonw/datasette/releases/tag/0.23.1
node_id: MDc6UmVsZWFzZTExNTkxMzUy
tag_name: 0.23.1
target_commitish: main
name: Datasette 0.23.1
created_at: 2018-06-21T15:37:13Z
published_at: 2018-06-21T16:02:44Z
body:
  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


html_url: https://github.com/simonw/datasette-vega/releases/tag/0.5
node_id: MDc6UmVsZWFzZTExODA0NTk2
tag_name: 0.5
target_commitish: master
name: datasette-vega 0.5
created_at: 2018-07-06T03:18:37Z
published_at: 2018-07-06T03:34:28Z
body:
  Datasette Vega now preserves graph settings across multiple loads of variants of the same page - for example, clicking column headers to re-order the data or applying suggested facets.

  On the SQL page it will also persist graph settings across edits to the SQL query. #12


html_url: https://github.com/simonw/datasette-vega/releases/tag/0.6
node_id: MDc6UmVsZWFzZTExODIwNTQy
tag_name: 0.6
target_commitish: master
name: datasette-vega 0.6
created_at: 2018-07-07T00:48:12Z
published_at: 2018-07-07T01:20:53Z
body:
  Tooltips! #10 

  Cache-busting filename for CSS and JS, so new versions won't fail to load due to browser caching. #11 


html_url: https://github.com/simonw/datasette/releases/tag/0.23.2
node_id: MDc6UmVsZWFzZTExODI1NjAw
tag_name: 0.23.2
target_commitish: main
name: Datasette 0.23.2
created_at: 2018-07-08T05:28:45Z
published_at: 2018-07-08T05:41:38Z
body:
  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


html_url: https://github.com/simonw/datasette-vega/releases/tag/0.6.1
node_id: MDc6UmVsZWFzZTExODQ5MjIz
tag_name: 0.6.1
target_commitish: master
name: datasette-vega 0.6.1
created_at: 2018-07-10T03:25:37Z
published_at: 2018-07-10T03:44:51Z
body:
  Tooltips #10 now also include the size and color column values, if those options have been selected.


html_url: https://github.com/simonw/datasette/releases/tag/0.25
node_id: MDc6UmVsZWFzZTEyOTg2NjM3
tag_name: 0.25
target_commitish: master
name: Datasette 0.25
created_at: 2018-09-19T17:48:12Z
published_at: 2018-09-19T18:27:21Z
body:
  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


html_url: https://github.com/simonw/datasette/releases/tag/0.25.1
node_id: MDc6UmVsZWFzZTE0NTYwMjk0
tag_name: 0.25.1
target_commitish: master
name: Datasette 0.25.1
created_at: 2018-11-05T06:31:41Z
published_at: 2018-12-16T21:44:27Z
body:
  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.


html_url: https://github.com/simonw/datasette/releases/tag/0.25.2
node_id: MDc6UmVsZWFzZTE0NTYwMzA0
tag_name: 0.25.2
target_commitish: master
name: Datasette 0.25.2
created_at: 2018-12-16T21:26:37Z
published_at: 2018-12-16T21:45:39Z
body:
  * `datasette publish heroku` now uses the `python-3.6.7` runtime
  * Added documentation on [how to build the documentation](https://datasette.readthedocs.io/en/stable/contributing.html#editing-and-building-the-documentation)
  * Added documentation covering [our release process](https://datasette.readthedocs.io/en/stable/contributing.html#release-process)
  * Upgraded to pytest 4.0.2


html_url: https://github.com/simonw/datasette-json-html/releases/tag/0.4.0
node_id: MDc6UmVsZWFzZTE0NzYwODk0
tag_name: 0.4.0
target_commitish: master
name: 0.4.0 - <pre> support
created_at: 2019-01-02T04:10:17Z
published_at: 2019-01-02T04:17:15Z
body:
  You can use `{"pre": "text"}` to render text in a `<pre>` HTML tag:

      {
          "pre": "This\nhas\nnewlines"
      }

  Produces:

      <pre>This
      has
      newlines</pre>

  If the value attached to the `"pre"` key is itself a JSON object, that JSON will be pretty-printed:

      {
          "pre": {
              "this": {
                  "object": ["is", "nested"]
              }
          }
      }

  Produces:

      <pre>{
        &#34;this&#34;: {
          &#34;object&#34;: [
            &#34;is&#34;,
            &#34;nested&#34;
          ]
        }
      }</pre>


html_url: https://github.com/simonw/csvs-to-sqlite/releases/tag/0.9
node_id: MDc6UmVsZWFzZTE1MDIyODA3
tag_name: 0.9
target_commitish: master
name: csvs-to-sqlite 0.9
created_at: 2019-01-17T05:17:02Z
published_at: 2019-01-17T05:20:23Z
body:
  - Support for loading CSVs directly from URLs, thanks @betatim - #38
  - New -pk/--primary-key options, closes #22
  - Create FTS index for extracted column values
  - Added --no-fulltext-fks option, closes #32
  - Now using black for code formatting
  - Bumped versions of dependencies


html_url: https://github.com/simonw/sqlite-utils/releases/tag/0.8
node_id: MDc6UmVsZWFzZTE1MjA4NDMw
tag_name: 0.8
target_commitish: master
name: 0.8
created_at: 2019-01-26T02:13:29Z
published_at: 2019-01-28T06:28:12Z
body:
  Two new commands: `sqlite-utils csv` and `sqlite-utils json`

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


html_url: https://github.com/simonw/db-to-sqlite/releases/tag/0.2
node_id: MDc6UmVsZWFzZTE1NDQwMTY1
tag_name: 0.2
target_commitish: master
name: 0.2
created_at: 2019-02-08T06:01:44Z
published_at: 2019-02-08T06:07:36Z
body:
  `--all` option can now be used to duplicate an entire database, including detecting foreign key relationships.

  `--table` option called without `--sql` will now mirror the specified table.


html_url: https://github.com/simonw/csv-diff/releases/tag/0.2
node_id: MDc6UmVsZWFzZTE2MDc3Njg0
tag_name: 0.2
target_commitish: master
name: csv-diff 0.2
created_at: 2019-03-13T05:06:23Z
published_at: 2019-03-13T05:09:03Z
body:
  Changed the order of the human text output: it's now changed, added, removed

  I did this so that [this commit message](https://github.com/simonw/sf-tree-history/commit/ca66d9a5fdd632549301d249c487004a5b68abf2) would be more interesting to read once GitHub truncated it.


html_url: https://github.com/simonw/csv-diff/releases/tag/0.3.1
node_id: MDc6UmVsZWFzZTE2NjA3MDU2
tag_name: 0.3.1
target_commitish: master
name: csv-diff 0.3.1
created_at: 2019-04-07T19:42:59Z
published_at: 2019-04-07T19:46:22Z
body:
  Added and deleted rows now display in a more human-friendly format than raw JSON:
  ```
  $ csv-diff one.csv two.csv --key=id
  1 row changed, 1 row added, 1 row removed

  1 row changed

    Row 1
      age: "4" => "5"

  1 row added

    id: 3
    name: Bailey
    age: 1

  1 row removed

    id: 2
    name: Pancakes
    age: 2
  ```

  Example commit here: https://github.com/simonw/sf-tree-history/commit/184efa - compare with https://github.com/simonw/sf-tree-history/commit/dd08cc which demonstrates the previous behaviour.


html_url: https://github.com/simonw/csv-diff/releases/tag/0.5
node_id: MDc6UmVsZWFzZTE3MDE5NTc3
tag_name: 0.5
target_commitish: master
name: csv-diff 0.5
created_at: 2019-04-27T18:18:24Z
published_at: 2019-04-27T18:29:19Z
body:
  Handle columns being added and removed

  My [sf-tree-history project](https://github.com/simonw/sf-tree-history) unexpectedly broke because the columns in the CSV file changed.

  https://circleci.com/gh/simonw/sf-tree-history/110

  `csv-diff` can now detect and handle this without crashing.

  Example commit: https://github.com/simonw/sf-tree-history/commit/781d7c4abf5d0022609a2b20cd3d5f5616826835


html_url: https://github.com/simonw/csv-diff/releases/tag/0.5.1
node_id: MDc6UmVsZWFzZTE3MDE5NTky
tag_name: 0.5.1
target_commitish: master
name: csv-diff 0.5.1
created_at: 2019-04-27T18:24:28Z
published_at: 2019-04-27T18:30:33Z
body:
  Tweaked output formatting of added/removed columns for better consistency with added/removed/changed rows.


html_url: https://github.com/simonw/datasette/releases/tag/0.28
node_id: MDc6UmVsZWFzZTE3NDUwNDE0
tag_name: 0.28
target_commitish: master
name: Datasette 0.28
created_at: 2019-05-19T21:37:49Z
published_at: 2019-05-19T21:42:28Z
body:
  [Datasette 0.28](https://datasette.readthedocs.io/en/stable/changelog.html#v0-28) - a salmagundi of new features!
     * No longer immutable! Datasette now supports [databases that change](https://datasette.readthedocs.io/en/stable/changelog.html#supporting-databases-that-change).
     * [Faceting improvements](https://datasette.readthedocs.io/en/stable/changelog.html#faceting-improvements-and-faceting-plugins) including facet-by-JSON-array and the ability to define custom faceting using plugins.
     * [datasette publish cloudrun](https://datasette.readthedocs.io/en/stable/changelog.html#datasette-publish-cloudrun) lets you publish databasese to Google's new Cloud Run hosting service.
     * New [register_output_renderer](https://datasette.readthedocs.io/en/stable/changelog.html#register-output-renderer-plugins) 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](https://datasette.readthedocs.io/en/stable/changelog.html#v0-28) for full details.


html_url: https://github.com/simonw/sqlite-utils/releases/tag/1.1
node_id: MDc6UmVsZWFzZTE3NjQ1ODc3
tag_name: 1.1
target_commitish: master
name: 1.1
created_at: 2019-05-29T05:12:03Z
published_at: 2019-05-29T05:15:22Z
body:
  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)


html_url: https://github.com/simonw/datasette-render-binary/releases/tag/0.3
node_id: MDc6UmVsZWFzZTE3OTc2ODg3
tag_name: 0.3
target_commitish: master
name: 0.3
created_at: 2019-06-13T16:14:18Z
published_at: 2019-06-13T16:16:36Z
body:
  Now uses the [filetype](https://pypi.org/project/filetype/) module to suggest a possible format.

  <img width="600" alt="many-photos-tables__RKFaceCrop__58_rows" src="https://user-images.githubusercontent.com/9599/59449428-df85cf00-8dbb-11e9-8817-0fd09ff539c7.png">


html_url: https://github.com/simonw/datasette-json-html/releases/tag/0.5
node_id: MDc6UmVsZWFzZTE3OTg3MzI0
tag_name: 0.5
target_commitish: master
name: 0.5 - tooltips and demos
created_at: 2019-06-14T01:29:34Z
published_at: 2019-06-14T01:33:44Z
body:
  Links can now have tooltips (#2):
  ```
  {
      "href": "https://simonwillison.net/",
      "label": "Simon Willison",
      "title": "My blog"
  }
  ```
  Also added [a live demo](https://datasette-json-html.datasette.io/demo?sql=select+%27%7B%0D%0A++++%22href%22%3A+%22https%3A%2F%2Fsimonwillison.net%2F%22%2C%0D%0A++++%22label%22%3A+%22Simon+Willison%22%2C%0D%0A++++%22title%22%3A+%22My+blog%22%0D%0A%7D%27) and linked to it throughout the README (#3, #1)


html_url: https://github.com/simonw/db-to-sqlite/releases/tag/0.5
node_id: MDc6UmVsZWFzZTE4MjQyMjk0
tag_name: 0.5
target_commitish: master
name: 0.5
created_at: 2019-06-26T15:44:35Z
published_at: 2019-06-26T15:57:17Z
body:
  * Foreign keys are now all added at the end, which means we can support circular foreign key references #1
  * Dropped dependency on `toposort`
  * Added `--all --skip=table` option for skipping one or more tables when running `--all`


html_url: https://github.com/simonw/db-to-sqlite/releases/tag/0.6
node_id: MDc6UmVsZWFzZTE4MzEwNjA5
tag_name: 0.6
target_commitish: master
name: 0.6
created_at: 2019-06-29T15:18:30Z
published_at: 2019-06-29T15:27:18Z
body:
  - `--all` can now add many foreign key relationships without a `VACUUM` between each one, #8
  - Added unit tests against MySQL, refs #5


html_url: https://github.com/simonw/db-to-sqlite/releases/tag/0.7
node_id: MDc6UmVsZWFzZTE4MzEyNDUx
tag_name: 0.7
target_commitish: master
name: 0.7
created_at: 2019-06-29T21:27:30Z
published_at: 2019-06-29T21:31:00Z
body:
  - Support `pip install db-to-sqlite[postgresql]` #4 
  - Documentation for both that and `pip install db-to-sqlite[mysql]`


html_url: https://github.com/simonw/db-to-sqlite/releases/tag/1.0
node_id: MDc6UmVsZWFzZTE4MzIwMjA1
tag_name: 1.0
target_commitish: master
name: 1.0
created_at: 2019-07-01T01:23:17Z
published_at: 2019-07-01T01:32:47Z
body:
  See the [README](https://github.com/simonw/db-to-sqlite/blob/1.0/README.md) for full usage instructions.

  * Instead of using `--connection` the connection string is now a required positional argument, #14
  * `--sql` must now be accompanied by `--output` specifying the table the query results should be written to
  * `--redact tablename columnname` option can be used to redact values, #2
  * Foreign keys are now created with indexes, use `--no-index-fks` to disable this, #12
  * `--table` can now be used multiple times, #6
  * README and `--help` now include example connection strings
  * README also details how this can be used with Heroku Postgres


html_url: https://github.com/simonw/datasette-auth-github/releases/tag/0.1.1
node_id: MDc6UmVsZWFzZTE4NDQxMTMz
tag_name: 0.1.1
target_commitish: master
name: 0.1.1
created_at: 2019-07-05T15:58:48Z
published_at: 2019-07-05T16:00:07Z
body:
  Outbound calls to the GitHub API are now non-blocking (using [http3](https://github.com/encode/http3)) - #8


html_url: https://github.com/simonw/datasette-auth-github/releases/tag/0.2
node_id: MDc6UmVsZWFzZTE4NDUxNjYy
tag_name: 0.2
target_commitish: master
name: 0.2
created_at: 2019-07-06T17:11:39Z
published_at: 2019-07-06T17:14:02Z
body:
  * `/-/logout` URL for logging out #7
  * Custom navigation showing login state #5
  * Restored ASGI lifespan support #10
  * `disable_auto_login` setting #9
  * `Cache-Control: private` #6


html_url: https://github.com/simonw/datasette-auth-github/releases/tag/0.4
node_id: MDc6UmVsZWFzZTE4NDUzMDA0
tag_name: 0.4
target_commitish: master
name: 0.4
created_at: 2019-07-06T22:02:38Z
published_at: 2019-07-06T22:03:41Z
body:
  * More compact JSON encoding for authentication cookie value
  * Support single string values for `allow_users`/`allow_orgs` options, #16 


html_url: https://github.com/simonw/datasette-auth-github/releases/tag/0.5
node_id: MDc6UmVsZWFzZTE4NDUzOTM5
tag_name: 0.5
target_commitish: master
name: 0.5
created_at: 2019-07-07T02:35:09Z
published_at: 2019-07-07T02:37:16Z
body:
  * New `allow_teams` configuration option for restricting access to members of a GitHub team - #11
  * Signed cookies expire after a TTL (customize with new `cooke_ttl` setting) - #22
  * Documentation on using this as ASGI middleware - #19
  * Avoid 404 on `/-/auth-callback` if user is logged in - #24
  * Added `cookie_version` setting for invalidating all cookies - #18


html_url: https://github.com/simonw/datasette-auth-github/releases/tag/0.6
node_id: MDc6UmVsZWFzZTE4NDU4NTU4
tag_name: 0.6
target_commitish: master
name: 0.6
created_at: 2019-07-07T19:41:27Z
published_at: 2019-07-07T19:41:47Z
body:
  * Redirects back to where you were after you login, using a new `asgi_auth_redirect` cookie - #26
  * Unset asgi_auth_logout cookie when you sign in again - #28
  * Fixed bug where API call to GitHub intermittently failed with `ConnectionResetError` - #27
  * More robust creation of derived cookie signing secret using `hashlib.pbkdf2_hmac`
  * HTML pages now served with `charset=UTF-8` - #30


html_url: https://github.com/simonw/datasette/releases/tag/0.29
node_id: MDc6UmVsZWFzZTE4NDYxMzIw
tag_name: 0.29
target_commitish: master
name: Datasette 0.29
created_at: 2019-07-08T03:14:27Z
published_at: 2019-07-08T03:43:13Z
body:
  ASGI, new plugin hooks, facet by date and much, much more… See [the release notes](https://datasette.readthedocs.io/en/stable/changelog.html#v0-29) for full details.


html_url: https://github.com/simonw/datasette-auth-github/releases/tag/0.7
node_id: MDc6UmVsZWFzZTE4NTU1OTgy
tag_name: 0.7
target_commitish: master
name: 0.7
created_at: 2019-07-11T15:05:54Z
published_at: 2019-07-11T15:07:15Z
body:
  * New `require_auth` configuration option. This defaults to `True` (reflecting existing behaviour) when `datasette-auth-github` is used as a Datasette plugin, but it defaults to `False` if you use the wrapper ASGI middleware class directly. #37


html_url: https://github.com/simonw/datasette-auth-github/releases/tag/0.8
node_id: MDc6UmVsZWFzZTE4NTk2Njk1
tag_name: 0.8
target_commitish: master
name: 0.8
created_at: 2019-07-13T18:39:34Z
published_at: 2019-07-13T18:43:06Z
body:
  Now compatible with Python 3.5, which means it can run on Glitch! https://datasette-auth-github-demo.glitch.me/ #38

  This also means we now have no installation dependencies, since the code now uses the standard library to make API calls instead of depending on [http3](https://github.com/encode/http3). #40


html_url: https://github.com/simonw/datasette-auth-github/releases/tag/0.9
node_id: MDc6UmVsZWFzZTE4NTk4Mjk5
tag_name: 0.9
target_commitish: master
name: 0.9
created_at: 2019-07-14T00:40:16Z
published_at: 2019-07-14T00:41:33Z
body:
  - Explicit log in screen now includes SVG GitHub logo on the button - #42 
  - Default signed cookie TTL is now 1 hour, not 24 hours - #43


html_url: https://github.com/simonw/datasette/releases/tag/0.29.1
node_id: MDc6UmVsZWFzZTE4NTk4NDg5
tag_name: 0.29.1
target_commitish: master
name: 0.29.1
created_at: 2019-07-11T16:17:55Z
published_at: 2019-07-14T01:43:44Z
body:
  - 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


html_url: https://github.com/dogsheep/healthkit-to-sqlite/releases/tag/0.3
node_id: MDc6UmVsZWFzZTE4NzYyNDk1
tag_name: 0.3
target_commitish: master
name: 0.3
created_at: 2019-07-22T03:31:54Z
published_at: 2019-07-22T03:33:32Z
body:
  - 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


html_url: https://github.com/simonw/datasette/releases/tag/0.29.2
node_id: MDc6UmVsZWFzZTE5NzA0NjYx
tag_name: 0.29.2
target_commitish: master
name: 0.29.2
created_at: 2019-07-14T03:04:05Z
published_at: 2019-09-03T00:33:35Z
body:
  * 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


html_url: https://github.com/dogsheep/twitter-to-sqlite/releases/tag/0.4
node_id: MDc6UmVsZWFzZTE5ODY1ODkx
tag_name: 0.4
target_commitish: master
name: 0.4
created_at: 2019-09-09T22:41:25Z
published_at: 2019-09-09T22:43:05Z
body:
  * 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


html_url: https://github.com/simonw/datasette-rure/releases/tag/0.3
node_id: MDc6UmVsZWFzZTE5OTI3MTIz
tag_name: 0.3
target_commitish: master
name: 0.3
created_at: 2019-09-11T22:58:20Z
published_at: 2019-09-11T23:00:32Z
body:
  * Documentation now links to interactive demos
  * Now uses an LRU cache for compiled regular expressions, which can give a 10x speedup on queries #3


html_url: https://github.com/dogsheep/github-to-sqlite/releases/tag/0.3
node_id: MDc6UmVsZWFzZTE5OTkzODIw
tag_name: 0.3
target_commitish: master
name: 0.3
created_at: 2019-09-14T21:49:27Z
published_at: 2019-09-14T21:50:01Z
body:
  * `license` is now extracted from the `repos` table into a separate `licenses` table with a foreign key, #2


html_url: https://github.com/dogsheep/twitter-to-sqlite/releases/tag/0.6
node_id: MDc6UmVsZWFzZTIwNDk3MTg2
tag_name: 0.6
target_commitish: master
name: 0.6
created_at: 2019-10-06T04:49:17Z
published_at: 2019-10-06T04:52:18Z
body:
  * New experimental `track` and `follow` commands for subscribing to the Twitter real-time API #11. [Documentation](https://github.com/dogsheep/twitter-to-sqlite#capturing-tweets-in-real-time-with-track-and-follow) for track and follow.
  * Documentation for `--sql` and `--attach`, refs #8


html_url: https://github.com/simonw/datasette-auth-github/releases/tag/0.10
node_id: MDc6UmVsZWFzZTIwNTIxOTQ4
tag_name: 0.10
target_commitish: master
name: 0.10
created_at: 2019-10-07T15:36:41Z
published_at: 2019-10-07T15:40:02Z
body:
  * New `cacheable_prefixes` mechanism to avoid performance issues caused by adding `cache-control: private` to static assets - #47


html_url: https://github.com/dogsheep/twitter-to-sqlite/releases/tag/0.8
node_id: MDc6UmVsZWFzZTIwNjMxNDUy
tag_name: 0.8
target_commitish: master
name: 0.8
created_at: 2019-10-11T06:45:21Z
published_at: 2019-10-11T06:46:52Z
body:
  * New `twitter-to-sqlite import twitter.db archive.zip` command for importing data from a Twitter export file. #4 - [documentation here](https://github.com/dogsheep/twitter-to-sqlite/blob/master/README.md#importing-data-from-your-twitter-archive).


html_url: https://github.com/dogsheep/twitter-to-sqlite/releases/tag/0.9
node_id: MDc6UmVsZWFzZTIwNjQ2NTE5
tag_name: 0.9
target_commitish: master
name: 0.9
created_at: 2019-10-11T16:55:10Z
published_at: 2019-10-11T16:57:25Z
body:
  * New `twitter-to-sqlite home-timeline` command, for retrieving your timeline of tweets from people you follow - #18
  * `twitter-to-sqlite import` created tables now use the `archive_` prefix instead of `archive-`, for easier querying
  * Running `twitter-to-sqlite import` now deletes existing `archive_` tables and recreates them - #17


html_url: https://github.com/dogsheep/github-to-sqlite/releases/tag/0.5
node_id: MDc6UmVsZWFzZTIwNjYzNjA1
tag_name: 0.5
target_commitish: master
name: 0.5
created_at: 2019-10-13T05:28:24Z
published_at: 2019-10-13T05:30:05Z
body:
  * New command: `github-to-sqlite issue-comments` for importing comments on issues - #7
  * `github-to-sqlite issues` now accepts optional `--issue=1` argument
  * Fixed bug inserting users into already-created table with wrong columns - #6


html_url: https://github.com/simonw/datasette-render-timestamps/releases/tag/0.2
node_id: MDc6UmVsZWFzZTIwNjg1MjE1
tag_name: 0.2
target_commitish: master
name: 0.2
created_at: 2019-10-14T14:51:18Z
published_at: 2019-10-14T14:52:55Z
body:
  * Ability to [configure date format](https://github.com/simonw/datasette-render-timestamps/blob/0.2/README.md#configuration) - (pull request #1). Thanks, @chris48s! 


html_url: https://github.com/simonw/datasette-leaflet-geojson/releases/tag/0.3
node_id: MDc6UmVsZWFzZTIwNjg2MDM1
tag_name: 0.3
target_commitish: master
name: 0.3
created_at: 2019-10-14T15:13:15Z
published_at: 2019-10-14T15:18:48Z
body:
  * Fixed bug displaying multiple polygon maps on a page - #4 - thanks, @chris48s
  * Upgraded Leaflet to 1.5.1 - #5 - thanks, @chris48s


html_url: https://github.com/dogsheep/twitter-to-sqlite/releases/tag/0.10
node_id: MDc6UmVsZWFzZTIwNzIxMjkx
tag_name: 0.10
target_commitish: master
name: 0.10
created_at: 2019-10-15T18:53:53Z
published_at: 2019-10-15T18:56:09Z
body:
  *  favorites command now populates `favorited_by` table - #14 
  *  favorites `--stop_after` option - #20 
  *  Store unescaped `full_text` of Tweet - #21 


html_url: https://github.com/dogsheep/twitter-to-sqlite/releases/tag/0.11
node_id: MDc6UmVsZWFzZTIwNzU0Mjc3
tag_name: 0.11
target_commitish: master
name: 0.11
created_at: 2019-10-16T19:37:10Z
published_at: 2019-10-16T19:38:42Z
body:
  * Added `--since_id` and `--since` to `user-timeline` command, refs #20
  * `--since` and `--since_id` options for `home-timeline`, closes #19 
  *  `import` command now works on files and directories, closes #22 


html_url: https://github.com/dogsheep/twitter-to-sqlite/releases/tag/0.11.1
node_id: MDc6UmVsZWFzZTIwNzU4MzI0
tag_name: 0.11.1
target_commitish: master
name: 0.11.1
created_at: 2019-10-16T19:46:35Z
published_at: 2019-10-16T22:31:51Z
body:
  * Fix bugs running `home-timeline --since` from scratch. If tables were missing, script would throw an error.


html_url: https://github.com/dogsheep/twitter-to-sqlite/releases/tag/0.12
node_id: MDc6UmVsZWFzZTIwNzgzNTkw
tag_name: 0.12
target_commitish: master
name: 0.12
created_at: 2019-10-17T17:57:33Z
published_at: 2019-10-17T18:00:28Z
body:
  * The `source` column for a tweet is now a foreign key to a new `sources` table - #12
  * New migrations system to upgrade existing databases to handle the new `source` column extraction - #23
  * Experimental implementation of new `twitter-to-sqlite search tweets.db search-term` command, which runs a search and saves the tweets from that search - #3
  * Fixed bug where sometimes a user record for the authenticated user was not persisted to the `users` table


html_url: https://github.com/simonw/datasette-leaflet-geojson/releases/tag/0.4
node_id: MDc6UmVsZWFzZTIxMTYyNzIw
tag_name: 0.4
target_commitish: master
name: 0.4
created_at: 2019-11-02T01:45:52Z
published_at: 2019-11-02T01:48:09Z
body:
  - Fixed bug where plugin fails to render a map if the cell value was truncated (#3)
  - Fixed incompatibility when loaded in the same environment as `datasette-pretty-json` (#6)


html_url: https://github.com/simonw/datasette-cluster-map/releases/tag/0.7
node_id: MDc6UmVsZWFzZTIxMTYzNDI2
tag_name: 0.7
target_commitish: master
name: 0.7
created_at: 2019-11-02T03:35:00Z
published_at: 2019-11-02T03:54:36Z
body:
  - Upgraded Leaflet to 1.5.1
  - Upgraded leaflet.markercluster to 1.4.1

  This fixes a bug where `datasette-cluster-map` and [datasette-leaflet-geojson](https://github.com/simonw/datasette-leaflet-geojson) could not run within the same Datasette instance.


html_url: https://github.com/simonw/sqlite-transform/releases/tag/0.2
node_id: MDc6UmVsZWFzZTIxMTc5NDcy
tag_name: 0.2
target_commitish: master
name: 0.2
created_at: 2019-11-04T02:21:24Z
published_at: 2019-11-04T02:26:57Z
body:
  - Added `lambda` command, which lets you specify a Python expression (or multiple lines of code) to be executed against every value in the column. [Documentation here](https://github.com/simonw/sqlite-transform/blob/0.2/README.md#lambda-for-executing-your-own-code). (#2)
  - Added a `parsedate` command, which works like `parsedatetime` except it outputs just the date component. (#1)


html_url: https://github.com/simonw/sqlite-transform/releases/tag/0.3
node_id: MDc6UmVsZWFzZTIxMTgwNTkz
tag_name: 0.3
target_commitish: master
name: 0.3
created_at: 2019-11-04T04:37:39Z
published_at: 2019-11-04T04:39:06Z
body:
  - `return` is now optional for one-line lambdas, e.g.
      ```
      sqlite-transform lambda my.db mytable mycolumn --code='str(value).upper()'
      ```


html_url: https://github.com/dogsheep/twitter-to-sqlite/releases/tag/0.14
node_id: MDc6UmVsZWFzZTIxMTgwOTg5
tag_name: 0.14
target_commitish: master
name: 0.14
created_at: 2019-11-04T05:32:37Z
published_at: 2019-11-04T05:33:56Z
body:
  * `search` command gained `--since_id` and `--since` options, for retrieving tweets since the last time the search was run
  * `search` command is [now documented](https://github.com/dogsheep/twitter-to-sqlite/blob/0.14/README.md#running-searches). Closes #3.


html_url: https://github.com/dogsheep/twitter-to-sqlite/releases/tag/0.15
node_id: MDc6UmVsZWFzZTIxMzQyMDA4
tag_name: 0.15
target_commitish: master
name: 0.15
created_at: 2019-11-09T20:12:32Z
published_at: 2019-11-09T20:13:07Z
body:
  - Import command no longer fails on empty files - #29
  - Fixed bug in `followers` command - #30
  - `following` table now has indexes - #28


html_url: https://github.com/dogsheep/github-to-sqlite/releases/tag/0.6
node_id: MDc6UmVsZWFzZTIxMzU0NzA2
tag_name: 0.6
target_commitish: master
name: 0.6
created_at: 2019-11-11T05:31:46Z
published_at: 2019-11-11T05:34:06Z
body:
  - New `releases` command for fetching releases for a repo, #11
  - Repository topics are now fetched by the `repos` command
  - `github-to-sqlite repos` now accepts multiple usernames
  - Command now works without `--auth` file (using anonymous API calls), #9


html_url: https://github.com/simonw/datasette/releases/tag/0.31
node_id: MDc6UmVsZWFzZTIxNDI2MDA4
tag_name: 0.31
target_commitish: master
name: Datasette 0.31
created_at: 2019-11-12T05:33:51Z
published_at: 2019-11-13T02:16:15Z
body:
  This version adds compatibility with Python 3.8 and breaks compatibility with Python 3.5.

  Full release notes: https://datasette.readthedocs.io/en/stable/changelog.html#v0-31


html_url: https://github.com/simonw/datasette/releases/tag/0.31.1
node_id: MDc6UmVsZWFzZTIxNDI2Mjk5
tag_name: 0.31.1
target_commitish: master
name: 0.31.1
created_at: 2019-11-13T02:18:39Z
published_at: 2019-11-13T02:40:53Z
body:
  - Deployments created using `datasette publish` now use `python:3.8` base Docker image (#629)

  https://datasette.readthedocs.io/en/latest/changelog.html#v0-31-1


html_url: https://github.com/simonw/datasette/releases/tag/0.31.2
node_id: MDc6UmVsZWFzZTIxNDQ5MDA2
tag_name: 0.31.2
target_commitish: master
name: 0.31.2
created_at: 2019-11-13T16:48:36Z
published_at: 2019-11-13T17:38:59Z
body:
  - Fixed a bug where datasette publish heroku applications failed to start (#633)
  - Fix for datasette publish with just --source_url - thanks, Stanley Zheng (#572)
  - Deployments to Heroku now use Python 3.8.0 (#632)

  https://datasette.readthedocs.io/en/latest/changelog.html#v0-31-2


html_url: https://github.com/simonw/datasette/releases/tag/0.32
node_id: MDc6UmVsZWFzZTIxNDkyMDY4
tag_name: 0.32
target_commitish: master
name: Datasette 0.32
created_at: 2019-11-14T23:20:21Z
published_at: 2019-11-14T23:42:14Z
body:
  Datasette now renders templates using [Jinja async mode](https://jinja.palletsprojects.com/en/2.10.x/api/#async-support). This makes it easy for plugins to provide custom template functions that perform asynchronous actions, for example the new [datasette-template-sql](https://github.com/simonw/datasette-template-sql) plugin which allows custom templates to directly execute SQL queries and render their results. (#628)

  https://datasette.readthedocs.io/en/latest/changelog.html#v0-32


html_url: https://github.com/simonw/datasette-atom/releases/tag/0.2
node_id: MDc6UmVsZWFzZTIxODY4NjQ3
tag_name: 0.2
target_commitish: master
name: 0.2
created_at: 2019-11-30T06:24:13Z
published_at: 2019-11-30T06:27:19Z
body:
  * First non-alpha release.
  * Switched over to requiring columns called `atom_id`, `atom_title` etc - see #2 and the new expanded README.


html_url: https://github.com/simonw/datasette-atom/releases/tag/0.3
node_id: MDc6UmVsZWFzZTIxODc0NTQz
tag_name: 0.3
target_commitish: master
name: 0.3
created_at: 2019-11-30T23:24:33Z
published_at: 2019-11-30T23:32:28Z
body:
  * Support for `atom_content_html` column, allowing dynamically generated HTML in Atom feeds. The HTML is sanitized using [Bleach](https://github.com/mozilla/bleach).


html_url: https://github.com/simonw/datasette/releases/tag/0.33
node_id: MDc6UmVsZWFzZTIyNDE1NTQy
tag_name: 0.33
target_commitish: master
name: Datasette 0.33
created_at: 2019-12-22T16:27:04Z
published_at: 2019-12-22T16:43:31Z
body:
  * `rowid` is now included in dropdown menus for filtering tables (#636)
  * Columns are now only suggested for faceting if they have at least one value with more than one record (#638)
  * Queries with no results now display “0 results” (#637)
  * Improved documentation for the `--static` option (#641)
  * asyncio task information is now included on the `/-/threads` debug page
  * Bumped Uvicorn dependency 0.11
  * You can now use `--port 0` to listen on an available port
  * New `template_debug` setting for debugging templates, e.g. https://latest.datasette.io/fixtures/roadside_attractions?_context=1 (#654)

  https://datasette.readthedocs.io/en/latest/changelog.html#v0-33


html_url: https://github.com/simonw/sqlite-utils/releases/tag/2.0
node_id: MDc6UmVsZWFzZTIyNTA5MDMz
tag_name: 2.0
target_commitish: master
name: 2.0
created_at: 2019-12-30T06:18:58Z
published_at: 2019-12-30T06:26:09Z
body:
  This release changes the behaviour of `upsert`. It’s a breaking change, hence 2.0.

  The `upsert` command-line utility and the `.upsert()` and `.upsert_all()` Python API methods have had their behaviour altered. They used to completely replace the affected records: now, they update the specified values on existing records but leave other columns unaffected.

  See [Upserting data using the Python API](https://sqlite-utils.readthedocs.io/en/stable/python-api.html#python-api-upsert) and [Upserting data using the CLI](https://sqlite-utils.readthedocs.io/en/stable/cli.html#upserting-data) for full details.

  If you want the old behaviour - where records were completely replaced - you can use `$ sqlite-utils insert ... --replace` on the command-line and `.insert(..., replace=True)` and `.insert_all(..., replace=True)` in the Python API. See [Insert-replacing data using the Python API](https://sqlite-utils.readthedocs.io/en/stable/python-api.html#python-api-insert-replace) and [Insert-replacing data using the CLI](https://sqlite-utils.readthedocs.io/en/stable/cli.html#cli-insert-replace) for more.

  For full background on this change, see issue #66.


html_url: https://github.com/simonw/sqlite-utils/releases/tag/2.0.1
node_id: MDc6UmVsZWFzZTIyNjAzMzgw
tag_name: 2.0.1
target_commitish: master
name: 2.0.1
created_at: 2020-01-05T17:23:02Z
published_at: 2020-01-05T17:33:15Z
body:
  The `.upsert()` and `.upsert_all()` methods now raise a `sqlite_utils.db.PrimaryKeyRequired` exception if you call them without specifying the primary key column using `pk=` (#73).


html_url: https://github.com/simonw/datasette-auth-existing-cookies/releases/tag/0.3b
node_id: MDc6UmVsZWFzZTIzMjAyMzU3
tag_name: 0.3b
target_commitish: master
name: 0.3b
created_at: 2020-01-28T22:29:16Z
published_at: 2020-01-28T22:30:18Z
body:
  - Cookie signing secret can now be set using `metadata.json`, or will be automatically generated on first run
  - Optional `next_secret` secret can be used to sign the `?next_sig=` parameter when redirecting to the login page


html_url: https://github.com/simonw/datasette/releases/tag/0.34
node_id: MDc6UmVsZWFzZTIzMjM5MzA0
tag_name: 0.34
target_commitish: master
name: Datasette 0.34
created_at: 2020-01-30T00:09:01Z
published_at: 2020-01-30T00:29:21Z
body:
  - `_search=` queries are now correctly escaped using a new `escape_fts()` custom SQL function. This means you can now run searches for strings like `park.` without seeing errors. (#651)
  - Google Cloud Run is no longer in beta, so `datasette publish cloudrun` has been updated to work even if the user has not installed the `gcloud` beta components package. Thanks, Katie McLaughlin (#660)
  - `datasette package` now accepts a `--port` option for specifying which port the resulting Docker container should listen on. (#661)

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


html_url: https://github.com/simonw/sqlite-utils/releases/tag/2.1
node_id: MDc6UmVsZWFzZTIzMjc0NDEy
tag_name: 2.1
target_commitish: master
name: 2.1
created_at: 2020-01-31T00:25:20Z
published_at: 2020-01-31T00:30:40Z
body:
  New feature: `conversions={...}` can be passed to the `.insert()` family of functions to specify SQL conversions that should be applied to values that are being inserted or updated. See [Converting column values using SQL functions](https://sqlite-utils.readthedocs.io/en/stable/python-api.html#python-api-conversions). (#77).


html_url: https://github.com/simonw/datasette-auth-existing-cookies/releases/tag/0.4
node_id: MDc6UmVsZWFzZTIzMzYxNjI0
tag_name: 0.4
target_commitish: master
name: 0.4
created_at: 2020-02-04T05:09:06Z
published_at: 2020-02-04T05:11:06Z
body:
  The API URL is now called with a `?host=blah.example.com` argument, allowing the underlying API to make permission decisions based on the host.


html_url: https://github.com/simonw/datasette/releases/tag/0.35
node_id: MDc6UmVsZWFzZTIzMzk1NjIy
tag_name: 0.35
target_commitish: master
name: Datasette 0.35
created_at: 2020-02-05T02:17:47Z
published_at: 2020-02-05T02:32:34Z
body:
  * Added five new plugins and one new conversion tool to the [The Datasette Ecosystem](https://datasette.readthedocs.io/en/latest/ecosystem.html#ecosystem).
  * The `Datasette` class has a new `render_template()` method which can be used by plugins to render templates using Datasette’s pre-configured [Jinja](https://jinja.palletsprojects.com/) templating library.
  * You can now execute SQL queries that start with a `-- comment` - thanks, Jay Graves (#653)

  https://datasette.readthedocs.io/en/latest/changelog.html#v0-35


html_url: https://github.com/simonw/datasette-auth-existing-cookies/releases/tag/0.5
node_id: MDc6UmVsZWFzZTIzMzk3MTM3
tag_name: 0.5
target_commitish: master
name: 0.5
created_at: 2020-02-05T04:30:31Z
published_at: 2020-02-05T04:35:45Z
body:
  - New `trust_x_forwarded_proto` configuration setting to fix issues with the incorrect `?next=` URL being generated when running behind a proxy that adds `https://`. #8
  - The `api_url` used to check the user's identity can now also perform permission checks, returning `{"forbidden": "Reason string here"}` if the authenticated user should not be allowed access to the Datasette instance specified by the `?host=` parameter. #9 - documentation here: https://github.com/simonw/datasette-auth-existing-cookies/blob/master/README.md#permissions


html_url: https://github.com/simonw/datasette-auth-existing-cookies/releases/tag/0.5.1
node_id: MDc6UmVsZWFzZTIzMzk4NDM0
tag_name: 0.5.1
target_commitish: master
name: 0.5.1
created_at: 2020-02-05T06:18:19Z
published_at: 2020-02-05T06:19:03Z
body:
  Fix error triggered by combining this plugin with [datasette-upload-csvs](https://github.com/simonw/datasette-upload-csvs).


html_url: https://github.com/simonw/datasette-auth-existing-cookies/releases/tag/0.6
node_id: MDc6UmVsZWFzZTIzNDMzNzk3
tag_name: 0.6
target_commitish: master
name: 0.6
created_at: 2020-02-06T06:09:06Z
published_at: 2020-02-06T06:23:37Z
body:
  The previous release always forwarded the `?host=` header on to the authentication API. This release no longer does that by default, but instead allows you to configure one or more headers that should be passed on in a similar way - issue #10.

  To get back the same behavior as release 0.5, use this configuration:

  ```json
  {
      "plugins": {
          "datasette-auth-existing-cookies": {
              "api_url": "http://www.example.com/user-from-cookies",
              "auth_redirect_url": "http://www.example.com/login",
              "original_cookies": ["sessionid"],
              "headers_to_forward": ["host"]
          }
      }
  }
  ```


html_url: https://github.com/simonw/datasette-auth-existing-cookies/releases/tag/0.6.1
node_id: MDc6UmVsZWFzZTIzNDM0MzYy
tag_name: 0.6.1
target_commitish: master
name: 0.6.1
created_at: 2020-02-06T07:00:58Z
published_at: 2020-02-06T07:01:43Z
body:
  If you are running multiple Datasette plugins this plugin will now attempt to go last and wrap all of the other plugins, ensuring they too will be protected by authentication.


html_url: https://github.com/simonw/sqlite-utils/releases/tag/2.2
node_id: MDc6UmVsZWFzZTIzNDcxMDE0
tag_name: 2.2
target_commitish: master
name: 2.2
created_at: 2020-02-01T21:59:08Z
published_at: 2020-02-07T07:18:12Z
body:
  New feature: `sqlite_utils.suggest_column_types([records])` returns the suggested column types for a list of records. See [Suggesting column types](https://sqlite-utils.readthedocs.io/en/stable/python-api.html#python-api-suggest-column-types). (#81).

  This replaces the undocumented `table.detect_column_types()` method.


html_url: https://github.com/simonw/sqlite-utils/releases/tag/2.3
node_id: MDc6UmVsZWFzZTIzNTA4MzUy
tag_name: 2.3
target_commitish: master
name: 2.3
created_at: 2020-02-08T23:56:16Z
published_at: 2020-02-08T23:59:20Z
body:
  `table.exists()` is now a method, not a property. This was not a documented part of the API before so I’m considering this a non-breaking change. (#83)


html_url: https://github.com/simonw/geojson-to-sqlite/releases/tag/0.2
node_id: MDc6UmVsZWFzZTIzNTc2NDk3
tag_name: 0.2
target_commitish: master
name: 0.2
created_at: 2020-02-11T17:07:00Z
published_at: 2020-02-11T17:08:48Z
body:
  If the GeoJSON features have an `"id"` property it will now be used as the primary key, unless you specify another primary key using `--pk=property` or you disable primary keys entirely (hence using a SQLite `rowid`) with `--pk=''`. Thanks, Chris Amico. #11


html_url: https://github.com/simonw/shapefile-to-sqlite/releases/tag/0.2
node_id: MDc6UmVsZWFzZTIzNzkxMzUx
tag_name: 0.2
target_commitish: master
name: 0.2
created_at: 2020-02-19T05:18:50Z
published_at: 2020-02-19T05:20:39Z
body:
  Now handles projections. Shapefile data is automatically projected to WGS 84 unless you pass `--crs=keep`, in which case the data is not projected. Pass `--crs=espg:2227` or similar to convert to another projection. #6


html_url: https://github.com/simonw/datasette-cluster-map/releases/tag/0.9
node_id: MDc6UmVsZWFzZTIzODg5Mjcy
tag_name: 0.9
target_commitish: master
name: 0.9
created_at: 2020-02-21T20:01:25Z
published_at: 2020-02-21T20:03:20Z
body:
  - Ignore any latitude/longitude points that evaluate to `NaN` (rather than erroring and failing to load the whole map) #12 


html_url: https://github.com/simonw/datasette/releases/tag/0.36
node_id: MDc6UmVsZWFzZTIzODk2MTg0
tag_name: 0.36
target_commitish: master
name: Datasette 0.36
created_at: 2020-02-22T03:04:46Z
published_at: 2020-02-22T03:24:50Z
body:
  * The `datasette` object passed to plugins now has API documentation: [Datasette class](https://datasette.readthedocs.io/en/latest/datasette.html#datasette). (#576)
  * New methods on `datasette`: `.add_database()` and `.remove_database()` - [documentation](https://datasette.readthedocs.io/en/latest/datasette.html#datasette-add-database). (#671)
  * `prepare_connection()` plugin hook now takes optional `datasette` and `database` arguments - [prepare_connection(conn, database, datasette)](https://datasette.readthedocs.io/en/latest/plugins.html#plugin-hook-prepare-connection). (#678)
  * Added three new plugins and one new conversion tool to the [The Datasette Ecosystem](https://datasette.readthedocs.io/en/latest/ecosystem.html#ecosystem).

  https://datasette.readthedocs.io/en/latest/changelog.html#v0-36


html_url: https://github.com/simonw/datasette/releases/tag/0.37
node_id: MDc6UmVsZWFzZTIzOTg2NDYw
tag_name: 0.37
target_commitish: master
name: Datasette 0.37
created_at: 2020-02-26T01:22:02Z
published_at: 2020-02-26T03:44:07Z
body:
  * Plugins now have a supported mechanism for writing to a database, using the new `.execute_write()` and `.execute_write_fn()` methods. [Documentation](https://datasette.readthedocs.io/en/stable/internals.html#database-execute-write). (#682)
  * Immutable databases that have had their rows counted using the `inspect` command now use the calculated count more effectively - thanks, Kevin Keogh. (#666)
  * `--reload` no longer restarts the server if a database file is modified, unless that database was opened immutable mode with `-i`. (#494)
  * New `?_searchmode=raw` option turns off escaping for FTS queries in `?_search=` allowing full use of SQLite’s [FTS5 query syntax](https://www.sqlite.org/fts5.html#full_text_query_syntax). (#676)


html_url: https://github.com/simonw/datasette-upload-csvs/releases/tag/0.3
node_id: MDc6UmVsZWFzZTIzOTg5MTQ2
tag_name: 0.3
target_commitish: master
name: 0.3
created_at: 2020-02-26T06:55:54Z
published_at: 2020-02-26T07:01:29Z
body:
  Now depends on Datasette 0.37 for the new `.execute_write_fn()` method. First version I've considered "production ready". See [Weeknotes: Datasette Writes](https://simonwillison.net/2020/Feb/26/weeknotes-datasette-writes/).


html_url: https://github.com/simonw/sqlite-utils/releases/tag/2.4
node_id: MDc6UmVsZWFzZTI0MDI2MTMy
tag_name: 2.4
target_commitish: master
name: 2.4
created_at: 2020-02-27T04:55:58Z
published_at: 2020-02-27T04:58:25Z
body:
  * `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)


html_url: https://github.com/simonw/csv-diff/releases/tag/0.6
node_id: MDc6UmVsZWFzZTI0MTAyMTU2
tag_name: 0.6
target_commitish: master
name: csv-diff 0.6
created_at: 2020-02-29T19:56:36Z
published_at: 2020-02-29T19:58:53Z
body:
  - Support for TSV files. The tool will automatically detect if the input is CSV or TSV, or you can use the new `--format=tsv` or `--format=csv` options to over-ride the automatic detection. Thanks, Thomas Sibley for contributing this new feature. (#4)


html_url: https://github.com/simonw/datasette-configure-fts/releases/tag/0.3.1a
node_id: MDc6UmVsZWFzZTI0MTE5NjMy
tag_name: 0.3.1a
target_commitish: master
name: 0.3.1a
created_at: 2020-03-02T06:14:24Z
published_at: 2020-03-02T06:26:32Z
body:
  Bump `sqlite-utils` to get bug fix that allows columns with spaces in their names to be made searchable.


html_url: https://github.com/simonw/datasette/releases/tag/0.37.1
node_id: MDc6UmVsZWFzZTI0MTU0Njk3
tag_name: 0.37.1
target_commitish: master
name: Datasette 0.37.1
created_at: 2020-03-03T03:43:08Z
published_at: 2020-03-03T03:46:17Z
body:
  * Don’t attempt to count table rows to display on the index page for databases > 100MB. (#688)
  * Print exceptions if they occur in the write thread rather than silently swallowing them.
  * Handle the possibility of `scope["path"]` being a string rather than bytes
  * Better documentation for the [extra_template_vars(template, database, table, view_name, request, datasette)](https://datasette.readthedocs.io/en/stable/plugins.html#plugin-hook-extra-template-vars) plugin hook.


html_url: https://github.com/simonw/datasette-upload-csvs/releases/tag/0.4
node_id: MDc6UmVsZWFzZTI0MTU0OTgy
tag_name: 0.4
target_commitish: master
name: 0.4
created_at: 2020-03-03T04:03:20Z
published_at: 2020-03-03T04:06:31Z
body:
  * Support for dragging and dropping a CSV onto the upload page #3
  * Upload progress bar #4
  * Server-side processing of CSV now happens in a background thread #6
  * Progress bar showing server-side processing of CSV #7


html_url: https://github.com/simonw/fec-to-sqlite/releases/tag/0.2
node_id: MDc6UmVsZWFzZTI0MzE3OTMy
tag_name: 0.2
target_commitish: master
name: 0.2
created_at: 2020-03-07T18:21:40Z
published_at: 2020-03-07T18:22:58Z
body:
  Switched to parsing iteratively, so huge filings start showing up in the database straight away while the command is running. Progress bars are now shown for each individual filing. #1


html_url: https://github.com/simonw/datasette/releases/tag/0.38
node_id: MDc6UmVsZWFzZTI0MzMwOTQy
tag_name: 0.38
target_commitish: master
name: 0.38
created_at: 2020-03-08T23:26:50Z
published_at: 2020-03-08T23:42:36Z
body:
  * The [Docker build](https://hub.docker.com/r/datasetteproject/datasette) 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)


html_url: https://github.com/simonw/sqlite-utils/releases/tag/2.4.2
node_id: MDc6UmVsZWFzZTI0NTMwMzg3
tag_name: 2.4.2
target_commitish: master
name: 2.4.2
created_at: 2020-03-14T20:09:56Z
published_at: 2020-03-14T20:13:18Z
body:
  * `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](https://sqlite-utils.readthedocs.io/en/latest/python-api.html#python-api-get).


html_url: https://github.com/dogsheep/twitter-to-sqlite/releases/tag/0.17
node_id: MDc6UmVsZWFzZTI0NzIyODAx
tag_name: 0.17
target_commitish: master
name: 0.17
created_at: 2020-03-20T19:22:37Z
published_at: 2020-03-20T19:23:40Z
body:
  * Upgraded to latest `sqlite-utils` (currently 2.4.2)
  * This fixed a bug with `user-timeline` - #34


html_url: https://github.com/dogsheep/twitter-to-sqlite/releases/tag/0.18
node_id: MDc6UmVsZWFzZTI0NzI0Mzk0
tag_name: 0.18
target_commitish: master
name: 0.18
created_at: 2020-03-20T20:16:46Z
published_at: 2020-03-20T20:19:42Z
body:
  * `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


html_url: https://github.com/dogsheep/twitter-to-sqlite/releases/tag/0.19
node_id: MDc6UmVsZWFzZTI0NzI4MTYz
tag_name: 0.19
target_commitish: master
name: 0.19
created_at: 2020-03-20T23:14:02Z
published_at: 2020-03-20T23:16:53Z
body:
  * 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


html_url: https://github.com/simonw/datasette-auth-github/releases/tag/0.11.1
node_id: MDc6UmVsZWFzZTI0NzM1OTg0
tag_name: 0.11.1
target_commitish: master
name: 0.11.1
created_at: 2020-03-21T14:58:58Z
published_at: 2020-03-21T15:00:17Z
body:
  * Fix for bug interacting with other plugins such as [datasette-search-all](https://github.com/simonw/datasette-search-all) - #58 


html_url: https://github.com/simonw/datasette-render-html/releases/tag/0.1.2
node_id: MDc6UmVsZWFzZTI0NzQwMzg0
tag_name: 0.1.2
target_commitish: master
name: 0.1.2
created_at: 2020-03-21T22:04:49Z
published_at: 2020-03-21T22:05:55Z
body:
  * Added [Security section](https://github.com/simonw/datasette-render-html/blob/ad30076fae9c3788b917967a776de42853109536/README.md#security) to the README


html_url: https://github.com/dogsheep/hacker-news-to-sqlite/releases/tag/0.3.1
node_id: MDc6UmVsZWFzZTI0NzQwNjg3
tag_name: 0.3.1
target_commitish: master
name: 0.3.1
created_at: 2020-03-21T22:39:34Z
published_at: 2020-03-21T22:41:16Z
body:
  Added documentation on [Browsing your data with Datasette](https://github.com/dogsheep/hacker-news-to-sqlite/blob/0.3.1/README.md#browsing-your-data-with-datasette).


html_url: https://github.com/dogsheep/github-to-sqlite/releases/tag/1.0
node_id: MDc6UmVsZWFzZTI0NzkyNTk2
tag_name: 1.0
target_commitish: master
name: 1.0
created_at: 2020-03-24T00:07:47Z
published_at: 2020-03-24T00:11:51Z
body:
  * 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


html_url: https://github.com/simonw/datasette-render-markdown/releases/tag/1.1
node_id: MDc6UmVsZWFzZTI0ODI1MDg3
tag_name: 1.1
target_commitish: master
name: 1.1
created_at: 2020-03-24T19:47:15Z
published_at: 2020-03-24T19:51:13Z
body:
  * Support for Markdown extensions, including GitHub-Flavored Markdown. [Documentation](https://github.com/simonw/datasette-render-markdown/blob/master/README.md#markdown-extensions). #4


html_url: https://github.com/simonw/datasette/releases/tag/0.39
node_id: MDc6UmVsZWFzZTI0ODM2MTQw
tag_name: 0.39
target_commitish: master
name: 0.39
created_at: 2020-03-25T04:02:37Z
published_at: 2020-03-25T04:11:35Z
body:
  * New [base_url](https://datasette.readthedocs.io/en/latest/config.html#config-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](https://datasette.readthedocs.io/en/latest/metadata.html#metadata-default-sort). (#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)


html_url: https://github.com/dogsheep/pocket-to-sqlite/releases/tag/0.2
node_id: MDc6UmVsZWFzZTI0OTUwNjY5
tag_name: 0.2
target_commitish: master
name: 0.2
created_at: 2020-03-27T22:23:16Z
published_at: 2020-03-27T22:26:30Z
body:
  * 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


html_url: https://github.com/dogsheep/twitter-to-sqlite/releases/tag/0.20
node_id: MDc6UmVsZWFzZTI1MDcwNzY2
tag_name: 0.20
target_commitish: master
name: 0.20
created_at: 2020-04-01T04:18:17Z
published_at: 2020-04-01T04:18:53Z
body:
  * 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


html_url: https://github.com/simonw/datasette-publish-vercel/releases/tag/0.2a
node_id: MDc6UmVsZWFzZTI1MjYzNTMx
tag_name: 0.2a
target_commitish: master
name: 0.2a
created_at: 2020-04-07T05:22:25Z
published_at: 2020-04-07T05:24:35Z
body:
  * New required `--project` argument to specify Now project to deploy to - #3
  * `metadata.json` is now correctly loaded by deployed code - #6
  * Uses `--confirm`, `--no-clipboard`, `--prod` arguments to `now`. The `--no-prod` option can be used to deploy to staging first.
  * New `--debug` option to turn on Now CLI debug output - #8


html_url: https://github.com/simonw/datasette-publish-vercel/releases/tag/0.3a
node_id: MDc6UmVsZWFzZTI1MzA2OTc3
tag_name: 0.3a
target_commitish: master
name: 0.3a
created_at: 2020-04-08T04:55:03Z
published_at: 2020-04-08T04:56:25Z
body:
  * New `--public` option for publishing the underlying generated source code - #15
  * Improved unit tests


html_url: https://github.com/simonw/datasette-publish-vercel/releases/tag/0.4a
node_id: MDc6UmVsZWFzZTI1MzQ3OTg2
tag_name: 0.4a
target_commitish: master
name: 0.4a
created_at: 2020-04-09T05:10:38Z
published_at: 2020-04-09T05:13:43Z
body:
  - New `--generate-dir` option for generating a Now app in a specified directory without immediately deploying it. #18 
  - Now installs [pysqlite3-binary](https://github.com/coleifer/pysqlite3/) which provides SQLite 3.31.1 (a major upgrade from 3.7.17, bundled by Amazon Lambda) - this means FTS5 and json1 are both now available. #17 


html_url: https://github.com/simonw/datasette-auth-github/releases/tag/0.12
node_id: MDc6UmVsZWFzZTI1Mzg0MjY5
tag_name: 0.12
target_commitish: master
name: 0.12
created_at: 2020-04-10T04:39:26Z
published_at: 2020-04-10T04:41:02Z
body:
  * Respects `scope["auth"]` if it has already been populated by another authentication plugin - #59
  * Fixed bug where `require_auth` setting was not respected - thanks, Harrison Tsai! - #57


html_url: https://github.com/simonw/sqlite-utils/releases/tag/2.5
node_id: MDc6UmVsZWFzZTI1NDM2MjY1
tag_name: 2.5
target_commitish: master
name: 2.5
created_at: 2020-04-13T03:52:19Z
published_at: 2020-04-13T03:54:08Z
body:
  * 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)


html_url: https://github.com/simonw/datasette-clone/releases/tag/0.3
node_id: MDc6UmVsZWFzZTI1NDY4NTI4
tag_name: 0.3
target_commitish: master
name: 0.3
created_at: 2020-04-14T01:28:49Z
published_at: 2020-04-14T01:29:54Z
body:
  * `datasette-clone latest.datasette.io` now works - it assumes `https://` if protocol is missing. #2


html_url: https://github.com/simonw/datasette-clone/releases/tag/0.4
node_id: MDc6UmVsZWFzZTI1NDk2NzM4
tag_name: 0.4
target_commitish: master
name: 0.4
created_at: 2020-04-14T17:19:10Z
published_at: 2020-04-14T17:20:58Z
body:
  * Download a copy of `metadata.json` to accompany the downloaded database files. #3
  * Now has unit tests. #4


html_url: https://github.com/simonw/sqlite-utils/releases/tag/2.6
node_id: MDc6UmVsZWFzZTI1NTU0NjE3
tag_name: 2.6
target_commitish: master
name: 2.6
created_at: 2020-04-16T03:13:13Z
published_at: 2020-04-16T03:14:48Z
body:
  * New `table.rows_where(..., order_by="age desc")` argument, see [Listing rows](https://sqlite-utils.readthedocs.io/en/stable/python-api.html#listing-rows). (#76)


html_url: https://github.com/dogsheep/github-to-sqlite/releases/tag/1.0.1
node_id: MDc6UmVsZWFzZTI1NTgzMDk0
tag_name: 1.0.1
target_commitish: master
name: 1.0.1
created_at: 2020-04-16T17:41:47Z
published_at: 2020-04-16T18:09:29Z
body:
  * Fixed bug where repository topics were not being correctly fetched #26
  * Live demo at https://github-to-sqlite.dogsheep.net/ now uses [datasette-render-markdown](https://github.com/simonw/datasette-render-markdown) and pulls in issue comments #25


html_url: https://github.com/dogsheep/twitter-to-sqlite/releases/tag/0.21
node_id: MDc6UmVsZWFzZTI1NjMyMDI5
tag_name: 0.21
target_commitish: master
name: 0.21
created_at: 2020-04-17T23:44:31Z
published_at: 2020-04-17T23:46:51Z
body:
  * 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


html_url: https://github.com/dogsheep/github-to-sqlite/releases/tag/1.1
node_id: MDc6UmVsZWFzZTI1NjQwODU5
tag_name: 1.1
target_commitish: master
name: 1.1
created_at: 2020-04-18T15:07:04Z
published_at: 2020-04-18T15:09:55Z
body:
  * New `github-to-sqlite contributors` command for fetching contributors to one or more repositories. #28
  * The [live demo](https://github-to-sqlite.dogsheep.net/) 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


html_url: https://github.com/simonw/datasette-template-sql/releases/tag/1.0
node_id: MDc6UmVsZWFzZTI1NzQzNzkx
tag_name: 1.0
target_commitish: master
name: 1.0
created_at: 2020-04-21T23:28:25Z
published_at: 2020-04-21T23:29:43Z
body:
  * Backwards incompatible change: the second argument to the `sql()` function is now expected to be an optional list or dictionary of SQL parameters. Previously the second argument was the name of the database to run the query against - this should now be passed as a named `database=` argument instead.


html_url: https://github.com/dogsheep/github-to-sqlite/releases/tag/2.0
node_id: MDc6UmVsZWFzZTI1NzQ1NzIz
tag_name: 2.0
target_commitish: master
name: 2.0
created_at: 2020-04-22T01:20:52Z
published_at: 2020-04-22T01:24:37Z
body:
  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


html_url: https://github.com/simonw/datasette/releases/tag/0.40
node_id: MDc6UmVsZWFzZTI1NzQ4MjY0
tag_name: 0.40
target_commitish: master
name: 0.40
created_at: 2020-04-22T04:06:39Z
published_at: 2020-04-22T04:06:51Z
body:
  * Datasette [Metadata](https://datasette.readthedocs.io/en/latest/metadata.html) can now be provided as a YAML file as an optional alternative to JSON. See [Using YAML for metadata](https://datasette.readthedocs.io/en/latest/metadata.html#metadata-yaml). (#713)
  * Removed support for `datasette publish now`, which used the the now-retired Zeit Now v1 hosting platform. A new plugin, [datasette-publish-now](https://github.com/simonw/datasette-publish-now), can be installed to publish data to Zeit ([now Vercel](https://vercel.com/blog/zeit-is-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](https://datasette.readthedocs.io/en/latest/config.html#config-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)


html_url: https://github.com/simonw/datasette-publish-vercel/releases/tag/0.5
node_id: MDc6UmVsZWFzZTI1NzQ4Njk5
tag_name: 0.5
target_commitish: master
name: 0.5
created_at: 2020-04-22T04:36:42Z
published_at: 2020-04-22T04:37:52Z
body:
  * First non-alpha release
  * Publish command is now `datasette publish now`, not `datasette publish now2`
  * Zeit is now [called Vercel](https://vercel.com/blog/zeit-is-now-vercel)


html_url: https://github.com/simonw/datasette-atom/releases/tag/0.5
node_id: MDc6UmVsZWFzZTI2MDU0Mzkx
tag_name: 0.5
target_commitish: master
name: 0.5
created_at: 2020-04-30T16:09:11Z
published_at: 2020-04-30T16:10:45Z
body:
  * Support for Atom author element via `atom_author_name`, `atom_author_email`, `atom_author_uri` columns. #9
  * Now uses [httpx](https://github.com/encode/httpx) for tests. #3


html_url: https://github.com/simonw/sqlite-utils/releases/tag/2.7
node_id: MDc6UmVsZWFzZTI2MDU5NTQ1
tag_name: 2.7
target_commitish: master
name: 2.7
created_at: 2020-04-18T00:04:50Z
published_at: 2020-04-30T18:33:20Z
body:
  * 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](https://sqlite-utils.readthedocs.io/en/stable/python-api.html#python-api-custom-columns). (#100)


html_url: https://github.com/dogsheep/github-to-sqlite/releases/tag/2.1
node_id: MDc6UmVsZWFzZTI2MDY3OTEx
tag_name: 2.1
target_commitish: master
name: 2.1
created_at: 2020-04-30T23:02:24Z
published_at: 2020-04-30T23:03:32Z
body:
  * New `github-to-sqlite scrape-dependents` command for importing the dependent repositories for a repo. #34


html_url: https://github.com/simonw/sqlite-utils/releases/tag/2.7.1
node_id: MDc6UmVsZWFzZTI2MDk2Njkx
tag_name: 2.7.1
target_commitish: master
name: 2.7.1
created_at: 2020-05-01T22:08:37Z
published_at: 2020-05-01T22:11:19Z
body:
  * New `sqlite-utils views my.db` command for listing views in a database, see [Listing views](https://sqlite-utils.readthedocs.io/en/latest/cli.html#cli-views). (#105)
  * `sqlite-utils tables` (and `views`) has a new `--schema` option which outputs the table/view schema, see [Listing tables](https://sqlite-utils.readthedocs.io/en/latest/cli.html#cli-tables). (#104)
  * Nested structures containing invalid JSON values (e.g. Python bytestrings) are now serialized using `repr()` instead of throwing an error. (#102)


html_url: https://github.com/simonw/sqlite-utils/releases/tag/2.7.2
node_id: MDc6UmVsZWFzZTI2MTA3MzEx
tag_name: 2.7.2
target_commitish: master
name: 2.7.2
created_at: 2020-05-02T16:05:27Z
published_at: 2020-05-02T16:10:11Z
body:
  * `db.create_view(...)` now has additional parameters `ignore=True` or `replace=True`, see [Creating views](https://sqlite-utils.readthedocs.io/en/latest/python-api.html#creating-views). (#106)


html_url: https://github.com/dogsheep/github-to-sqlite/releases/tag/2.2
node_id: MDc6UmVsZWFzZTI2MTEwNDM0
tag_name: 2.2
target_commitish: master
name: 2.2
created_at: 2020-05-02T21:23:11Z
published_at: 2020-05-02T21:28:00Z
body:
  * New command: `github-to-sqlite stargazers` ([docs](https://github.com/dogsheep/github-to-sqlite/blob/2.2/README.md#fetching-users-that-have-starred-specific-repos)) for fetching all users who have starred the specified repositories. #4
  * Added several views: [dependent_repos](https://github-to-sqlite.dogsheep.net/github/dependent_repos), [repos_starred](https://github-to-sqlite.dogsheep.net/github/repos_starred), [recent_releases](https://github-to-sqlite.dogsheep.net/github/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


html_url: https://github.com/simonw/sqlite-utils/releases/tag/2.8
node_id: MDc6UmVsZWFzZTI2MTIwMTM2
tag_name: 2.8
target_commitish: master
name: 2.8
created_at: 2020-05-03T15:39:56Z
published_at: 2020-05-03T15:41:31Z
body:
  * New `sqlite-utils create-table` command, see [Creating tables](https://sqlite-utils.readthedocs.io/en/latest/cli.html#creating-tables). (#27)
  * New `sqlite-utils create-view` command, see [Creating views](https://sqlite-utils.readthedocs.io/en/latest/cli.html#creating-views). (#107)


html_url: https://github.com/dogsheep/dogsheep-photos/releases/tag/0.3a
node_id: MDc6UmVsZWFzZTI2MTk5MzQ4
tag_name: 0.3a
target_commitish: master
name: 0.3a
created_at: 2020-05-05T20:16:53Z
published_at: 2020-05-05T20:17:00Z
body:
  * 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


html_url: https://github.com/simonw/datasette/releases/tag/0.41
node_id: MDc6UmVsZWFzZTI2MjQwNjYy
tag_name: 0.41
target_commitish: master
name: 0.41
created_at: 2020-05-06T18:20:58Z
published_at: 2020-05-06T18:30:03Z
body:
  You can now create [custom pages](https://datasette.readthedocs.io/en/0.41/custom_templates.html#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](https://datasette.readthedocs.io/en/0.41/custom_templates.html#custom-pages) for full details, including how to return custom HTTP headers, redirects and status codes. (#648)

  [Configuration directory mode](https://datasette.readthedocs.io/en/0.41/config.html#config-dir) (#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](https://www.sqlite.org/pragma.html#pragfunc) 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](https://github.com/erm/mangum) adapter for running ASGI apps on AWS Lambda. Thanks, Colin Dellow. (#719)
  -   Installation documentation now covers how to [Install using pipx](https://datasette.readthedocs.io/en/0.41/installation.html#installation-pipx). (#756)
  -   Improved the documentation for [Full-text search](https://datasette.readthedocs.io/en/0.41/full_text_search.html#full-text-search).


html_url: https://github.com/simonw/datasette/releases/tag/0.42
node_id: MDc6UmVsZWFzZTI2MzIwNzc0
tag_name: 0.42
target_commitish: master
name: 0.42
created_at: 2020-05-08T17:38:27Z
published_at: 2020-05-08T17:56:36Z
body:
  A small release which provides improved internal methods for use in plugins, along with documentation. See #685.

  * Added documentation for `db.execute()`, see [await db.execute(sql, ...)](https://datasette.readthedocs.io/en/stable/internals.html#database-execute).
  * Renamed `db.execute_against_connection_in_thread()` to `db.execute_fn()` and made it a documented method, see [await db.execute_fn(fn)](https://datasette.readthedocs.io/en/stable/internals.html#database-execute-fn).
  * New `results.first()` and `results.single_value()` methods, plus documentation for the `Results` class - see [Results](https://datasette.readthedocs.io/en/stable/internals.html#database-results).


html_url: https://github.com/simonw/sqlite-utils/releases/tag/2.9
node_id: MDc6UmVsZWFzZTI2MzYyNjIz
tag_name: 2.9
target_commitish: master
name: 2.9
created_at: 2020-05-11T01:54:56Z
published_at: 2020-05-11T01:57:11Z
body:
  -   New `sqlite-utils drop-table` command, see [Dropping tables](https://sqlite-utils.readthedocs.io/en/2.9/cli.html#cli-drop-table). ([#111](https://github.com/simonw/sqlite-utils/issues/111))
  -   New `sqlite-utils drop-view` command, see [Dropping views](https://sqlite-utils.readthedocs.io/en/2.9/cli.html#cli-drop-view).
  -   Python `decimal.Decimal` objects are now stored as `FLOAT`. ([#110](https://github.com/simonw/sqlite-utils/issues/110))


html_url: https://github.com/dogsheep/dogsheep-photos/releases/tag/0.4
node_id: MDc6UmVsZWFzZTI2Njk4NjYy
tag_name: 0.4
target_commitish: master
name: 0.4
created_at: 2020-05-20T04:22:26Z
published_at: 2020-05-20T04:24:28Z
body:
  - Renamed this project to `dogsheep-photos`. #26
  - `apple-photos` command now works even if you haven't yet run `upload`. #19
  -  `--image-url-prefix` and `--image-url-suffix` options to `apple-photos`. #24 
  - New `create-subset` command. #23 


html_url: https://github.com/simonw/datasette-cluster-map/releases/tag/0.10
node_id: MDc6UmVsZWFzZTI2NzY3MTgy
tag_name: 0.10
target_commitish: master
name: 0.10
created_at: 2020-05-21T17:33:34Z
published_at: 2020-05-21T17:39:27Z
body:
  - Ability to customize the marker popup - #11
  - **Security**: Fixed XSS issue where marker bubbles could include executable JavaScript in the pretty-printed JSON


html_url: https://github.com/dogsheep/dogsheep-photos/releases/tag/0.4.1
node_id: MDc6UmVsZWFzZTI2ODczNjk4
tag_name: 0.4.1
target_commitish: master
name: 0.4.1
created_at: 2020-05-25T20:11:20Z
published_at: 2020-05-25T20:13:23Z
body:
  - Documentation now explains how to use this with the [datasette-media](https://github.com/simonw/datasette-media), [datasette-json-html](https://github.com/simonw/datasette-json-html) and [datasette-template-sql](https://github.com/simonw/datasette-template-sql) plugins. #20


html_url: https://github.com/simonw/datasette/releases/tag/0.43
node_id: MDc6UmVsZWFzZTI2OTk0MDA1
tag_name: 0.43
target_commitish: master
name: 0.43
created_at: 2020-05-28T14:11:06Z
published_at: 2020-05-28T14:39:18Z
body:
  The main focus of this release is a major upgrade to the [register_output_renderer(datasette)](https://datasette.readthedocs.io/en/stable/plugins.html#plugin-register-output-renderer) plugin hook, which allows plugins to provide new output formats for Datasette such as [datasette-atom](https://github.com/simonw/datasette-atom) and [datasette-ics](https://github.com/simonw/datasette-ics).

  -   Redesign of [register_output_renderer(datasette)](https://datasette.readthedocs.io/en/stable/plugins.html#plugin-register-output-renderer) to provide more context to the render callback and support an optional `"can_render"` callback that controls if a suggested link to the output format is provided. ([#581](https://github.com/simonw/datasette/issues/581), [#770](https://github.com/simonw/datasette/issues/770))
  -   Visually distinguish float and integer columns - useful for figuring out why order-by-column might be returning unexpected results. ([#729](https://github.com/simonw/datasette/issues/729))
  -   The [Request object](https://datasette.readthedocs.io/en/stable/internals.html#internals-request), which is passed to several plugin hooks, is now documented. ([#706](https://github.com/simonw/datasette/issues/706))
  -   New `metadata.json` option for setting a custom default page size for specific tables and views, see [Setting a custom page size](https://datasette.readthedocs.io/en/stable/metadata.html#metadata-page-size). ([#751](https://github.com/simonw/datasette/issues/751))
  -   Canned queries can now be configured with a default URL fragment hash, useful when working with plugins such as [datasette-vega](https://github.com/simonw/datasette-vega), see [Setting a default fragment](https://datasette.readthedocs.io/en/stable/sql_queries.html#canned-queries-default-fragment). ([#706](https://github.com/simonw/datasette/issues/706))
  -   Fixed a bug in `datasette publish` when running on operating systems where the `/tmp` directory lives in a different volume, using a backport of the Python 3.8 `shutil.copytree()` function. ([#744](https://github.com/simonw/datasette/issues/744))
  -   Every plugin hook is now covered by the unit tests, and a new unit test checks that each plugin hook has at least one corresponding test. ([#771](https://github.com/simonw/datasette/issues/771), [#773](https://github.com/simonw/datasette/issues/773))


html_url: https://github.com/simonw/datasette-atom/releases/tag/0.6
node_id: MDc6UmVsZWFzZTI2OTk5MDIz
tag_name: 0.6
target_commitish: master
name: 0.6
created_at: 2020-05-28T16:28:47Z
published_at: 2020-05-28T16:31:28Z
body:
  - Only show `.atom` link if current query is supported. #10
  - Use `"title"` metadata from canned queries as the title of the corresponding Atom feed. #6
  - Fixed remaining feed validation errors. #12


html_url: https://github.com/simonw/db-to-sqlite/releases/tag/1.2
node_id: MDc6UmVsZWFzZTI3MDEyMjcy
tag_name: 1.2
target_commitish: master
name: 1.2
created_at: 2020-05-28T23:15:01Z
published_at: 2020-05-28T23:17:18Z
body:
  Bumped to `sqlite-utils` 2.9.1. This fixes two things:

  - Decimal columns are now supported. They become FLOAT columns in SQLite.
  - Fixed a bug where columns that were a combination of integers and nulls were incorrectly stored as TEXT, not INTEGER.


html_url: https://github.com/simonw/datasette-ics/releases/tag/0.4
node_id: MDc6UmVsZWFzZTI3MDE2OTI5
tag_name: 0.4
target_commitish: master
name: 0.4
created_at: 2020-05-29T04:02:22Z
published_at: 2020-05-29T04:06:57Z
body:
  - First non-alpha release
  - Now depends on [Datasette 0.43](https://datasette.readthedocs.io/en/stable/changelog.html#v0-43), using new register_output_renderer plugin hook design
  - Bumped to [ics 0.7](https://github.com/C4ptainCrunch/ics.py/releases/tag/v0.7)
  - Calendar titles now use `X-WR-CALNAME` - #4
  - Use canned query title for the calendar title, if available - #3
  - Only show `.ics` link if the query returns the correct titles - #2


html_url: https://github.com/simonw/datasette/releases/tag/0.44
node_id: MDc6UmVsZWFzZTI3NDgzMjc2
tag_name: 0.44
target_commitish: master
name: 0.44
created_at: 2020-06-12T01:19:30Z
published_at: 2020-06-12T07:10:38Z
body:
  Authentication and permissions, writable canned queries, flash messages, new plugin hooks and more. [Full release notes](https://datasette.readthedocs.io/en/stable/changelog.html#v0-44). See also [Datasette 0.44: the annotated release notes](https://simonwillison.net/2020/Jun/12/annotated-release-notes/).


html_url: https://github.com/simonw/datasette-psutil/releases/tag/0.2
node_id: MDc6UmVsZWFzZTI3NTI1MDQ4
tag_name: 0.2
target_commitish: master
name: 0.2
created_at: 2020-06-13T23:27:36Z
published_at: 2020-06-13T23:28:41Z
body:
  * Better README, including link to a [live demo](https://datasette-psutil-demo-j7hipcg4aq-uw.a.run.app/-/psutil)
  * Handle errors better


html_url: https://github.com/simonw/datasette-render-images/releases/tag/0.2a0
node_id: MDc6UmVsZWFzZTI3NzAxMTkx
tag_name: 0.2a0
target_commitish: master
name: 0.2a0
created_at: 2020-06-18T20:18:25Z
published_at: 2020-06-18T20:19:18Z
body:
  - Alpha release ([experimenting with alphas](https://github.com/simonw/datasette/issues/807) using Travis)
  - Now includes `alt=""`


html_url: https://github.com/simonw/sqlite-generate/releases/tag/0.2
node_id: MDc6UmVsZWFzZTI3ODA5MTA3
tag_name: 0.2
target_commitish: main
name: 0.2
created_at: 2020-06-23T01:07:25Z
published_at: 2020-06-23T01:08:58Z
body:
  - `--rows=5,50` option for changing the number of rows created per table. #2
  - `--columns=8` option for changing the number of columns added to each table. #3
  - `--seed=myseed` option for fixing the random number seed used to generate the database. #4


html_url: https://github.com/simonw/sqlite-generate/releases/tag/0.4.1
node_id: MDc6UmVsZWFzZTI3ODQwOTMx
tag_name: 0.4.1
target_commitish: main
name: 0.4.1
created_at: 2020-06-23T18:03:41Z
published_at: 2020-06-23T18:04:41Z
body:
  * Fixed bug with foreign key generation when running the tool multiple times against the same database. #10
  * Fixed bug generating foreign keys against empty tables. #11 


html_url: https://github.com/simonw/sqlite-generate/releases/tag/1.0
node_id: MDc6UmVsZWFzZTI3ODQzOTk0
tag_name: 1.0
target_commitish: main
name: 1.0
created_at: 2020-06-23T19:24:01Z
published_at: 2020-06-23T19:24:39Z
body:
  Added `--fts` (and `--fts4`) option for configuring full-text search against generated text columns. #9


html_url: https://github.com/simonw/sqlite-generate/releases/tag/1.1
node_id: MDc6UmVsZWFzZTI3ODQ3NTI5
tag_name: 1.1
target_commitish: main
name: 1.1
created_at: 2020-06-23T20:56:50Z
published_at: 2020-06-23T20:58:34Z
body:
  * `--columns` can now accept a range, e.g. `--columns 2,10`. #12
  * Can now generate rowid or compound primary key tables using the new `--pks` option. `--pks 0` produces rowid tables, `--pks=2` produces compound primary keys, and `--pks=0,2` produces different primary key configurations randomly. #8 


html_url: https://github.com/simonw/datasette-auth-tokens/releases/tag/0.2
node_id: MDc6UmVsZWFzZTI4MTI4ODgx
tag_name: 0.2
target_commitish: master
name: 0.2
created_at: 2020-07-01T19:07:51Z
published_at: 2020-07-01T19:08:44Z
body:
  - New SQL configuration mode. You can now configure this plugin to look up incoming API tokens in a database table. #1


html_url: https://github.com/simonw/datasette/releases/tag/0.45
node_id: MDc6UmVsZWFzZTI4MTM0MTI0
tag_name: 0.45
target_commitish: master
name: 0.45
created_at: 2020-07-01T21:43:07Z
published_at: 2020-07-01T21:46:07Z
body:
  Magic parameters for canned queries, a log out feature, improved plugin documentation and four new plugin hooks.

  ### Magic parameters for canned queries

  Canned queries now support [Magic parameters](https://docs.datasette.io/en/stable/sql_queries.html#canned-queries-magic-parameters), which can be used to insert or select automatically generated values. For example:
  ```sql
  insert into logs
    (user_id, timestamp)
  values
    (:_actor_id, :_now_datetime_utc)
  ```
  This inserts the currently authenticated actor ID and the current datetime. ([#842](https://github.com/simonw/datasette/issues/842))

  ### Log out

  The [ds_actor cookie](https://docs.datasette.io/en/stable/authentication.html#authentication-ds-actor) can be used by plugins (or by Datasette's [--root mechanism](https://docs.datasette.io/en/stable/authentication.html#authentication-root)) to authenticate users. The new `/-/logout` page provides a way to clear that cookie.

  A "Log out" button now shows in the global navigation provided the user is authenticated using the `ds_actor` cookie. ([#840](https://github.com/simonw/datasette/issues/840))

  ### Better plugin documentation

  The plugin documentation has been re-arranged into four sections, including a brand new section on testing plugins. ([#687](https://github.com/simonw/datasette/issues/687))

  -   [Plugins](https://docs.datasette.io/en/stable/plugins.html#plugins) introduces Datasette's plugin system and describes how to install and configure plugins.
  -   [Writing plugins](https://docs.datasette.io/en/stable/writing_plugins.html#writing-plugins) describes how to author plugins, from simple one-off plugins to packaged plugins that can be published to PyPI. It also describes how to start a plugin using the new [datasette-plugin](https://github.com/simonw/datasette-plugin) cookiecutter template.
  -   [Plugin hooks](https://docs.datasette.io/en/stable/plugin_hooks.html#plugin-hooks) is a full list of detailed documentation for every Datasette plugin hook.
  -   [Testing plugins](https://docs.datasette.io/en/stable/testing_plugins.html#testing-plugins) describes how to write tests for Datasette plugins, using [pytest](https://docs.pytest.org/) and [HTTPX](https://www.python-httpx.org/).

  ### New plugin hooks

  -   [register_magic_parameters(datasette)](https://docs.datasette.io/en/stable/plugin_hooks.html#plugin-hook-register-magic-parameters) can be used to define new types of magic canned query parameters.
  -   [startup(datasette)](https://docs.datasette.io/en/stable/plugin_hooks.html#plugin-hook-startup) can run custom code when Datasette first starts up. [datasette-init](https://github.com/simonw/datasette-init) is a new plugin that uses this hook to create database tables and views on startup if they have not yet been created. ([#834](https://github.com/simonw/datasette/issues/834))
  -   [canned_queries(datasette, database, actor)](https://docs.datasette.io/en/stable/plugin_hooks.html#plugin-hook-canned-queries) lets plugins provide additional canned queries beyond those defined in Datasette's metadata. See [datasette-saved-queries](https://github.com/simonw/datasette-saved-queries) for an example of this hook in action. ([#852](https://github.com/simonw/datasette/issues/852))
  -   [forbidden(datasette, request, message)](https://docs.datasette.io/en/stable/plugin_hooks.html#plugin-hook-forbidden) is a hook for customizing how Datasette responds to 403 forbidden errors. ([#812](https://github.com/simonw/datasette/issues/812))

  ### Smaller changes

  -   Cascading view permissons - so if a user has `view-table` they can view the table page even if they do not have `view-database` or `view-instance`. ([#832](https://github.com/simonw/datasette/issues/832))
  -   CSRF protection no longer applies to `Authentication: Bearer token` requests or requests without cookies. ([#835](https://github.com/simonw/datasette/issues/835))
  -   `datasette.add_message()` now works inside plugins. ([#864](https://github.com/simonw/datasette/issues/864))
  -   Workaround for "Too many open files" error in test runs. ([#846](https://github.com/simonw/datasette/issues/846))
  -   Respect existing `scope["actor"]` if already set by ASGI middleware. ([#854](https://github.com/simonw/datasette/issues/854))
  -   New process for shipping [Alpha and beta releases](https://docs.datasette.io/en/stable/contributing.html#contributing-alpha-beta). ([#807](https://github.com/simonw/datasette/issues/807))
  -   `{{ csrftoken() }}` now works when plugins render a template using `datasette.render_template(..., request=request)`. ([#863](https://github.com/simonw/datasette/issues/863))
  -   Datasette now creates a single [Request object](https://docs.datasette.io/en/stable/internals.html#internals-request) and uses it throughout the lifetime of the current HTTP request. ([#870](https://github.com/simonw/datasette/issues/870))


html_url: https://github.com/simonw/datasette-search-all/releases/tag/0.3
node_id: MDc6UmVsZWFzZTI4MjM4MjY0
tag_name: 0.3
target_commitish: master
name: 0.3
created_at: 2020-07-06T00:54:44Z
published_at: 2020-07-06T00:56:17Z
body:
  - Fix for compatibility with Datasette 0.45, through switching to new `register_routes` plugin hook. #8


html_url: https://github.com/simonw/sqlite-utils/releases/tag/2.11
node_id: MDc6UmVsZWFzZTI4MzY5MjUw
tag_name: 2.11
target_commitish: master
name: 2.11
created_at: 2020-07-08T17:36:07Z
published_at: 2020-07-08T17:36:45Z
body:
  -   New `--truncate` option to `sqlite-utils insert`, and `truncate=True` argument to `.insert_all()`. Thanks, Thomas Sibley. ([#118](https://github.com/simonw/sqlite-utils/pull/118))
  -   The `sqlite-utils query` command now runs updates in a transaction. Thanks, Thomas Sibley. ([#120](https://github.com/simonw/sqlite-utils/pull/120))


html_url: https://github.com/dogsheep/github-to-sqlite/releases/tag/2.3
node_id: MDc6UmVsZWFzZTI4NDIyNzE2
tag_name: 2.3
target_commitish: master
name: 2.3
created_at: 2020-07-09T23:26:34Z
published_at: 2020-07-09T23:28:07Z
body:
  - New `github-to-sqlite repos my.db -r simonw/datasette` option for importing just specific repositories. #42


html_url: https://github.com/simonw/datasette-auth-passwords/releases/tag/0.2
node_id: MDc6UmVsZWFzZTI4NTE4Nzkz
tag_name: 0.2
target_commitish: main
name: 0.2
created_at: 2020-07-13T20:49:03Z
published_at: 2020-07-13T20:50:00Z
body:
  * Redesigned configuration to work with `--plugin-secret`. #8
  * Correctly package all templates. #9


html_url: https://github.com/simonw/datasette-auth-passwords/releases/tag/0.3
node_id: MDc6UmVsZWFzZTI4NTIxMTI4
tag_name: 0.3
target_commitish: main
name: 0.3
created_at: 2020-07-13T22:10:02Z
published_at: 2020-07-13T22:11:28Z
body:
  - Added a live demo at https://datasette-auth-passwords-demo.datasette.io/ - #7
  - Fix for login form display on mobile - #10
  - `/-/password-tool` now has a "copy to clipboard" button - #11


html_url: https://github.com/simonw/datasette-insert/releases/tag/0.1a
node_id: MDc6UmVsZWFzZTI4NjkzNjc0
tag_name: 0.1a
target_commitish: main
name: 0.1a
created_at: 2020-07-17T23:23:02Z
published_at: 2020-07-17T23:23:56Z
body:
  - First working release - supports unauthenticated POST of a JSON list to `/-/update/database-name/table-name`


html_url: https://github.com/dogsheep/github-to-sqlite/releases/tag/2.4
node_id: MDc6UmVsZWFzZTI4NzA1OTM4
tag_name: 2.4
target_commitish: master
name: 2.4
created_at: 2020-07-18T22:34:15Z
published_at: 2020-07-18T22:35:27Z
body:
  - New `github-to-sqlite tags github.db simonw/datasette` command for importing all tags for a repository. #43


html_url: https://github.com/simonw/datasette-insert/releases/tag/0.2a
node_id: MDc6UmVsZWFzZTI4NzE2Njg0
tag_name: 0.2a
target_commitish: main
name: 0.2a
created_at: 2020-07-19T19:08:52Z
published_at: 2020-07-19T19:09:54Z
body:
  * Renamed plugin from `datasette-update-api` to `datasette-insert-api`. #7
  * Add `?alter=1` to create any missing table columns. #5


html_url: https://github.com/simonw/datasette-insert/releases/tag/0.3
node_id: MDc6UmVsZWFzZTI4NzE5ODM4
tag_name: 0.3
target_commitish: main
name: 0.3
created_at: 2020-07-20T00:08:38Z
published_at: 2020-07-20T00:09:18Z
body:
  - Implement basic "allow" permissions. #4 
  - Support inserts of a single record in addition to lists. #6


html_url: https://github.com/simonw/datasette-insert/releases/tag/0.4
node_id: MDc6UmVsZWFzZTI4NzkxNDMy
tag_name: 0.4
target_commitish: main
name: 0.4
created_at: 2020-07-21T16:23:41Z
published_at: 2020-07-21T16:25:15Z
body:
  - More finely grained plugin permissions: `insert-api:all`, `insert-api:insert-update`, `insert-api:create-table`, `insert-api:alter-table`. #8


html_url: https://github.com/simonw/datasette-copyable/releases/tag/0.2
node_id: MDc6UmVsZWFzZTI4ODAzMDAy
tag_name: 0.2
target_commitish: main
name: 0.2
created_at: 2020-07-21T21:51:21Z
published_at: 2020-07-21T21:52:57Z
body:
  - TSV format is now compatible with Google Sheets and Excel. #3
  - Table headings are now included in the formatted tables. #2
  - Added a "Copy" button for copying the data to your clipboard. #1
  - Plugin now has a live demo at https://fivethirtyeight.datasettes.com/


html_url: https://github.com/simonw/datasette-clone/releases/tag/0.5
node_id: MDc6UmVsZWFzZTI4ODM3Nzk0
tag_name: 0.5
target_commitish: master
name: 0.5
created_at: 2020-07-22T17:12:12Z
published_at: 2020-07-22T17:13:16Z
body:
  - `-v` option now shows a progress bar during each database file download. #5
  - Databases are now streamed to disk as they are fetched, rather than being stored in RAM


html_url: https://github.com/simonw/datasette-insert/releases/tag/0.5
node_id: MDc6UmVsZWFzZTI4OTQ5NjE4
tag_name: 0.5
target_commitish: main
name: 0.5
created_at: 2020-07-25T20:31:28Z
published_at: 2020-07-25T20:31:51Z
body:
  Renamed this plugin `datasette-insert`

  The user-facing consequences of this are:

  * The plugin configuration block is now called `"datasette-insert"` (it was previously called `"datasette-insert-api")
  * The permissions that used to be called `insert-api:all`, `insert-api:insert-update`, `insert-api:create-table` and `insert-api:alter-table` are now called `insert:all`, `insert:insert-update`, `insert:create-table` and `insert:alter-table`


html_url: https://github.com/simonw/datasette-auth-passwords/releases/tag/0.3.1
node_id: MDc6UmVsZWFzZTI4OTUxNDY0
tag_name: 0.3.1
target_commitish: main
name: 0.3.1
created_at: 2020-07-26T00:26:07Z
published_at: 2020-07-26T00:27:22Z
body:
  - Cosmetic improvement to [/-/password-tool](https://datasette-auth-passwords-demo.datasette.io/-/password-tool) interface - the copy button now displays "Copied!" after it is clicked to let the user know that the hash has been copied to their clipboard


html_url: https://github.com/simonw/sqlite-utils/releases/tag/2.12
node_id: MDc6UmVsZWFzZTI4OTc1MTE5
tag_name: 2.12
target_commitish: master
name: 2.12
created_at: 2020-07-27T07:21:26Z
published_at: 2020-07-27T07:24:10Z
body:
  The theme of this release is better tools for working with binary data. The new `insert-files` command can be used to insert binary files directly into a database table, and other commands have been improved with better support for BLOB columns.

  -   `sqlite-utils insert-files my.db gifs *.gif` can now insert the contents of files into a specified table. The columns in the table can be customized to include different pieces of metadata derived from the files. See [Inserting binary data from files](https://sqlite-utils.readthedocs.io/en/stable/cli.html#cli-insert-files). ([#122](https://github.com/simonw/sqlite-utils/issues/122))
  -   `--raw` option to `sqlite-utils query` - for outputting just a single raw column value - see [Returning raw data from a query, such as binary content](https://sqlite-utils.readthedocs.io/en/stable/cli.html#cli-query-raw). ([#123](https://github.com/simonw/sqlite-utils/issues/123))
  -   JSON output now encodes BLOB values as special base64 obects - see [Running queries and returning JSON](https://sqlite-utils.readthedocs.io/en/stable/cli.html#cli-query-json). ([#125](https://github.com/simonw/sqlite-utils/issues/125))
  -   The same format of JSON base64 objects can now be used to insert binary data - see [Inserting JSON data](https://sqlite-utils.readthedocs.io/en/stable/cli.html#cli-inserting-data). ([#126](https://github.com/simonw/sqlite-utils/issues/126))
  -   The `sqlite-utils query` command can now accept named parameters, e.g. `sqlite-utils :memory: "select :num * :num2" -p num 5 -p num2 6` - see [Running queries and returning JSON](https://sqlite-utils.readthedocs.io/en/stable/cli.html#cli-query-json). ([#124](https://github.com/simonw/sqlite-utils/issues/124))


html_url: https://github.com/simonw/datasette-media/releases/tag/0.4
node_id: MDc6UmVsZWFzZTI5MDAzMDg1
tag_name: 0.4
target_commitish: main
name: 0.4
created_at: 2020-07-27T20:20:52Z
published_at: 2020-07-27T20:22:21Z
body:
  - Plugin can now be configured to serve BLOB content directly from a database column. #14
  - New `enable_transform` option which allows custom resizing using `?w=`, `?h=` and `?format=`. #6 


html_url: https://github.com/simonw/datasette-media/releases/tag/0.5
node_id: MDc6UmVsZWFzZTI5MDkzMDMz
tag_name: 0.5
target_commitish: main
name: 0.5
created_at: 2020-07-29T22:03:48Z
published_at: 2020-07-29T22:05:36Z
body:
  * SQL queries can now return `content_url` and the plugin will proxy and deliver content from that URL. #4
  * Content is proxied as it is streamed, taking advantage of ASGI streaming. #21
  * A `content_filename` column can be returned, which will cause the browser to prompt a file download using the specified file name. #19


html_url: https://github.com/simonw/sqlite-utils/releases/tag/2.13
node_id: MDc6UmVsZWFzZTI5MDk2ODEw
tag_name: 2.13
target_commitish: master
name: 2.13
created_at: 2020-07-30T01:13:53Z
published_at: 2020-07-30T01:15:55Z
body:
  - `memoryview` and `uuid.UUID` objects are now supported. `memoryview` objects will be stored using `BLOB` and `uuid.UUID` objects will be stored using `TEXT`. (#128)


html_url: https://github.com/simonw/datasette-publish-vercel/releases/tag/0.7
node_id: MDc6UmVsZWFzZTI5MTczMjk0
tag_name: 0.7
target_commitish: master
name: 0.7
created_at: 2020-07-31T16:52:37Z
published_at: 2020-07-31T16:53:41Z
body:
  - Renamed this package to `datasette-publish-vercel` #26
  - You can now run `datasette publish vercel ...` - though `datasette publish now ...` still works as an alias


html_url: https://github.com/simonw/datasette-insert/releases/tag/0.6
node_id: MDc6UmVsZWFzZTI5MTgyOTc5
tag_name: 0.6
target_commitish: main
name: 0.6
created_at: 2020-07-31T21:42:35Z
published_at: 2020-07-31T21:43:14Z
body:
  - Locked down by default. This plugin no longer defaults to allowing all, reducing the risk that someone may deploy it insecurely. #15


html_url: https://github.com/simonw/sqlite-utils/releases/tag/2.14
node_id: MDc6UmVsZWFzZTI5MTk2MjQx
tag_name: 2.14
target_commitish: master
name: 2.14
created_at: 2020-08-01T20:58:47Z
published_at: 2020-08-01T21:00:31Z
body:
  -   The [insert-files command](https://sqlite-utils.readthedocs.io/en/stable/cli.html#cli-insert-files) can now read from standard input: `cat dog.jpg | sqlite-utils insert-files dogs.db pics - --name=dog.jpg`. ([#127](https://github.com/simonw/sqlite-utils/issues/127))
  -   You can now specify a full-text search tokenizer using the new `tokenize=` parameter to [enable_fts()](https://sqlite-utils.readthedocs.io/en/stable/python-api.html#python-api-fts). This means you can enable Porter stemming on a table by running `db["articles"].enable_fts(["headline", "body"], tokenize="porter")`. ([#130](https://github.com/simonw/sqlite-utils/issues/130))
  -   You can also set a custom tokenizer using the [sqlite-utils enable-fts](https://sqlite-utils.readthedocs.io/en/stable/cli.html#cli-fts) CLI command, via the new `--tokenize` option.


html_url: https://github.com/simonw/datasette-graphql/releases/tag/0.1a2
node_id: MDc6UmVsZWFzZTI5MjA0ODAy
tag_name: 0.1a2
target_commitish: main
name: 0.1a2
created_at: 2020-08-02T15:33:43Z
published_at: 2020-08-02T15:34:57Z
body:
  - Now supports different column types - integer, float, string #7
  - New live demo at https://datasette-graphql-demo.datasette.io/ #8


html_url: https://github.com/simonw/datasette-graphql/releases/tag/0.1a3
node_id: MDc6UmVsZWFzZTI5MjA4MDQz
tag_name: 0.1a3
target_commitish: main
name: 0.1a3
created_at: 2020-08-02T20:57:07Z
published_at: 2020-08-02T20:58:17Z
body:
  * Foreign key relationships can now be expanded using nested GraphQL syntax. #3
  * Tables can now be filtered using the new `table_name(filters: [...])` argument. #12


html_url: https://github.com/simonw/datasette-graphql/releases/tag/0.2
node_id: MDc6UmVsZWFzZTI5Mzg5MDY3
tag_name: 0.2
target_commitish: main
name: 0.2
created_at: 2020-08-06T01:07:49Z
published_at: 2020-08-06T01:08:52Z
body:
  - First non-alpha release
  - Supports GraphQL pagination using nodes, edges, pageInfo and totalCount. #2
  - No longer throws an error if you try to expand a null foreign key. #20


html_url: https://github.com/simonw/datasette-graphql/releases/tag/0.3
node_id: MDc6UmVsZWFzZTI5MzkxOTA4
tag_name: 0.3
target_commitish: main
name: 0.3
created_at: 2020-08-06T03:44:58Z
published_at: 2020-08-06T03:48:00Z
body:
  - Implemented `search:` argument for running searches against tables configured to use SQLite FTS. #22
  - Implemented `sort:` and `sort_desc:` arguments. #21


html_url: https://github.com/simonw/datasette-graphql/releases/tag/0.6
node_id: MDc6UmVsZWFzZTI5NDEzOTM0
tag_name: 0.6
target_commitish: main
name: 0.6
created_at: 2020-08-06T15:23:20Z
published_at: 2020-08-06T15:24:28Z
body:
  - Removed `disable_cors` setting in favour of re-using the existing `datasette --cors` flag, which means you have to opt-in rather than opt-out of CORS. #28
  - BLOB columns are now output encoded using base64. #13 


html_url: https://github.com/simonw/datasette-graphql/releases/tag/0.7
node_id: MDc6UmVsZWFzZTI5NDI5ODcw
tag_name: 0.7
target_commitish: main
name: 0.7
created_at: 2020-08-06T23:10:14Z
published_at: 2020-08-06T23:14:54Z
body:
  - You can now access related rows for an item based on incoming foreign keys, and paginate through them. [Demo](https://datasette-graphql-demo.datasette.io/graphql?query=%7B%0A%20%20repos(first%3A%205%2C%20search%3A%22datasette%22)%20%7B%0A%20%20%20%20nodes%20%7B%0A%20%20%20%20%20%20full_name%0A%20%20%20%20%20%20issues_list(first%3A%205)%20%7B%0A%20%20%20%20%20%20%20%20pageInfo%20%7B%0A%20%20%20%20%20%20%20%20%20%20endCursor%0A%20%20%20%20%20%20%20%20%20%20hasNextPage%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20totalCount%0A%20%20%20%20%20%20%20%20nodes%20%7B%0A%20%20%20%20%20%20%20%20%20%20id%0A%20%20%20%20%20%20%20%20%20%20title%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D). #27
  - Tests are now partly driven by examples in the [examples/ folder](https://github.com/simonw/datasette-graphql/tree/main/examples). #30
  - Disable `suggest_facets` during internal calls, for a performance improvement. #29


html_url: https://github.com/simonw/datasette-graphql/releases/tag/0.8
node_id: MDc6UmVsZWFzZTI5NDY0NTU5
tag_name: 0.8
target_commitish: main
name: 0.8
created_at: 2020-08-07T20:30:09Z
published_at: 2020-08-07T20:34:18Z
body:
  New `tablename_get` field for retrieving single rows, including by their primary key. #11

  Example query ([try it out](https://datasette-graphql-demo.datasette.io/graphql?query=%7B%0A%20%20users_get(id%3A%209599)%20%7B%0A%20%20%20%20id%0A%20%20%20%20name%0A%20%20%20%20contributors_list(first%3A%205)%20%7B%0A%20%20%20%20%20%20totalCount%0A%20%20%20%20%20%20nodes%20%7B%0A%20%20%20%20%20%20%20%20repo_id%20%7B%0A%20%20%20%20%20%20%20%20%20%20full_name%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20contributions%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%20%0A%7D%0A)):
  ```graphql
  {
    users_get(id: 9599) {
      id
      name
      contributors_list(first: 5) {
        totalCount
        nodes {
          repo_id {
            full_name
          }
          contributions
        }
      }
    } 
  }
  ```


html_url: https://github.com/simonw/datasette-graphql/releases/tag/0.9
node_id: MDc6UmVsZWFzZTI5NDY5MTE3
tag_name: 0.9
target_commitish: main
name: 0.9
created_at: 2020-08-08T00:35:29Z
published_at: 2020-08-08T00:35:35Z
body:
  Table filtering has a new, better design. #25

  Retrieving all records with `license` of `"apache-2.0"` and a `stargazers_count` greater than 10 now looks like this:

  ```graphql
  {
    repos(filter: {license: {eq: "apache-2.0"}, stargazers_count: {gt: 10}}) {
      nodes {
        full_name
        stargazers_count
        license {
          key
        }
      }
    }
  }
  ```
  See [table filters examples](https://github.com/simonw/datasette-graphql/blob/main/examples/filters.md) for more operations, and [column filter arguments](https://datasette.readthedocs.io/en/stable/json_api.html#column-filter-arguments) in the Datasette documentation for details of how those operations work.


html_url: https://github.com/simonw/datasette-graphql/releases/tag/0.10
node_id: MDc6UmVsZWFzZTI5NDc5MTQ2
tag_name: 0.10
target_commitish: main
name: 0.10
created_at: 2020-08-08T19:44:10Z
published_at: 2020-08-08T19:50:17Z
body:
  - New `where:` argument that accepts a fragment of SQL to add to the WHERE clause, as an alternative for if the query is too complex to express using `filter:`.  #26
  - Nested relationships now support the `filter:`, `sort:`, `sort_desc:`, `search:` and `where:` arguments. #38

  Example query using these new features ([try this query](https://datasette-graphql-demo.datasette.io/graphql?query=%7B%0A%20%20repos(filter%3A%20%5B%7Bstargazers_count%3A%20%7Bgt%3A%2010%7D%7D%5D)%20%7B%0A%20%20%20%20nodes%20%7B%0A%20%20%20%20%20%20full_name%0A%20%20%20%20%20%20stargazers_count%0A%20%20%20%20%20%20issues_list(first%3A%205%2C%20where%3A%20%22body%20like%20%27%25test%25%27%20or%20title%20like%20%27%25test%25%27%22%2C%20sort_desc%3A%20created_at)%20%7B%0A%20%20%20%20%20%20%20%20totalCount%0A%20%20%20%20%20%20%20%20nodes%20%7B%0A%20%20%20%20%20%20%20%20%20%20title%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D)):
  ```graphql
  {
    repos(filter: [{stargazers_count: {gt: 10}}]) {
      nodes {
        full_name
        stargazers_count
        issues_list(first: 5, where: "body like '%test%' or title like '%test%'", sort_desc: created_at) {
          totalCount
          nodes {
            title
          }
        }
      }
    }
  }
  ```


html_url: https://github.com/simonw/datasette-graphql/releases/tag/0.11
node_id: MDc6UmVsZWFzZTI5NDgxMTkw
tag_name: 0.11
target_commitish: main
name: 0.11
created_at: 2020-08-09T00:18:02Z
published_at: 2020-08-09T00:26:36Z
body:
  - No longer exposes hidden tables, e.g. SQLite's `_fts` tables. #39
  - Test fixtures database is now deployed as part of the live demo - see [/graphql/fixtures](https://datasette-graphql-demo.datasette.io/graphql/fixtures). #40
  - The generated GraphQL schema is now exposed at `/graphql/dbname.graphql` - e.g. [/graphql/github.graphql](https://datasette-graphql-demo.datasette.io/graphql/github.graphql) on the demo. #41
  - The example queries in the [examples directory](https://github.com/simonw/datasette-graphql/tree/main/examples) now link to live demos for each query. #42


html_url: https://github.com/simonw/datasette/releases/tag/0.46
node_id: MDc6UmVsZWFzZTI5NDg5MzY0
tag_name: 0.46
target_commitish: main
name: 0.46
created_at: 2020-08-09T16:09:07Z
published_at: 2020-08-09T16:10:47Z
body:
  **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 - thanks, abeyerpath. ([#456](https://github.com/simonw/datasette/issues/456))
  -   The Datasette package published to PyPI now includes `sdist` as well as `bdist_wheel`.
  -   Better titles for canned query pages. ([#887](https://github.com/simonw/datasette/issues/887))
  -   Now only loads Python files from a directory passed using the `--plugins-dir` option - thanks, Amjith Ramanujam. ([#890](https://github.com/simonw/datasette/pull/890))
  -   New documentation section on [Publishing to Vercel](https://datasette.readthedocs.io/en/stable/publish.html#publish-vercel).


html_url: https://github.com/simonw/csvs-to-sqlite/releases/tag/1.1
node_id: MDc6UmVsZWFzZTI5NDkwOTY5
tag_name: 1.1
target_commitish: master
name: 1.1
created_at: 2020-08-09T18:45:30Z
published_at: 2020-08-09T18:46:43Z
body:
  - `--just-strings` feature to disable type detection and import columns as strings by default. Thanks, Dan Nguyen!. #58


html_url: https://github.com/simonw/sqlite-utils/releases/tag/2.15
node_id: MDc6UmVsZWFzZTI5NTI5MzE2
tag_name: 2.15
target_commitish: master
name: 2.15
created_at: 2020-08-10T19:06:02Z
published_at: 2020-08-10T19:07:27Z
body:
  -   New `db.enable_wal()` and `db.disable_wal()` methods for enabling and disabling [Write-Ahead Logging](https://www.sqlite.org/wal.html) for a database file - see [WAL mode](https://sqlite-utils.readthedocs.io/en/stable//python-api.html#python-api-wal) in the Python API documentation.
  -   Also `sqlite-utils enable-wal file.db` and `sqlite-utils disable-wal file.db` commands for doing the same thing on the command-line, see [WAL mode (CLI)](https://sqlite-utils.readthedocs.io/en/stable/cli.html#cli-wal). ([#132](https://github.com/simonw/sqlite-utils/issues/132))


html_url: https://github.com/simonw/datasette/releases/tag/0.47
node_id: MDc6UmVsZWFzZTI5NTg1MTU0
tag_name: 0.47
target_commitish: main
name: 0.47
created_at: 2020-08-12T00:42:47Z
published_at: 2020-08-12T00:44:52Z
body:
  -   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))


html_url: https://github.com/simonw/datasette/releases/tag/0.47.1
node_id: MDc6UmVsZWFzZTI5NTg3NjUy
tag_name: 0.47.1
target_commitish: main
name: 0.47.1
created_at: 2020-08-12T02:37:24Z
published_at: 2020-08-12T02:38:00Z
body:
  -   Fixed a bug where the `sdist` distribution of Datasette was not correctly including the template files. ([#930](https://github.com/simonw/datasette/issues/930))


html_url: https://github.com/simonw/sqlite-utils/releases/tag/2.15.1
node_id: MDc6UmVsZWFzZTI5NjE2NDU0
tag_name: 2.15.1
target_commitish: main
name: 2.15.1
created_at: 2020-08-12T16:59:48Z
published_at: 2020-08-12T17:00:27Z
body:
  - Now available as a `sdist` package on PyPI in addition to a wheel. ([#133](https://github.com/simonw/sqlite-utils/issues/133))


html_url: https://github.com/simonw/datasette/releases/tag/0.47.2
node_id: MDc6UmVsZWFzZTI5NjI1MDgy
tag_name: 0.47.2
target_commitish: main
name: 0.47.2
created_at: 2020-08-12T20:54:33Z
published_at: 2020-08-12T20:55:28Z
body:
  - 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))


html_url: https://github.com/simonw/datasette-graphql/releases/tag/0.12
node_id: MDc6UmVsZWFzZTI5NjY3MDY1
tag_name: 0.12
target_commitish: main
name: 0.12
created_at: 2020-08-13T18:19:42Z
published_at: 2020-08-13T18:21:48Z
body:
  - Renamed `tablename_get` to `tablename_row`. #36
  - Support `operationName`. #37
  - Support GET as well as POST for executing GraphQL queries. #6
  - Handle tables and columns with names that are not valid GraphQL identifiers. #10
  - Foreign key `_list` relationships now work with non-integer keys. #45


html_url: https://github.com/simonw/datasette-cluster-map/releases/tag/0.11
node_id: MDc6UmVsZWFzZTI5Njg1MTIx
tag_name: 0.11
target_commitish: main
name: 0.11
created_at: 2020-08-14T05:40:20Z
published_at: 2020-08-14T05:41:38Z
body:
  - New `"container"` plugin configuration setting for providing a CSS selector to an element in which the map will be displayed - thanks, Emma Lewis! #6
  - New `"tile_layer"` and `"tile_layer_options"` plugin configuration settings for setting custom tile layers. #5 


html_url: https://github.com/simonw/datasette-upload-csvs/releases/tag/0.5
node_id: MDc6UmVsZWFzZTI5NzM3NjE1
tag_name: 0.5
target_commitish: main
name: 0.5
created_at: 2020-08-15T19:25:36Z
published_at: 2020-08-15T19:27:40Z
body:
  - Now protected by the `upload-csvs` permission. Run `datasette --root` to sign in as the `root` actor which is automatically granted that permission. #10
  - `/-/upload-csv` renamed to `/-/upload-csvs` (with a redirect). #13
  -  Now compatible with Datasette 0.44+ thanks to upgraded CSRF protection. #11 


html_url: https://github.com/simonw/datasette/releases/tag/0.47.3
node_id: MDc6UmVsZWFzZTI5NzM4NDU3
tag_name: 0.47.3
target_commitish: main
name: 0.47.3
created_at: 2020-08-15T20:56:08Z
published_at: 2020-08-15T21:03:58Z
body:
  -   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))


html_url: https://github.com/simonw/datasette-saved-queries/releases/tag/0.2.1
node_id: MDc6UmVsZWFzZTI5NzM5NTUw
tag_name: 0.2.1
target_commitish: main
name: 0.2.1
created_at: 2020-08-15T23:37:51Z
published_at: 2020-08-15T23:38:46Z
body:
  - Fixed bug where the plugin would crash Datasette on startup if run against an immutable database. #6


html_url: https://github.com/simonw/datasette/releases/tag/0.48
node_id: MDc6UmVsZWFzZTI5NzQ5NTY2
tag_name: 0.48
target_commitish: main
name: 0.48
created_at: 2020-08-16T18:56:31Z
published_at: 2020-08-16T18:58:34Z
body:
  -   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))


html_url: https://github.com/simonw/datasette-cluster-map/releases/tag/0.12
node_id: MDc6UmVsZWFzZTI5NzUwMDc0
tag_name: 0.12
target_commitish: main
name: 0.12
created_at: 2020-08-16T19:45:32Z
published_at: 2020-08-16T19:46:05Z
body:
  - Only include JavaScript on pages that are rendering a table with latitude and longitude columns. #15
  - Now depends on Datasette 0.48


html_url: https://github.com/simonw/datasette-publish-vercel/releases/tag/0.8
node_id: MDc6UmVsZWFzZTI5NzkxOTk0
tag_name: 0.8
target_commitish: master
name: 0.8
created_at: 2020-08-17T23:34:34Z
published_at: 2020-08-17T23:35:23Z
body:
  - Implemented `--static` option. #4
  - Fixed bug when passing a relative directory path to `--generate-dir`. #27 


html_url: https://github.com/dogsheep/github-to-sqlite/releases/tag/2.5
node_id: MDc6UmVsZWFzZTI5ODIyMDA1
tag_name: 2.5
target_commitish: main
name: 2.5
created_at: 2020-08-18T15:05:50Z
published_at: 2020-08-18T15:08:20Z
body:
  - 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`


html_url: https://github.com/simonw/datasette-graphql/releases/tag/0.13
node_id: MDc6UmVsZWFzZTI5ODQ3MjYx
tag_name: 0.13
target_commitish: main
name: 0.13
created_at: 2020-08-19T05:28:40Z
published_at: 2020-08-19T05:30:07Z
body:
  - Cache introspected GraphQL schema unless the DB schema changes, providing much improved performance against databases with large numbers of tables. #51
  - New `graphql()` Jinja template function for executing GraphQL queries in custom Datasette templates. #50


html_url: https://github.com/simonw/datasette-graphql/releases/tag/0.14
node_id: MDc6UmVsZWFzZTI5OTUxMDAz
tag_name: 0.14
target_commitish: main
name: 0.14
created_at: 2020-08-20T21:51:03Z
published_at: 2020-08-20T21:52:01Z
body:
  - `json_column` configuration setting for specifying columns that contain raw JSON which should be returned in the GraphQL response without being turned into strings containing JSON. #53


html_url: https://github.com/simonw/sqlite-utils/releases/tag/2.16
node_id: MDc6UmVsZWFzZTI5OTk5NzMx
tag_name: 2.16
target_commitish: main
name: 2.16
created_at: 2020-08-21T21:02:29Z
published_at: 2020-08-21T21:05:51Z
body:
  -   `--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))


html_url: https://github.com/simonw/datasette-leaflet-geojson/releases/tag/0.5
node_id: MDc6UmVsZWFzZTMwMDAxODM1
tag_name: 0.5
target_commitish: main
name: 0.5
created_at: 2020-08-21T22:47:35Z
published_at: 2020-08-21T22:48:28Z
body:
  - Fix for large polygon sizes. #12
  - Shorten floating point representation. #11
  - Switch CI to GitHub Actions. #13
  - Improved README plus screenshot. #8


html_url: https://github.com/simonw/datasette-leaflet-geojson/releases/tag/0.6
node_id: MDc6UmVsZWFzZTMwMDAyNzgy
tag_name: 0.6
target_commitish: main
name: 0.6
created_at: 2020-08-21T23:53:43Z
published_at: 2020-08-21T23:54:48Z
body:
  - Only injects JavaScript on pages that are rendering tables. #14
  - That JavaScript then scans for GeoJSON and dynamically loads Leaflet JavaScript and CSS if it finds any.
  - Now depends on Datasette 0.48 or higher.


html_url: https://github.com/simonw/datasette-atom/releases/tag/0.7
node_id: MDc6UmVsZWFzZTMwMDI4MDAy
tag_name: 0.7
target_commitish: main
name: 0.7
created_at: 2020-08-23T16:54:12Z
published_at: 2020-08-23T16:57:02Z
body:
  - New `allow_unsafe_html_in_canned_queries` plugin configuration option allowing canned queries to serve unfiltered HTML in the `atom_content_html` column. #13


html_url: https://github.com/simonw/datasette-graphql/releases/tag/0.15
node_id: MDc6UmVsZWFzZTMwMDMwNDcz
tag_name: 0.15
target_commitish: main
name: 0.15
created_at: 2020-08-23T20:30:49Z
published_at: 2020-08-23T20:34:42Z
body:
  - Support for multiple reverse foreign key relationships on a single table. [Example](https://github.com/simonw/datasette-graphql/blob/main/examples/related_multiple.md). #32
  - The `graphql()` template function now accepts an optional `variables=` parameter. #54
  - The `search:` argument is now available for tables that are configured using Datasette's [fts_table mechanism](https://docs.datasette.io/en/stable/full_text_search.html#configuring-full-text-search-for-a-table-or-view). #56
  - New example [demonstrating GraphQL fragments](https://github.com/simonw/datasette-graphql/blob/main/examples/fragments.md). #57


html_url: https://github.com/simonw/datasette-graphql/releases/tag/1.0
node_id: MDc6UmVsZWFzZTMwMDMyMjM3
tag_name: 1.0
target_commitish: main
name: 1.0
created_at: 2020-08-23T23:27:43Z
published_at: 2020-08-23T23:27:49Z
body:
  - Added GraphQL execution limits, controlled by the `time_limit_ms` and `num_queries_limit` plugin configuration settings. These default to 1000ms total execution time and 100 total SQL queries per GraphQL execution. [Limits documentation](https://github.com/simonw/datasette-graphql/blob/main/README.md#execution-limits). #33


html_url: https://github.com/simonw/datasette-graphql/releases/tag/1.0.1
node_id: MDc6UmVsZWFzZTMwMDY5MjY4
tag_name: 1.0.1
target_commitish: main
name: 1.0.1
created_at: 2020-08-24T19:32:13Z
published_at: 2020-08-24T19:33:22Z
body:
  - Documentation improvements: [README](https://github.com/simonw/datasette-graphql/blob/main/README.md) now links to example queries in the live demo. #60


html_url: https://github.com/simonw/sqlite-utils/releases/tag/2.16.1
node_id: MDc6UmVsZWFzZTMwMzUyMjI1
tag_name: 2.16.1
target_commitish: main
name: 2.16.1
created_at: 2020-08-28T22:45:11Z
published_at: 2020-08-28T22:47:02Z
body:
  -   `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))


html_url: https://github.com/simonw/datasette/releases/tag/0.49a0
node_id: MDc6UmVsZWFzZTMwMzUzMDcz
tag_name: 0.49a0
target_commitish: main
name: 0.49a0
created_at: 2020-08-28T23:12:47Z
published_at: 2020-08-28T23:18:09Z
body:
  -   `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))
  -   `datasette publish heroku` now deploys using Python 3.8.5


html_url: https://github.com/simonw/airtable-export/releases/tag/0.3
node_id: MDc6UmVsZWFzZTMwMzc2ODk5
tag_name: 0.3
target_commitish: main
name: 0.3
created_at: 2020-08-29T21:45:23Z
published_at: 2020-08-29T21:46:39Z
body:
  - New `--json` and `--ndjson` options for exporting in JSON instead of YAML. #2
  - The Airtable API sometimes returns fields in a different order, which can cause unexpected differences. We now always sort the keys before exporting the data. #4


html_url: https://github.com/dogsheep/dogsheep-beta/releases/tag/0.2
node_id: MDc6UmVsZWFzZTMwNTM2MTg5
tag_name: 0.2
target_commitish: main
name: 0.2
created_at: 2020-09-01T20:40:52Z
published_at: 2020-09-01T20:41:31Z
body:
  - Use Porter stemming by default, allow that to be over-ridden with the new `--tokenize=` option. #2


html_url: https://github.com/dogsheep/dogsheep-beta/releases/tag/0.4
node_id: MDc6UmVsZWFzZTMwNjg4Njc3
tag_name: 0.4
target_commitish: main
name: 0.4
created_at: 2020-09-03T21:09:50Z
published_at: 2020-09-03T21:11:28Z
body:
  - Working faceted search interface at `/-/beta` #3
  - `is_public` column for filtering between public and private data. #11
  - New `received` category. #10


html_url: https://github.com/dogsheep/dogsheep-beta/releases/tag/0.4.1
node_id: MDc6UmVsZWFzZTMwNjkwMTU0
tag_name: 0.4.1
target_commitish: main
name: 0.4.1
created_at: 2020-09-03T21:40:40Z
published_at: 2020-09-03T21:41:52Z
body:
  - Fixed support for [advanced FTS query syntax](https://www.sqlite.org/fts5.html#full_text_query_syntax). #13


html_url: https://github.com/dogsheep/dogsheep-beta/releases/tag/0.6
node_id: MDc6UmVsZWFzZTMwNzgwOTUx
tag_name: 0.6
target_commitish: main
name: 0.6
created_at: 2020-09-05T16:24:11Z
published_at: 2020-09-05T16:26:06Z
body:
  - 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.


html_url: https://github.com/simonw/datasette-block-robots/releases/tag/0.2
node_id: MDc6UmVsZWFzZTMwNzgxOTY1
tag_name: 0.2
target_commitish: main
name: 0.2
created_at: 2020-09-05T17:14:05Z
published_at: 2020-09-05T17:14:56Z
body:
  - New `disallow` plugin configuration option for specifically listing paths to disallow from robots. #2


html_url: https://github.com/simonw/datasette-backup/releases/tag/0.1
node_id: MDc6UmVsZWFzZTMwODI4MTkx
tag_name: 0.1
target_commitish: main
name: 0.1
created_at: 2020-09-07T02:26:42Z
published_at: 2020-09-07T02:27:30Z
body:
  - Now handles FTS tables using the new [sqlite-dump](https://github.com/simonw/sqlite-dump) library. #5


html_url: https://github.com/simonw/sqlite-utils/releases/tag/2.17
node_id: MDc6UmVsZWFzZTMwODc1MzMz
tag_name: 2.17
target_commitish: main
name: 2.17
created_at: 2020-09-07T22:08:12Z
published_at: 2020-09-07T22:08:33Z
body:
  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()`.


html_url: https://github.com/simonw/sqlite-utils/releases/tag/2.18
node_id: MDc6UmVsZWFzZTMwOTQyNzU4
tag_name: 2.18
target_commitish: main
name: 2.18
created_at: 2020-09-08T23:37:28Z
published_at: 2020-09-08T23:39:21Z
body:
  -   `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))


html_url: https://github.com/dogsheep/dogsheep-beta/releases/tag/0.7a0
node_id: MDc6UmVsZWFzZTMwOTQ0NzMx
tag_name: 0.7a0
target_commitish: main
name: 0.7a0
created_at: 2020-09-09T00:45:07Z
published_at: 2020-09-09T00:46:06Z
body:
  - 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.


html_url: https://github.com/simonw/datasette/releases/tag/0.49a1
node_id: MDc6UmVsZWFzZTMxMjI3OTk5
tag_name: 0.49a1
target_commitish: main
name: 0.49a1
created_at: 2020-09-14T02:47:21Z
published_at: 2020-09-14T02:48:19Z
body:
  -   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))
  -   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))
  -   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))
  -   New mechanism for defining page templates with custom path parameters. ([#944](https://github.com/simonw/datasette/issues/944))


html_url: https://github.com/simonw/datasette/releases/tag/0.49
node_id: MDc6UmVsZWFzZTMxMjg4MjQw
tag_name: 0.49
target_commitish: main
name: 0.49
created_at: 2020-09-14T21:38:24Z
published_at: 2020-09-14T21:40:11Z
body:
  -   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))


html_url: https://github.com/simonw/datasette/releases/tag/0.49.1
node_id: MDc6UmVsZWFzZTMxMzU0OTQ0
tag_name: 0.49.1
target_commitish: main
name: 0.49.1
created_at: 2020-09-15T20:20:15Z
published_at: 2020-09-15T20:21:16Z
body:
  - Fixed a bug with writable canned queries that use magic parameters but accept no non-magic arguments. (#967)


html_url: https://github.com/dogsheep/github-to-sqlite/releases/tag/2.6
node_id: MDc6UmVsZWFzZTMxNDQxODgy
tag_name: 2.6
target_commitish: main
name: 2.6
created_at: 2020-09-17T03:54:16Z
published_at: 2020-09-17T03:55:03Z
body:
  - New `github-to-sqlite get /gists` command for making authenticated API calls against any API path. #50 


html_url: https://github.com/dogsheep/dogsheep-beta/releases/tag/0.7
node_id: MDc6UmVsZWFzZTMxNTAxMTI4
tag_name: 0.7
target_commitish: main
name: 0.7
created_at: 2020-09-17T22:56:01Z
published_at: 2020-09-17T22:57:09Z
body:
  - 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.


html_url: https://github.com/dogsheep/dogsheep-beta/releases/tag/0.8
node_id: MDc6UmVsZWFzZTMxNTQ3ODYw
tag_name: 0.8
target_commitish: main
name: 0.8
created_at: 2020-09-18T22:40:02Z
published_at: 2020-09-18T22:41:33Z
body:
  - 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 


html_url: https://github.com/simonw/sqlite-utils/releases/tag/2.19
node_id: MDc6UmVsZWFzZTMxNTgxNzAx
tag_name: 2.19
target_commitish: main
name: 2.19
created_at: 2020-09-20T22:22:56Z
published_at: 2020-09-20T22:24:04Z
body:
  -   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))


html_url: https://github.com/simonw/sqlite-utils/releases/tag/2.20
node_id: MDc6UmVsZWFzZTMxNjgwODQ5
tag_name: 2.20
target_commitish: main
name: 2.20
created_at: 2020-09-23T00:35:52Z
published_at: 2020-09-23T00:37:01Z
body:
  This release introduces two key new capabilities: **transform** ([#114](https://github.com/simonw/sqlite-utils/issues/114)) and **extract** ([#42](https://github.com/simonw/sqlite-utils/issues/42)).

  ### Transform

  SQLite's ALTER TABLE has [several documented limitations](https://sqlite.org/lang_altertable.html). The `table.transform()` Python method and `sqlite-utils transform` CLI command work around these limitations using a pattern where a new table with the desired structure is created, data is copied over to it and the old table is then dropped and replaced by the new one.

  You can use these tools to drop columns, change column types, rename columns, add and remove `NOT NULL` and defaults, remove foreign key constraints and more. See the [transforming tables (CLI)](https://sqlite-utils.readthedocs.io/en/stable/cli.html#cli-transform-table) and [transforming tables (Python library)](https://sqlite-utils.readthedocs.io/en/stable/python-api.html#python-api-transform) documentation for full details of how to use them.

  ### Extract

  Sometimes a database table - especially one imported from a CSV file - will contain duplicate data. A `Trees` table may include a `Species` column with only a few dozen unique values, when the table itself contains thousands of rows.

  The `table.extract()` method and `sqlite-utils extract` commands can extract a column - or multiple columns - out into a separate lookup table, and set up a foreign key relationship from the original table.

  The Python library [extract() documentation](https://sqlite-utils.readthedocs.io/en/stable/python-api.html#python-api-extract) describes how extraction works in detail, and [Extracting columns into a separate table](https://sqlite-utils.readthedocs.io/en/stable/cli.html#cli-extract) in the CLI documentation includes a detailed example.

  ### Other changes

  -   The `@db.register_function` decorator can be used to quickly register Python functions as custom SQL functions, see [Registering custom SQL functions](https://sqlite-utils.readthedocs.io/en/stable/python-api.html#python-api-register-function). ([#162](https://github.com/simonw/sqlite-utils/issues/162))
  -   The `table.rows_where()` method now accepts an optional `select=` argument for specifying which columns should be selected, see [Listing rows](https://sqlite-utils.readthedocs.io/en/stable/python-api.html#python-api-rows).


html_url: https://github.com/simonw/sqlite-utils/releases/tag/2.21
node_id: MDc6UmVsZWFzZTMxNzczMzkw
tag_name: 2.21
target_commitish: main
name: 2.21
created_at: 2020-09-24T16:44:30Z
published_at: 2020-09-24T16:45:44Z
body:
  -   `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.


html_url: https://github.com/simonw/datasette-import-table/releases/tag/0.1
node_id: MDc6UmVsZWFzZTMxODg5NzAy
tag_name: 0.1
target_commitish: main
name: 0.1
created_at: 2020-09-28T14:30:53Z
published_at: 2020-09-28T14:32:03Z
body:
  - First non-alpha release.
  - Now checks for `import-table` permission, which by default is only granted to the `root` actor. #1
  - Uses `?_size=max` to import the maximum number of rows per batch, speeding up imports. #2


html_url: https://github.com/simonw/datasette-dateutil/releases/tag/0.2
node_id: MDc6UmVsZWFzZTMxOTE4OTU3
tag_name: 0.2
target_commitish: main
name: 0.2
created_at: 2020-09-29T06:39:54Z
published_at: 2020-09-29T06:41:03Z
body:
  - New `dateutil_rrule()` and `dateutil_rrule_date()` SQL functions. #1
  - New `dateutil_dates_between()` SQL function. #1


html_url: https://github.com/simonw/datasette-dateutil/releases/tag/0.2.1
node_id: MDc6UmVsZWFzZTMxOTY2MTQx
tag_name: 0.2.1
target_commitish: main
name: 0.2.1
created_at: 2020-09-30T01:06:50Z
published_at: 2020-09-30T01:07:35Z
body:
  - Documentation showing how to use these functions in conjunction with `json_each()` to join against other tables. #2


html_url: https://github.com/simonw/datasette-cluster-map/releases/tag/0.12.3
node_id: MDc6UmVsZWFzZTMyMDE5MzA1
tag_name: 0.12.3
target_commitish: main
name: 0.12.3
created_at: 2020-10-01T00:29:06Z
published_at: 2020-10-01T00:30:03Z
body:
  - Fix for a bug where the map fails to display if the table is sorted by latitude or longitude. This fix depends on the upcoming release of Datasette (0.50). #18


html_url: https://github.com/simonw/datasette-edit-schema/releases/tag/0.3a2
node_id: MDc6UmVsZWFzZTMyMDY4NzM4
tag_name: 0.3a2
target_commitish: main
name: 0.3a2
created_at: 2020-10-01T21:26:31Z
published_at: 2020-10-01T21:28:19Z
body:
  - Renamed to `datasette-edit-schema`. #20
  - Now controlled by `edit-schema` permission. #9
  - Improved `/-/edit-schema/databasename` page. #15
  - Now ships with a copy of `Draggable.js`. #16 
  - Interface links back to table page. #18


html_url: https://github.com/simonw/datasette-edit-schema/releases/tag/0.3
node_id: MDc6UmVsZWFzZTMyMDcwODg2
tag_name: 0.3
target_commitish: main
name: 0.3
created_at: 2020-10-01T22:40:25Z
published_at: 2020-10-01T22:41:06Z
body:
  - First non-alpha release.
  - Ability to rename a table. #19
  - Improved ability to add a column. #4


html_url: https://github.com/simonw/datasette/releases/tag/0.50a0
node_id: MDc6UmVsZWFzZTMyMDcyMTE0
tag_name: 0.50a0
target_commitish: main
name: 0.50a0
created_at: 2020-10-01T23:35:04Z
published_at: 2020-10-01T23:35:54Z
body:
  -   New column action menu - table columns now show a cog icon which provides a contextual menu for that column. ([#981](https://github.com/simonw/datasette/issues/981))
  -   New `datasette -o` option which opens your browser as soon as Datasette starts up. ([#970](https://github.com/simonw/datasette/issues/970)
  -   `sqlite3.enable_callback_tracebacks(True)` so errors in custom SQL functions will now display tracebacks. ([#891](https://github.com/simonw/datasette/issues/891))
  -   Fixed two rendering bugs with column headers in portrait mobile view. ([#978](https://github.com/simonw/datasette/issues/978), [#980](https://github.com/simonw/datasette/issues/980))


html_url: https://github.com/simonw/datasette/releases/tag/0.50a1
node_id: MDc6UmVsZWFzZTMyMjM4ODA3
tag_name: 0.50a1
target_commitish: main
name: 0.50a1
created_at: 2020-10-06T20:50:54Z
published_at: 2020-10-06T20:52:49Z
body:
  -   Column action menu now shows the column type. ([#993](https://github.com/simonw/datasette/issues/993))
  -   Column action sort links now correctly link to the first page of sorted results. ([#989](https://github.com/simonw/datasette/issues/989))
  -   [Publishing to Google Cloud Run](https://docs.datasette.io/en/latest/publish.html#publish-cloud-run) documentation now covers Google Cloud SDK options. Thanks, Geoffrey Hing. ([#995](https://github.com/simonw/datasette/pull/995))


html_url: https://github.com/simonw/datasette/releases/tag/0.50
node_id: MDc6UmVsZWFzZTMyMzg0MjAw
tag_name: 0.50
target_commitish: main
name: 0.50
created_at: 2020-10-09T17:57:55Z
published_at: 2020-10-09T17:58:27Z
body:
  The key new feature in this release is the **column actions** menu on the table page ([#891](https://github.com/simonw/datasette/issues/891)). This can be used to sort a column in ascending or descending order, facet data by that column or filter the table to just rows that have a value for that column.

  Plugin authors can use the new [datasette.client](https://docs.datasette.io/en/stable/internals.html#internals-datasette-client) object to make internal HTTP requests from their plugins, allowing them to make use of Datasette's JSON API. ([#943](https://github.com/simonw/datasette/issues/943))

  New [Deploying Datasette](https://docs.datasette.io/en/stable/deploying.html#deploying) documentation with guides for deploying Datasette on a Linux server [using systemd](https://docs.datasette.io/en/stable/deploying.html#deploying-systemd) or to hosting providers [that support buildpacks](https://docs.datasette.io/en/stable/deploying.html#deploying-buildpacks). ([#514](https://github.com/simonw/datasette/issues/514), [#997](https://github.com/simonw/datasette/issues/997))

  Other improvements in this release:

  -   [Publishing to Google Cloud Run](https://docs.datasette.io/en/stable/publish.html#publish-cloud-run) documentation now covers Google Cloud SDK options. Thanks, Geoffrey Hing. ([#995](https://github.com/simonw/datasette/pull/995))
  -   New `datasette -o` option which opens your browser as soon as Datasette starts up. ([#970](https://github.com/simonw/datasette/issues/970))
  -   Datasette now sets `sqlite3.enable_callback_tracebacks(True)` so that errors in custom SQL functions will display tracebacks. ([#891](https://github.com/simonw/datasette/issues/891))
  -   Fixed two rendering bugs with column headers in portrait mobile view. ([#978](https://github.com/simonw/datasette/issues/978), [#980](https://github.com/simonw/datasette/issues/980))
  -   New `db.table_column_details(table)` introspection method for retrieving full details of the columns in a specific table, see [Database introspection](https://docs.datasette.io/en/stable/internals.html#internals-database-introspection).
  -   Fixed a routing bug with custom page wildcard templates. ([#996](https://github.com/simonw/datasette/issues/996))
  -   `datasette publish heroku` now deploys using Python 3.8.6.
  -   New `datasette publish heroku --tar=` option. ([#969](https://github.com/simonw/datasette/issues/969))
  -   `OPTIONS` requests against HTML pages no longer return a 500 error. ([#1001](https://github.com/simonw/datasette/issues/1001))
  -   Datasette now supports Python 3.9.


html_url: https://github.com/simonw/datasette/releases/tag/0.50.1
node_id: MDc6UmVsZWFzZTMyMzk1MzAz
tag_name: 0.50.1
target_commitish: main
name: 0.50.1
created_at: 2020-10-10T00:41:35Z
published_at: 2020-10-10T00:44:23Z
body:
  - Fixed a bug introduced in 0.50 where the export as JSON/CSV links on the table, row and query pages were broken. (#1010)


html_url: https://github.com/simonw/datasette/releases/tag/0.50.2
node_id: MDc6UmVsZWFzZTMyMzk3MzM4
tag_name: 0.50.2
target_commitish: main
name: 0.50.2
created_at: 2020-10-10T03:53:47Z
published_at: 2020-10-10T03:59:18Z
body:
  * Fixed another bug introduced in 0.50 where column header links on the table page were broken. (#1011)


html_url: https://github.com/dogsheep/evernote-to-sqlite/releases/tag/0.2
node_id: MDc6UmVsZWFzZTMyNDI5Njg3
tag_name: 0.2
target_commitish: main
name: 0.2
created_at: 2020-10-12T00:05:21Z
published_at: 2020-10-12T00:07:24Z
body:
  - 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


html_url: https://github.com/dogsheep/swarm-to-sqlite/releases/tag/0.3.2
node_id: MDc6UmVsZWFzZTMyNDcwODMw
tag_name: 0.3.2
target_commitish: main
name: 0.3.2
created_at: 2020-10-12T20:31:24Z
published_at: 2020-10-12T20:33:48Z
body:
  - Fix for "table photos has no column named hasSticker" bug, thanks @mattiaborsoi. #10
  - Switched CI to GitHub Actions.


html_url: https://github.com/simonw/csv-diff/releases/tag/1.0
node_id: MDc6UmVsZWFzZTMyNjUwMTI3
tag_name: 1.0
target_commitish: main
name: 1.0
created_at: 2020-10-16T01:29:09Z
published_at: 2020-10-16T01:31:05Z
body:
  - New `--show-unchanged` option for outputting the unchanged values of rows that had at least one change. #9
  - Fix for bug with column names that contained a `.` character. #7
  - Fix for error when no `--key` provided - thanks, @MainHanzo. #3
  - CSV delimiter sniffer now `;` delimited files. #6


html_url: https://github.com/simonw/sqlite-utils/releases/tag/2.22
node_id: MDc6UmVsZWFzZTMyNjg4ODE5
tag_name: 2.22
target_commitish: main
name: 2.22
created_at: 2020-10-16T19:30:25Z
published_at: 2020-10-16T19:31:45Z
body:
  -   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))


html_url: https://github.com/dogsheep/healthkit-to-sqlite/releases/tag/1.0
node_id: MDc6UmVsZWFzZTMyNzEyNDEz
tag_name: 1.0
target_commitish: main
name: 1.0
created_at: 2020-10-17T21:15:29Z
published_at: 2020-10-17T21:17:34Z
body:
  - Fixed a bug where export files generated in languages other than English failed to import. #11
  - CI now uses GitHub Actions


html_url: https://github.com/dogsheep/dogsheep-beta/releases/tag/0.9
node_id: MDc6UmVsZWFzZTMyNzEzMzgx
tag_name: 0.9
target_commitish: main
name: 0.9
created_at: 2020-10-17T23:01:38Z
published_at: 2020-10-17T23:03:04Z
body:
  - 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 


html_url: https://github.com/dogsheep/github-to-sqlite/releases/tag/2.7
node_id: MDc6UmVsZWFzZTMyNzM2NDgx
tag_name: 2.7
target_commitish: main
name: 2.7
created_at: 2020-10-19T05:36:32Z
published_at: 2020-10-19T05:38:34Z
body:
  - `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


html_url: https://github.com/simonw/datasette/releases/tag/0.51a0
node_id: MDc6UmVsZWFzZTMyNzkxMTE1
tag_name: 0.51a0
target_commitish: main
name: 0.51a0
created_at: 2020-10-20T05:31:14Z
published_at: 2020-10-20T05:33:01Z
body:
  -   Fixed a bunch of issues relating to the [base_url](https://docs.datasette.io/en/latest/config.html#config-base-url) setting. ([#1023](https://github.com/simonw/datasette/issues/1023))
  -   New `datasette.urls` URL builder for plugins, see [Building URLs within plugins](https://docs.datasette.io/en/latest/writing_plugins.html#writing-plugins-building-urls). ([#904](https://github.com/simonw/datasette/issues/904))
  -   Removed `--debug` option, which didn't do anything. ([#814](https://github.com/simonw/datasette/issues/814))
  -   `Link:` HTTP header pagination. ([#1014](https://github.com/simonw/datasette/issues/1014))
  -   `x` button for clearing filters. ([#1016](https://github.com/simonw/datasette/issues/1016))
  -   Edit SQL button on canned queries, ([#1019](https://github.com/simonw/datasette/issues/1019))
  -   `--load-extension=spatialite` shortcut. ([#1028](https://github.com/simonw/datasette/issues/1028))


html_url: https://github.com/simonw/datasette-cluster-map/releases/tag/0.14
node_id: MDc6UmVsZWFzZTMyODk3OTk0
tag_name: 0.14
target_commitish: main
name: 0.14
created_at: 2020-10-22T03:51:26Z
published_at: 2020-10-22T03:52:30Z
body:
  - Forwards compatibility with a change to Datasette's HTML scheduled for the next Datasette release. ([Datasette #998](https://github.com/simonw/datasette/issues/998))


html_url: https://github.com/simonw/sqlite-utils/releases/tag/2.23
node_id: MDc6UmVsZWFzZTMzMTg4OTU4
tag_name: 2.23
target_commitish: main
name: 2.23
created_at: 2020-10-28T21:38:10Z
published_at: 2020-10-28T21:38:54Z
body:
  -   `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))


html_url: https://github.com/simonw/datasette-render-markdown/releases/tag/1.2
node_id: MDc6UmVsZWFzZTMzMTkxMjM0
tag_name: 1.2
target_commitish: main
name: 1.2
created_at: 2020-10-28T22:53:30Z
published_at: 2020-10-28T22:54:59Z
body:
  - Now uses `white-space: normal` to fix a bug caused by Datasette's use of `white-space: pre-wrap`. #9


html_url: https://github.com/simonw/datasette/releases/tag/0.51a1
node_id: MDc6UmVsZWFzZTMzMjUzNzgw
tag_name: 0.51a1
target_commitish: main
name: 0.51a1
created_at: 2020-10-30T05:35:23Z
published_at: 2020-10-30T05:37:34Z
body:
  - New colour scheme and improved visual design, courtesy of Natalie Downe. ([#1056](https://github.com/simonw/datasette/pull/1056))
  - scale-in animation for column action menu. ([#1039](https://github.com/simonw/datasette/issues/1039))
  - Wide tables now scroll horizontally. ([#998](https://github.com/simonw/datasette/issues/998))
  - Option to pass a list of templates to `.render_template()` is now documented. ([#1045](https://github.com/simonw/datasette/issues/1045))
  - New `datasette.urls.static_plugins()` method. ([#1033](https://github.com/simonw/datasette/issues/1033))
  - `BLOB` column values can now be downloaded directly from the Datasette UI. ([#1036](https://github.com/simonw/datasette/issues/1036))
  - `.csv` exports now link to direct `BLOB` downloads. ([#1034](https://github.com/simonw/datasette/issues/1034))
  - `datasette -o` option now opens the most relevant page. ([#976](https://github.com/simonw/datasette/issues/976))
  - `datasette --cors` option now enables access to `/database.db` downloads. ([#1057](https://github.com/simonw/datasette/issues/1057))
  - Database file downloads now implement cascading permissions, so you can download a database if you have `view-database-download` permission even if you do not have permission to access the Datasette instance. ([#1058](https://github.com/simonw/datasette/issues/1058))
  - New documentation on [Designing URLs for your plugin](https://docs.datasette.io/en/latest/writing_plugins.html#writing-plugins-designing-urls). ([#1053](https://github.com/simonw/datasette/issues/1053))
  - New navigation menu plus a [menu_links(datasette, actor)](https://docs.datasette.io/en/latest/plugin_hooks.html#plugin-hook-menu-links) plugin hook to customize it. ([#1064](https://github.com/simonw/datasette/issues/1064))
  - [table_actions(datasette, actor, database, table)](https://docs.datasette.io/en/latest/plugin_hooks.html#plugin-hook-table-actions) plugin hook for the new table actions menu. ([#1066](https://github.com/simonw/datasette/issues/1066))


html_url: https://github.com/simonw/datasette/releases/tag/0.51a2
node_id: MDc6UmVsZWFzZTMzMjg0NTIy
tag_name: 0.51a2
target_commitish: main
name: 0.51a2
created_at: 2020-10-30T17:56:02Z
published_at: 2020-10-30T17:57:53Z
body:
  -   New [load_template(template, request, datasette)](https://docs.datasette.io/en/latest/plugin_hooks.html#plugin-hook-load-template) plugin hook. ([#1042](https://github.com/simonw/datasette/issues/1042))
  -   New [debug-menu](https://docs.datasette.io/en/latest/authentication.html#permissions-debug-menu) permission. ([#1068](https://github.com/simonw/datasette/issues/1068))


html_url: https://github.com/simonw/datasette/releases/tag/0.51
node_id: MDc6UmVsZWFzZTMzMzExNjc3
tag_name: 0.51
target_commitish: main
name: 0.51
created_at: 2020-10-31T22:24:54Z
published_at: 2020-10-31T22:29:33Z
body:
  A new visual design, plugin hooks for adding navigation options, better handling of binary data, URL building utility methods and better support for running Datasette behind a proxy.

  ### New visual design

  Datasette is no longer white and grey with blue and purple links! [Natalie Downe](https://twitter.com/natbat) has been working on a visual refresh, the first iteration of which is included in this release. ([#1056](https://github.com/simonw/datasette/pull/1056))

  ![datasette-0 51](https://user-images.githubusercontent.com/9599/97791267-d9011e80-1b8d-11eb-9b1b-42908266f36f.png)

  ### Plugins can now add links within Datasette

  A number of existing Datasette plugins add new pages to the Datasette interface, providig tools for things like [uploading CSVs](https://github.com/simonw/datasette-upload-csvs), [editing table schemas](https://github.com/simonw/datasette-edit-schema) or [configuring full-text search](https://github.com/simonw/datasette-configure-fts).

  Plugins like this can now link to themselves from other parts of Datasette interface. The [menu_links(datasette, actor)](https://docs.datasette.io/en/stable/plugin_hooks.html#plugin-hook-menu-links) hook ([#1064](https://github.com/simonw/datasette/issues/1064)) lets plugins add links to Datasette's new top-right application menu, and the [table_actions(datasette, actor, database, table)](https://docs.datasette.io/en/stable/plugin_hooks.html#plugin-hook-table-actions) hook ([#1066](https://github.com/simonw/datasette/issues/1066)) adds links to a new "table actions" menu on the table page.

  The demo at [latest.datasette.io](https://latest.datasette.io/) now includes some example plugins. To see the new table actions menu first [sign into that demo as root](https://latest.datasette.io/login-as-root) and then visit the [facetable](https://latest.datasette.io/fixtures/facetable) table to see the new cog icon menu at the top of the page.

  ### Binary data

  SQLite tables can contain binary data in `BLOB` columns. Datasette now provides links for users to download this data directly from Datasette, and uses those links to make binary data available from CSV exports. See [Binary data](https://docs.datasette.io/en/stable/binary_data.html#binary) for more details. ([#1036](https://github.com/simonw/datasette/issues/1036) and [#1034](https://github.com/simonw/datasette/issues/1034)).

  ### URL building

  The new [datasette.urls](https://docs.datasette.io/en/stable/internals.html#internals-datasette-urls) family of methods can be used to generate URLs to key pages within the Datasette interface, both within custom templates and Datasette plugins. See [Building URLs within plugins](https://docs.datasette.io/en/stable/writing_plugins.html#writing-plugins-building-urls) for more details. ([#904](https://github.com/simonw/datasette/issues/904))

  ### Running Datasette behind a proxy

  The [base_url](https://docs.datasette.io/en/stable/config.html#config-base-url) configuration option is designed to help run Datasette on a specific path behind a proxy - for example if you want to run an instance of Datasette at `/my-datasette/` within your existing site's URL hierarchy, proxied behind nginx or Apache.

  Support for this configuration option has been greatly improved ([#1023](https://github.com/simonw/datasette/issues/1023)), and guidelines for using it are now available in a new documentation section on [Running Datasette behind a proxy](https://docs.datasette.io/en/stable/deploying.html#deploying-proxy). ([#1027](https://github.com/simonw/datasette/issues/1027))

  ### Smaller changes

  - Wide tables shown within Datasette now scroll horizontally ([#998](https://github.com/simonw/datasette/issues/998)). This is achieved using a new `<div class="table-wrapper">` element which may impact the implementation of some plugins (for example [this change to datasette-cluster-map](https://github.com/simonw/datasette-cluster-map/commit/fcb4abbe7df9071c5ab57defd39147de7145b34e)).
  - New [debug-menu](https://docs.datasette.io/en/stable/authentication.html#permissions-debug-menu) permission. ([#1068](https://github.com/simonw/datasette/issues/1068))
  - Removed `--debug` option, which didn't do anything. ([#814](https://github.com/simonw/datasette/issues/814))
  - `Link:` HTTP header pagination. ([#1014](https://github.com/simonw/datasette/issues/1014))
  - `x` button for clearing filters. ([#1016](https://github.com/simonw/datasette/issues/1016))
  - Edit SQL button on canned queries, ([#1019](https://github.com/simonw/datasette/issues/1019))
  - `--load-extension=spatialite` shortcut. ([#1028](https://github.com/simonw/datasette/issues/1028))
  - scale-in animation for column action menu. ([#1039](https://github.com/simonw/datasette/issues/1039))
  - Option to pass a list of templates to `.render_template()` is now documented. ([#1045](https://github.com/simonw/datasette/issues/1045))
  - New `datasette.urls.static_plugins()` method. ([#1033](https://github.com/simonw/datasette/issues/1033))
  - `datasette -o` option now opens the most relevant page. ([#976](https://github.com/simonw/datasette/issues/976))
  - `datasette --cors` option now enables access to `/database.db` downloads. ([#1057](https://github.com/simonw/datasette/issues/1057))
  - Database file downloads now implement cascading permissions, so you can download a database if you have `view-database-download` permission even if you do not have permission to access the Datasette instance. ([#1058](https://github.com/simonw/datasette/issues/1058))
  - New documentation on [Designing URLs for your plugin](https://docs.datasette.io/en/stable/writing_plugins.html#writing-plugins-designing-urls). ([#1053](https://github.com/simonw/datasette/issues/1053))


html_url: https://github.com/simonw/datasette/releases/tag/0.51.1
node_id: MDc6UmVsZWFzZTMzMzE0MzAx
tag_name: 0.51.1
target_commitish: main
name: 0.51.1
created_at: 2020-11-01T03:33:47Z
published_at: 2020-11-01T03:34:36Z
body:
  - Improvements to the new [Binary data](https://docs.datasette.io/en/stable/binary_data.html#binary) documentation page.


html_url: https://github.com/simonw/sqlite-utils/releases/tag/3.0a0
node_id: MDc6UmVsZWFzZTMzNTkxMjE2
tag_name: 3.0a0
target_commitish: main
name: 3.0a0
created_at: 2020-11-07T01:22:24Z
published_at: 2020-11-07T01:24:43Z
body:
  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))


html_url: https://github.com/simonw/sqlite-utils/releases/tag/3.0
node_id: MDc6UmVsZWFzZTMzNjE1MTIw
tag_name: 3.0
target_commitish: main
name: 3.0
created_at: 2020-11-08T17:23:38Z
published_at: 2020-11-08T17:24:27Z
body:
  This release introduces a new `sqlite-utils search` command for searching tables, see [Executing searches](https://sqlite-utils.readthedocs.io/en/latest/cli.html#cli-search). ([#192](https://github.com/simonw/sqlite-utils/issues/192))

  The `table.search()` method has been redesigned, see [Searching with table.search()](https://sqlite-utils.readthedocs.io/en/latest/python-api.html#python-api-fts-search). ([#197](https://github.com/simonw/sqlite-utils/issues/197))

  The release includes minor backwards-incompatible changes, hence the version bump to 3.0. Those changes, which should not affect most users, are:

  -   The `-c` shortcut option for outputting CSV is no longer available. The full `--csv` option is required instead.
  -   The `-f` shortcut for `--fmt` has also been removed - use `--fmt`.
  -   The `table.search()` method now defaults to sorting by relevance, not sorting by `rowid`. ([#198](https://github.com/simonw/sqlite-utils/issues/198))
  -   The `table.search()` method now returns a generator over a list of Python dictionaries. It previously returned a list of tuples.

  Also in this release:

  -   The `query`, `tables`, `rows` and `search` CLI commands now accept a new `--tsv` option which outputs the results in TSV. ([#193](https://github.com/simonw/sqlite-utils/issues/193))
  -   A new `table.virtual_table_using` property reveals if a table is a virtual table, and returns the upper case type of virtual table (e.g. `FTS4` or `FTS5`) if it is. It returns `None` if the table is not a virtual table. ([#196](https://github.com/simonw/sqlite-utils/issues/196))
  -   The new `table.search_sql()` method returns the SQL for searching a table, see [Building SQL queries with table.search_sql()](https://sqlite-utils.readthedocs.io/en/latest/python-api.html#python-api-fts-search-sql).
  -   `sqlite-utils rows` now accepts multiple optional `-c` parameters specifying the columns to return. ([#200](https://github.com/simonw/sqlite-utils/issues/200))

  Changes since the 3.0a0 alpha release:

  -   The `sqlite-utils search` command now defaults to returning every result, unless you add a `--limit 20` option.
  -   The `sqlite-utils search -c` and `table.search(columns=[])` options are now fully respected. ([#201](https://github.com/simonw/sqlite-utils/issues/201))


html_url: https://github.com/simonw/datasette-search-all/releases/tag/1.0
node_id: MDc6UmVsZWFzZTMzODg1ODUw
tag_name: 1.0
target_commitish: main
name: 1.0
created_at: 2020-11-12T22:32:50Z
published_at: 2020-11-12T22:34:18Z
body:
  - Added loading indicators. #7
  - URLs in search results are turned into links. #9
  - Now uses `datasette.urls` to construct paths that work with the `base_url` config setting. #10 
  - Adds a link to Datasette navigation menu. #11 


html_url: https://github.com/simonw/datasette-indieauth/releases/tag/0.3
node_id: MDc6UmVsZWFzZTM0MDkzMDQz
tag_name: 0.3
target_commitish: main
name: 0.3
created_at: 2020-11-18T01:29:46Z
published_at: 2020-11-18T01:30:51Z
body:
  - First non-alpha release
  - Now implements the IndieAuth specification directly - only delegates to indieauth.com for RelMeAuth. #2


html_url: https://github.com/simonw/datasette-indieauth/releases/tag/0.3.1
node_id: MDc6UmVsZWFzZTM0MDk0ODIw
tag_name: 0.3.1
target_commitish: main
name: 0.3.1
created_at: 2020-11-18T02:36:39Z
published_at: 2020-11-18T02:37:51Z
body:
  - Live demo at https://datasette-indieauth-demo.datasette.io/-/indieauth #15
  - Fixed error when authenticating with accounts that provide extra `"profile"` information. #16


html_url: https://github.com/simonw/datasette-indieauth/releases/tag/0.3.2
node_id: MDc6UmVsZWFzZTM0MDk2NjY0
tag_name: 0.3.2
target_commitish: main
name: 0.3.2
created_at: 2020-11-18T03:46:08Z
published_at: 2020-11-18T03:58:24Z
body:
  - Fixed error authenticating against older providers that return form-encoded data rather than JSON. #18
  - Better error handling on `/-/indieauth/done`. #17


html_url: https://github.com/simonw/datasette-indieauth/releases/tag/1.0
node_id: MDc6UmVsZWFzZTM0MTQ0NjYx
tag_name: 1.0
target_commitish: main
name: 1.0
created_at: 2020-11-18T22:21:00Z
published_at: 2020-11-18T22:24:11Z
body:
  - Remove IndieAuth.com fallback. #14
  - Increased test coverage to 100%. #19
  - Better error handling for invalid IndieAuth IDs. #20


html_url: https://github.com/simonw/datasette-indieauth/releases/tag/1.1
node_id: MDc6UmVsZWFzZTM0MTk3MjAx
tag_name: 1.1
target_commitish: main
name: 1.1
created_at: 2020-11-19T20:58:56Z
published_at: 2020-11-19T20:59:43Z
body:
  - Fix for critical security issue: [Implementation trusts the "me" field returned by the authorization server without verifying it](https://github.com/simonw/datasette-indieauth/security/advisories/GHSA-mjcr-rqjg-rhg3).


html_url: https://github.com/simonw/datasette-indieauth/releases/tag/1.2
node_id: MDc6UmVsZWFzZTM0MjAyMDA0
tag_name: 1.2
target_commitish: main
name: 1.2
created_at: 2020-11-19T23:13:00Z
published_at: 2020-11-19T23:13:13Z
body:
  - Follow redirects to find the canonical version of the URL provided by the user. #23
  - Verify `authorization_endpoint` at end of flow. #22 


html_url: https://github.com/simonw/datasette-graphql/releases/tag/1.2
node_id: MDc6UmVsZWFzZTM0MjcxMDY1
tag_name: 1.2
target_commitish: main
name: 1.2
created_at: 2020-11-21T22:05:01Z
published_at: 2020-11-21T22:05:14Z
body:
  - Plugin now respects the `view-instance` and `view-database` permissions. Previously the plugin could expose schema details of databases that should not be visible, though not their actual row content. See security advisory: [datasette-graphql leaks details of the schema of private database files ](https://github.com/simonw/datasette-graphql/security/advisories/GHSA-74hv-qjjq-h7g5). #65
  - Adds links to the GraphQL API in the database and table action menus, including example table queries. #63
  - Running the plugin against Datasette with no attached databases no longer returns a 500 error. #64


html_url: https://github.com/simonw/datasette-graphql/releases/tag/1.2.1
node_id: MDc6UmVsZWFzZTM0Mzg2Mzcw
tag_name: 1.2.1
target_commitish: main
name: 1.2.1
created_at: 2020-11-24T21:55:35Z
published_at: 2020-11-24T21:56:43Z
body:
  - Fix for forthcoming change to Datasette undocumented internal method. #66
  - Now tested against Python 3.9


html_url: https://github.com/simonw/datasette-ripgrep/releases/tag/0.1a1
node_id: MDc6UmVsZWFzZTM0MzkyNzI5
tag_name: 0.1a1
target_commitish: main
name: 0.1a1
created_at: 2020-11-25T01:55:35Z
published_at: 2020-11-25T01:56:20Z
body:
  - Fixed bug where template was not packaged in the release. #1
  - Fixed bug caused by call to `proc.terminate()`


html_url: https://github.com/simonw/datasette-ripgrep/releases/tag/0.1
node_id: MDc6UmVsZWFzZTM0NDQyODMw
tag_name: 0.1
target_commitish: main
name: 0.1
created_at: 2020-11-26T02:35:55Z
published_at: 2020-11-26T02:36:56Z
body:
  - First non-alpha release
  - Now implements both a time limit and a lines-returned limit. #3
  - New `time_limit` and `max_lines` configuration options.
  - Live demo at https://ripgrep.datasette.io/-/ripgrep


html_url: https://github.com/simonw/datasette-ripgrep/releases/tag/0.2
node_id: MDc6UmVsZWFzZTM0NTI0MjAz
tag_name: 0.2
target_commitish: main
name: 0.2
created_at: 2020-11-28T06:22:06Z
published_at: 2020-11-28T06:23:37Z
body:
  - Search results now link to the full source code, with line numbers and highlights. #4
  - Respect `view-instance` permission, so you can protect this using Datasette's [authentication and permissions](https://docs.datasette.io/en/stable/authentication.html) system. #6


html_url: https://github.com/simonw/datasette-ripgrep/releases/tag/0.2.1
node_id: MDc6UmVsZWFzZTM0NTMzNzIw
tag_name: 0.2.1
target_commitish: main
name: 0.2.1
created_at: 2020-11-28T16:15:46Z
published_at: 2020-11-28T16:16:38Z
body:
  - Fixed a bug where patterns like `-v` could be interpreted as command-line arguments. #7
  - Links to view files now correctly escape characters such as `{`.


html_url: https://github.com/simonw/datasette-ripgrep/releases/tag/0.3
node_id: MDc6UmVsZWFzZTM0NTM0MTgx
tag_name: 0.3
target_commitish: main
name: 0.3
created_at: 2020-11-28T16:56:27Z
published_at: 2020-11-28T16:57:14Z
body:
  - Option to ignore case. #12
  - Option to treat input as a literal string, not a regular expression. #8


html_url: https://github.com/simonw/datasette-ripgrep/releases/tag/0.4
node_id: MDc6UmVsZWFzZTM0NTM1MDk1
tag_name: 0.4
target_commitish: main
name: 0.4
created_at: 2020-11-28T18:06:02Z
published_at: 2020-11-28T18:07:08Z
body:
  - Show context around each match. #13
  - Use `:target` CSS instead of JavaScript to highlight linked line. Thanks, [Louis Lévêque](https://twitter.com/loulouxiv/status/1332696241650737152). #14


html_url: https://github.com/simonw/datasette-ripgrep/releases/tag/0.5
node_id: MDc6UmVsZWFzZTM0NTM2NTM2
tag_name: 0.5
target_commitish: main
name: 0.5
created_at: 2020-11-28T20:01:38Z
published_at: 2020-11-28T20:02:36Z
body:
  - Support for `?glob=` option for adding `-g` file filter patterns. #9
  - Improved configuration instructions. #15


html_url: https://github.com/simonw/datasette-ripgrep/releases/tag/0.6
node_id: MDc6UmVsZWFzZTM0NTM4NDI0
tag_name: 0.6
target_commitish: main
name: 0.6
created_at: 2020-11-28T22:27:42Z
published_at: 2020-11-28T22:28:30Z
body:
  - Now adds a link to Datasette's global navigation menu. #16
  - Code snippets in search scroll horizontally.


html_url: https://github.com/simonw/datasette/releases/tag/0.52
node_id: MDc6UmVsZWFzZTM0NTM5Mzc0
tag_name: 0.52
target_commitish: main
name: 0.52
created_at: 2020-11-28T23:54:35Z
published_at: 2020-11-28T23:57:12Z
body:
  This release includes a number of changes relating to an internal rebranding effort: Datasette's **configuration** mechanism (things like `datasette --config default_page_size:10`) has been renamed to **settings**.

  -   New `--setting default_page_size 10` option as a replacement for `--config default_page_size:10` (note the lack of a colon). The `--config` option is deprecated but will continue working until Datasette 1.0. ([#992](https://github.com/simonw/datasette/issues/992))
  -   The `/-/config` introspection page is now `/-/settings`, and the previous page redirects to the new one. ([#1103](https://github.com/simonw/datasette/issues/1103))
  -   The `config.json` file in [Configuration directory mode](https://docs.datasette.io/en/stable/settings.html#config-dir) is now called `settings.json`. ([#1104](https://github.com/simonw/datasette/issues/1104))
  -   The undocumented `datasette.config()` internal method has been replaced by a documented [.setting(key)](https://docs.datasette.io/en/stable/internals.html#datasette-setting) method. ([#1107](https://github.com/simonw/datasette/issues/1107))

  Also in this release:

  -   New plugin hook: [database_actions(datasette, actor, database)](https://docs.datasette.io/en/stable/plugin_hooks.html#plugin-hook-database-actions), which adds menu items to a new cog menu shown at the top of the database page. ([#1077](https://github.com/simonw/datasette/issues/1077))
  -   `datasette publish cloudrun` has a new `--apt-get-install` option that can be used to install additional Ubuntu packages as part of the deployment. This is useful for deploying the new [datasette-ripgrep plugin](https://github.com/simonw/datasette-ripgrep). ([#1110](https://github.com/simonw/datasette/issues/1110))
  -   Swept the documentation to remove words that minimize involved difficulty. ([#1089](https://github.com/simonw/datasette/issues/1089))

  And some bug fixes:

  -   Foreign keys linking to rows with blank label columns now display as a hyphen, allowing those links to be clicked. ([#1086](https://github.com/simonw/datasette/issues/1086))
  -   Fixed bug where row pages could sometimes 500 if the underlying queries exceeded a time limit. ([#1088](https://github.com/simonw/datasette/issues/1088))
  -   Fixed a bug where the table action menu could appear partially obscured by the edge of the page. ([#1084](https://github.com/simonw/datasette/issues/1084))


html_url: https://github.com/simonw/datasette/releases/tag/0.52.1
node_id: MDc6UmVsZWFzZTM0NTUxNjg4
tag_name: 0.52.1
target_commitish: main
name: 0.52.1
created_at: 2020-11-29T19:38:29Z
published_at: 2020-11-29T19:39:52Z
body:
  -   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))


html_url: https://github.com/dogsheep/github-to-sqlite/releases/tag/2.8
node_id: MDc6UmVsZWFzZTM0NTU2MzA4
tag_name: 2.8
target_commitish: main
name: 2.8
created_at: 2020-11-30T01:40:37Z
published_at: 2020-11-30T01:41:38Z
body:
  - 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.


html_url: https://github.com/dogsheep/github-to-sqlite/releases/tag/2.8.1
node_id: MDc6UmVsZWFzZTM0NTU4OTI4
tag_name: 2.8.1
target_commitish: main
name: 2.8.1
created_at: 2020-11-30T04:16:41Z
published_at: 2020-11-30T04:18:21Z
body:
  - README now links to example database tables for each command. #56
  - Added documentation for `github-to-sqlite releases`.


html_url: https://github.com/simonw/datasette-graphql/releases/tag/1.3
node_id: MDc6UmVsZWFzZTM0NTkxMjA3
tag_name: 1.3
target_commitish: main
name: 1.3
created_at: 2020-11-30T18:10:51Z
published_at: 2020-11-30T18:11:47Z
body:
  -  Suggested queries for tables (available from the table actions cog menu) now include foreign key expansions. #67 


html_url: https://github.com/simonw/datasette-graphql/releases/tag/1.3.1
node_id: MDc6UmVsZWFzZTM0NTkzMzcw
tag_name: 1.3.1
target_commitish: main
name: 1.3.1
created_at: 2020-11-30T19:01:53Z
published_at: 2020-11-30T19:02:51Z
body:
  - Fixed bug where `in:` and `notin:` filters raised an error when run against lists of integers rather than lists of strings. #68


html_url: https://github.com/simonw/datasette/releases/tag/0.52.2
node_id: MDc6UmVsZWFzZTM0NzI1NzE2
tag_name: 0.52.2
target_commitish: main
name: 0.52.2
created_at: 2020-12-03T00:57:40Z
published_at: 2020-12-03T00:58:43Z
body:
  -   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))


html_url: https://github.com/simonw/datasette/releases/tag/0.52.3
node_id: MDc6UmVsZWFzZTM0NzgyMzM3
tag_name: 0.52.3
target_commitish: main
name: 0.52.3
created_at: 2020-12-03T19:07:05Z
published_at: 2020-12-03T19:08:29Z
body:
  - Fixed bug where static assets would 404 for Datasette installed on ARM Amazon Linux. ([#1124](https://github.com/simonw/datasette/issues/1124>))


html_url: https://github.com/simonw/datasette-search-all/releases/tag/1.0.1
node_id: MDc6UmVsZWFzZTM0ODUxMjcy
tag_name: 1.0.1
target_commitish: main
name: 1.0.1
created_at: 2020-12-04T21:11:15Z
published_at: 2020-12-04T21:12:26Z
body:
  - Form inputs are now wrapped in a paragraph, making form less cramped when displayed next to metadata. #12


html_url: https://github.com/simonw/datasette/releases/tag/0.52.4
node_id: MDc6UmVsZWFzZTM0ODgyMDEx
tag_name: 0.52.4
target_commitish: main
name: 0.52.4
created_at: 2020-12-05T19:42:42Z
published_at: 2020-12-05T19:42:57Z
body:
  -   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))


html_url: https://github.com/simonw/datasette-seaborn/releases/tag/0.2a0
node_id: MDc6UmVsZWFzZTM0OTA2NjMw
tag_name: 0.2a0
target_commitish: main
name: 0.2a0
created_at: 2020-12-07T01:37:52Z
published_at: 2020-12-07T01:39:12Z
body:
  - Chart rendering now takes place in a subprocess with a 5 second default time limit. Time limit can be customized using a new `render_time_limit` plugin configuration option. #4


html_url: https://github.com/simonw/yaml-to-sqlite/releases/tag/0.3.1
node_id: MDc6UmVsZWFzZTM0OTUwMjEx
tag_name: 0.3.1
target_commitish: master
name: 0.3.1
created_at: 2020-12-07T21:11:08Z
published_at: 2020-12-07T21:12:55Z
body:
  - Updated for latest `sqlite-utils` library
  - Fixed bug where import failed if user did not provide a `--pk` option


html_url: https://github.com/simonw/datasette/releases/tag/0.52.5
node_id: MDc6UmVsZWFzZTM1MDYzNTgw
tag_name: 0.52.5
target_commitish: 0.52.x
name: 0.52.5
created_at: 2020-12-09T20:03:44Z
published_at: 2020-12-09T20:10:23Z
body:
  -   Fix for error caused by combining the `_searchmode=raw` and `?_search_COLUMN` parameters. ([#1134](https://github.com/simonw/datasette/issues/1134))


html_url: https://github.com/simonw/datasette-column-inspect/releases/tag/0.2a
node_id: MDc6UmVsZWFzZTM1MDY3OTQ0
tag_name: 0.2a
target_commitish: main
name: 0.2a
created_at: 2020-12-09T21:46:02Z
published_at: 2020-12-09T21:47:38Z
body:
  - Correctly parse column links. #3
  - Show a message encouraging mobile users to rotate to landscape. #2


html_url: https://github.com/simonw/datasette/releases/tag/0.53
node_id: MDc6UmVsZWFzZTM1MTMxODQ4
tag_name: 0.53
target_commitish: main
name: 0.53
created_at: 2020-12-11T01:44:36Z
published_at: 2020-12-11T01:46:44Z
body:
  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))


html_url: https://github.com/simonw/datasette-auth-passwords/releases/tag/0.3.3
node_id: MDc6UmVsZWFzZTM1MTM2MTQw
tag_name: 0.3.3
target_commitish: main
name: 0.3.3
created_at: 2020-12-11T05:27:06Z
published_at: 2020-12-11T05:29:14Z
body:
  - Fixed bug where users with a `"someusername_password_hash"` value defined in `metadata.json` but no corresponding `"actor"` record were incorrectly signed in as an actor with `"id": "username"`, when they should have been signed in as an actor with `"id": "someusername"`. #14


html_url: https://github.com/simonw/sqlite-utils/releases/tag/3.1
node_id: MDc6UmVsZWFzZTM1MjAwMDE2
tag_name: 3.1
target_commitish: main
name: 3.1
created_at: 2020-12-13T07:30:59Z
published_at: 2020-12-13T07:31:40Z
body:
  -   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))


html_url: https://github.com/simonw/datasette-publish-vercel/releases/tag/0.9
node_id: MDc6UmVsZWFzZTM1MjE2NDk0
tag_name: 0.9
target_commitish: main
name: 0.9
created_at: 2020-12-14T04:02:28Z
published_at: 2020-12-14T04:03:06Z
body:
  - New `--setting` option for specifying Datasette settings, as a working alternative to `--extra-options`. #30 


html_url: https://github.com/dogsheep/github-to-sqlite/releases/tag/2.8.2
node_id: MDc6UmVsZWFzZTM1Mzc0NzE1
tag_name: 2.8.2
target_commitish: main
name: 2.8.2
created_at: 2020-12-16T19:20:36Z
published_at: 2020-12-16T19:21:58Z
body:
  - `--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


html_url: https://github.com/dogsheep/dogsheep-beta/releases/tag/0.10
node_id: MDc6UmVsZWFzZTM1MzgyMzkx
tag_name: 0.10
target_commitish: main
name: 0.10
created_at: 2020-12-16T21:27:04Z
published_at: 2020-12-16T21:28:13Z
body:
  - 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


html_url: https://github.com/simonw/sqlite-utils/releases/tag/3.1.1
node_id: MDc6UmVsZWFzZTM1OTAyMzE1
tag_name: 3.1.1
target_commitish: main
name: 3.1.1
created_at: 2021-01-01T23:56:20Z
published_at: 2021-01-01T23:57:07Z
body:
  -   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.


html_url: https://github.com/simonw/sqlite-utils/releases/tag/3.2
node_id: MDc6UmVsZWFzZTM1OTMwMDQw
tag_name: 3.2
target_commitish: main
name: 3.2
created_at: 2021-01-03T21:15:26Z
published_at: 2021-01-03T21:17:37Z
body:
  This release introduces a new mechanism for speeding up `count(*)` queries using cached table counts, stored in a `_counts` table and updated by triggers. This mechanism is described in [Cached table counts using triggers](https://sqlite-utils.datasette.io/en/stable/python-api.html#python-api-cached-table-counts), and can be enabled using Python API methods or the new `enable-counts` CLI command. ([#212](https://github.com/simonw/sqlite-utils/issues/212))

  - `table.enable_counts()` method for enabling these triggers on a specific table.
  - `db.enable_counts()` method for enabling triggers on every table in the database. ([#213](https://github.com/simonw/sqlite-utils/issues/213))
  - New `sqlite-utils enable-counts my.db` command for enabling counts on all or specific tables, see [Enabling cached counts](https://sqlite-utils.datasette.io/en/stable/cli.html#cli-enable-counts). ([#214](https://github.com/simonw/sqlite-utils/issues/214))
  - New `sqlite-utils triggers` command for listing the triggers defined for a database or specific tables, see [Listing triggers](https://sqlite-utils.datasette.io/en/stable/cli.html#cli-triggers). ([#218](https://github.com/simonw/sqlite-utils/issues/218))
  - New `db.use_counts_table` property which, if `True`, causes `table.count` to read from the `_counts` table. ([#215](https://github.com/simonw/sqlite-utils/issues/215))
  - `table.has_counts_triggers` property revealing if a table has been configured with the new `_counts` database triggers.
  - `db.reset_counts()` method and `sqlite-utils reset-counts` command for resetting the values in the `_counts` table. ([#219](https://github.com/simonw/sqlite-utils/issues/219))
  - The previously undocumented `db.escape()` method has been renamed to `db.quote()` and is now covered by the documentation: [Quoting strings for use in SQL](https://sqlite-utils.datasette.io/en/stable/python-api.html#python-api-quote). ([#217](https://github.com/simonw/sqlite-utils/issues/217))
  - New `table.triggers_dict` and `db.triggers_dict` introspection properties. ([#211](https://github.com/simonw/sqlite-utils/issues/211), [#216](https://github.com/simonw/sqlite-utils/issues/216))
  - `sqlite-utils insert` now shows a more useful error message for invalid JSON. ([#206](https://github.com/simonw/sqlite-utils/issues/206))


html_url: https://github.com/simonw/datasette-css-properties/releases/tag/0.2
node_id: MDc6UmVsZWFzZTM2MTEzOTM5
tag_name: 0.2
target_commitish: main
name: 0.2
created_at: 2021-01-07T20:27:29Z
published_at: 2021-01-07T20:28:40Z
body:
  - `.css` pages now send the `x-content-type-options: nosniff` header, to protect against browsers incorrectly rendering the CSS as HTML which could be an XSS security hole. #1


html_url: https://github.com/simonw/datasette-export-notebook/releases/tag/0.2
node_id: MDc6UmVsZWFzZTM2MjUxODY4
tag_name: 0.2
target_commitish: main
name: 0.2
created_at: 2021-01-11T22:27:18Z
published_at: 2021-01-11T22:29:04Z
body:
  - Observable export instructions are only shown if Datasette is run with the `--cors` option. #5
  - Export notebook page links back to view the rows. #6
  - CSV streaming export instructions are provided, if available. #7


html_url: https://github.com/simonw/sqlite-utils/releases/tag/3.2.1
node_id: MDc6UmVsZWFzZTM2MzA3NDQ0
tag_name: 3.2.1
target_commitish: main
name: 3.2.1
created_at: 2021-01-12T23:22:53Z
published_at: 2021-01-12T23:23:25Z
body:
  -   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))


html_url: https://github.com/simonw/sqlite-utils/releases/tag/3.3
node_id: MDc6UmVsZWFzZTM2NTMwMjE2
tag_name: 3.3
target_commitish: main
name: 3.3
created_at: 2021-01-18T04:28:24Z
published_at: 2021-01-18T04:29:48Z
body:
  -   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))


html_url: https://github.com/simonw/sqlite-transform/releases/tag/0.3.1
node_id: MDc6UmVsZWFzZTM2NTY5MTYz
tag_name: 0.3.1
target_commitish: main
name: 0.3.1
created_at: 2021-01-18T21:00:34Z
published_at: 2021-01-18T21:01:06Z
body:
  - Better `--help` for `sqlite-transform lambda`. [#7](https://github.com/simonw/sqlite-transform/issues/7)


html_url: https://github.com/simonw/datasette-cluster-map/releases/tag/0.15
node_id: MDc6UmVsZWFzZTM2NTcwNjQx
tag_name: 0.15
target_commitish: main
name: 0.15
created_at: 2021-01-18T21:48:43Z
published_at: 2021-01-18T21:49:39Z
body:
  - Fixed bug where foreign key labels were displayed as `[object Object]`. [#26](https://github.com/simonw/datasette-cluster-map/issues/26)


html_url: https://github.com/simonw/datasette/releases/tag/0.54a0
node_id: MDc6UmVsZWFzZTM2NjIzMzM2
tag_name: 0.54a0
target_commitish: main
name: 0.54a0
created_at: 2021-01-19T20:50:12Z
published_at: 2021-01-19T20:51:13Z
body:
  **Alpha release**. Release notes in progress.

  -   Improved support for named in-memory databases. ([#1151](https://github.com/simonw/datasette/issues/1151))
  -   New `_internal` in-memory database tracking attached databases, tables and columns. ([#1150](https://github.com/simonw/datasette/issues/1150))
  -   Support for JavaScript modules. ([#1186](https://github.com/simonw/datasette/issues/1186), [#1187](https://github.com/simonw/datasette/issues/1187))


html_url: https://github.com/simonw/datasette-leaflet-freedraw/releases/tag/0.1.3
node_id: MDc6UmVsZWFzZTM2NjQ0NzUw
tag_name: 0.1.3
target_commitish: main
name: 0.1.3
created_at: 2021-01-20T09:28:32Z
published_at: 2021-01-20T09:29:08Z
body:
  - Fixed bug where polygons drawn at a high zoom level were not correctly re-displayed after submitting the query. #1


html_url: https://github.com/simonw/datasette-leaflet-geojson/releases/tag/0.7
node_id: MDc6UmVsZWFzZTM2Njc3OTU2
tag_name: 0.7
target_commitish: main
name: 0.7
created_at: 2021-01-20T20:20:29Z
published_at: 2021-01-20T20:21:25Z
body:
  - Plugin now only shows maps for the first ten rows, with a "Click to view map" prompt for rows past that point. This can be customized using the new `default_maps_to_load` plugin setting. [#16](https://github.com/simonw/datasette-leaflet-geojson/issues/16)


html_url: https://github.com/simonw/datasette-auth-github/releases/tag/0.13a0
node_id: MDc6UmVsZWFzZTM2NzkyODIz
tag_name: 0.13a0
target_commitish: main
name: 0.13a0
created_at: 2021-01-22T22:35:40Z
published_at: 2021-01-22T22:36:49Z
body:
  Alpha release. This is a big change - it switches the plugin over to using the authentication plugin mechanism introduced in [Datasette 0.44](https://simonwillison.net/2020/Jun/12/annotated-release-notes/).


html_url: https://github.com/simonw/datasette-auth-github/releases/tag/0.13a1
node_id: MDc6UmVsZWFzZTM2NzkzOTcw
tag_name: 0.13a1
target_commitish: main
name: 0.13a1
created_at: 2021-01-22T23:20:45Z
published_at: 2021-01-22T23:22:19Z
body:
  - Removed custom base template - Datasette provides a "logout" link in the default interface now.
  - Added "Sign in with GitHub" menu action. #65
  - Use `datasette_datasette_auth_github_error.html` template for error messages. #36 


html_url: https://github.com/simonw/datasette-cluster-map/releases/tag/0.16
node_id: MDc6UmVsZWFzZTM2ODEyNzYx
tag_name: 0.16
target_commitish: main
name: 0.16
created_at: 2021-01-23T22:49:34Z
published_at: 2021-01-23T22:50:55Z
body:
  - Handle cases where columns may have null values. Thanks, Jose Rodriguez-Salinas. #27
  - Now depends on Datasette >= 0.50


html_url: https://github.com/simonw/datasette-auth-github/releases/tag/0.13
node_id: MDc6UmVsZWFzZTM2ODE3MDkz
tag_name: 0.13
target_commitish: main
name: 0.13
created_at: 2021-01-24T05:52:43Z
published_at: 2021-01-24T05:53:00Z
body:
  This plugin now builds on the [Authentication and permissions](https://docs.datasette.io/en/stable/authentication.html) mechanism introduced in [Datasette 0.44](https://docs.datasette.io/en/stable/changelog.html#v0-44). This means it can be used in combination with other authentication plugins such as [datasette-auth-tokens](https://datasette.io/plugins/datasette-auth-tokens). #62

  When a user signs in with GitHub, a signed [ds_actor cookie](https://docs.datasette.io/en/stable/authentication.html#the-ds-actor-cookie) is set with details of their GitHub profile. Fields from this dictionary can be used with Datasette [allow blocks](https://docs.datasette.io/en/stable/authentication.html#defining-permissions-with-allow-blocks) to control access to individual databases, tables and queries.

  The new `load_orgs` and `load_teams` options can be used to check the user's membership of different organization and teams when they first sign in. These memberships will be encoded in the cookie and can be used to control access.

  Other changes:

  - The ASGI middleware version of this plugin has been split off into a separate [asgi-auth-github](https://github.com/simonw/asgi-auth-github) package. #63
  - Error messages are now rendered using a `datasette_auth_github_error.html` template, which can be customized by including a template of the same name in a [custom templates directory](https://docs.datasette.io/en/stable/custom_templates.html#custom-templates). #36
  -  The `/-/auth-callback` path is now `/-/github-auth-callback` - you will need to update this in your GitHub OAuth application settings. #66


html_url: https://github.com/simonw/datasette-leaflet/releases/tag/0.1
node_id: MDc6UmVsZWFzZTM2ODI4MzMz
tag_name: 0.1
target_commitish: main
name: 0.1
created_at: 2021-01-24T18:19:09Z
published_at: 2021-01-24T18:19:32Z
body:
  - Initial release, bundling Leaflet 1.7.1 as static assets that can be loaded as JavaScript modules.


html_url: https://github.com/simonw/datasette/releases/tag/0.54
node_id: MDc6UmVsZWFzZTM2ODcxOTAx
tag_name: 0.54
target_commitish: main
name: 0.54
created_at: 2021-01-25T17:35:06Z
published_at: 2021-01-25T17:36:30Z
body:
  The two big new features in this release are the `_internal` SQLite in-memory database storing details of all connected databases and tables, and support for JavaScript modules in plugins and additional scripts.

  For additional commentary on this release, see [Datasette 0.54, the annotated release notes](https://simonwillison.net/2021/Jan/25/datasette/).

  ### The _internal database

  As part of ongoing work to help Datasette handle much larger numbers of connected databases and tables (see [Datasette Library](https://github.com/simonw/datasette/issues/417)) Datasette now maintains an in-memory SQLite database with details of all of the attached databases, tables, columns, indexes and foreign keys. ([#1150](https://github.com/simonw/datasette/issues/1150))

  This will support future improvements such as a searchable, paginated homepage of all available tables.

  You can explore an example of this database by [signing in as root](https://latest.datasette.io/login-as-root) to the `latest.datasette.io` demo instance and then navigating to [latest.datasette.io/_internal](https://latest.datasette.io/_internal).

  Plugins can use these tables to introspect attached data in an efficient way. Plugin authors should note that this is not yet considered a stable interface, so any plugins that use this may need to make changes prior to Datasette 1.0 if the `_internal` table schemas change.

  ### Named in-memory database support

  As part of the work building the `_internal` database, Datasette now supports named in-memory databases that can be shared across multiple connections. This allows plugins to create in-memory databases which will persist data for the lifetime of the Datasette server process. ([#1151](https://github.com/simonw/datasette/issues/1151))

  The new `memory_name=` parameter to the [Database class](https://docs.datasette.io/en/stable/internals.html#internals-database) can be used to create named, shared in-memory databases.

  ### JavaScript modules

  [JavaScript modules](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules) were introduced in ECMAScript 2015 and provide native browser support for the `import` and `export` keywords.

  To use modules, JavaScript needs to be included in `<script>` tags with a `type="module"` attribute.

  Datasette now has the ability to output `<script type="module">` in places where you may wish to take advantage of modules. The `extra_js_urls` option described in [Custom CSS and JavaScript](https://docs.datasette.io/en/stable/custom_templates.html#customization-css-and-javascript) can now be used with modules, and module support is also available for the [extra_body_script()](https://docs.datasette.io/en/stable/plugin_hooks.html#plugin-hook-extra-body-script) plugin hook. ([#1186](https://github.com/simonw/datasette/issues/1186), [#1187](https://github.com/simonw/datasette/issues/1187))

  [datasette-leaflet-freedraw](https://datasette.io/plugins/datasette-leaflet-freedraw) is the first example of a Datasette plugin that takes advantage of the new support for JavaScript modules. See [Drawing shapes on a map to query a SpatiaLite database](https://simonwillison.net/2021/Jan/24/drawing-shapes-spatialite/) for more on this plugin.

  ### Code formatting with Black and Prettier

  Datasette adopted [Black](https://github.com/psf/black) for opinionated Python code formatting in June 2019. Datasette now also embraces [Prettier](https://prettier.io/) for JavaScript formatting, which like Black is enforced by tests in continuous integration. Instructions for using these two tools can be found in the new section on [Code formatting](https://docs.datasette.io/en/stable/contributing.html#contributing-formatting) in the contributors documentation. ([#1167](https://github.com/simonw/datasette/issues/1167))

  ### Other changes

  -   Datasette can now open multiple database files with the same name, e.g. if you run `datasette path/to/one.db path/to/other/one.db`. ([#509](https://github.com/simonw/datasette/issues/509))
  -   `datasette publish cloudrun` now sets `force_https_urls` for every deployment, fixing some incorrect `http://` links. ([#1178](https://github.com/simonw/datasette/issues/1178))
  -   Fixed a bug in the example nginx configuration in [Running Datasette behind a proxy](https://docs.datasette.io/en/stable/deploying.html#deploying-proxy). ([#1091](https://github.com/simonw/datasette/issues/1091))
  -   The [Datasette Ecosystem](https://docs.datasette.io/en/stable/ecosystem.html#ecosystem) documentation page has been reduced in size in favour of the `datasette.io` [tools](https://datasette.io/tools) and [plugins](https://datasette.io/plugins) directories. ([#1182](https://github.com/simonw/datasette/issues/1182))
  -   The request object now provides a `request.full_path` property, which returns the path including any query string. ([#1184](https://github.com/simonw/datasette/issues/1184))
  -   Better error message for disallowed `PRAGMA` clauses in SQL queries. ([#1185](https://github.com/simonw/datasette/issues/1185))
  -   `datasette publish heroku` now deploys using `python-3.8.7`.
  -   New plugin testing documentation on [Testing outbound HTTP calls with pytest-httpx](https://docs.datasette.io/en/stable/testing_plugins.html#testing-plugins-pytest-httpx). ([#1198](https://github.com/simonw/datasette/issues/1198))
  -   All `?_*` query string parameters passed to the table page are now persisted in hidden form fields, so parameters such as `?_size=10` will be correctly passed to the next page when query filters are changed. ([#1194](https://github.com/simonw/datasette/issues/1194))
  -   Fixed a bug loading a database file called `test-database (1).sqlite`. ([#1181](https://github.com/simonw/datasette/issues/1181))


html_url: https://github.com/simonw/datasette-leaflet/releases/tag/0.2
node_id: MDc6UmVsZWFzZTM2ODc2MDc4
tag_name: 0.2
target_commitish: main
name: 0.2
created_at: 2021-01-25T19:01:57Z
published_at: 2021-01-25T19:03:10Z
body:
  - Expose URLs to bundled assets as JavaScript global variables `datasette.leaflet.JAVASCRIPT_URL` and `datasette.leaflet.CSS_URL`. #4


html_url: https://github.com/simonw/datasette-leaflet-freedraw/releases/tag/0.2
node_id: MDc6UmVsZWFzZTM2ODc2MjAx
tag_name: 0.2
target_commitish: main
name: 0.2
created_at: 2021-01-25T19:04:07Z
published_at: 2021-01-25T19:05:34Z
body:
  - Now depends on [datasette-leaflet](https://datasette.io/plugins/datasette-leaflet) for loading Leaflet JavaScript and CSS. #3


html_url: https://github.com/simonw/datasette-leaflet-geojson/releases/tag/0.8
node_id: MDc6UmVsZWFzZTM2ODkyMDM5
tag_name: 0.8
target_commitish: main
name: 0.8
created_at: 2021-01-26T02:39:38Z
published_at: 2021-01-26T02:41:07Z
body:
  - Now depends on [datasette-leaflet](https://datasette.io/plugins/datasette-leaflet) for loading Leaflet JavaScript and CSS. [#17](https://github.com/simonw/datasette-leaflet-geojson/issues/17)


html_url: https://github.com/simonw/datasette-cluster-map/releases/tag/0.17
node_id: MDc6UmVsZWFzZTM3MDYxMzUx
tag_name: 0.17
target_commitish: main
name: 0.17
created_at: 2021-01-29T02:05:40Z
published_at: 2021-01-29T02:06:19Z
body:
  - Now depends on [datasette-leaflet](https://datasette.io/plugins/datasette-leaflet). [#28](https://github.com/simonw/datasette-cluster-map/issues/28)


html_url: https://github.com/simonw/datasette-template-sql/releases/tag/1.0.2
node_id: MDc6UmVsZWFzZTM3MDYxOTIy
tag_name: 1.0.2
target_commitish: main
name: 1.0.2
created_at: 2021-01-29T02:28:00Z
published_at: 2021-01-29T02:29:57Z
body:
  - Updated for compatibility with latest Datasette. [#3](https://github.com/simonw/datasette-template-sql/issues/3)


html_url: https://github.com/simonw/datasette-export-notebook/releases/tag/0.3
node_id: MDc6UmVsZWFzZTM3MTA4MDUz
tag_name: 0.3
target_commitish: main
name: 0.3
created_at: 2021-01-29T22:21:46Z
published_at: 2021-01-29T22:22:44Z
body:
  - Pandas `read_csv()` streaming example now includes `dtype=` parameter with correct column types. [#8](https://github.com/simonw/datasette-export-notebook/issues/8)


html_url: https://github.com/simonw/datasette-cluster-map/releases/tag/0.17.1
node_id: MDc6UmVsZWFzZTM3MjA0MjM3
tag_name: 0.17.1
target_commitish: main
name: 0.17.1
created_at: 2021-02-01T22:21:35Z
published_at: 2021-02-01T22:22:25Z
body:
  - Upgraded `datasette-leaflet` dependency to get fix for marker icon bug. [datasette-leaflet #6](https://github.com/simonw/datasette-leaflet/issues/6)


html_url: https://github.com/simonw/datasette/releases/tag/0.54.1
node_id: MDc6UmVsZWFzZTM3MjYyNzE5
tag_name: 0.54.1
target_commitish: 0.54.x
name: 0.54.1
created_at: 2021-02-02T21:23:39Z
published_at: 2021-02-02T21:30:12Z
body:
  -   Fixed a bug where `?_search=` and `?_sort=` parameters were incorrectly duplicated when the filter form on the table page was re-submitted. ([#1214](https://github.com/simonw/datasette/issues/1214))


html_url: https://github.com/simonw/download-tiles/releases/tag/0.4
node_id: MDc6UmVsZWFzZTM3MjczMzg0
tag_name: 0.4
target_commitish: main
name: 0.4
created_at: 2021-02-03T03:32:05Z
published_at: 2021-02-03T03:32:11Z
body:
  - `--name=` option for setting the name to be written into the `metadata` table. If you use the `--city` or `--country` options without passing the `--name` the city or country name will be used instead. #5
  - `--attribution=osm` shortcut for setting the attribution to `© OpenStreetMap contributors` without having to type that out in full. #4


html_url: https://github.com/simonw/datasette-tiles/releases/tag/0.4
node_id: MDc6UmVsZWFzZTM3MzIzMTI4
tag_name: 0.4
target_commitish: main
name: 0.4
created_at: 2021-02-03T22:21:57Z
published_at: 2021-02-03T22:24:18Z
body:
  - New `/-/tiles-stack` mechanism for serving tiles from multiple databases. #8
  - `"tiles-stack-order"` plugin setting, for controlling the order in which tiles are served from the stack.
  - Tile explorer page now also displays metadata for that tile database. #7
  - Tile explorer uses name from metadata if it is available, and provides links to the database and table pages.
  - Tile 404s are now served as blank PNGs. #9
  - Renamed templates from `mbtiles_*.html` to `tiles_*.html`. #10


html_url: https://github.com/simonw/datasette-tiles/releases/tag/0.5
node_id: MDc6UmVsZWFzZTM3MzY5Njcw
tag_name: 0.5
target_commitish: main
name: 0.5
created_at: 2021-02-04T18:15:13Z
published_at: 2021-02-04T18:16:52Z
body:
  - Tile explorer interface now works without JavaScript! Thanks, [Matthew Somerville](https://github.com/dracos). [#14](https://github.com/simonw/datasette-tiles/issues/14)


html_url: https://github.com/simonw/sqlite-utils/releases/tag/3.4
node_id: MDc6UmVsZWFzZTM3NDM3NzQ0
tag_name: 3.4
target_commitish: main
name: 3.4
created_at: 2021-02-06T01:37:27Z
published_at: 2021-02-06T01:38:26Z
body:
  -   `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))


html_url: https://github.com/simonw/datasette-jellyfish/releases/tag/1.0
node_id: MDc6UmVsZWFzZTM3NDM4Njkw
tag_name: 1.0
target_commitish: main
name: 1.0
created_at: 2021-02-06T02:00:15Z
published_at: 2021-02-06T02:00:51Z
body:
  Renamed two functions for compatibility with the latest Jellyfish - see [their documentation](https://jellyfish.readthedocs.io/en/latest/comparison.html#jaro-similarity) for details.

  * `jaro_distance(a, b)` is now `jaro_similarity(a, b)`
  * `jaro_winkler(a, b)` is now `jaro_winkler_similarity(a, b)`


html_url: https://github.com/simonw/sqlite-utils/releases/tag/3.4.1
node_id: MDc6UmVsZWFzZTM3NDM4ODE3
tag_name: 3.4.1
target_commitish: main
name: 3.4.1
created_at: 2021-02-06T02:10:04Z
published_at: 2021-02-06T02:11:15Z
body:
  -   Fixed a code import bug that slipped in to 3.4. ([#226](https://github.com/simonw/sqlite-utils/issues/226))


html_url: https://github.com/simonw/datasette-jellyfish/releases/tag/1.0.1
node_id: MDc6UmVsZWFzZTM3NDM5MTc1
tag_name: 1.0.1
target_commitish: main
name: 1.0.1
created_at: 2021-02-06T02:33:43Z
published_at: 2021-02-06T02:34:18Z
body:
  - Updated README examples to reflect function name changes in version 1.0. [#3](https://github.com/simonw/datasette-jellyfish/issues/3)


html_url: https://github.com/simonw/datasette-tiles/releases/tag/0.6
node_id: MDc6UmVsZWFzZTM3ODkzNzkx
tag_name: 0.6
target_commitish: main
name: 0.6
created_at: 2021-02-11T00:22:12Z
published_at: 2021-02-11T00:25:56Z
body:
  **This release breaks backwards compatibility** if you are using this as a tile server. Map tiles served by `/-/tiles/...` now use the OpenStreetMap coordinate system, where y=0 references the upper-most tile on the map. If you wish to continue using the TMS coordinate system you should switch to `/-/tiles-tms/...` instead. See [Tile coordinate systems](https://github.com/simonw/datasette-tiles/blob/0.6/README.md#tile-coordinate-systems) for more details.

  - Support both OSM and TMS coordinate systems, use OSM by default. [#15](https://github.com/simonw/datasette-tiles/issues/15)
  - Hide non-JavaScript map as soon as the JavaScript loads in the tile explorer. [#21](https://github.com/simonw/datasette-tiles/issues/21)


html_url: https://github.com/simonw/datasette-tiles/releases/tag/0.6.1
node_id: MDc6UmVsZWFzZTM3ODk0MTAx
tag_name: 0.6.1
target_commitish: main
name: 0.6.1
created_at: 2021-02-11T00:39:16Z
published_at: 2021-02-11T00:40:11Z
body:
  - Fixed bug introduced in 0.6 which caused the non-JavaScript tile explorer to display incorrectly. [#22](https://github.com/simonw/datasette-tiles/issues/22)


html_url: https://github.com/dogsheep/evernote-to-sqlite/releases/tag/0.3
node_id: MDc6UmVsZWFzZTM3OTQ2ODI5
tag_name: 0.3
target_commitish: main
name: 0.3
created_at: 2021-02-11T22:14:01Z
published_at: 2021-02-11T22:16:20Z
body:
  - 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)


html_url: https://github.com/dogsheep/evernote-to-sqlite/releases/tag/0.3.1
node_id: MDc6UmVsZWFzZTM3OTQ3NzI1
tag_name: 0.3.1
target_commitish: main
name: 0.3.1
created_at: 2021-02-11T22:38:21Z
published_at: 2021-02-11T22:40:40Z
body:
  - 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)


html_url: https://github.com/simonw/sqlite-utils/releases/tag/3.5
node_id: MDc6UmVsZWFzZTM4MDM3MjY3
tag_name: 3.5
target_commitish: main
name: 3.5
created_at: 2021-02-14T22:43:06Z
published_at: 2021-02-14T22:44:21Z
body:
  -   `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))


html_url: https://github.com/simonw/datasette-graphql/releases/tag/1.4
node_id: MDc6UmVsZWFzZTM4MjYxMDU2
tag_name: 1.4
target_commitish: main
name: 1.4
created_at: 2021-02-18T23:35:09Z
published_at: 2021-02-18T23:37:44Z
body:
  - Fix broken tests against Datasette 0.54. [#71](https://github.com/simonw/datasette-graphql/issues/71)
  - Bundle JavaScript and CSS assets for GraphiQL, instead of loading them from a CDN. [#73](https://github.com/simonw/datasette-graphql/issues/73)
  - Pin to graphene dependency < 3.0. [#72](https://github.com/simonw/datasette-graphql/issues/72)


html_url: https://github.com/simonw/datasette/releases/tag/0.55
node_id: MDc6UmVsZWFzZTM4MjY0ODAx
tag_name: 0.55
target_commitish: main
name: 0.55
created_at: 2021-02-19T02:01:06Z
published_at: 2021-02-19T02:02:29Z
body:
  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))


html_url: https://github.com/simonw/sqlite-utils/releases/tag/3.6
node_id: MDc6UmVsZWFzZTM4MjkwOTkw
tag_name: 3.6
target_commitish: main
name: 3.6
created_at: 2021-02-19T05:18:02Z
published_at: 2021-02-19T05:19:00Z
body:
  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))


html_url: https://github.com/simonw/airtable-export/releases/tag/0.5
node_id: MDc6UmVsZWFzZTM4NDA2NDY3
tag_name: 0.5
target_commitish: main
name: 0.5
created_at: 2021-02-22T06:01:08Z
published_at: 2021-02-22T06:02:10Z
body:
  - New `--sqlite database.db` export option. [#10](https://github.com/simonw/airtable-export/issues/10)


html_url: https://github.com/simonw/sqlite-transform/releases/tag/0.4
node_id: MDc6UmVsZWFzZTM4NDM3NDI2
tag_name: 0.4
target_commitish: main
name: 0.4
created_at: 2021-02-22T17:03:09Z
published_at: 2021-02-22T17:04:53Z
body:
  - New `sqlite-transform jsonsplit` for converting `foo,bar` into `["foo", "bar"]`. [#10](https://github.com/simonw/sqlite-transform/issues/10)
  - Added `--dry-run` option to `sqlite-tranfsorm lambda` for previewing the conversion that is about to be applied.  [#8](https://github.com/simonw/sqlite-transform/issues/8)


html_url: https://github.com/simonw/csv-diff/releases/tag/1.1
node_id: MDc6UmVsZWFzZTM4NDU5Mjg2
tag_name: 1.1
target_commitish: main
name: 1.1
created_at: 2021-02-23T01:13:35Z
published_at: 2021-02-23T01:14:25Z
body:
  - Tool now also works against inputs that are JSON files consisting of a list of objects with identical keys, using `--format=json`. [#12](https://github.com/simonw/csv-diff/issues/12)


html_url: https://github.com/simonw/datasette-auth-github/releases/tag/0.13.1
node_id: MDc6UmVsZWFzZTM4NzE3ODc5
tag_name: 0.13.1
target_commitish: main
name: 0.13.1
created_at: 2021-02-25T06:39:19Z
published_at: 2021-02-25T06:40:17Z
body:
  - Deployments that are configured to check organization membership now use `read:org` scope instead of the more permissive `user` scope. [#73](https://github.com/simonw/datasette-auth-github/issues/73)


html_url: https://github.com/simonw/tableau-to-sqlite/releases/tag/0.1.1
node_id: MDc6UmVsZWFzZTM5NjM1MDEy
tag_name: 0.1.1
target_commitish: main
name: 0.1.1
created_at: 2021-03-11T06:36:25Z
published_at: 2021-03-11T06:37:14Z
body:
  - No longer produces tables with single quotes in the name, which can cause bugs when viewed in Datasette. [#1](https://github.com/simonw/tableau-to-sqlite/issues/1)


html_url: https://github.com/simonw/tableau-to-sqlite/releases/tag/0.2
node_id: MDc6UmVsZWFzZTM5NjM1Mzc4
tag_name: 0.2
target_commitish: main
name: 0.2
created_at: 2021-03-11T06:51:38Z
published_at: 2021-03-11T06:52:22Z
body:
  - Support importing data from a full URL to a Tableau dashboard hosted somewhere other than `public.tableau.com`. [#2](https://github.com/simonw/tableau-to-sqlite/issues/2)


html_url: https://github.com/simonw/datasette-ripgrep/releases/tag/0.7
node_id: MDc6UmVsZWFzZTM5Njc4Njgz
tag_name: 0.7
target_commitish: main
name: 0.7
created_at: 2021-03-11T20:02:32Z
published_at: 2021-03-11T20:03:38Z
body:
  - Use `white-space: pre-wrap` when displaying lines, so lines now wrap. [#21](https://github.com/simonw/datasette-ripgrep/issues/21)
  - Long lines in results are now truncated, with a `[...]` link to expand them to full length. [#22](https://github.com/simonw/datasette-ripgrep/issues/22)


html_url: https://github.com/dogsheep/hacker-news-to-sqlite/releases/tag/0.4
node_id: MDc6UmVsZWFzZTM5NzY1NzUx
tag_name: 0.4
target_commitish: main
name: 0.4
created_at: 2021-03-13T19:11:12Z
published_at: 2021-03-13T19:15:06Z
body:
  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
  ```


html_url: https://github.com/simonw/django-sql-dashboard/releases/tag/0.2a0
node_id: MDc6UmVsZWFzZTM5NzkzMjE0
tag_name: 0.2a0
target_commitish: main
name: 0.2a0
created_at: 2021-03-15T01:11:02Z
published_at: 2021-03-15T01:20:22Z
body:
  - Run tests against read-only 'dashboard' connection, refs #18
  - Named SQL parameters are now extracted into form fields. #15
  - Configure URLs using `include()` pattern. #14
  - `?sql=` params are now signed, must first be created using a POST request. #13
  - New custom widgets framework #20
  - Big number widget for displaying a big number. #20


html_url: https://github.com/simonw/django-sql-dashboard/releases/tag/0.3a0
node_id: MDc6UmVsZWFzZTM5Nzk3MjY0
tag_name: 0.3a0
target_commitish: main
name: 0.3a0
created_at: 2021-03-15T04:46:27Z
published_at: 2021-03-15T04:47:46Z
body:
  - Added basic bar chart widget. [#10](https://github.com/simonw/django-sql-dashboard/issues/10)
  - Added `markdown` widget. [#12](https://github.com/simonw/django-sql-dashboard/issues/12)
  - Added `html` widget. [#12](https://github.com/simonw/django-sql-dashboard/issues/12)


html_url: https://github.com/simonw/django-sql-dashboard/releases/tag/0.3a1
node_id: MDc6UmVsZWFzZTM5ODQ5OTk0
tag_name: 0.3a1
target_commitish: main
name: 0.3a1
created_at: 2021-03-16T00:13:39Z
published_at: 2021-03-16T00:14:51Z
body:
  - Changed default permission policy: saved dashboards are now inaccessible to the public by default (#37). This will change when permissions are implemented fully in #27.


html_url: https://github.com/simonw/django-sql-dashboard/releases/tag/0.4a0
node_id: MDc6UmVsZWFzZTQwMDQ3MDcz
tag_name: 0.4a0
target_commitish: main
name: 0.4a0
created_at: 2021-03-19T06:50:16Z
published_at: 2021-03-19T06:50:27Z
body:
  - Documentation now lives at https://django-sql-dashboard.readthedocs.io/ ([#36](https://github.com/simonw/django-sql-dashboard/issues/36))
  - Ability to copy and paste TSV from the default table display. ([#29](https://github.com/simonw/django-sql-dashboard/issues/29))
  - Fixed two bugs with the way count links in column headers work. ([#31](https://github.com/simonw/django-sql-dashboard/issues/31), [#32](https://github.com/simonw/django-sql-dashboard/issues/32))
  - New permissions system: a saved dashboard can now be made public, private, unlisted, group-only, staff-only or superuser-only. ([#27](https://github.com/simonw/django-sql-dashboard/issues/27))


html_url: https://github.com/simonw/datasette-auth-passwords/releases/tag/0.4
node_id: MDc6UmVsZWFzZTQwMDg3OTEx
tag_name: 0.4
target_commitish: main
name: 0.4
created_at: 2021-03-19T21:00:26Z
published_at: 2021-03-19T21:02:12Z
body:
  - Optional support for HTTP Basic authentication. [#15](https://github.com/simonw/datasette-auth-passwords/issues/15)


html_url: https://github.com/simonw/datasette-publish-vercel/releases/tag/0.9.2
node_id: MDc6UmVsZWFzZTQwMTA5ODcz
tag_name: 0.9.2
target_commitish: main
name: 0.9.2
created_at: 2021-03-20T21:47:14Z
published_at: 2021-03-20T21:47:32Z
body:
  - Upgraded to latest `@vercel/python` builder, fixing a number of bugs involving incorrectly handled querystring characters. #28


html_url: https://github.com/simonw/django-sql-dashboard/releases/tag/0.4a2
node_id: MDc6UmVsZWFzZTQwMTI5NDE1
tag_name: 0.4a2
target_commitish: main
name: 0.4a2
created_at: 2021-03-21T21:25:01Z
published_at: 2021-03-21T21:27:00Z
body:
  - Removed unnecessary migration dependency, so this should now install on versions of Django prior to 3.1. Thanks, @jefftriplett. [#46](https://github.com/simonw/django-sql-dashboard/issues/46)


html_url: https://github.com/simonw/tableau-to-sqlite/releases/tag/0.2.1
node_id: MDc6UmVsZWFzZTQwMTM3NDM5
tag_name: 0.2.1
target_commitish: main
name: 0.2.1
created_at: 2021-03-22T03:55:13Z
published_at: 2021-03-22T03:56:03Z
body:
  - Pin underlying version of TableauScraper library to avoid problems caused by breaking changes. [#4](https://github.com/simonw/tableau-to-sqlite/issues/4)


html_url: https://github.com/simonw/django-sql-dashboard/releases/tag/0.5a0
node_id: MDc6UmVsZWFzZTQwMjk1NDQz
tag_name: 0.5a0
target_commitish: main
name: 0.5a0
created_at: 2021-03-24T14:38:39Z
published_at: 2021-03-24T14:42:32Z
body:
  - Link to dashboard from admin edit page. [#48](https://github.com/simonw/django-sql-dashboard/issues/48)
  - Better error message for queries with `%` that needs to be escaped. [#41](https://github.com/simonw/django-sql-dashboard/issues/41)


html_url: https://github.com/simonw/sqlite-transform/releases/tag/0.5
node_id: MDc6UmVsZWFzZTQwMzg0MDU2
tag_name: 0.5
target_commitish: main
name: 0.5
created_at: 2021-03-24T22:58:23Z
published_at: 2021-03-24T22:59:15Z
body:
  - `--dayfirst` and `--yearfirst` options for `parsedate` and `parsedatetime` commands. [#12](https://github.com/simonw/sqlite-transform/issues/12)


html_url: https://github.com/simonw/datasette-publish-vercel/releases/tag/0.9.3
node_id: MDc6UmVsZWFzZTQwNTU5NTkx
tag_name: 0.9.3
target_commitish: main
name: 0.9.3
created_at: 2021-03-26T19:11:34Z
published_at: 2021-03-26T19:12:33Z
body:
  - Better error message for `--project` that contains uppercase characters. [#37](https://github.com/simonw/datasette-publish-vercel/issues/37)
  - Documentation on usage with GitHub Actions. [#36](https://github.com/simonw/datasette-publish-vercel/issues/36)


html_url: https://github.com/simonw/datasette/releases/tag/0.56
node_id: MDc6UmVsZWFzZTQwNjA4NzEx
tag_name: 0.56
target_commitish: main
name: 0.56
created_at: 2021-03-29T00:41:12Z
published_at: 2021-03-29T00:43:36Z
body:
  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))


html_url: https://github.com/eyeseast/geocode-sqlite/releases/tag/v0.2.0
node_id: MDc6UmVsZWFzZTQwOTAwMTc3
tag_name: v0.2.0
target_commitish: main
name: Better argument and option ordering
created_at: 2021-04-03T14:39:37Z
published_at: 2021-04-03T14:44:11Z
body:
  Arguments and options now follow a much more sensible order, following the example of other `thing-to-sqlite` tools. For example:

  ```sh
  geocode-sqlite nominatum geo.db innout_test \
  	--location "{full}, {city}, {state} {postcode}" \
  	--delay 1 \
  	--user-agent "geocode-sqlite"
  ```

  The order is now:

  1. `geocode-sqlite`
  2. geocoder, such as `nominatum`
  3. database path
  4. table name
  5. any additional options


html_url: https://github.com/simonw/airtable-export/releases/tag/0.7
node_id: MDc6UmVsZWFzZTQxMTUyNjI1
tag_name: 0.7
target_commitish: main
name: 0.7
created_at: 2021-04-08T22:17:39Z
published_at: 2021-04-08T22:18:29Z
body:
  - New `--http-read-timeout` option, thanks Eli Block! [#14](https://github.com/simonw/airtable-export/pull/14)


html_url: https://github.com/simonw/django-sql-dashboard/releases/tag/0.6a0
node_id: MDc6UmVsZWFzZTQxMTYxNjI5
tag_name: 0.6a0
target_commitish: main
name: 0.6a0
created_at: 2021-04-09T04:43:21Z
published_at: 2021-04-09T04:44:11Z
body:
  - Fix for bug with columns with identical names. #52
  - `DASHBOARD_ROW_LIMIT` setting. #53
  - Size SQL textarea to fit SQL. #51 


html_url: https://github.com/simonw/django-sql-dashboard/releases/tag/0.7a0
node_id: MDc6UmVsZWFzZTQxMzEwMjYz
tag_name: 0.7a0
target_commitish: main
name: 0.7a0
created_at: 2021-04-12T23:15:50Z
published_at: 2021-04-12T23:17:12Z
body:
  - SQL textarea now always has at least 5 rows
  - Always strip trailing `;` from SQL, fixing bug with "count" links. [#56](https://github.com/simonw/django-sql-dashboard/issues/56)
  - URLize links in results. [#61](https://github.com/simonw/django-sql-dashboard/issues/61)


html_url: https://github.com/simonw/django-sql-dashboard/releases/tag/0.8a0
node_id: MDc6UmVsZWFzZTQxMzkzNzkx
tag_name: 0.8a0
target_commitish: main
name: 0.8a0
created_at: 2021-04-14T05:54:18Z
published_at: 2021-04-14T05:55:20Z
body:
  - Make it easy to provide a custom base template. #7
  - `Content-Security-Policy: frame-ancestors` header. #64
  - Signing no longer uses base64/json. #45
  - `DASHBOARD_UPGRADE_OLD_BASE64_LINKS` mechanism. #65


html_url: https://github.com/simonw/django-sql-dashboard/releases/tag/0.9a0
node_id: MDc6UmVsZWFzZTQxOTcxMDcz
tag_name: 0.9a0
target_commitish: main
name: 0.9a0
created_at: 2021-04-25T17:03:45Z
published_at: 2021-04-25T17:05:06Z
body:
  - Do not show "[count]" links for unambiguous columns. [#69](https://github.com/simonw/django-sql-dashboard/issues/69)
  - Better HTML titles for pages, for better browser history. [#70](https://github.com/simonw/django-sql-dashboard/issues/70)
  - Pretty-print cells containing JSON. [#62](https://github.com/simonw/django-sql-dashboard/issues/62)


html_url: https://github.com/simonw/django-sql-dashboard/releases/tag/0.10a0
node_id: MDc6UmVsZWFzZTQxOTc2ODE1
tag_name: 0.10a0
target_commitish: main
name: 0.10a0
created_at: 2021-04-25T23:07:23Z
published_at: 2021-04-25T23:08:38Z
body:
  - Handle SQL queries too long for a GET. [#58](https://github.com/simonw/django-sql-dashboard/issues/58)
  - Export all results as CSV/TSV feature. [#50](https://github.com/simonw/django-sql-dashboard/issues/50)


html_url: https://github.com/simonw/django-sql-dashboard/releases/tag/0.10a1
node_id: MDc6UmVsZWFzZTQxOTc3MDIz
tag_name: 0.10a1
target_commitish: main
name: 0.10a1
created_at: 2021-04-25T23:24:07Z
published_at: 2021-04-25T23:24:58Z
body:
  - Fixed bug where large SQL queries submitted by POST did not correctly evaluate any named parameters. [#58](https://github.com/simonw/django-sql-dashboard/issues/58)


html_url: https://github.com/simonw/django-sql-dashboard/releases/tag/0.11a0
node_id: MDc6UmVsZWFzZTQyMDI3MTYx
tag_name: 0.11a0
target_commitish: main
name: 0.11a0
created_at: 2021-04-26T18:49:18Z
published_at: 2021-04-26T18:50:46Z
body:
  - "Copy to clipboard" button on pretty-printed JSON results. [#72](https://github.com/simonw/django-sql-dashboard/issues/72)
  - Saved dashboards no longer display broken export buttons. [#71](https://github.com/simonw/django-sql-dashboard/issues/71)


html_url: https://github.com/simonw/django-sql-dashboard/releases/tag/0.12
node_id: MDc6UmVsZWFzZTQyNjU4MDU3
tag_name: 0.12
target_commitish: main
name: 0.12
created_at: 2021-05-09T04:27:59Z
published_at: 2021-05-09T04:30:09Z
body:
  First non-alpha release! Django SQL Dashboard is now ready for people to use against their production Django applications.

  - Saved dashboards can now be created from the interactive dashboard page. [#44](https://github.com/simonw/django-sql-dashboard/issues/44)
  - New progress bar widget for queries that return numeric columns `total_count` and `completed_count`. [#77](https://github.com/simonw/django-sql-dashboard/issues/77)
  - The list of available tables now better reflects your current permissions, and shows the columns for each listed table. [#79](https://github.com/simonw/django-sql-dashboard/issues/79), [#80](https://github.com/simonw/django-sql-dashboard/issues/80)
  - The dashboard index page now lists saved dashboards that the user is able to view or edit. [#81](https://github.com/simonw/django-sql-dashboard/issues/81)
  - "Edit" link for dashboards links to the Django Admin, which now respects the edit policy set for a dashboard. [#44](https://github.com/simonw/django-sql-dashboard/issues/44)
  - New documentation section covering security. [#6](https://github.com/simonw/django-sql-dashboard/issues/6)
  - Show row count on non-truncated results. [#76](https://github.com/simonw/django-sql-dashboard/issues/76)
  - More robust extraction of named parameteters from queries, fixing some errer-cases. [#75](https://github.com/simonw/django-sql-dashboard/issues/75)
  - Custom widgets can now extend a `django_sql_dashboard/widgets/_base_widget.html` base template. [#78](https://github.com/simonw/django-sql-dashboard/issues/78)
  - Fixed a bug caused by errors on saved dashboard pages being displayed as editable text. [#74](https://github.com/simonw/django-sql-dashboard/issues/74)
  - Unlisted public dashboards now include a robots tag to avoid being indexed by search engines. [#42](https://github.com/simonw/django-sql-dashboard/issues/42)


html_url: https://github.com/simonw/django-sql-dashboard/releases/tag/0.12.1
node_id: MDc6UmVsZWFzZTQyNjU4MTU0
tag_name: 0.12.1
target_commitish: main
name: 0.12.1
created_at: 2021-05-09T04:39:48Z
published_at: 2021-05-09T04:41:38Z
body:
  - Improved and updated documentation for [saved dashboards](https://django-sql-dashboard.readthedocs.io/en/latest/saved-dashboards.html). [#84](https://github.com/simonw/django-sql-dashboard/issues/84)
  - Added "Remove all queries" link for resetting interactive dashboard. [#85](https://github.com/simonw/django-sql-dashboard/issues/85)


html_url: https://github.com/simonw/django-sql-dashboard/releases/tag/0.12.2
node_id: MDc6UmVsZWFzZTQyNjU4ODA0
tag_name: 0.12.2
target_commitish: main
name: 0.12.2
created_at: 2021-05-09T05:45:12Z
published_at: 2021-05-09T05:47:24Z
body:
  - Documentation is now hosted at https://django-sql-dashboard.datasette.io/ [#86](https://github.com/simonw/django-sql-dashboard/issues/86)
  - Dashboard index link is no longer shown on saved dashboards to to users without permission to view it. [#87](https://github.com/simonw/django-sql-dashboard/issues/87)


html_url: https://github.com/simonw/django-sql-dashboard/releases/tag/0.12.3
node_id: MDc6UmVsZWFzZTQyNjU5Mzcw
tag_name: 0.12.3
target_commitish: main
name: 0.12.3
created_at: 2021-05-09T06:39:15Z
published_at: 2021-05-09T06:40:54Z
body:
  - Fixed bug where saved dashboards relating to groups could be displayed multiple times. [#90](https://github.com/simonw/django-sql-dashboard/issues/90)
  - Removed duplicate "Run queries" button. [#89](https://github.com/simonw/django-sql-dashboard/issues/89)
  - HTML page titles now include named parameter values, if available. [#88](https://github.com/simonw/django-sql-dashboard/issues/88)


html_url: https://github.com/simonw/django-sql-dashboard/releases/tag/0.13
node_id: MDc6UmVsZWFzZTQyNzE1MTMy
tag_name: 0.13
target_commitish: main
name: 0.13
created_at: 2021-05-10T15:44:18Z
published_at: 2021-05-10T15:47:08Z
body:
  - New word cloud widget displayed when queries return `wordcount_word` and `wordcount_count` columns. [#91](https://github.com/simonw/django-sql-dashboard/issues/91)
  - All pages are now served with `cache-control: private` header if the user is logged in. [#92](https://github.com/simonw/django-sql-dashboard/issues/92)
  - Much improved README, including a detailed list of features. [#40](https://github.com/simonw/django-sql-dashboard/issues/40)


html_url: https://github.com/simonw/django-sql-dashboard/releases/tag/0.14
node_id: MDc6UmVsZWFzZTQzMDIwNTY1
tag_name: 0.14
target_commitish: main
name: 0.14
created_at: 2021-05-16T20:14:52Z
published_at: 2021-05-16T20:24:32Z
body:
  - Fixed a security and permissions flaw, where users without the `execute_sql` permission could still run custom queries by editing saved dashboards using the Django admin interface. [#94](https://github.com/simonw/django-sql-dashboard/issues/94)
  - Bar charts now preserve the order in which the data is returned by the query. [#106](https://github.com/simonw/django-sql-dashboard/issues/106)
  - Example select statements now include explicit columns. [#105](https://github.com/simonw/django-sql-dashboard/issues/105)
  - Columns on the dashboard page now respond to media queries, collapsing to a single column on narrow or mobile browser windows. [#106](https://github.com/simonw/django-sql-dashboard/issues/106)
  - Fixed hard-coded `/dashboard/` URL, thanks Flávio Juvenal da Silva Junior. [#99](https://github.com/simonw/django-sql-dashboard/issues/99)
  - Fixed bug where `?_save-` parameters could be accidentally reflected in the query string. [#104](https://github.com/simonw/django-sql-dashboard/issues/104)
  - Explicitly require at least Django 3.0. [#101](https://github.com/simonw/django-sql-dashboard/issues/101)
  - Fixed a warning about `AutoField` migrations with Django 3.2. [#103](https://github.com/simonw/django-sql-dashboard/issues/103)
  - Fixed a bug where users lacking permissions could end up in an infinite redirect. [#30](https://github.com/simonw/django-sql-dashboard/issues/30)
  - Configuration and security documentation now recommends using a read-only database replica as the most robust option. [#95](https://github.com/simonw/django-sql-dashboard/issues/95)
  - Added screenshots and demo links for all of the included [widgets](https://django-sql-dashboard.datasette.io/en/latest/widgets.html). [#96](https://github.com/simonw/django-sql-dashboard/issues/96)


html_url: https://github.com/simonw/geojson-to-sqlite/releases/tag/0.3
node_id: MDc6UmVsZWFzZTQzMDIzOTk5
tag_name: 0.3
target_commitish: main
name: 0.3
created_at: 2021-05-17T00:14:20Z
published_at: 2021-05-17T00:14:27Z
body:
  - New `--nl` option for consuming newline-delimited GeoJSON - thanks, Chris Amico! [#13](https://github.com/simonw/geojson-to-sqlite/issues/13)
  - New `--spatial-index` option which creates the table using SpatiaLite and adds a spatial index for the geometry column. [#17](https://github.com/simonw/geojson-to-sqlite/issues/17)


html_url: https://github.com/simonw/geojson-to-sqlite/releases/tag/0.3.1
node_id: MDc6UmVsZWFzZTQzMzEwNjU3
tag_name: 0.3.1
target_commitish: main
name: 0.3.1
created_at: 2021-05-20T19:14:38Z
published_at: 2021-05-20T19:15:44Z
body:
  - Fixed bug where the `id` column did not come first in the table schema. [#20](https://github.com/simonw/geojson-to-sqlite/issues/20)


html_url: https://github.com/simonw/datasette/releases/tag/0.57a0
node_id: MDc6UmVsZWFzZTQzNDE5MDkx
tag_name: 0.57a0
target_commitish: main
name: 0.57a0
created_at: 2021-05-23T00:45:54Z
published_at: 2021-05-23T00:46:44Z
body:
  Mainly dependency bumps, plus a new `?_facet_size=` argument.

  -   Updated dependencies: pytest-asyncio, Black, jinja2, aiofiles, itsdangerous
  -   Fixed bug where columns called "Link" were incorrectly displayed in bold. ([#1308](https://github.com/simonw/datasette/issues/1308))
  -   New `?_facet_size=` argument for customizing the number of facet results returned on a page. ([#1332](https://github.com/simonw/datasette/issues/1332))


html_url: https://github.com/simonw/django-sql-dashboard/releases/tag/0.15
node_id: MDc6UmVsZWFzZTQzNDk0NDc2
tag_name: 0.15
target_commitish: main
name: 0.15
created_at: 2021-05-25T00:30:10Z
published_at: 2021-05-25T00:34:05Z
body:
  - Configuration instructions for people using `dj-database-url` and `django-configurations` - thanks, Paolo Melchiorre. [#110](https://github.com/simonw/django-sql-dashboard/issues/110)
  - Added a useful SQL pattern to the [progress bar widget documentation](https://django-sql-dashboard.datasette.io/en/latest/widgets.html#progress-bar-total-count-completed-count).
  - SQL queries on saved dashboards are now hidden behind a details/summary element. [#117](https://github.com/simonw/django-sql-dashboard/issues/117)
  - Documentation now [covers the execute_sql permission](https://django-sql-dashboard.datasette.io/en/latest/setup.html#django-permissions). [#112](https://github.com/simonw/django-sql-dashboard/issues/112)


html_url: https://github.com/simonw/datasette/releases/tag/0.57a1
node_id: MDc6UmVsZWFzZTQzNzEzNjg2
tag_name: 0.57a1
target_commitish: main
name: 0.57a1
created_at: 2021-05-27T16:54:21Z
published_at: 2021-05-27T16:58:41Z
body:
  - Docker image now allows `apt-get install`. [#1320](https://github.com/simonw/datasette/issues/1320)
  - `?_col=` and `?_nocol=` options to show and hide columns in a table, plus UI for doing this in the column cog menu.  [#615](https://github.com/simonw/datasette/issues/615)
  - New `?_facet_size=max` option, linked to from the … on truncated facets. [#1337](https://github.com/simonw/datasette/issues/1337)
  - Heroku runtime used by `datasette publish heroku` is now `python-3.8.10`.
  - Multi-arch support for built Docker images using Buildx - thanks, [Blair Drummand](https://github.com/blairdrummond). [#1319](https://github.com/simonw/datasette/pull/1319)


html_url: https://github.com/simonw/sqlite-utils/releases/tag/3.7
node_id: MDc6UmVsZWFzZTQzNzk3MjEy
tag_name: 3.7
target_commitish: main
name: 3.7
created_at: 2021-05-29T05:47:59Z
published_at: 2021-05-29T05:49:59Z
body:
  -   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))


html_url: https://github.com/simonw/sqlite-utils/releases/tag/3.8
node_id: MDc6UmVsZWFzZTQ0MDE5MzYx
tag_name: 3.8
target_commitish: main
name: 3.8
created_at: 2021-06-03T05:16:33Z
published_at: 2021-06-03T05:17:33Z
body:
  -   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))


html_url: https://github.com/simonw/django-sql-dashboard/releases/tag/0.15.1
node_id: MDc6UmVsZWFzZTQ0MDU2Njk2
tag_name: 0.15.1
target_commitish: main
name: 0.15.1
created_at: 2021-06-03T16:26:37Z
published_at: 2021-06-03T16:27:35Z
body:
  - Fixed 500 error caused when markdown widget attempted to render a null value. [#124](https://github.com/simonw/django-sql-dashboard/issues/124)


html_url: https://github.com/simonw/datasette/releases/tag/0.56.1
node_id: MDc6UmVsZWFzZTQ0MTU1NDU5
tag_name: 0.56.1
target_commitish: 0.56.x
name: 0.56.1
created_at: 2021-06-05T21:54:47Z
published_at: 2021-06-05T22:00:01Z
body:
  - Fix for a security hole: [reflected cross-site scripting](https://owasp.org/www-community/attacks/xss/#reflected-xss-attacks) in the `?_trace=1` feature. [#1360](https://github.com/simonw/datasette/issues/1360)


html_url: https://github.com/simonw/datasette/releases/tag/0.57
node_id: MDc6UmVsZWFzZTQ0MTU1NjAx
tag_name: 0.57
target_commitish: main
name: 0.57
created_at: 2021-06-05T22:06:55Z
published_at: 2021-06-05T22:11:18Z
body:
  **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_debug](https://docs.datasette.io/en/stable/settings.html#setting-trace-debug) setting, which is turned off by default. ([#1359](https://github.com/simonw/datasette/issues/1359))

  ### Bug fixes and other improvements

  -   [Custom pages](https://docs.datasette.io/en/stable/custom_templates.html#custom-pages) now work correctly when combined with the [base_url](https://docs.datasette.io/en/stable/settings.html#setting-base-url) setting. ([#1238](https://github.com/simonw/datasette/issues/1238))
  -   Fixed intermittent error displaying the index page when the user did not have permission to access one of the tables. Thanks, Guy Freeman. ([#1305](https://github.com/simonw/datasette/issues/1305))
  -   Columns with the name "Link" are no longer incorrectly displayed in bold. ([#1308](https://github.com/simonw/datasette/issues/1308))
  -   Fixed error caused by tables with a single quote in their names. ([#1257](https://github.com/simonw/datasette/issues/1257))
  -   Updated dependencies: `pytest-asyncio`, `Black`, `jinja2`, `aiofiles`, `click`, and `itsdangerous`.
  -   The official Datasette Docker image now supports `apt-get install`. ([#1320](https://github.com/simonw/datasette/issues/1320))
  -   The Heroku runtime used by `datasette publish heroku` is now `python-3.8.10`.

reactions:
  {"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}


html_url: https://github.com/simonw/datasette-auth-passwords/releases/tag/0.4.1
node_id: MDc6UmVsZWFzZTQ0MTU2NDg1
tag_name: 0.4.1
target_commitish: main
name: 0.4.1
created_at: 2021-06-05T23:37:05Z
published_at: 2021-06-05T23:39:15Z
body:
  - Now depends on datasette>=0.56.1, to avoid a [Datasette security vulnerability](https://github.com/simonw/datasette/issues/1360).


html_url: https://github.com/simonw/django-sql-dashboard/releases/tag/0.16
node_id: MDc6UmVsZWFzZTQ0MTcxMjgz
tag_name: 0.16
target_commitish: main
name: 0.16
created_at: 2021-06-06T19:10:26Z
published_at: 2021-06-06T19:12:45Z
body:
  - This release includes a small potentially backwards-incompatible change: the `description` field for a saved dashboard is now treated as Markdown and rendered as such when the saved dashboard is displayed. It is very unlikely that this will affect any of your existing dashboards but you should still check before applying the upgrade. Thanks, Atul Varma. [#115](https://github.com/simonw/django-sql-dashboard/issues/115)


html_url: https://github.com/simonw/datasette/releases/tag/0.57.1
node_id: MDc6UmVsZWFzZTQ0MjkyNTIz
tag_name: 0.57.1
target_commitish: main
name: 0.57.1
created_at: 2021-06-08T16:26:45Z
published_at: 2021-06-08T16:28:31Z
body:
  -   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))

reactions:
  {"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}


html_url: https://github.com/simonw/datasette/releases/tag/0.58a0
node_id: MDc6UmVsZWFzZTQ0Mzg4NDg1
tag_name: 0.58a0
target_commitish: main
name: 0.58a0
created_at: 2021-06-10T04:51:14Z
published_at: 2021-06-10T04:52:45Z
body:
  -   The [menu_links()](https://docs.datasette.io/en/latest/plugin_hooks.html#plugin-hook-menu-links), [table_actions()](https://docs.datasette.io/en/latest/plugin_hooks.html#plugin-hook-table-actions) and [database_actions()](https://docs.datasette.io/en/latest/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))


html_url: https://github.com/simonw/db-to-sqlite/releases/tag/1.4
node_id: MDc6UmVsZWFzZTQ0NTA4MTQz
tag_name: 1.4
target_commitish: main
name: 1.4
created_at: 2021-06-11T22:52:06Z
published_at: 2021-06-11T22:55:56Z
body:
  - New `--postgres-schema` option for specifying a different PostgreSQL schema, thanks Jeremy Dormitzer. [#29](https://github.com/simonw/db-to-sqlite/pull/29)
  - Correctly handles table names that need escaping, such as `user` in PostgreSQL. [#25](https://github.com/simonw/db-to-sqlite/issues/25)
  - Empty tables are now created in the SQLite database with a matching schema, rather than being skipped. [#28](https://github.com/simonw/db-to-sqlite/issues/28)
  - Connection strings starting with `postgres://` are treated as if they started with `postgresql://`. [#34](https://github.com/simonw/db-to-sqlite/issues/34)


html_url: https://github.com/simonw/sqlite-utils/releases/tag/3.9
node_id: MDc6UmVsZWFzZTQ0NTExMTkw
tag_name: 3.9
target_commitish: main
name: 3.9
created_at: 2021-06-12T02:07:18Z
published_at: 2021-06-12T02:08:03Z
body:
  -   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).

reactions:
  {"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}


html_url: https://github.com/eyeseast/datasette-geojson/releases/tag/v0.3.0
node_id: MDc6UmVsZWFzZTQ0NTI3NzQy
tag_name: v0.3.0
target_commitish: main
name: Automatically parse spatialite's geometry blob
created_at: 2021-06-13T00:02:32Z
published_at: 2021-06-13T00:04:19Z
body:
  - Spatialite's geometry blob is now automatically parsed into GeoJSON, so the same query will output GeoJSON with and without Spatialite.


html_url: https://github.com/simonw/sqlite-utils/releases/tag/3.9.1
node_id: MDc6UmVsZWFzZTQ0NTI5MjE5
tag_name: 3.9.1
target_commitish: main
name: 3.9.1
created_at: 2021-06-13T02:59:08Z
published_at: 2021-06-13T03:00:45Z
body:
  -   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))


html_url: https://github.com/simonw/markdown-to-sqlite/releases/tag/1.0
node_id: MDc6UmVsZWFzZTQ0NTI5ODY0
tag_name: 1.0
target_commitish: main
name: 1.0
created_at: 2021-06-13T04:15:14Z
published_at: 2021-06-13T04:17:15Z
body:
  - **BREAKING CHANGE**: The option order for this command is now `markdown-to-sqlite database.db tablename file1.md file2.md` - prior to version 1.0 the order was `markdown-to-sqlite file1.md file2.md database.db tablename`. This change was made for improved consistency with other `x-to-sqlite` tools.


html_url: https://github.com/simonw/yaml-to-sqlite/releases/tag/1.0
node_id: MDc6UmVsZWFzZTQ0NTMwMDUy
tag_name: 1.0
target_commitish: main
name: 1.0
created_at: 2021-06-13T04:44:00Z
published_at: 2021-06-13T04:45:52Z
body:
  - New feature: `yaml-to-sqlite dogs.db dogs.yaml --single-column=name` can be used to import YAML files consisting of a list of items into a single table with a single primary key column. [#5](https://github.com/simonw/yaml-to-sqlite/issues/5)
  - Importing YAML files with new columns will now alter the table to add those columns. [#4](https://github.com/simonw/yaml-to-sqlite/issues/4)


html_url: https://github.com/dogsheep/dogsheep-beta/releases/tag/0.10.2
node_id: MDc6UmVsZWFzZTQ0NTM3MzI5
tag_name: 0.10.2
target_commitish: main
name: 0.10.2
created_at: 2021-06-13T14:37:17Z
published_at: 2021-06-13T14:38:09Z
body:
  - Fixed bug where searches consisting only of whitespace caused a server error. [#33](https://github.com/dogsheep/dogsheep-beta/issues/33)


html_url: https://github.com/simonw/sqlite-utils/releases/tag/3.10
node_id: MDc6UmVsZWFzZTQ0OTA0OTI4
tag_name: 3.10
target_commitish: main
name: 3.10
created_at: 2021-06-19T16:09:29Z
published_at: 2021-06-19T16:13:11Z
body:
  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"}]
  ```

  Here the `species.csv` file becomes the `species` table, the `creatures.csv` file becomes the `creatures` table and the output is JSON, the default output format.

  You can also use the `--attach` option to attach existing SQLite database files to the in-memory database, in order to join data from CSV or JSON directly against your existing tables.

  Full documentation of this new feature is available in [Querying data directly using an in-memory database](https://sqlite-utils.datasette.io/en/stable/cli.html#cli-memory). ([#272](https://github.com/simonw/sqlite-utils/issues/272))

  ### sqlite-utils insert --detect-types

  The [sqlite-utils insert](https://sqlite-utils.datasette.io/en/stable/cli.html#cli-inserting-data) command can be used to insert data from JSON, CSV or TSV files into a SQLite database file. The new `--detect-types` option (shortcut `-d`), when used in conjunction with a CSV or TSV import, will automatically detect if columns in the file are integers or floating point numbers as opposed to treating everything as a text column and create the new table with the corresponding schema. See [Inserting CSV or TSV data](https://sqlite-utils.datasette.io/en/stable/cli.html#cli-insert-csv-tsv) for details. ([#282](https://github.com/simonw/sqlite-utils/issues/282))

  ### Other changes

  -   **Bug fix**: `table.transform()`, when run against a table without explicit primary keys, would incorrectly create a new version of the table with an explicit primary key column called `rowid`. ([#284](https://github.com/simonw/sqlite-utils/issues/284))
  -   New `table.use_rowid` introspection property, see [.use_rowid](https://sqlite-utils.datasette.io/en/stable/python-api.html#python-api-introspection-use-rowid). ([#285](https://github.com/simonw/sqlite-utils/issues/285))
  -   The new `sqlite-utils dump file.db` command outputs a SQL dump that can be used to recreate a database. ([#274](https://github.com/simonw/sqlite-utils/issues/274))
  -   `-h` now works as a shortcut for `--help`, thanks Loren McIntyre. ([#276](https://github.com/simonw/sqlite-utils/issues/276))
  -   Now using [pytest-cov](https://pytest-cov.readthedocs.io/) and [Codecov](https://about.codecov.io/) to track test coverage - currently at 96%. ([#275](https://github.com/simonw/sqlite-utils/issues/275))
  -   SQL errors that occur when using `sqlite-utils query` are now displayed as CLI errors.

reactions:
  {"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}


html_url: https://github.com/simonw/sqlite-utils/releases/tag/3.11
node_id: MDc6UmVsZWFzZTQ0OTI3Mjky
tag_name: 3.11
target_commitish: main
name: 3.11
created_at: 2021-06-20T18:52:15Z
published_at: 2021-06-20T18:53:09Z
body:
  -   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))


html_url: https://github.com/simonw/datasette/releases/tag/0.58a1
node_id: MDc6UmVsZWFzZTQ1MTgyMTU2
tag_name: 0.58a1
target_commitish: main
name: 0.58a1
created_at: 2021-06-24T16:24:59Z
published_at: 2021-06-24T16:29:09Z
body:
  -   New plugin hook: [skip_csrf(datasette, scope)](https://docs.datasette.io/en/latest//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))
  -   `POST` requests to endpoints that do not support that HTTP verb now return a 405 error.
  -   `db.path` can now be provided as a `pathlib.Path` object, useful when writing unit tests for plugins. Thanks, Chris Amico. ([#1365](https://github.com/simonw/datasette/issues/1365))

reactions:
  {"url": "https://api.github.com/repos/simonw/datasette/releases/45182156/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}


html_url: https://github.com/simonw/sqlite-utils/releases/tag/3.12
node_id: MDc6UmVsZWFzZTQ1MjUxNjI0
tag_name: 3.12
target_commitish: main
name: 3.12
created_at: 2021-06-25T17:59:05Z
published_at: 2021-06-25T18:00:18Z
body:
  -   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))


html_url: https://github.com/simonw/django-sql-dashboard/releases/tag/1.0
node_id: MDc6UmVsZWFzZTQ1NTMyODc3
tag_name: 1.0
target_commitish: main
name: 1.0
created_at: 2021-07-01T03:52:11Z
published_at: 2021-07-01T03:58:28Z
body:
  - Implemented a new column cog menu, with options for sorting, counting distinct items and counting by values. [#57](https://github.com/simonw/django-sql-dashboard/issues/57)
  - Fixed bug where columns named after PostgreSQL reserved words (such as `on` or `group`) produced invalid suggested SELECT queries. [#134](https://github.com/simonw/django-sql-dashboard/issues/134)
  - New Docker Compose configuration to support Docker development environments. Thanks, Atul Varma. [#128](https://github.com/simonw/django-sql-dashboard/issues/128)
  - Admin change list view now only shows dashboards the user has permission to edit. Thanks, Atul Varma. [#130](https://github.com/simonw/django-sql-dashboard/issues/130)


html_url: https://github.com/simonw/django-sql-dashboard/releases/tag/1.0.1
node_id: MDc6UmVsZWFzZTQ1NzQwNzc1
tag_name: 1.0.1
target_commitish: main
name: 1.0.1
created_at: 2021-07-06T00:35:24Z
published_at: 2021-07-06T00:37:06Z
body:
  - Fixed an error when running against PostgreSQL 10 - thanks, Ryan Cheley. [#138](https://github.com/simonw/django-sql-dashboard/pull/138)
  - This tool is now tested against PostgreSQL 10, 11, 12 and 13. [#139](https://github.com/simonw/django-sql-dashboard/issues/139)


html_url: https://github.com/eyeseast/datasette-geojson-map/releases/tag/v0.3.0
node_id: MDc6UmVsZWFzZTQ1ODU4NDc1
tag_name: v0.3.0
target_commitish: main
name: Custom tile layers
created_at: 2021-07-07T18:18:33Z
published_at: 2021-07-07T18:19:52Z
body:
  - Configure tile layers by setting `tile_layer` and `tile_layer_options` in metadata
  - Adds a demo showing Boston neighborhoods with Stamen Terrain tiles


html_url: https://github.com/simonw/datasette/releases/tag/0.58
node_id: MDc6UmVsZWFzZTQ2MjIyMDM2
tag_name: 0.58
target_commitish: main
name: 0.58
created_at: 2021-07-15T00:33:04Z
published_at: 2021-07-15T00:37:57Z
body:
  - 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 error.
  - `db.path` can now be provided as a `pathlib.Path` object, useful when writing unit tests for plugins. Thanks, Chris Amico. ([#1365](https://github.com/simonw/datasette/issues/1365))


html_url: https://github.com/simonw/datasette/releases/tag/0.58.1
node_id: MDc6UmVsZWFzZTQ2MzQxODE0
tag_name: 0.58.1
target_commitish: main
name: 0.58.1
created_at: 2021-07-16T19:50:06Z
published_at: 2021-07-16T19:51:15Z
body:
  -  Fix for an intermittent race condition caused by the `refresh_schemas()` internal function. ([#1231](https://github.com/simonw/datasette/issues/1231))


html_url: https://github.com/simonw/datasette-graphql/releases/tag/1.5
node_id: MDc6UmVsZWFzZTQ2MzQyNDI2
tag_name: 1.5
target_commitish: main
name: 1.5
created_at: 2021-07-16T19:56:15Z
published_at: 2021-07-16T20:03:28Z
body:
  - Now uses the `datasette.client` mechanism for internal calls. [#61](https://github.com/simonw/datasette-graphql/issues/61)
  - Depends on datasette>=0.58.1


html_url: https://github.com/simonw/datasette-export-notebook/releases/tag/1.0
node_id: MDc6UmVsZWFzZTQ2MzUxOTgw
tag_name: 1.0
target_commitish: main
name: 1.0
created_at: 2021-07-17T03:58:28Z
published_at: 2021-07-17T04:01:49Z
body:
  - New "copy to clipboard" buttons next to each code example. [#12](https://github.com/simonw/datasette-export-notebook/issues/12)
  - Observable export code no longer needs to import d3. [#10](https://github.com/simonw/datasette-export-notebook/issues/10)
  - Better wrapping of code, especially on mobile screens. [#11](https://github.com/simonw/datasette-export-notebook/issues/11)
  - d3 export examples now use `d3.autoType`. [#13](https://github.com/simonw/datasette-export-notebook/issues/13)


html_url: https://github.com/simonw/sqlite-transform/releases/tag/1.0
node_id: MDc6UmVsZWFzZTQ2NTEzMDE0
tag_name: 1.0
target_commitish: main
name: 1.0
created_at: 2021-07-21T01:01:47Z
published_at: 2021-07-21T01:05:05Z
body:
  New `--output colname` and `--output-type integer` options for all of the commands, see [saving the result to a separate column](https://github.com/simonw/sqlite-transform/blob/1.0/README.md#saving-the-result-to-a-separate-column). [#13](https://github.com/simonw/sqlite-transform/issues/13)


html_url: https://github.com/simonw/sqlite-transform/releases/tag/1.1
node_id: MDc6UmVsZWFzZTQ2NTYyODk0
tag_name: 1.1
target_commitish: main
name: 1.1
created_at: 2021-07-21T19:04:18Z
published_at: 2021-07-21T19:05:25Z
body:
  New `-s` or `--silent` option for hiding the progress bar. [#14](https://github.com/simonw/sqlite-transform/issues/14)


html_url: https://github.com/simonw/sqlite-utils/releases/tag/3.13
node_id: MDc6UmVsZWFzZTQ2NzIwODQ3
tag_name: 3.13
target_commitish: main
name: 3.13
created_at: 2021-07-24T22:15:27Z
published_at: 2021-07-24T22:17:47Z
body:
  -   `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.


html_url: https://github.com/simonw/sqlite-transform/releases/tag/1.2
node_id: MDc6UmVsZWFzZTQ2NzIyNTM1
tag_name: 1.2
target_commitish: main
name: 1.2
created_at: 2021-07-25T00:59:41Z
published_at: 2021-07-25T01:02:14Z
body:
  - `sqlite-transform lambda --multi` option allowing the function to return a Python dictionary defining multiple columns that will be created and populated. [#4](https://github.com/simonw/sqlite-transform/issues/4)
  - `--drop` option can be used with `--output` or `--multi` to drop the original column. [#15](https://github.com/simonw/sqlite-transform/issues/15)
  - All commands now require at least one column to be specified. [#17](https://github.com/simonw/sqlite-transform/issues/17)


html_url: https://github.com/simonw/datasette-publish-vercel/releases/tag/0.10
node_id: MDc6UmVsZWFzZTQ2NzM1MTUx
tag_name: 0.10
target_commitish: main
name: 0.10
created_at: 2021-07-25T18:36:56Z
published_at: 2021-07-25T18:38:42Z
body:
  - New `--scope` option for publishing to a different Vercel scope, for example a different team. [#47](https://github.com/simonw/datasette-publish-vercel/issues/47)

reactions:
  {"url": "https://api.github.com/repos/simonw/datasette-publish-vercel/releases/46735151/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}


html_url: https://github.com/simonw/datasette-haversine/releases/tag/0.2
node_id: MDc6UmVsZWFzZTQ2OTMxNTg3
tag_name: 0.2
target_commitish: main
name: 0.2
created_at: 2021-07-28T20:13:05Z
published_at: 2021-07-28T20:14:24Z
body:
  - Handle string columns in addition to float columns. [#1](https://github.com/simonw/datasette-haversine/issues/1)


html_url: https://github.com/simonw/datasette-remote-metadata/releases/tag/0.1
node_id: MDc6UmVsZWFzZTQ2OTQzNjIy
tag_name: 0.1
target_commitish: main
name: 0.1
created_at: 2021-07-29T01:42:17Z
published_at: 2021-07-29T01:43:16Z
body:
  - Quit Datasette on startup if remote metadata cannot be fetched. [#1](https://github.com/simonw/datasette-remote-metadata/issues/1)
  - Documentation and tests for all configuration options. [#2](https://github.com/simonw/datasette-remote-metadata/issues/2)


html_url: https://github.com/simonw/datasette-publish-fly/releases/tag/1.0.2
node_id: MDc6UmVsZWFzZTQ3MDc1ODg3
tag_name: 1.0.2
target_commitish: main
name: 1.0.2
created_at: 2021-07-30T22:10:17Z
published_at: 2021-07-30T22:11:11Z
body:
  - Now uses `--json` option to read existing application names from `flyctl apps list`. [#5](https://github.com/simonw/datasette-publish-fly/issues/5)


html_url: https://github.com/simonw/datasette-json-html/releases/tag/1.0.1
node_id: MDc6UmVsZWFzZTQ3MDk2NzQ5
tag_name: 1.0.1
target_commitish: main
name: 1.0.1
created_at: 2021-07-31T19:21:12Z
published_at: 2021-07-31T19:22:20Z
body:
  - Now also tested against Python 3.9.
  - Fixed Jinja2 deprecation warnings. [#7](https://github.com/simonw/datasette-json-html/issues/7)


html_url: https://github.com/simonw/sqlite-utils/releases/tag/3.14
node_id: MDc6UmVsZWFzZTQ3MTg1ODQx
tag_name: 3.14
target_commitish: main
name: 3.14
created_at: 2021-08-02T21:29:16Z
published_at: 2021-08-02T21:34:43Z
body:
  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))


html_url: https://github.com/simonw/sqlite-transform/releases/tag/1.2.1
node_id: MDc6UmVsZWFzZTQ3MTg4MDU4
tag_name: 1.2.1
target_commitish: main
name: 1.2.1
created_at: 2021-08-02T22:06:20Z
published_at: 2021-08-02T22:07:57Z
body:
  - **This tool is no longer maintained**. The latest release of [sqlite-utils](https://sqlite-utils.datasette.io/) introduces a new [sqlite-utils convert](https://sqlite-utils.datasette.io/en/stable/cli.html#converting-data-in-columns) command which provides a super-set of the functionality provided by `sqlite-transform`. [#11](https://github.com/simonw/sqlite-transform/issues/11)


html_url: https://github.com/simonw/datasette/releases/tag/0.59a0
node_id: MDc6UmVsZWFzZTQ3NDYxNzM3
tag_name: 0.59a0
target_commitish: main
name: 0.59a0
created_at: 2021-08-07T05:40:07Z
published_at: 2021-08-07T05:42:25Z
body:
  -   [register_routes(datasette)](https://docs.datasette.io/en/latest/plugin_hooks.html#plugin-register-routes) plugin hook now accepts an optional `datasette` argument. ([#1404](https://github.com/simonw/datasette/issues/1404))
  -   New `hide_sql` canned query option for defaulting to hiding the SQL quey used by a canned query, see [Additional canned query options](https://docs.datasette.io/en/latest/sql_queries.html#canned-queries-options). ([#1422](https://github.com/simonw/datasette/issues/1422))
  -   New `--cpu` option for [datasette publish cloudrun](https://docs.datasette.io/en/latest/publish.html#publish-cloud-run). ([#1420](https://github.com/simonw/datasette/issues/1420))
  -   If [Rich](https://github.com/willmcgugan/rich) is installed in the same virtual environment as Datasette, it will be used to provide enhanced display of error tracebacks on the console. ([#1416](https://github.com/simonw/datasette/issues/1416))
  -   `datasette.utils` [parse_metadata(content)](https://docs.datasette.io/en/latest/internals.html#internals-utils-parse-metadata) function, used by the new [datasette-remote-metadata plugin](https://datasette.io/plugins/datasette-remote-metadata), is now a documented API. ([#1405](https://github.com/simonw/datasette/issues/1405))


html_url: https://github.com/simonw/datasette/releases/tag/0.59a1
node_id: MDc6UmVsZWFzZTQ3NTA3MTc0
tag_name: 0.59a1
target_commitish: main
name: 0.59a1
created_at: 2021-08-09T01:13:03Z
published_at: 2021-08-09T01:14:06Z
body:
  -   The [render_cell()](https://docs.datasette.io/en/latest/plugin_hooks.html#plugin-hook-render-cell) plugin hook can now return an awaitable function. This means the hook can execute SQL queries. ([#1425](https://github.com/simonw/datasette/issues/1425))

reactions:
  {"url": "https://api.github.com/repos/simonw/datasette/releases/47507174/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0}


html_url: https://github.com/simonw/datasette-query-links/releases/tag/0.1.2
node_id: MDc6UmVsZWFzZTQ3NTA5MTg4
tag_name: 0.1.2
target_commitish: main
name: 0.1.2
created_at: 2021-08-09T02:55:08Z
published_at: 2021-08-09T02:56:40Z
body:
  - More efficient way to verify queries using `EXPLAIN` - thanks, Dr. Beto Dealmeida. [#3](https://github.com/simonw/datasette-query-links/issues/3)


html_url: https://github.com/simonw/sqlite-utils/releases/tag/3.15
node_id: MDc6UmVsZWFzZTQ3NTY5MTM0
tag_name: 3.15
target_commitish: main
name: 3.15
created_at: 2021-08-09T22:42:06Z
published_at: 2021-08-09T22:43:16Z
body:
  -   `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))


html_url: https://github.com/simonw/sqlite-utils/releases/tag/3.15.1
node_id: MDc6UmVsZWFzZTQ3NjM2MTA5
tag_name: 3.15.1
target_commitish: main
name: 3.15.1
created_at: 2021-08-10T23:55:12Z
published_at: 2021-08-10T23:55:38Z
body:
  -   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))

reactions:
  {"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}


html_url: https://github.com/simonw/datasette-debug-asgi/releases/tag/1.1
node_id: MDc6UmVsZWFzZTQ4MDEwNTI3
tag_name: 1.1
target_commitish: main
name: 1.1
created_at: 2021-08-17T23:39:56Z
published_at: 2021-08-17T23:41:03Z
body:
  - Allow `/-/asgi-scope/extras` with extra path components.  [#3](https://github.com/simonw/datasette-debug-asgi/issues/3)


html_url: https://github.com/simonw/sqlite-utils/releases/tag/3.16
node_id: MDc6UmVsZWFzZTQ4MDc3MjQ2
tag_name: 3.16
target_commitish: main
name: 3.16
created_at: 2021-08-18T22:36:32Z
published_at: 2021-08-18T22:37:55Z
body:
  -   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.


html_url: https://github.com/simonw/datasette-block-robots/releases/tag/1.0
node_id: MDc6UmVsZWFzZTQ4MTQwNDYw
tag_name: 1.0
target_commitish: main
name: 1.0
created_at: 2021-08-19T20:05:50Z
published_at: 2021-08-19T20:09:53Z
body:
  -  New `allow_only_index` configuration option for allowing access to just the index page but blocking access to database, table and row pages. [#5](https://github.com/simonw/datasette-block-robots/issues/5)


html_url: https://github.com/dogsheep/twitter-to-sqlite/releases/tag/0.21.4
node_id: MDc6UmVsZWFzZTQ4MTUwMzE1
tag_name: 0.21.4
target_commitish: main
name: 0.21.4
created_at: 2021-08-20T00:14:08Z
published_at: 2021-08-20T00:14:30Z
body:
  - Fix for `since_id` error with `user-timeline`. [#57](https://github.com/dogsheep/twitter-to-sqlite/issues/57)
  - Document the use of `--stop_after` with favorites - thanks, Mike Lee Williams. [#49](https://github.com/dogsheep/twitter-to-sqlite/pull/49)
  - Fixes for Twitter archive imports, thanks Jacob Kaplan-Moss. [#55](https://github.com/dogsheep/twitter-to-sqlite/pull/55)


html_url: https://github.com/dogsheep/healthkit-to-sqlite/releases/tag/1.0.1
node_id: MDc6UmVsZWFzZTQ4MTUxNDc3
tag_name: 1.0.1
target_commitish: main
name: 1.0.1
created_at: 2021-08-20T00:55:29Z
published_at: 2021-08-20T00:56:17Z
body:
  - Fixed bug where `activity_summary` table could fail to be built with an error. [#19](https://github.com/dogsheep/healthkit-to-sqlite/issues/19)


html_url: https://github.com/simonw/sqlite-utils/releases/tag/3.17
node_id: MDc6UmVsZWFzZTQ4Mzg5NzIy
tag_name: 3.17
target_commitish: main
name: 3.17
created_at: 2021-08-24T23:40:18Z
published_at: 2021-08-24T23:42:22Z
body:
  -   The [sqlite-utils memory](https://sqlite-utils.datasette.io/en/stable/cli.html#cli-memory) command has a new `--analyze` option, which runs the equivalent of the [analyze-tables](https://sqlite-utils.datasette.io/en/stable/cli.html#cli-analyze-tables) command directly against the in-memory database created from the incoming CSV or JSON data. ([#320](https://github.com/simonw/sqlite-utils/issues/320))
  -   [sqlite-utils insert-files](https://sqlite-utils.datasette.io/en/stable/cli.html#cli-insert-files) now has the ability to insert file contents in to `TEXT` columns in addition to the default `BLOB`. Pass the `--text` option or use `content_text` as a column specifier. ([#319](https://github.com/simonw/sqlite-utils/issues/319))

reactions:
  {"url": "https://api.github.com/repos/simonw/sqlite-utils/releases/48389722/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 1, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}


html_url: https://github.com/dogsheep/evernote-to-sqlite/releases/tag/0.3.2
node_id: MDc6UmVsZWFzZTQ4NTIzOTY2
tag_name: 0.3.2
target_commitish: main
name: 0.3.2
created_at: 2021-08-26T19:01:49Z
published_at: 2021-08-26T19:02:47Z
body:
  - Fixed error when encountering `<en-note>` documents that were not well-formed XML. [#13](https://github.com/dogsheep/evernote-to-sqlite/issues/13)


html_url: https://github.com/simonw/datasette/releases/tag/0.59a2
node_id: MDc6UmVsZWFzZTQ4NjA0MTQz
tag_name: 0.59a2
target_commitish: main
name: 0.59a2
created_at: 2021-08-28T01:55:54Z
published_at: 2021-08-28T01:57:38Z
body:
  -   Columns can now have associated metadata descriptions in `metadata.json`, see [Column descriptions](https://docs.datasette.io/en/latest/metadata.html#metadata-column-descriptions). ([#942](https://github.com/simonw/datasette/issues/942))
  -   New [register_commands()](https://docs.datasette.io/en/latest/plugin_hooks.html#plugin-hook-register-commands) plugin hook allows plugins to register additional Datasette CLI commands, e.g. `datasette mycommand file.db`. ([#1449](https://github.com/simonw/datasette/issues/1449))
  -   Adding `?_facet_size=max` to a table page now shows the number of unique values in each facet. ([#1423](https://github.com/simonw/datasette/issues/1423))
  -   Code that figures out which named parameters a SQL query takes in order to display form fields for them is no longer confused by strings that contain colon characters. ([#1421](https://github.com/simonw/datasette/issues/1421))
  -   Renamed `--help-config` option to `--help-settings`. ([#1431](https://github.com/simonw/datasette/issues/1431))
  -   `datasette.databases` property is now a documented API. ([#1443](https://github.com/simonw/datasette/issues/1443))
  -   Datasette base template now wraps everything other than the `<footer>` in a `<div class="not-footer">` element, to help with advanced CSS customization. ([#1446](https://github.com/simonw/datasette/issues/1446))


html_url: https://github.com/simonw/datasette-verify/releases/tag/0.1
node_id: MDc6UmVsZWFzZTQ4NjA0NjA1
tag_name: 0.1
target_commitish: main
name: 0.1
created_at: 2021-08-28T02:29:59Z
published_at: 2021-08-28T02:31:34Z
body:
  - Initial release. Depends on [Datasette 0.59a2](https://github.com/simonw/datasette/releases/tag/0.59a2).


html_url: https://github.com/simonw/datasette-app/releases/tag/0.1.0
node_id: RE_kwDOF8z3PM4C7jz3
tag_name: 0.1.0
target_commitish: main
name: Datasette Desktop 0.1.0
created_at: 2021-09-08T02:28:01Z
published_at: 2021-09-08T02:40:09Z
body:
  **Initial release**. This should be considered beta software - it may well contain bugs, and I would love to hear about any that you come across.

  - Install this macOS package to get a `Datasette` application which you can launch from an icon
  - Includes full copy of Python which stays separate from any other Python versions you may have installed
  - Installs the latest Datasette release the first time it runs
  - The application can open existing SQLite database files or read CSV files into an in-memory database
  - It can also create a new, empty SQLite database file and create tables in that database by importing CSV data
  - By default the server only accepts connections from your computer, but you can use "File -> Access Control -> Anyone on my networks" to make it visible to other computers on your network (or devices on your [Tailscale](https://tailscale.com/) network).
  - Datasette plugins can be installed using the "Install Plugin" menu item

  Please add feedback and suggestions to [this discussion thread](https://github.com/simonw/datasette-app/discussions/67).

reactions:
  {"url": "https://api.github.com/repos/simonw/datasette-app/releases/49167607/reactions", "total_count": 5, "+1": 0, "-1": 0, "laugh": 0, "hooray": 3, "confused": 0, "heart": 2, "rocket": 0, "eyes": 0}


html_url: https://github.com/simonw/datasette-import-table/releases/tag/0.3
node_id: RE_kwDOEdVnoc4C7km9
tag_name: 0.3
target_commitish: main
name: 0.3
created_at: 2021-09-08T04:48:23Z
published_at: 2021-09-08T04:49:48Z
body:
  - Now includes menu navigation for using the plugin, in both the application menu and the database actions menu. [#6](https://github.com/simonw/datasette-import-table/issues/6)
  - The `_internal` database is no longer offered as an import target. [#7](https://github.com/simonw/datasette-import-table/issues/7)


html_url: https://github.com/simonw/datasette-schema-versions/releases/tag/0.2
node_id: RE_kwDOETQkBs4C8YE0
tag_name: 0.2
target_commitish: main
name: 0.2
created_at: 2021-09-11T02:42:33Z
published_at: 2021-09-11T02:44:32Z
body:
  - Added an item to the global menu for the `root` user. [#1](https://github.com/simonw/datasette-schema-versions/issues/1)
  - Don't include `_internal`. [#2](https://github.com/simonw/datasette-schema-versions/issues/2)
  - Now offers HTML at `/-/schema-versions` and JSON at `/-/schema-versions.json`. [#3](https://github.com/simonw/datasette-schema-versions/issues/3)


html_url: https://github.com/simonw/datasette-write/releases/tag/0.2
node_id: RE_kwDOEG8FFs4C8YrJ
tag_name: 0.2
target_commitish: main
name: 0.2
created_at: 2021-09-11T05:59:43Z
published_at: 2021-09-11T06:03:07Z
body:
  - Support for Datasette `base_url` setting, thanks @brandonrobertz. [#4](https://github.com/simonw/datasette-write/pull/4)
  - Menu links plus new `/-/write?database=foo` parameter. [#5](https://github.com/simonw/datasette-write/issues/5)
  - Menu links plus new `/-/write?database=foo` parameter. [#5](https://github.com/simonw/datasette-write/issues/5)
  - Tables and views are now shown on the `/-/write` page
  - `alter`, `create` and `drop` queries now show a more meaningful completion message. [#3](https://github.com/simonw/datasette-write/issues/3)


html_url: https://github.com/simonw/datasette-app/releases/tag/0.2.0
node_id: RE_kwDOF8z3PM4C8iaI
tag_name: 0.2.0
target_commitish: main
name: 0.2.0
created_at: 2021-09-13T00:53:49Z
published_at: 2021-09-13T00:54:52Z
body:
  The first major update to Datasette Desktop. New features include:

  - A new **plugin directory** for installing new plugins and upgrading or uninstalling existing ones. Open it using the "Plugins -> Install and Manage Plugins..." menu item. [#74](https://github.com/simonw/datasette-app/issues/74)
  - Five plugins are now installed by default: [datasette-vega](https://datasette.io/plugins/datasette-vega), [datasette-cluster-map](https://datasette.io/plugins/datasette-cluster-map), [datasette-pretty-json](https://datasette.io/plugins/datasette-pretty-json), [datasette-edit-schema](https://datasette.io/plugins/datasette-edit-schema) and [datasette-configure-fts](https://datasette.io/plugins/datasette-configure-fts). [#81](https://github.com/simonw/datasette-app/issues/81)
  - The application **loading screen** now shows a log of what is going on. [#70](https://github.com/simonw/datasette-app/issues/70)
  - The welcome screen now invites you to try out the application by opening interesting **example CSV files**, taking advantage of the new "File -> Open CSV from URL..." feature. [#91](https://github.com/simonw/datasette-app/issues/91)
  - **.db and .csv files** can now be opened in Datasette starting from the Finder using "Right Click -> Open With -> Datasette". [#40](https://github.com/simonw/datasette-app/issues/40)
  - **Recently opened** `.db` and `.csv` files can now be accessed from the new "File -> Open Recent" menu. Thanks, [Kapilan M](https://github.com/mnckapilan)! [#54](https://github.com/simonw/datasette-app/issues/54)
  - A new **Debug menu** can be enabled using Datasette -> About Datasette -> Enable Debug Menu".

  See [Datasette Desktop 0.2.0: The annotated release notes](https://simonwillison.net/2021/Sep/13/datasette-desktop-2/) for more background on the new features and how they work.

  *If you have already installed Datasette you should delete `Datasette` from your `/Applications` folder before installing this.*


html_url: https://github.com/simonw/datasette-app/releases/tag/0.2.1
node_id: RE_kwDOF8z3PM4C8y4a
tag_name: 0.2.1
target_commitish: main
name: 0.2.1
created_at: 2021-09-13T22:37:48Z
published_at: 2021-09-13T23:20:03Z
body:
  - Fixed bug where application would not start without a working internet connection. [#115](https://github.com/simonw/datasette-app/issues/115)
  - The "Debug -> Open Chromium DevTools" menu item no longer shows an error if no windows are focused. [#113](https://github.com/simonw/datasette-app/issues/113)
  - Fixed bug where the `datasette-leaflet` plugin could be uninstalled despite being automatically re-installed. [#118](https://github.com/simonw/datasette-app/issues/118)
  - Time limit for facet calculations increased from 1 second to 3 seconds. [#114](https://github.com/simonw/datasette-app/issues/114)


html_url: https://github.com/dogsheep/twitter-to-sqlite/releases/tag/0.22
node_id: RE_kwDODEm0Qs4C-v6z
tag_name: 0.22
target_commitish: main
name: 0.22
created_at: 2021-09-21T17:39:08Z
published_at: 2021-09-21T17:41:05Z
body:
  - `twitter-to-sqlite import` now imports `app.js` to `archive_app` table.
  - Small fixes for `twitter-to-sqlite import` reflecting changed filenames in the Twitter export.
  - Fix for remaining `since_id` bug, thanks Ruben Vermeersch! [#58](https://github.com/dogsheep/twitter-to-sqlite/issues/58)


html_url: https://github.com/simonw/sqlite-utils/releases/tag/3.17.1
node_id: RE_kwDOCGYnMM4C_Eyj
tag_name: 3.17.1
target_commitish: main
name: 3.17.1
created_at: 2021-09-22T20:49:36Z
published_at: 2021-09-22T20:51:04Z
body:
  -   [sqlite-utils memory](https://sqlite-utils.datasette.io/en/stable/cli.html#cli-memory) now works if files passed to it share the same file name. ([#325](https://github.com/simonw/sqlite-utils/issues/325))
  -   [sqlite-utils query](https://sqlite-utils.datasette.io/en/stable/cli.html#cli-query) now returns `[]` in JSON mode if no rows are returned. ([#328](https://github.com/simonw/sqlite-utils/issues/328))


html_url: https://github.com/simonw/datasette-render-markdown/releases/tag/2.0
node_id: RE_kwDODSffFs4C_F1Q
tag_name: 2.0
target_commitish: main
name: 2.0
created_at: 2021-09-22T22:17:11Z
published_at: 2021-09-22T22:18:20Z
body:
  - Markdown image tags of the form `![alt text](URL-to-image)` are now supported by default. This change could break backwards-compatibility for some installations, hence the 2.0 version number. [#10](https://github.com/simonw/datasette-render-markdown/issues/10)


html_url: https://github.com/simonw/datasette/releases/tag/0.59
node_id: RE_kwDOBm6k_c4DEBvV
tag_name: 0.59
target_commitish: main
name: 0.59
created_at: 2021-10-14T19:23:43Z
published_at: 2021-10-14T19:31:56Z
body:
  -   Columns can now have associated metadata descriptions in `metadata.json`, see [Column descriptions](https://docs.datasette.io/en/stable/metadata.html#metadata-column-descriptions). ([#942](https://github.com/simonw/datasette/issues/942))
  -   New [register_commands()](https://docs.datasette.io/en/stable/plugin_hooks.html#plugin-hook-register-commands) plugin hook allows plugins to register additional Datasette CLI commands, e.g. `datasette mycommand file.db`. ([#1449](https://github.com/simonw/datasette/issues/1449))
  -   Adding `?_facet_size=max` to a table page now shows the number of unique values in each facet. ([#1423](https://github.com/simonw/datasette/issues/1423))
  -   Upgraded dependency [httpx 0.20](https://github.com/encode/httpx/releases/tag/0.20.0) - the undocumented `allow_redirects=` parameter to [datasette.client](https://docs.datasette.io/en/stable/internals.html#internals-datasette-client) is now `follow_redirects=`, and defaults to `False` where it previously defaulted to `True`. ([#1488](https://github.com/simonw/datasette/issues/1488))
  -   The `--cors` option now causes Datasette to return the `Access-Control-Allow-Headers: Authorization` header, in addition to `Access-Control-Allow-Origin: *`. ([#1467](https://github.com/simonw/datasette/pull/1467))
  -   Code that figures out which named parameters a SQL query takes in order to display form fields for them is no longer confused by strings that contain colon characters. ([#1421](https://github.com/simonw/datasette/issues/1421))
  -   Renamed `--help-config` option to `--help-settings`. ([#1431](https://github.com/simonw/datasette/issues/1431))
  -   `datasette.databases` property is now a documented API. ([#1443](https://github.com/simonw/datasette/issues/1443))
  -   The `base.html` template now wraps everything other than the `<footer>` in a `<div class="not-footer">` element, to help with advanced CSS customization. ([#1446](https://github.com/simonw/datasette/issues/1446))
  -   The [render_cell()](https://docs.datasette.io/en/stable/plugin_hooks.html#plugin-hook-render-cell) plugin hook can now return an awaitable function. This means the hook can execute SQL queries. ([#1425](https://github.com/simonw/datasette/issues/1425))
  -   [register_routes(datasette)](https://docs.datasette.io/en/stable/plugin_hooks.html#plugin-register-routes) plugin hook now accepts an optional `datasette` argument. ([#1404](https://github.com/simonw/datasette/issues/1404))
  -   New `hide_sql` canned query option for defaulting to hiding the SQL quey used by a canned query, see [Additional canned query options](https://docs.datasette.io/en/stable/sql_queries.html#canned-queries-options). ([#1422](https://github.com/simonw/datasette/issues/1422))
  -   New `--cpu` option for [datasette publish cloudrun](https://docs.datasette.io/en/stable/publish.html#publish-cloud-run). ([#1420](https://github.com/simonw/datasette/issues/1420))
  -   If [Rich](https://github.com/willmcgugan/rich) is installed in the same virtual environment as Datasette, it will be used to provide enhanced display of error tracebacks on the console. ([#1416](https://github.com/simonw/datasette/issues/1416))
  -   `datasette.utils` [parse_metadata(content)](https://docs.datasette.io/en/stable/internals.html#internals-utils-parse-metadata) function, used by the new [datasette-remote-metadata plugin](https://datasette.io/plugins/datasette-remote-metadata), is now a documented API. ([#1405](https://github.com/simonw/datasette/issues/1405))
  -   Fixed bug where `?_next=x&_sort=rowid` could throw an error. ([#1470](https://github.com/simonw/datasette/issues/1470))
  -   Column cog menu no longer shows the option to facet by a column that is already selected by the default facets in metadata. ([#1469](https://github.com/simonw/datasette/issues/1469))

reactions:
  {"url": "https://api.github.com/repos/simonw/datasette/releases/51387349/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 1, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}


html_url: https://github.com/simonw/datasette-auth-tokens/releases/tag/0.3
node_id: RE_kwDOEDFIuM4DEFSV
tag_name: 0.3
target_commitish: main
name: 0.3
created_at: 2021-10-15T00:52:48Z
published_at: 2021-10-15T00:54:20Z
body:
  - New `param` plugin configuration option for specifying a query string parameter that can be used instead of the `Authorization: Bearer` header - thanks, Jannis Leidel. ([#5](https://github.com/simonw/datasette-auth-tokens/pull/5))


html_url: https://github.com/simonw/datasette-publish-vercel/releases/tag/0.11
node_id: RE_kwDODx4htM4DEsEu
tag_name: 0.11
target_commitish: main
name: 0.11
created_at: 2021-10-18T18:12:20Z
published_at: 2021-10-18T18:12:57Z
body:
  - Fixed compatibility with Datasette 0.59. [#49](https://github.com/simonw/datasette-publish-vercel/issues/49)


html_url: https://github.com/simonw/datasette/releases/tag/0.59.1
node_id: RE_kwDOBm6k_c4DGIyh
tag_name: 0.59.1
target_commitish: main
name: 0.59.1
created_at: 2021-10-24T22:29:56Z
published_at: 2021-10-24T22:32:25Z
body:
  -   Fix compatibility with Python 3.10. ([#1482](https://github.com/simonw/datasette/issues/1482))
  -   Documentation on how to use [Named parameters](https://docs.datasette.io/en/stable/sql_queries.html#sql-parameters) with integer and floating point values. ([#1496](https://github.com/simonw/datasette/issues/1496))

reactions:
  {"url": "https://api.github.com/repos/simonw/datasette/releases/51940513/reactions", "total_count": 2, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}


html_url: https://github.com/simonw/s3-credentials/releases/tag/0.1
node_id: RE_kwDOGUV9is4DIhHG
tag_name: 0.1
target_commitish: main
name: 0.1
created_at: 2021-11-03T02:17:02Z
published_at: 2021-11-03T02:17:42Z
body:
  - Initial release
  - `s3-credentials create name-of-bucket` creates a new user with read-write access only to the specified S3 bucket, creates an access key for that user and outputs it to the console. [#3](https://github.com/simonw/s3-credentials/issues/3)
  - `s3-credentials list-users` lists all of the users for the current AWS account. [#4](https://github.com/simonw/s3-credentials/issues/4)
  - `s3-credentials list-user-policies` lists inline policies for the specifeid users, or all users. [#5](https://github.com/simonw/s3-credentials/issues/5)
  - `s3-credentials whoami` shows information about the currently authenticated user.


html_url: https://github.com/simonw/s3-credentials/releases/tag/0.2
node_id: RE_kwDOGUV9is4DIhM-
tag_name: 0.2
target_commitish: main
name: 0.2
created_at: 2021-11-03T02:31:52Z
published_at: 2021-11-03T02:32:45Z
body:
  - New `s3-credentials list-buckets` command. [#9](https://github.com/simonw/s3-credentials/issues/9)
  - Added section to the documentation about configuring the tool.


html_url: https://github.com/simonw/s3-credentials/releases/tag/0.3
node_id: RE_kwDOGUV9is4DIiPV
tag_name: 0.3
target_commitish: main
name: 0.3
created_at: 2021-11-03T05:19:23Z
published_at: 2021-11-03T05:20:13Z
body:
  - `s3-credentials delete-user` command for deleting a user along with all of their access keys and inline policies. [#10](https://github.com/simonw/s3-credentials/issues/10)


html_url: https://github.com/simonw/s3-credentials/releases/tag/0.4
node_id: RE_kwDOGUV9is4DI3D9
tag_name: 0.4
target_commitish: main
name: 0.4
created_at: 2021-11-04T04:59:53Z
published_at: 2021-11-04T05:04:00Z
body:
  - New options for authenticating with AWS: `--access-key`, `--secret-key`, `--session-token`, `--endpoint-url`. #2
  - Various improvements to JSON policies - thanks, @jdub! #11
  - `--policy filename.json` option for specifying a custom JSON policy. #14


html_url: https://github.com/simonw/s3-credentials/releases/tag/0.5
node_id: RE_kwDOGUV9is4DKtWz
tag_name: 0.5
target_commitish: main
name: 0.5
created_at: 2021-11-11T03:40:30Z
published_at: 2021-11-11T03:41:14Z
body:
  - New `s3-credentials create --duration 20m` option. This creates temporary credentials that only last for the specified time, by creating a role and using `STS.AssignRole()` to retrieve credentials. [#27](https://github.com/simonw/s3-credentials/issues/27)
  - Redesigned read-only and read-write policies to no longer use wildcards and instead explicitly list allowed actions. [#15](https://github.com/simonw/s3-credentials/issues/15)
  - Commands now accept an optional `--auth file/path.json` option to specify a JSON or INI file containing the credentials to use. [#29](https://github.com/simonw/s3-credentials/issues/29)
  - New `s3-credentials list-buckets --details` option to include ACLs, website configuration and bucket policies. [#22](https://github.com/simonw/s3-credentials/issues/22)
  - New `s3-credentials create --format ini` option for outputting INI format instead of JSON. [#17](https://github.com/simonw/s3-credentials/issues/17)
  - Now uses `botocore.stub` in some of the tests - thanks, Niko Abeler. [#16](https://github.com/simonw/s3-credentials/pull/16)
  - Added integration tests, run using `pytest --integration`, which exercise the tool against an AWS account and delete any created resources afterwards. [#30](https://github.com/simonw/s3-credentials/issues/30)
  - Added tips section to the README, including how to access CloudTrail


html_url: https://github.com/simonw/git-history/releases/tag/0.2
node_id: RE_kwDOGXV4Is4DK_cb
tag_name: 0.2
target_commitish: main
name: 0.2
created_at: 2021-11-12T02:38:08Z
published_at: 2021-11-12T02:40:45Z
body:
  - `--csv` option can now be used to process CSV or TSV data - the dialect is detected automatically. [#6](https://github.com/simonw/git-history/issues/6)
  - Implemented reserved column names: `id`, `item`, `version` and `commit`. If your data includes any of these column names they will be renamed to `id_`, `item_`, `version_` and `commit`_ respectively. [#8](https://github.com/simonw/git-history/issues/8)


html_url: https://github.com/simonw/git-history/releases/tag/0.3
node_id: RE_kwDOGXV4Is4DK_-R
tag_name: 0.3
target_commitish: main
name: 0.3
created_at: 2021-11-12T03:38:20Z
published_at: 2021-11-12T03:39:34Z
body:
  - `git-history file` command now shows a progress bar, unless run with the `--silent` option. [#9](https://github.com/simonw/git-history/issues/9)


html_url: https://github.com/simonw/git-history/releases/tag/0.3.1
node_id: RE_kwDOGXV4Is4DLBld
tag_name: 0.3.1
target_commitish: main
name: 0.3.1
created_at: 2021-11-12T07:29:39Z
published_at: 2021-11-12T07:30:25Z
body:
  - Fixed bug where files with a `"rowid"` column would fail to import correctly. [#10](https://github.com/simonw/git-history/issues/10)


html_url: https://github.com/simonw/datasette/releases/tag/0.59.2
node_id: RE_kwDOBm6k_c4DLaaO
tag_name: 0.59.2
target_commitish: main
name: 0.59.2
created_at: 2021-11-14T05:37:40Z
published_at: 2021-11-14T05:43:09Z
body:
  - Column names with a leading underscore now work correctly when used as a facet. ([#1506](https://github.com/simonw/datasette/issues/1506))
  - Applying `?_nocol=` to a column no longer removes that column from the filtering interface. ([#1503](https://github.com/simonw/datasette/issues/1503))
  - Official Datasette Docker container now uses Debian Bullseye as the base image. ([#1497](https://github.com/simonw/datasette/issues/1497))
  - Datasette is four years old today! Here's the [original release announcement](https://simonwillison.net/2017/Nov/13/datasette/) from 2017.


html_url: https://github.com/simonw/sqlite-utils/releases/tag/3.18
node_id: RE_kwDOCGYnMM4DLhGb
tag_name: 3.18
target_commitish: main
name: 3.18
created_at: 2021-11-15T03:15:23Z
published_at: 2021-11-15T03:17:31Z
body:
  - The `table.lookup()` method now has an optional second argument which can be used to populate columns only the first time the record is created, see [Working with lookup tables](https://sqlite-utils.datasette.io/en/stable/python-api.html#python-api-lookup-tables). ([#339](https://github.com/simonw/sqlite-utils/issues/339))
  - `sqlite-utils memory` now has a `--flatten` option for [flattening nested JSON objects](https://sqlite-utils.datasette.io/en/stable/cli.html#cli-inserting-data-flatten) into separate columns, consistent with `sqlite-utils insert`. ([#332](https://github.com/simonw/sqlite-utils/issues/332))
  - `table.create_index(..., find_unique_name=True)` parameter, which finds an available name for the created index even if the default name has already been taken. This means that `index-foreign-keys` will work even if one of the indexes it tries to create clashes with an existing index name. ([#335](https://github.com/simonw/sqlite-utils/issues/335))
  - Added `py.typed` to the module, so [mypy](http://mypy-lang.org/) should now correctly pick up the type annotations. Thanks, Andreas Longo. ([#331](https://github.com/simonw/sqlite-utils/issues/331))
  - Now depends on `python-dateutil` instead of depending on `dateutils`. Thanks, Denys Pavlov. ([#324](https://github.com/simonw/sqlite-utils/issues/324))
  - `table.create()` (see [Explicitly creating a table](https://sqlite-utils.datasette.io/en/stable/python-api.html#python-api-explicit-create)) now handles `dict`, `list` and `tuple` types, mapping them to `TEXT` columns in SQLite so that they can be stored encoded as JSON. ([#338](https://github.com/simonw/sqlite-utils/issues/338))
  - Inserted data with square braces in the column names (for example a CSV file containing a `item[price]`) column now have the braces converted to underscores: `item_price_`. Previously such columns would be rejected with an error. ([#329](https://github.com/simonw/sqlite-utils/issues/329))
  - Now also tested against Python 3.10. ([#330](https://github.com/simonw/sqlite-utils/pull/330))

reactions:
  {"url": "https://api.github.com/repos/simonw/sqlite-utils/releases/53350811/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 1, "eyes": 0}


html_url: https://github.com/simonw/datasette-graphql/releases/tag/2.0
node_id: RE_kwDOEPNYIc4DMbXm
tag_name: 2.0
target_commitish: main
name: 2.0
created_at: 2021-11-17T20:32:38Z
published_at: 2021-11-17T20:33:36Z
body:
  - Upgraded to [Graphene 3.0](https://github.com/graphql-python/graphene/wiki/v3-release-notes). ([#80](https://github.com/simonw/datasette-graphql/issues/80)). This introduces some small backwards-compatibility breaks, hence the 2.0 version number on this release. Most notably, tables or columns that are named after Python keywords (such as `if`) will now be represented in GraphQL with a trailing underscore, `if_`. `description` is also renamed to `description_`.
  - Upgraded bundled version of GraphiQL to 1.5.1, running on React 17.0.2. ([#75](https://github.com/simonw/datasette-graphql/issues/75))
  - Fixed an error caused by tables that include foreign key references to other tables that do not exist. ([#79](https://github.com/simonw/datasette-graphql/issues/79))
  - Now tested against Python 3.10. ([#82](https://github.com/simonw/datasette-graphql/issues/82))


html_url: https://github.com/simonw/csvs-to-sqlite/releases/tag/1.3
node_id: RE_kwDOBpY--M4DMrfK
tag_name: 1.3
target_commitish: main
name: 1.3
created_at: 2021-11-18T16:33:36Z
published_at: 2021-11-18T16:35:33Z
body:
  - New options for populating a fixed column - so every inserted row will have the same column with the same value. Options are `--fixed-column column-name string-value`, `--fixed-column-int column-name integer-value` and `--fixed-column-float column-name float-value`. Thanks, William Rowell. [#81](https://github.com/simonw/csvs-to-sqlite/pull/81)


html_url: https://github.com/simonw/s3-credentials/releases/tag/0.6
node_id: RE_kwDOGUV9is4DMvu3
tag_name: 0.6
target_commitish: main
name: 0.6
created_at: 2021-11-18T20:29:34Z
published_at: 2021-11-18T20:31:44Z
body:
  - `create --dry-run` option outputs a summary of changes that would be made to an AWS account without applying them. [#35](https://github.com/simonw/s3-credentials/issues/35)
  - `s3-credentials whoami` command now uses `sts.GetCallerIdentity`, which means it works with any kind of access key. [#33](https://github.com/simonw/s3-credentials/issues/33)


html_url: https://github.com/simonw/sqlite-utils/releases/tag/3.19a0
node_id: RE_kwDOCGYnMM4DM19f
tag_name: 3.19a0
target_commitish: main
name: 3.19a0
created_at: 2021-11-19T07:27:41Z
published_at: 2021-11-19T07:28:50Z
body:
  - Extra keyword arguments for `table.lookup()` which are passed through to `.insert()`. [#342](https://github.com/simonw/sqlite-utils/issues/342)


html_url: https://github.com/simonw/datasette/releases/tag/0.59.3
node_id: RE_kwDOBm6k_c4DNKQt
tag_name: 0.59.3
target_commitish: main
name: 0.59.3
created_at: 2021-11-20T23:40:21Z
published_at: 2021-11-20T23:41:33Z
body:
  -   Fixed numerous bugs when running Datasette [behind a proxy](https://docs.datasette.io/en/stable/deploying.html#deploying-proxy) with a prefix URL path using the [base_url](https://docs.datasette.io/en/stable/settings.html#setting-base-url) setting. A live demo of this mode is now available at [datasette-apache-proxy-demo.datasette.io/prefix/](https://datasette-apache-proxy-demo.datasette.io/prefix/). ([#1519](https://github.com/simonw/datasette/issues/1519), [#838](https://github.com/simonw/datasette/issues/838))
  -   `?column__arraycontains=` and `?column__arraynotcontains=` table parameters now also work against SQL views. ([#448](https://github.com/simonw/datasette/issues/448))
  -   `?_facet_array=column` no longer returns incorrect counts if columns contain the same value more than once.


html_url: https://github.com/simonw/sqlite-utils/releases/tag/3.19
node_id: RE_kwDOCGYnMM4DNLPa
tag_name: 3.19
target_commitish: main
name: 3.19
created_at: 2021-11-21T04:41:56Z
published_at: 2021-11-21T04:42:24Z
body:
  -   The [table.lookup() method](https://sqlite-utils.datasette.io/en/stable/python-api.html#python-api-lookup-tables) now accepts keyword arguments that match those on the underlying `table.insert()` method: `foreign_keys=`, `column_order=`, `not_null=`, `defaults=`, `extracts=`, `conversions=` and `columns=`. You can also now pass `pk=` to specify a different column name to use for the primary key. ([#342](https://github.com/simonw/sqlite-utils/issues/342))


html_url: https://github.com/simonw/git-history/releases/tag/0.4
node_id: RE_kwDOGXV4Is4DNLTD
tag_name: 0.4
target_commitish: main
name: 0.4
created_at: 2021-11-21T05:05:38Z
published_at: 2021-11-21T05:08:43Z
body:
  - Major changes to the database schema. Foreign keys now use integer primary key IDs rather than using lengthy item or commit hashes, which reduces the database size for large repositories by almost half. [#12](https://github.com/simonw/git-history/issues/12)
  - Python generators can now be used in `--convert` functions. [#16](https://github.com/simonw/git-history/issues/16)
  - Reserved columns are now marked by an underscore prefix, for example `_id` and `_commit`. [#14](https://github.com/simonw/git-history/issues/14)


html_url: https://github.com/simonw/datasette-publish-vercel/releases/tag/0.12
node_id: RE_kwDODx4htM4DNRx-
tag_name: 0.12
target_commitish: main
name: 0.12
created_at: 2021-11-22T04:45:40Z
published_at: 2021-11-22T04:49:23Z
body:
  - New `--generate-vercel-json` option to generate the `vercel.json` that would be used and output it without running the deploy. [#51](https://github.com/simonw/datasette-publish-vercel/issues/51)
  - You can then edit that `vercel.json` file to add custom options, then pass it to the new `--vercel-json` option for a custom deployment. [#51](https://github.com/simonw/datasette-publish-vercel/issues/51)
  - `--template-dir` and `--plugins-dir` options now work, thanks Romain Clement. [#41](https://github.com/simonw/datasette-publish-vercel/issues/41)
  - `DATASETTE_SECRET` environment variable can now be used to set a persistent Datasette secret. Thanks, Romain Clement. [#43](https://github.com/simonw/datasette-publish-vercel/issues/43)

reactions:
  {"url": "https://api.github.com/repos/simonw/datasette-publish-vercel/releases/53812350/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 2, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}


html_url: https://github.com/simonw/datasette/releases/tag/0.59.4
node_id: RE_kwDOBm6k_c4DPHtn
tag_name: 0.59.4
target_commitish: main
name: 0.59.4
created_at: 2021-11-30T06:45:37Z
published_at: 2021-11-30T06:50:48Z
body:
  -   Fixed bug where columns with a leading underscore could not be removed from the interactive filters list. ([#1527](https://github.com/simonw/datasette/issues/1527))
  -   Fixed bug where columns with a leading underscore were not correctly linked to by the "Links from other tables" interface on the row page. ([#1525](https://github.com/simonw/datasette/issues/1525))
  -   Upgraded dependencies `aiofiles`, `black` and `janus`.


html_url: https://github.com/simonw/s3-credentials/releases/tag/0.7
node_id: RE_kwDOGUV9is4DPWFf
tag_name: 0.7
target_commitish: main
name: 0.7
created_at: 2021-11-30T19:47:06Z
published_at: 2021-11-30T19:49:54Z
body:
  - `s3-credentials policy` command, to output the JSON policy that would be used directly to the terminal. [#37](https://github.com/simonw/s3-credentials/issues/37)
  - README now includes [examples](https://github.com/simonw/s3-credentials/blob/0.7/README.md#policy-documents) of the three different policies. [#36](https://github.com/simonw/s3-credentials/issues/36)
  - `s3-credentials put-object` and `s3-credentials get-object` commands for uploading and downloading files from an S3 bucket. [#38](https://github.com/simonw/s3-credentials/issues/38)


html_url: https://github.com/simonw/git-history/releases/tag/0.5
node_id: RE_kwDOGXV4Is4DQF2s
tag_name: 0.5
target_commitish: main
name: 0.5
created_at: 2021-12-03T04:04:40Z
published_at: 2021-12-03T04:05:15Z
body:
  - The `item_version` table now only records values that have changed since the previous item version. A new `item_changed` many-to-many table records exactly which columns were changed in which item version, to compensate for ambiguous `null` values. [#21](https://github.com/simonw/git-history/issues/21)
  - New `--full-versions` option for storing full copies of each version instead of storing just the columns that have changed.
  - Major backwards-incompatible schema changes - see README for details of the new schema.
  - New `--dialect` option for specifying a CSV dialect if you don't want to use auto-detection. [#27](https://github.com/simonw/git-history/issues/27)
  - The history for multiple files can now be stored in the same database, using the new `--namespace` option. [#13](https://github.com/simonw/git-history/issues/13)
  - `--skip HASH`, `--start-at HASH` and `--start-after HASH` options for skipping specific Git commits or starting processing at or after a specific hash. [#26](https://github.com/simonw/git-history/issues/26), [#28](https://github.com/simonw/git-history/issues/28)


html_url: https://github.com/simonw/s3-credentials/releases/tag/0.8
node_id: RE_kwDOGUV9is4DQ64W
tag_name: 0.8
target_commitish: main
name: 0.8
created_at: 2021-12-07T06:56:47Z
published_at: 2021-12-07T07:00:07Z
body:
  * `s3-credentials create my-bucket --public` option for creating public buckets, which allow anyone with knowledge of a filename to download that file. This works by attaching [this public bucket policy](https://github.com/simonw/s3-credentials/blob/0.8/README.md#public-bucket-policy) to the bucket after it is created. [#42](https://github.com/simonw/s3-credentials/issues/42)
  * `s3-credentials put-object` now sets the `Content-Type` header on the uploaded object. The type is detected based on the filename, or can be specified using the new `--content-type` option. [#43](https://github.com/simonw/s3-credentials/issues/43)
  * `s3-credentials policy my-bucket --public-bucket` outputs the public bucket policy that would be attached to a bucket of that name. [#44](https://github.com/simonw/s3-credentials/issues/44)


html_url: https://github.com/simonw/git-history/releases/tag/0.6
node_id: RE_kwDOGXV4Is4DRGEn
tag_name: 0.6
target_commitish: main
name: 0.6
created_at: 2021-12-07T17:14:23Z
published_at: 2021-12-07T17:15:07Z
body:
  - Fixed critical bug where columns were incorrectly recorded as consistently toggling between null and their current value. [#33](https://github.com/simonw/git-history/issues/33)
  - Documentation now includes links to live examples of databases created using this tool. [#30](https://github.com/simonw/git-history/issues/30)
  - `--wal` option for turning on SQLite WAL mode - useful if you want to safely run queries against the database file while it is still being built. [#31](https://github.com/simonw/git-history/issues/31)
  - Fixed bug where list and dict values were not correctly compared for equality. [#32](https://github.com/simonw/git-history/issues/32)
  - The `item_version_detail` SQL view now includes a `_changed_column` JSON array of column names that changed in each version. [#37](https://github.com/simonw/git-history/issues/37)
  - Nested packages such as `--import xml.etree.ElementTree` can now be imported. [#39](https://github.com/simonw/git-history/issues/39)
  - `item_version._item` is now an indexed column. [#38](https://github.com/simonw/git-history/issues/38)


html_url: https://github.com/simonw/datasette-cluster-map/releases/tag/0.17.2
node_id: RE_kwDOB8NBWs4DRIEz
tag_name: 0.17.2
target_commitish: main
name: 0.17.2
created_at: 2021-12-07T19:37:11Z
published_at: 2021-12-07T19:39:03Z
body:
  - Fixed a bug where map markers would fail to display if any of the data had an out-of-range latitude or longitude. [#38](https://github.com/simonw/datasette-cluster-map/issues/38)


html_url: https://github.com/simonw/git-history/releases/tag/0.6.1
node_id: RE_kwDOGXV4Is4DRcGj
tag_name: 0.6.1
target_commitish: main
name: 0.6.1
created_at: 2021-12-08T20:27:34Z
published_at: 2021-12-08T20:29:19Z
body:
  - Fixed bug where databases containing multiple file histories created using the `--namespace` option could have later commits applied to them in subsequent runs. [#42](https://github.com/simonw/git-history/issues/42), [#43](https://github.com/simonw/git-history/issues/43)


html_url: https://github.com/simonw/datasette-pretty-traces/releases/tag/0.2
node_id: RE_kwDOGhtmrs4DSpQl
tag_name: 0.2
target_commitish: main
name: 0.2
created_at: 2021-12-13T20:29:30Z
published_at: 2021-12-13T20:30:31Z
body:
  - Trace display now includes the name of the database against which each query was executed. [#2](https://github.com/simonw/datasette-pretty-traces/issues/2)
  - README now links to a live demo of the plugin. [#1](https://github.com/simonw/datasette-pretty-traces/issues/1)


html_url: https://github.com/simonw/datasette-pretty-traces/releases/tag/0.2.1
node_id: RE_kwDOGhtmrs4DSr8M
tag_name: 0.2.1
target_commitish: main
name: 0.2.1
created_at: 2021-12-13T23:36:58Z
published_at: 2021-12-13T23:38:01Z
body:
  - Fixed bug where tracebacks for plugins such as `datasette-graphql` and `datasette-search-all` were not displayed correctly. [#4](https://github.com/simonw/datasette-pretty-traces/issues/4)


html_url: https://github.com/simonw/datasette/releases/tag/0.60a0
node_id: RE_kwDOBm6k_c4DT-v8
tag_name: 0.60a0
target_commitish: main
name: 0.60a0
created_at: 2021-12-17T19:13:51Z
published_at: 2021-12-17T19:15:38Z
body:
  -   New plugin hook: [filters_from_request(request, database, table, datasette)](https://docs.datasette.io/en/latest/plugin_hooks.html#plugin-hook-filters-from-request), which runs on the table page and can be used to support new custom query string parameters that modify the SQL query. ([#473](https://github.com/simonw/datasette/issues/473))
  -   The number of unique values in a facet is now always displayed. Previously it was only displayed if the user specified `?_facet_size=max`. ([#1556](https://github.com/simonw/datasette/issues/1556))
  -   Fixed bug where `?_facet_array=tags&_facet=tags` would only display one of the two selected facets. ([#625](https://github.com/simonw/datasette/issues/625))
  -   Facets of type `date` or `array` can now be configured in `metadata.json`, see [Facets in metadata.json](https://docs.datasette.io/en/latest/facets.html#facets-metadata). Thanks, David Larlet. ([#1552](https://github.com/simonw/datasette/issues/1552))
  -   New `?_nosuggest=1` parameter for table views, which disables facet suggestion. ([#1557](https://github.com/simonw/datasette/issues/1557))
  -   Label columns detected for foreign keys are now case-insensitive, so `Name` or `TITLE` will be detected in the same way as `name` or `title`. ([#1544](https://github.com/simonw/datasette/issues/1544))
  -   The query string variables exposed by `request.args` will now include blank strings for arguments such as `foo` in `?foo=&bar=1` rather than ignoring those parameters entirely. ([#1551](https://github.com/simonw/datasette/issues/1551))


html_url: https://github.com/simonw/datasette-pretty-traces/releases/tag/0.3
node_id: RE_kwDOGhtmrs4DUJLd
tag_name: 0.3
target_commitish: main
name: 0.3
created_at: 2021-12-19T03:50:51Z
published_at: 2021-12-19T03:51:39Z
body:
  - Clicking on a line in the trace now expands to show the duration, start time, full SQL query, traceback and any SQL parameters. [#5](https://github.com/simonw/datasette-pretty-traces/issues/5)


html_url: https://github.com/simonw/datasette-pretty-traces/releases/tag/0.3.1
node_id: RE_kwDOGhtmrs4DUJRN
tag_name: 0.3.1
target_commitish: main
name: 0.3.1
created_at: 2021-12-19T04:30:36Z
published_at: 2021-12-19T04:31:36Z
body:
  - Fixed bug where pages with no available request object would return a 500 error if this plugin was installed. [#6](https://github.com/simonw/datasette-pretty-traces/issues/6)


html_url: https://github.com/simonw/datasette/releases/tag/0.60a1
node_id: RE_kwDOBm6k_c4DUOgD
tag_name: 0.60a1
target_commitish: main
name: 0.60a1
created_at: 2021-12-19T22:08:10Z
published_at: 2021-12-19T22:11:16Z
body:
  -   Database write connections now execute the [prepare_connection(conn, database, datasette)](https://docs.datasette.io/en/latest/plugin_hooks.html#plugin-hook-prepare-connection) plugin hook. ([#1564](https://github.com/simonw/datasette/issues/1564))
  -   The `Datasette()` constructor no longer requires the `files=` argument, and is now documented at [Datasette class](https://docs.datasette.io/en/latest/internals.html#internals-datasette). ([#1563](https://github.com/simonw/datasette/issues/1563))
  -   The tracing feature now traces write queries, not just read queries. ([#1568](https://github.com/simonw/datasette/issues/1568))
  -   Added two methods for writing to the database: [await db.execute_write_script(sql, block=False)](https://docs.datasette.io/en/latest/internals.html#database-execute-write-script) and [await db.execute_write_many(sql, params_seq, block=False)](https://docs.datasette.io/en/latest/internals.html#database-execute-write-many). ([#1570](https://github.com/simonw/datasette/issues/1570))
  -   Made several performance improvements to the database schema introspection code that runs when Datasette first starts up. ([#1555](https://github.com/simonw/datasette/issues/1555))
  -   Fixed bug where writable canned queries could not be used with custom templates. ([#1547](https://github.com/simonw/datasette/issues/1547))


html_url: https://github.com/simonw/sqlite-utils/releases/tag/3.20
node_id: RE_kwDOCGYnMM4DXlgX
tag_name: 3.20
target_commitish: main
name: 3.20
created_at: 2022-01-06T06:55:35Z
published_at: 2022-01-06T06:57:09Z
body:
  -   `sqlite-utils insert ... --lines` to insert the lines from a file into a table with a single `line` column, see [Inserting unstructured data with --lines and --text](https://sqlite-utils.datasette.io/en/stable/cli.html#cli-insert-unstructured).
  -   `sqlite-utils insert ... --text` to insert the contents of the file into a table with a single `text` column and a single row.
  -   `sqlite-utils insert ... --convert` allows a Python function to be provided that will be used to convert each row that is being inserted into the database. See [Applying conversions while inserting data](https://sqlite-utils.datasette.io/en/stable/cli.html#cli-insert-convert), including details on special behavior when combined with `--lines` and `--text`. ([#356](https://github.com/simonw/sqlite-utils/issues/356))
  -   `sqlite-utils convert` now accepts a code value of `-` to read code from standard input. ([#353](https://github.com/simonw/sqlite-utils/issues/353))
  -   `sqlite-utils convert` also now accepts code that defines a named `convert(value)` function, see [Converting data in columns](https://sqlite-utils.datasette.io/en/stable/cli.html#cli-convert).
  -   `db.supports_strict` property showing if the database connection supports [SQLite strict tables](https://www.sqlite.org/stricttables.html).
  -   `table.strict` property (see [.strict](https://sqlite-utils.datasette.io/en/stable/python-api.html#python-api-introspection-strict)) indicating if the table uses strict mode. ([#344](https://github.com/simonw/sqlite-utils/issues/344))
  -   Fixed bug where `sqlite-utils upsert ... --detect-types` ignored the `--detect-types` option. ([#362](https://github.com/simonw/sqlite-utils/issues/362))


html_url: https://github.com/simonw/sqlite-utils/releases/tag/3.21
node_id: RE_kwDOCGYnMM4DYofO
tag_name: 3.21
target_commitish: main
name: 3.21
created_at: 2022-01-11T02:34:21Z
published_at: 2022-01-11T02:35:02Z
body:
  CLI and Python library improvements to help run [ANALYZE](https://www.sqlite.org/lang_analyze.html) after creating indexes or inserting rows, to gain better performance from the SQLite query planner when it runs against indexes.

  Three new CLI commands: `create-database`, `analyze` and `bulk`.

  More details and examples can be found in the [annotated release notes](https://simonwillison.net/2022/Jan/11/sqlite-utils/).

  -   New `sqlite-utils create-database` command for creating new empty database files. ([#348](https://github.com/simonw/sqlite-utils/issues/348))
  -   New Python methods for running `ANALYZE` against a database, table or index: `db.analyze()` and `table.analyze()`, see [Optimizing index usage with ANALYZE](https://sqlite-utils.datasette.io/en/stable/python-api.html#python-api-analyze). ([#366](https://github.com/simonw/sqlite-utils/issues/366))
  -   New [sqlite-utils analyze command](https://sqlite-utils.datasette.io/en/stable/cli.html#cli-analyze) for running `ANALYZE` using the CLI. ([#379](https://github.com/simonw/sqlite-utils/issues/379))
  -   The `create-index`, `insert` and `upsert` commands now have a new `--analyze` option for running `ANALYZE` after the command has completed. ([#379](https://github.com/simonw/sqlite-utils/issues/379))
  -   New [sqlite-utils bulk command](https://sqlite-utils.datasette.io/en/stable/cli.html#cli-bulk) which can import records in the same way as `sqlite-utils insert` (from JSON, CSV or TSV) and use them to bulk execute a parametrized SQL query. ([#375](https://github.com/simonw/sqlite-utils/issues/375))
  -   The CLI tool can now also be run using `python -m sqlite_utils`. ([#368](https://github.com/simonw/sqlite-utils/issues/368))
  -   Using `--fmt` now implies `--table`, so you don't need to pass both options. ([#374](https://github.com/simonw/sqlite-utils/issues/374))
  -   The `--convert` function applied to rows can now modify the row in place. ([#371](https://github.com/simonw/sqlite-utils/issues/371))
  -   The [insert-files command](https://sqlite-utils.datasette.io/en/stable/cli.html#cli-insert-files) supports two new columns: `stem` and `suffix`. ([#372](https://github.com/simonw/sqlite-utils/issues/372))
  -   The `--nl` import option now ignores blank lines in the input. ([#376](https://github.com/simonw/sqlite-utils/issues/376))
  -   Fixed bug where streaming input to the `insert` command with `--batch-size 1` would appear to only commit after several rows had been ingested, due to unnecessary input buffering. ([#364](https://github.com/simonw/sqlite-utils/issues/364))


html_url: https://github.com/simonw/sqlite-utils/releases/tag/3.22
node_id: RE_kwDOCGYnMM4DY9jG
tag_name: 3.22
target_commitish: main
name: 3.22
created_at: 2022-01-11T23:44:48Z
published_at: 2022-01-11T23:49:28Z
body:
  -   New [CLI reference](https://sqlite-utils.datasette.io/en/stable/cli-reference.html#cli-reference) documentation page, listing the output of `--help` for every one of the CLI commands. ([#383](https://github.com/simonw/sqlite-utils/issues/383))
  -   `sqlite-utils rows` now has `--limit` and `--offset` options for paginating through data. ([#381](https://github.com/simonw/sqlite-utils/issues/381))
  -   `sqlite-utils rows` now has `--where` and `-p` options for filtering the table using a `WHERE` query, see [Returning all rows in a table](https://sqlite-utils.datasette.io/en/stable/cli.html#cli-rows). ([#382](https://github.com/simonw/sqlite-utils/issues/382))


html_url: https://github.com/simonw/datasette-graphql/releases/tag/2.0.1
node_id: RE_kwDOEPNYIc4DY-i1
tag_name: 2.0.1
target_commitish: main
name: 2.0.1
created_at: 2022-01-12T01:53:19Z
published_at: 2022-01-12T01:54:07Z
body:
  - Fixes broken demo links in the README. [#86](https://github.com/simonw/datasette-graphql/issues/86)


html_url: https://github.com/simonw/datasette/releases/tag/0.60
node_id: RE_kwDOBm6k_c4DZstd
tag_name: 0.60
target_commitish: main
name: 0.60
created_at: 2022-01-14T01:36:51Z
published_at: 2022-01-14T01:41:28Z
body:
  ### Plugins and internals

  -   New plugin hook: [filters_from_request(request, database, table, datasette)](https://docs.datasette.io/en/stable/plugin_hooks.html#plugin-hook-filters-from-request), which runs on the table page and can be used to support new custom query string parameters that modify the SQL query. ([#473](https://github.com/simonw/datasette/issues/473))
  -   Added two additional methods for writing to the database: [await db.execute_write_script(sql, block=True)](https://docs.datasette.io/en/stable/internals.html#database-execute-write-script) and [await db.execute_write_many(sql, params_seq, block=True)](https://docs.datasette.io/en/stable/internals.html#database-execute-write-many). ([#1570](https://github.com/simonw/datasette/issues/1570))
  -   The [db.execute_write()](https://docs.datasette.io/en/stable/internals.html#database-execute-write) internal method now defaults to blocking until the write operation has completed. Previously it defaulted to queuing the write and then continuing to run code while the write was in the queue. ([#1579](https://github.com/simonw/datasette/issues/1579))
  -   Database write connections now execute the [prepare_connection(conn, database, datasette)](https://docs.datasette.io/en/stable/plugin_hooks.html#plugin-hook-prepare-connection) plugin hook. ([#1564](https://github.com/simonw/datasette/issues/1564))
  -   The `Datasette()` constructor no longer requires the `files=` argument, and is now documented at [Datasette class](https://docs.datasette.io/en/stable/internals.html#internals-datasette). ([#1563](https://github.com/simonw/datasette/issues/1563))
  -   The tracing feature now traces write queries, not just read queries. ([#1568](https://github.com/simonw/datasette/issues/1568))
  -   The query string variables exposed by `request.args` will now include blank strings for arguments such as `foo` in `?foo=&bar=1` rather than ignoring those parameters entirely. ([#1551](https://github.com/simonw/datasette/issues/1551))

  ### Faceting

  -   The number of unique values in a facet is now always displayed. Previously it was only displayed if the user specified `?_facet_size=max`. ([#1556](https://github.com/simonw/datasette/issues/1556))
  -   Facets of type `date` or `array` can now be configured in `metadata.json`, see [Facets in metadata.json](https://docs.datasette.io/en/stable/facets.html#facets-metadata). Thanks, David Larlet. ([#1552](https://github.com/simonw/datasette/issues/1552))
  -   New `?_nosuggest=1` parameter for table views, which disables facet suggestion. ([#1557](https://github.com/simonw/datasette/issues/1557))
  -   Fixed bug where `?_facet_array=tags&_facet=tags` would only display one of the two selected facets. ([#625](https://github.com/simonw/datasette/issues/625))

  ### Other small fixes

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


html_url: https://github.com/simonw/datasette-leaflet-freedraw/releases/tag/0.3
node_id: RE_kwDOE7z5XM4DZs6C
tag_name: 0.3
target_commitish: main
name: 0.3
created_at: 2022-01-14T02:01:18Z
published_at: 2022-01-14T02:04:12Z
body:
  - Map filtering interface now displays on table pages for tables with a SpatiaLite geometry column. [#7](https://github.com/simonw/datasette-leaflet-freedraw/issues/7)
  - Coordinates in JSON are now truncated to 5 decimal places. Thanks, Matthew Somerville. [#6](https://github.com/simonw/datasette-leaflet-freedraw/issues/6)


html_url: https://github.com/simonw/datasette-pretty-traces/releases/tag/0.4
node_id: RE_kwDOGhtmrs4DZs87
tag_name: 0.4
target_commitish: main
name: 0.4
created_at: 2022-01-14T02:07:33Z
published_at: 2022-01-14T02:08:51Z
body:
  - Now displays the number of write queries executed by [db.execute_write_many()](https://docs.datasette.io/en/stable/internals.html#await-db-execute-write-many-sql-params-seq-block-true). [#7](https://github.com/simonw/datasette-pretty-traces/issues/7)


html_url: https://github.com/simonw/s3-credentials/releases/tag/0.9
node_id: RE_kwDOGUV9is4DatEe
tag_name: 0.9
target_commitish: main
name: 0.9
created_at: 2022-01-18T02:11:03Z
published_at: 2022-01-18T02:11:37Z
body:
  See [Weeknotes: s3-credentials prefix and Datasette 0.60](https://simonwillison.net/2022/Jan/18/weeknotes/) for extra background on these new features.

  - New `--prefix myprefix/` option to `s3-credentials create`, which configures the credentials to only allow access to keys within the S3 bucket that start with the provided prefix. [#12](https://github.com/simonw/s3-credentials/issues/12)
  - `s3-credentials policy --prefix myprefix/` command for generating and outputting a JSON policy that is restricted to the specified prefix. You can see examples [in the README](https://github.com/simonw/s3-credentials#--prefix-my-prefix).
  - New `list-bucket` command for listing the contents of a specified bucket. [#28](https://github.com/simonw/s3-credentials/issues/28)
  - The `list-users`, `list-buckets` and `list-bucket` command all default to outputting an indented JSON array - previously the outputted indented JSON objects separated by newlines. The `--nl` option can be used to return newline-delimited single line JSON objects. The new `--csv` and `--tsv` options can be used to return CSV or TSV output. [#48](https://github.com/simonw/s3-credentials/issues/48)


html_url: https://github.com/simonw/datasette/releases/tag/0.60.1
node_id: RE_kwDOBm6k_c4Db1l4
tag_name: 0.60.1
target_commitish: 0.60.x
name: 0.60.1
created_at: 2022-01-21T02:08:20Z
published_at: 2022-01-21T02:12:54Z
body:
  - Fixed a bug where installation on Python 3.6 stopped working due to a change to an underlying dependency. This release can now be installed on Python 3.6, but is the last release of Datasette that will support anything less than Python 3.7. ([#1609](https://github.com/simonw/datasette/issues/1609))

reactions:
  {"url": "https://api.github.com/repos/simonw/datasette/releases/57629048/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}


html_url: https://github.com/simonw/s3-credentials/releases/tag/0.10
node_id: RE_kwDOGUV9is4DdIol
tag_name: 0.10
target_commitish: main
name: 0.10
created_at: 2022-01-25T22:56:43Z
published_at: 2022-01-25T22:57:53Z
body:
  - New `list-roles` command for listing roles configured for your AWS account. [#61](https://github.com/simonw/s3-credentials/issues/61)


html_url: https://github.com/simonw/sqlite-utils/releases/tag/3.22.1
node_id: RE_kwDOCGYnMM4DdLTG
tag_name: 3.22.1
target_commitish: main
name: 3.22.1
created_at: 2022-01-26T03:28:30Z
published_at: 2022-01-26T03:29:24Z
body:
  -   All commands now include example usage in their `--help` - see [CLI reference](https://sqlite-utils.datasette.io/en/stable/cli-reference.html#cli-reference). ([#384](https://github.com/simonw/sqlite-utils/issues/384))
  -   Python library documentation has a new [Getting started](https://sqlite-utils.datasette.io/en/stable/python-api.html#python-api-getting-started) section. ([#387](https://github.com/simonw/sqlite-utils/issues/387))
  -   Documentation now uses [Plausible analytics](https://plausible.io/). ([#389](https://github.com/simonw/sqlite-utils/issues/389))


html_url: https://github.com/simonw/datasette-leaflet-freedraw/releases/tag/0.3.1
node_id: RE_kwDOE7z5XM4DfrbG
tag_name: 0.3.1
target_commitish: main
name: 0.3.1
created_at: 2022-02-03T20:23:39Z
published_at: 2022-02-03T20:24:38Z
body:
  - Fixed a bug where installing this plugin in an environment without SpatiaLite would cause an error on the table page. [#11](https://github.com/simonw/datasette-leaflet-freedraw/issues/11)


html_url: https://github.com/simonw/sqlite-utils/releases/tag/3.23
node_id: RE_kwDOCGYnMM4DfyIr
tag_name: 3.23
target_commitish: main
name: 3.23
created_at: 2022-02-04T06:41:46Z
published_at: 2022-02-04T06:44:19Z
body:
  This release introduces four new utility methods for working with [SpatiaLite](https://www.gaia-gis.it/fossil/libspatialite/index). Thanks, Chris Amico. ([#330](https://github.com/simonw/sqlite-utils/pull/385))

  -   `sqlite_utils.utils.find_spatialite()` [finds the location of the SpatiaLite module](https://sqlite-utils.readthedocs.io/en/stable/python-api.html#python-api-gis-find-spatialite) on disk.
  -   `db.init_spatialite()` [initializes SpatiaLite](https://sqlite-utils.readthedocs.io/en/stable/python-api.html#python-api-gis-init-spatialite) for the given database.
  -   `table.add_geometry_column(...)` [adds a geometry column](https://sqlite-utils.readthedocs.io/en/stable/python-api.html#python-api-gis-add-geometry-column) to an existing table.
  -   `table.create_spatial_index(...)` [creates a spatial index](https://sqlite-utils.readthedocs.io/en/stable/python-api.html#python-api-gis-create-spatial-index) for a column.
  -   `sqlite-utils batch` now accepts a `--batch-size` option. ([#392](https://github.com/simonw/sqlite-utils/issues/392))


html_url: https://github.com/simonw/datasette/releases/tag/0.60.2
node_id: RE_kwDOBm6k_c4Dg4NS
tag_name: 0.60.2
target_commitish: 0.60.x
name: 0.60.2
created_at: 2022-02-07T23:42:59Z
published_at: 2022-02-07T23:49:38Z
body:
  -   Fixed a bug where Datasette would open the same file twice with two different database names if you ran `datasette file.db file.db`. ([#1632](https://github.com/simonw/datasette/issues/1632))

reactions:
  {"url": "https://api.github.com/repos/simonw/datasette/releases/58950482/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 1, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}


html_url: https://github.com/simonw/datasette-auth-passwords/releases/tag/1.0
node_id: RE_kwDOEKamw84DhpXb
tag_name: 1.0
target_commitish: main
name: 1.0
created_at: 2022-02-09T17:59:05Z
published_at: 2022-02-09T18:02:01Z
body:
  - New command, `datasette hash-password`, for generating password hashes on the command line. [#19](https://github.com/simonw/datasette-auth-passwords/issues/19)


html_url: https://github.com/simonw/datasette-publish-fly/releases/tag/1.1
node_id: RE_kwDODs4PE84DiLIS
tag_name: 1.1
target_commitish: main
name: 1.1
created_at: 2022-02-11T01:08:58Z
published_at: 2022-02-11T01:13:36Z
body:
  - New `--create-volume` and `--create-db` options for adding a [Fly volume](https://fly.io/docs/reference/volumes/) to the instance and creating a read-write database that will persist data between deployments. See [Using Fly volumes for writable databases](https://github.com/simonw/datasette-publish-fly/blob/1.1/README.md#using-fly-volumes-for-writable-databases) for details. [#10](https://github.com/simonw/datasette-publish-fly/issues/10)
  - `--generate-dir` option creates a directory with the `fly.toml` and `Dockerfile` needed for the deployment without deploying them. [#13](https://github.com/simonw/datasette-publish-fly/issues/13)
  - `--plugin-secret` option now stores secrets using the [Fly secrets](https://fly.io/docs/reference/secrets/) mechanism [#14](https://github.com/simonw/datasette-publish-fly/issues/14)
  - Fixed to work with the latest version of the `flyctl` tool


html_url: https://github.com/simonw/datasette-tiddlywiki/releases/tag/0.2
node_id: RE_kwDOGkmBIs4Di0zO
tag_name: 0.2
target_commitish: main
name: 0.2
created_at: 2022-02-14T05:49:12Z
published_at: 2022-02-14T05:51:45Z
body:
  - Authentication and permissions: TiddlyWiki can now only be edited by authenticated users with the `edit-tiddlywiki` permission. The `root` user has this permission by default, so running Datasette with `datasette tiddlywiki.db --root` will provide a URL that can be accessed to sign in as a user with write permissions to the wiki. [#3](https://github.com/simonw/datasette-tiddlywiki/issues/3)
  - All APIs now sit under the `/-/tiddlywiki/` namespace, and take the `base_url` setting into account. [#9](https://github.com/simonw/datasette-tiddlywiki/issues/9)


html_url: https://github.com/simonw/datasette-publish-fly/releases/tag/1.1.1
node_id: RE_kwDODs4PE84DjMb2
tag_name: 1.1.1
target_commitish: main
name: 1.1.1
created_at: 2022-02-14T22:39:17Z
published_at: 2022-02-14T22:39:37Z
body:
  - Fixed bug where a `*.db` database file was created when an application with a volume was first deployed. [#17](https://github.com/simonw/datasette-publish-fly/issues/17)

reactions:
  {"url": "https://api.github.com/repos/simonw/datasette-publish-fly/releases/59557622/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}


html_url: https://github.com/simonw/sqlite-utils/releases/tag/3.24
node_id: RE_kwDOCGYnMM4Djkn2
tag_name: 3.24
target_commitish: main
name: 3.24
created_at: 2022-02-16T01:39:13Z
published_at: 2022-02-16T01:41:50Z
body:
  -   SpatiaLite helpers for the `sqlite-utils` command-line tool - thanks, Chris Amico. ([#398](https://github.com/simonw/sqlite-utils/issues/398))
      -   [sqlite-utils create-database](https://sqlite-utils.datasette.io/en/stable/cli.html#cli-create-database) `--init-spatialite` option for initializing SpatiaLite on a newly created database.
      -   [sqlite-utils add-geometry-column](https://sqlite-utils.datasette.io/en/stable/cli.html#cli-spatialite) command for adding geometry columns.
      -   [sqlite-utils create-spatial-index](https://sqlite-utils.datasette.io/en/stable/cli.html#cli-spatialite-indexes) command for adding spatial indexes.
  -   `db[table].create(..., if_not_exists=True)` option for [creating a table](https://sqlite-utils.datasette.io/en/stable/python-api.html#python-api-explicit-create) only if it does not already exist. ([#397](https://github.com/simonw/sqlite-utils/issues/397))
  -   `Database(memory_name="my_shared_database")` parameter for creating a [named in-memory database](https://sqlite-utils.datasette.io/en/stable/python-api.html#python-api-connect) that can be shared between multiple connections. ([#405](https://github.com/simonw/sqlite-utils/issues/405))
  -   Documentation now describes [how to add a primary key to a rowid table](https://sqlite-utils.datasette.io/en/stable/cli.html#cli-transform-table-add-primary-key-to-rowid) using `sqlite-utils transform`. ([#403](https://github.com/simonw/sqlite-utils/issues/403))

reactions:
  {"url": "https://api.github.com/repos/simonw/sqlite-utils/releases/59656694/reactions", "total_count": 2, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 1, "eyes": 0}


html_url: https://github.com/eyeseast/datasette-geojson/releases/tag/v0.3.1
node_id: RE_kwDOFlezZ84Dj48j
tag_name: v0.3.1
target_commitish: main
name: Handle nulls
created_at: 2022-02-16T20:01:35Z
published_at: 2022-02-16T20:02:49Z
body:
  ## What's Changed

  * Handle nulls in https://github.com/eyeseast/datasette-geojson/pull/11

  **Full Changelog**: https://github.com/eyeseast/datasette-geojson/compare/v0.3.0...v0.3.1


html_url: https://github.com/simonw/google-drive-to-sqlite/releases/tag/0.1a0
node_id: RE_kwDOG2hQNs4Dj7Jb
tag_name: 0.1a0
target_commitish: main
name: 0.1a0
created_at: 2022-02-16T22:14:25Z
published_at: 2022-02-16T22:18:21Z
body:
  This initial alpha release may not work for anyone other than me, as Google still need to verify my OAuth application.

  - `google-drive-to-sqlite auth` command for authenticating with Google and storing the resulting credentials. [#2](https://github.com/simonw/google-drive-to-sqlite/issues/2)
  - `google-drive-to-sqlite files` command for fetching file metadata from Google Drive and storing it in a SQLite database file, or outputting it as JSON. [#7](https://github.com/simonw/google-drive-to-sqlite/issues/7)
  - `google-drive-to-sqlite get` command for executing other authenticated API calls against Google APIs. [#3](https://github.com/simonw/google-drive-to-sqlite/issues/3)


html_url: https://github.com/simonw/google-drive-to-sqlite/releases/tag/0.1a1
node_id: RE_kwDOG2hQNs4DkBdx
tag_name: 0.1a1
target_commitish: main
name: 0.1a1
created_at: 2022-02-17T06:49:50Z
published_at: 2022-02-17T06:52:55Z
body:
  - New `google-drive-to-sqlite download` command, [documented here](https://github.com/simonw/google-drive-to-sqlite/blob/0.1a1/README.md#google-drive-to-sqlite-download-file_id). [#4](https://github.com/simonw/google-drive-to-sqlite/issues/4)
  - Fixed bug where `google-drive-to-sqlite get` threw an error if retrieving non-JSON output. [#13](https://github.com/simonw/google-drive-to-sqlite/issues/13)
  - Increased timeout to 30s. [#8](https://github.com/simonw/google-drive-to-sqlite/issues/8)


html_url: https://github.com/eyeseast/datasette-geojson-map/releases/tag/v0.4.0
node_id: RE_kwDOFtPpRM4DkT8L
tag_name: v0.4.0
target_commitish: main
name: Simple styles
created_at: 2022-02-17T21:11:54Z
published_at: 2022-02-17T21:13:38Z
body:
  ## What's Changed

  * Basic simplestyle implementation in https://github.com/eyeseast/datasette-geojson-map/pull/7 Maps can now be styled using the [simplestyle-spec](https://github.com/mapbox/simplestyle-spec/tree/master/1.1.0). See README for examples.

  **Full Changelog**: https://github.com/eyeseast/datasette-geojson-map/compare/v0.3.1...v0.4.0


html_url: https://github.com/simonw/google-drive-to-sqlite/releases/tag/0.2a0
node_id: RE_kwDOG2hQNs4DkaSP
tag_name: 0.2a0
target_commitish: main
name: 0.2a0
created_at: 2022-02-18T06:33:21Z
published_at: 2022-02-18T06:36:07Z
body:
  - New `google-drive-to-sqlite revoke` command, for revoking stored credentials. [#16](https://github.com/simonw/google-drive-to-sqlite/issues/16)
  - If an hour long `access_token` expires while a command is running, the failed request is retried with a new token automatically generated using the `refresh_token`. [#11](https://github.com/simonw/google-drive-to-sqlite/issues/11)


html_url: https://github.com/simonw/google-drive-to-sqlite/releases/tag/0.3
node_id: RE_kwDOG2hQNs4DkzLG
tag_name: 0.3
target_commitish: main
name: 0.3
created_at: 2022-02-19T21:36:14Z
published_at: 2022-02-19T21:37:13Z
body:
  - New design for the database schema: [#9](https://github.com/simonw/google-drive-to-sqlite/issues/9)
    - `drive_files` contains files, with a `_parent` foreign key to the parent folder
    - `drive_folders` contains folders, with a self-referential `_parent` foreign key
    - `drive_users` contains users who may own or have modified files
    - `drive_folders_owners` relates folders to their owners
    - `drive_files_owners` relates files to their owners
    - The full schema is now included [in the documentation](https://github.com/simonw/google-drive-to-sqlite/blob/0.3/README.md#database-schema).
  - New `--import-json` and `--import-nl` options to the `files` command for creating a database using JSON data retrieved previously using the `--nl` and `--json` options. [#20](https://github.com/simonw/google-drive-to-sqlite/issues/20)
  - `--starred`, `--trashed` and `--shared-with-me` options for `files` as shortcuts for constructing more advanced search queries. [#25](https://github.com/simonw/google-drive-to-sqlite/issues/25)
  - Documentation now has a [quickstart section](https://github.com/simonw/google-drive-to-sqlite/blob/0.3/README.md#quickstart). [#24](https://github.com/simonw/google-drive-to-sqlite/issues/24)


html_url: https://github.com/simonw/google-drive-to-sqlite/releases/tag/0.4
node_id: RE_kwDOG2hQNs4Dk5Sc
tag_name: 0.4
target_commitish: main
name: 0.4
created_at: 2022-02-20T20:12:45Z
published_at: 2022-02-20T20:12:49Z
body:
  - Redesigned [the schema](https://github.com/simonw/google-drive-to-sqlite/blob/0.4/README.md#database-schema) to reflect that Google Drive files can only have one, not multiple owners. [#34](https://github.com/simonw/google-drive-to-sqlite/issues/34)
    - Removed `drive_folders_owners` and `drive_files_owners` tables.
    - `drive_files` and `drive_folders` now have a `_owner` column that is a foreign key to `drive_users`.
  - New [google-drive-to-sqlite export format file_id](https://github.com/simonw/google-drive-to-sqlite/blob/0.4/README.md#google-drive-to-sqlite-export-format-file_id) command for exporting Google Docs files as different formats such as `pdf`. [#21](https://github.com/simonw/google-drive-to-sqlite/issues/21)
  - New options to `files`: `--apps` for all Google Docs files of all types, or `--docs`, `--sheets`, `--presentations` and `--drawings` for Google Docs files of specific types.
  - `google-drive-to-sqlite files` and `get` commands now have a `--verbose` option showing what the tool is doing in detail.
  - Automatically retries up to twice on HTTP transport errors, with a 2 second delay. [#18](https://github.com/simonw/google-drive-to-sqlite/issues/18)
  - The `auth.json` file now defaults to `0600` permissions, meaning only the user can read that file on a shared system. [#37](https://github.com/simonw/google-drive-to-sqlite/issues/37)


html_url: https://github.com/simonw/sqlite-diffable/releases/tag/0.2.1
node_id: RE_kwDOC6Gvzs4Dk7P-
tag_name: 0.2.1
target_commitish: main
name: 0.2.1
created_at: 2022-02-21T02:28:25Z
published_at: 2022-02-21T02:29:45Z
body:
  - README now includes a description of the file format and a link to a demo. [#5](https://github.com/simonw/sqlite-diffable/issues/5)


html_url: https://github.com/simonw/datasette-render-markdown/releases/tag/2.1
node_id: RE_kwDODSffFs4Dm8zQ
tag_name: 2.1
target_commitish: main
name: 2.1
created_at: 2022-02-26T18:20:54Z
published_at: 2022-02-26T18:22:00Z
body:
  - Fixed bug where potential URLs inside of `<pre>` links were being turned into links. [#11](https://github.com/simonw/datasette-render-markdown/issues/11)


html_url: https://github.com/simonw/datasette-dateutil/releases/tag/0.3
node_id: RE_kwDOEdSSqc4DnakE
tag_name: 0.3
target_commitish: main
name: 0.3
created_at: 2022-03-01T00:21:06Z
published_at: 2022-03-01T00:22:13Z
body:
  - The `dateutil_parse()`, `dateutil_parse_fuzzy()`, `dateutil_parse_dayfirst()` and `dateutil_parse_fuzzy_dayfirst()` functions all now accept an optional second argument specifying a "default" datetime to consider if some of the details are missing. [#5](https://github.com/simonw/datasette-dateutil/issues/5)


html_url: https://github.com/eyeseast/geocode-sqlite/releases/tag/v0.5.2
node_id: RE_kwDOEXxXas4DnsA9
tag_name: v0.5.2
target_commitish: main
name: Fix bug updating rowid tables
created_at: 2022-03-01T19:48:05Z
published_at: 2022-03-01T19:49:19Z
body:
  ## What's Changed
  * Require click >= 7.0 to hide commands by @1-Byte in https://github.com/eyeseast/geocode-sqlite/pull/20
  * Fix error with rowid tables by @eyeseast in https://github.com/eyeseast/geocode-sqlite/pull/27


  **Full Changelog**: https://github.com/eyeseast/geocode-sqlite/compare/v0.5.1...v0.5.2


html_url: https://github.com/simonw/sqlite-utils/releases/tag/3.25
node_id: RE_kwDOCGYnMM4Dn0qf
tag_name: 3.25
target_commitish: main
name: 3.25
created_at: 2022-03-02T06:34:46Z
published_at: 2022-03-02T06:35:18Z
body:
  -   New `hash_id_columns=` parameter for creating a primary key that's a hash of the content of specific columns - see [Setting an ID based on the hash of the row contents](https://sqlite-utils.datasette.io/en/stable/python-api.html#python-api-hash) for details. ([#343](https://github.com/simonw/sqlite-utils/issues/343))
  -   New [db.sqlite_version](https://sqlite-utils.datasette.io/en/stable/python-api.html#python-api-sqlite-version) property, returning a tuple of integers representing the version of SQLite, for example `(3, 38, 0)`.
  -   Fixed a bug where [register_function(deterministic=True)](https://sqlite-utils.datasette.io/en/stable/python-api.html#python-api-register-function) caused errors on versions of SQLite prior to 3.8.3. ([#408](https://github.com/simonw/sqlite-utils/issues/408))
  -   New documented [hash_record(record, keys=...)](https://sqlite-utils.datasette.io/en/stable/reference.html#reference-utils-hash-record) function.


html_url: https://github.com/simonw/geojson-to-sqlite/releases/tag/1.0
node_id: RE_kwDODiU8M84DohI6
tag_name: 1.0
target_commitish: main
name: 1.0
created_at: 2022-03-04T02:12:12Z
published_at: 2022-03-04T02:14:16Z
body:
  - New `--properties` option for writing GeoJSON properties to a JSON column called `properties` - or use `--properties=props` to write to a column called `props`. Thanks, [Chris Amico](https://github.com/eyeseast). [#25](https://github.com/simonw/geojson-to-sqlite/issues/25)


html_url: https://github.com/simonw/django-sql-dashboard/releases/tag/1.0.2
node_id: RE_kwDOFLLS6s4Dp4b4
tag_name: 1.0.2
target_commitish: main
name: 1.0.2
created_at: 2022-03-08T19:58:44Z
published_at: 2022-03-08T20:00:13Z
body:
  - Fixed a bug where queries that returned an array containing dates (or other objects without a defined Python JSON serialization) would result in a 500 error. [#146](https://github.com/simonw/django-sql-dashboard/issues/146)


