releases
344 rows sorted by reactions descending
This data as json, CSV (advanced)
Suggested facets: target_commitish, prerelease, created_at (date), published_at (date)
id | html_url | node_id | tag_name | target_commitish | name | draft | author | prerelease | created_at | published_at | body | repo | reactions ▲ |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
75560168 | https://github.com/simonw/sqlite-utils/releases/tag/3.29 | RE_kwDOCGYnMM4EgPTo | 3.29 | main | 3.29 | 0 | simonw 9599 | 0 | 2022-08-28T03:48:36Z | 2022-08-28T03:50:29Z | - The `sqlite-utils query`, `memory` and `bulk` commands now all accept a new `--functions` option. This can be passed a string of Python code, and any callable objects defined in that code will be made available to SQL queries as custom SQL functions. See [Defining custom SQL functions](https://sqlite-utils.datasette.io/en/stable/cli.html#cli-query-functions) for details. ([#471](https://github.com/simonw/sqlite-utils/issues/471)) - `db[table].create(...)` method now accepts a new `transform=True` parameter. If the table already exists it will be transform to match the schema configuration options passed to the function. This may result in columns being added or dropped, column types being changed, column order being updated or not null and default values for columns being set. ([#467](https://github.com/simonw/sqlite-utils/issues/467)) - Related to the above, the `sqlite-utils create-table` command now accepts a `--transform` option. - New introspection property: `table.default_values` returns a dictionary mapping each column name with a default value to the configured default value. ([#475](https://github.com/simonw/sqlite-utils/issues/475)) - The `--load-extension` option can now be provided a path to a compiled SQLite extension module accompanied by the name of an entrypoint, separated by a colon - for example `--load-extension ./lines0:sqlite3_lines0_noread_init`. This feature is modelled on code first [contributed to Datasette](https://github.com/simonw/datasette/pull/1789) by Alex Garcia. ([#470](https://github.com/simonw/sqlite-utils/issues/470)) - Functions registered using the [db.register_function()](https://sqlite-utils.datasette.io/en/stable/python-api.html#python-api-register-function) method can now have a custom name specified using the new `db.register_function(fn, name=...)` parameter. ([#458](https://github.com/simonw/sqlite-utils/issues/458)) - [sqlite-utils rows](https://sqlite-utils.datasette.io/en/stable/cli.html#cli-rows) has a new `--order` option for specifying the sort order for … | sqlite-utils 140912432 | {"url": "https://api.github.com/repos/simonw/sqlite-utils/releases/75560168/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0} |
65833874 | https://github.com/simonw/sqlite-utils/releases/tag/3.26.1 | RE_kwDOCGYnMM4D7IuS | 3.26.1 | main | 3.26.1 | 0 | simonw 9599 | 0 | 2022-05-02T18:17:19Z | 2022-05-02T18:18:01Z | - Now depends on [click-default-group-wheel](https://github.com/simonw/click-default-group-wheel), a pure Python wheel package. This means you can install and use this package with [Pyodide](https://pyodide.org/), which can run Python entirely in your browser using WebAssembly. ([#429](https://github.com/simonw/sqlite-utils/pull/429)) Try that out using the [Pyodide REPL](https://pyodide.org/en/stable/console.html): ```pycon >>> import micropip >>> await micropip.install("sqlite-utils") >>> import sqlite_utils >>> db = sqlite_utils.Database(memory=True) >>> list(db.query("select 3 * 5")) [{'3 * 5': 15}] ``` | sqlite-utils 140912432 | {"url": "https://api.github.com/repos/simonw/sqlite-utils/releases/65833874/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 1, "eyes": 0} |
59656694 | https://github.com/simonw/sqlite-utils/releases/tag/3.24 | RE_kwDOCGYnMM4Djkn2 | 3.24 | main | 3.24 | 0 | simonw 9599 | 0 | 2022-02-16T01:39:13Z | 2022-02-16T01:41:50Z | - 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)) | sqlite-utils 140912432 | {"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} |
53350811 | https://github.com/simonw/sqlite-utils/releases/tag/3.18 | RE_kwDOCGYnMM4DLhGb | 3.18 | main | 3.18 | 0 | simonw 9599 | 0 | 2021-11-15T03:15:23Z | 2021-11-15T03:17:31Z | - 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/p… | sqlite-utils 140912432 | {"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} |
48389722 | https://github.com/simonw/sqlite-utils/releases/tag/3.17 | MDc6UmVsZWFzZTQ4Mzg5NzIy | 3.17 | main | 3.17 | 0 | simonw 9599 | 0 | 2021-08-24T23:40:18Z | 2021-08-24T23:42:22Z | - 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)) | sqlite-utils 140912432 | {"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} |
47636109 | https://github.com/simonw/sqlite-utils/releases/tag/3.15.1 | MDc6UmVsZWFzZTQ3NjM2MTA5 | 3.15.1 | main | 3.15.1 | 0 | simonw 9599 | 0 | 2021-08-10T23:55:12Z | 2021-08-10T23:55:38Z | - Python library now includes type annotations on almost all of the methods, plus detailed docstrings describing each one. ([#311](https://github.com/simonw/sqlite-utils/issues/311)) - New [API Reference](https://sqlite-utils.datasette.io/en/stable/reference.html) documentation page, powered by those docstrings. - Fixed bug where `.add_foreign_keys()` failed to raise an error if called against a `View`. ([#313](https://github.com/simonw/sqlite-utils/issues/313)) - Fixed bug where `.delete_where()` returned a `[]` instead of returning `self` if called against a non-existant table. ([#315](https://github.com/simonw/sqlite-utils/issues/315)) | sqlite-utils 140912432 | {"url": "https://api.github.com/repos/simonw/sqlite-utils/releases/47636109/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0} |
44904928 | https://github.com/simonw/sqlite-utils/releases/tag/3.10 | MDc6UmVsZWFzZTQ0OTA0OTI4 | 3.10 | main | 3.10 | 0 | simonw 9599 | 0 | 2021-06-19T16:09:29Z | 2021-06-19T16:13:11Z | This release introduces the `sqlite-utils memory` command, which can be used to load CSV or JSON data into a temporary in-memory database and run SQL queries (including joins across multiple files) directly against that data. Also new: `sqlite-utils insert --detect-types`, `sqlite-utils dump`, `table.use_rowid` plus some smaller fixes. ### sqlite-utils memory This example of `sqlite-utils memory` retrieves information about the all of the repositories in the [Dogsheep](https://github.com/dogsheep) organization on GitHub using [this JSON API](https://api.github.com/users/dogsheep/repos), sorts them by their number of stars and outputs a table of the top five (using `-t`): ``` $ curl -s 'https://api.github.com/users/dogsheep/repos'\ | sqlite-utils memory - ' select full_name, forks_count, stargazers_count from stdin order by stargazers_count desc limit 5 ' -t full_name forks_count stargazers_count --------------------------------- ------------- ------------------ dogsheep/twitter-to-sqlite 12 225 dogsheep/github-to-sqlite 14 139 dogsheep/dogsheep-photos 5 116 dogsheep/dogsheep.github.io 7 90 dogsheep/healthkit-to-sqlite 4 85 ``` The tool works against files on disk as well. This example joins data from two CSV files: ``` $ cat creatures.csv species_id,name 1,Cleo 2,Bants 2,Dori 2,Azi $ cat species.csv id,species_name 1,Dog 2,Chicken $ sqlite-utils memory species.csv creatures.csv ' select * from creatures join species on creatures.species_id = species.id ' [{"species_id": 1, "name": "Cleo", "id": 1, "species_name": "Dog"}, {"species_id": 2, "name": "Bants", "id": 2, "species_name": "Chicken"}, {"species_id": 2, "name": "Dori", "id": 2, "species_name": "Chicken"}, {"species_id": 2, "name": "Azi", "id": 2, "species_name": "Chicken"}] ``` … | sqlite-utils 140912432 | {"url": "https://api.github.com/repos/simonw/sqlite-utils/releases/44904928/reactions", "total_count": 3, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 1, "eyes": 1} |
44511190 | https://github.com/simonw/sqlite-utils/releases/tag/3.9 | MDc6UmVsZWFzZTQ0NTExMTkw | 3.9 | main | 3.9 | 0 | simonw 9599 | 0 | 2021-06-12T02:07:18Z | 2021-06-12T02:08:03Z | - New `sqlite-utils schema` command showing the full SQL schema for a database, see [Showing the schema (CLI)](https://sqlite-utils.datasette.io/en/stable/cli.html#cli-schema). ([#268](https://github.com/simonw/sqlite-utils/issues/268)) - `db.schema` introspection property exposing the same feature to the Python library, see [Showing the schema (Python library)](https://sqlite-utils.datasette.io/en/stable/python-api.html#python-api-schema). | sqlite-utils 140912432 | {"url": "https://api.github.com/repos/simonw/sqlite-utils/releases/44511190/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} |
109839649 | https://github.com/simonw/sqlite-utils/releases/tag/3.33 | RE_kwDOCGYnMM4GjAUh | 3.33 | main | 3.33 | 0 | simonw 9599 | 0 | 2023-06-26T01:31:22Z | 2023-06-26T01:32:30Z | - `sqlite-utils` will now use [sqlean.py](https://github.com/nalgeon/sqlean.py) in place of `sqlite3` if it is installed in the same virtual environment. This is useful for Python environments with either an outdated version of SQLite or with restrictions on SQLite such as disabled extension loading or restrictions resulting in the `sqlite3.OperationalError: table sqlite_master may not be modified` error. ([#559](https://github.com/simonw/sqlite-utils/issues/559)) - New `with db.ensure_autocommit_off()` context manager, which ensures that the database is in autocommit mode for the duration of a block of code. This is used by `db.enable_wal()` and `db.disable_wal()` to ensure they work correctly with `pysqlite3` and `sqlean.py`. - New `db.iterdump()` method, providing an iterator over SQL strings representing a dump of the database. This uses `sqlite-dump` if it is available, otherwise falling back on the `conn.iterdump()` method from `sqlite3`. Both `pysqlite3` and `sqlean.py` omit support for `iterdump()` - this method helps paper over that difference. | sqlite-utils 140912432 | {"url": "https://api.github.com/repos/simonw/sqlite-utils/releases/109839649/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} |
103740013 | https://github.com/simonw/sqlite-utils/releases/tag/3.32.1 | RE_kwDOCGYnMM4GLvJt | 3.32.1 | main | 3.32.1 | 0 | simonw 9599 | 0 | 2023-05-21T21:11:54Z | 2023-05-21T21:12:05Z | - Examples in the [CLI documentation](https://sqlite-utils.datasette.io/en/stable/cli.html) can now all be copied and pasted without needing to remove a leading `$`. ([#551](https://github.com/simonw/sqlite-utils/issues/551)) - Documentation now covers [Setting up shell completion](https://sqlite-utils.datasette.io/en/stable//installation.html#installation-completion) for `bash` and `zsh`. ([#552](https://github.com/simonw/sqlite-utils/issues/552)) | sqlite-utils 140912432 | {"url": "https://api.github.com/repos/simonw/sqlite-utils/releases/103740013/reactions", "total_count": 3, "+1": 3, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} |
103736235 | https://github.com/simonw/sqlite-utils/releases/tag/3.32 | RE_kwDOCGYnMM4GLuOr | 3.32 | main | 3.32 | 0 | simonw 9599 | 0 | 2023-05-21T18:53:44Z | 2023-05-21T18:55:42Z | - New experimental `sqlite-utils tui` interface for interactively building command-line invocations, powered by [Trogon](https://github.com/Textualize/trogon). This requires an optional dependency, installed using `sqlite-utils install trogon`. There is a screenshot [in the documentation](https://sqlite-utils.datasette.io/en/stable/cli.html#cli-tui). ([#545](https://github.com/simonw/sqlite-utils/issues/545)) - `sqlite-utils analyze-tables` command ([documentation](https://sqlite-utils.datasette.io/en/stable/cli.html#cli-analyze-tables)) now has a `--common-limit 20` option for changing the number of common/least-common values shown for each column. ([#544](https://github.com/simonw/sqlite-utils/issues/544)) - `sqlite-utils analyze-tables --no-most` and `--no-least` options for disabling calculation of most-common and least-common values. - If a column contains only `null` values, `analyze-tables` will no longer attempt to calculate the most common and least common values for that column. ([#547](https://github.com/simonw/sqlite-utils/issues/547)) - Calling `sqlite-utils analyze-tables` with non-existent columns in the `-c/--column` option now results in an error message. ([#548](https://github.com/simonw/sqlite-utils/issues/548)) - The `table.analyze_column()` method ([documented here](https://sqlite-utils.datasette.io/en/stable/python-api.html#python-api-analyze-column)) now accepts `most_common=False` and `least_common=False` options for disabling calculation of those values. | sqlite-utils 140912432 | {"url": "https://api.github.com/repos/simonw/sqlite-utils/releases/103736235/reactions", "total_count": 3, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 3, "eyes": 0} |
102274005 | https://github.com/simonw/sqlite-utils/releases/tag/3.31 | RE_kwDOCGYnMM4GGJPV | 3.31 | main | 3.31 | 0 | simonw 9599 | 0 | 2023-05-08T22:33:57Z | 2023-05-08T22:37:24Z | - Dropped support for Python 3.6. Tests now ensure compatibility with Python 3.11. ([#517](https://github.com/simonw/sqlite-utils/issues/517)) - Automatically locates the SpatiaLite extension on Apple Silicon. Thanks, Chris Amico. ([#536](https://github.com/simonw/sqlite-utils/pull/536)) - New `--raw-lines` option for the `sqlite-utils query` and `sqlite-utils memory` commands, which outputs just the raw value of the first column of evy row. ([#539](https://github.com/simonw/sqlite-utils/issues/539)) - Fixed a bug where `table.upsert_all()` failed if the `not_null=` option was passed. ([#538](https://github.com/simonw/sqlite-utils/issues/538)) - Fixed a `ResourceWarning` when using `sqlite-utils insert`. ([#534](https://github.com/simonw/sqlite-utils/issues/534)) - Now shows a more detailed error message when `sqlite-utils insert` is called with invalid JSON. ([#532](https://github.com/simonw/sqlite-utils/ises/532)) - `table.convert(..., skip_false=False)` and `sqlite-utils convert --no-skip-false` options, for avoiding a misfeature where the [convert()](http://127.0.0.1:8000/python-api.html#python-api-convert) mechanism skips rows in the database with a falsey value for the specified column. Fixing this by default would be a backwards-incompatible change and is under consideration for a 4.0 release in the future. ([#527](https://github.com/simonw/sqlite-utils/issues/527)) - Tables can now be created with self-referential foreign keys. Thanks, Scott Perry. ([#537](https://github.com/simonw/sqlite-utils/pull/537)) - `sqlite-utils transform` no longer breaks if a table defines default values for columns. Thanks, Kenny Song. ([#509](https://github.com/simonw/sqlite-utils/issues/509)) - Fixed a bug where repeated calls to `table.transform()` did not work correctly. Thanks, Martin Carpenter. ([#525](https://github.com/simonw/sqlite-utils/issues/525)) - Improved error message if `rows_from_file()` is passed a non-binary-mode file-like object. ([#520](https://github.com/simonw/sqlite-utils/issues/520)) | sqlite-utils 140912432 | {"url": "https://api.github.com/repos/simonw/sqlite-utils/releases/102274005/reactions", "total_count": 3, "+1": 3, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} |
94985654 | https://github.com/simonw/datasette/releases/tag/0.64.2 | RE_kwDOBm6k_c4FqV22 | 0.64.2 | 0.64.x | 0.64.2 | 0 | simonw 9599 | 0 | 2023-03-08T20:41:13Z | 2023-03-08T20:46:27Z | - Fixed a bug with `datasette publish cloudrun` where deploys all used the same Docker image tag. This was mostly inconsequential as the service is deployed as soon as the image has been pushed to the registry, but could result in the incorrect image being deployed if two different deploys for two separate services ran at exactly the same time. [#2036](https://github.com/simonw/datasette/issues/2036) | datasette 107914493 | {"url": "https://api.github.com/repos/simonw/datasette/releases/94985654/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} |
84496148 | https://github.com/simonw/datasette/releases/tag/1.0a0 | RE_kwDOBm6k_c4FCU8U | 1.0a0 | main | 1.0a0 | 0 | simonw 9599 | 1 | 2022-11-29T19:57:54Z | 2022-11-29T19:58:55Z | This first alpha release of Datasette 1.0 introduces a brand new collection of APIs for writing to the database ([#1850](https://github.com/simonw/datasette/issues/1850)), as well as a new API token mechanism baked into Datasette core. Previously, API tokens have only been supported by installing additional plugins. This is very much a preview: expect many more backwards incompatible API changes prior to the full 1.0 release. Feedback enthusiastically welcomed, either through [issue comments](https://github.com/simonw/datasette/issues/1850) or via the [Datasette Discord](https://datasette.io/discord) community. ### Signed API tokens - New `/-/create-token` page allowing authenticated users to create signed API tokens that can act on their behalf, see [API Tokens](https://docs.datasette.io/en/1.0-dev/authentication.html#createtokenview). ([#1852](https://github.com/simonw/datasette/issues/1852)) - New `datasette create-token` command for creating tokens from the command line: [datasette create-token](https://docs.datasette.io/en/1.0-dev/authentication.html#authentication-cli-create-token). - New [allow_signed_tokens](https://docs.datasette.io/en/1.0-dev/settings.html#setting-allow-signed-tokens) setting which can be used to turn off signed token support. ([#1856](https://github.com/simonw/datasette/issues/1856)) - New [max_signed_tokens_ttl](https://docs.datasette.io/en/1.0-dev/settings.html#setting-max-signed-tokens-ttl) setting for restricting the maximum allowed duration of a signed token. ([#1858](https://github.com/simonw/datasette/issues/1858)) ### Write API - New API explorer at `/-/api` for trying out the API. ([#1871](https://github.com/simonw/datasette/issues/1871)) - `/db/-/create` API for [Creating a table](https://docs.datasette.io/en/1.0-dev/json_api.html#tablecreateview). ([#1882](https://github.com/simonw/datasette/issues/1882)) - `/db/table/-/insert` API for [Inserting rows](https://docs.datasette.io/en/1.0-dev/json_api.html#tableinsertview). ([#1851](https://github.com/simo… | datasette 107914493 | {"url": "https://api.github.com/repos/simonw/datasette/releases/84496148/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 2, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} |
82765509 | https://github.com/simonw/datasette/releases/tag/0.63.1 | RE_kwDOBm6k_c4E7ubF | 0.63.1 | main | 0.63.1 | 0 | simonw 9599 | 0 | 2022-11-11T07:01:20Z | 2022-11-11T07:02:36Z | - Fixed a bug where Datasette's table filter form would not redirect correctly when run behind a proxy using the [base_url](https://docs.datasette.io/en/stable/settings.html#setting-base-url) setting. ([#1883](https://github.com/simonw/datasette/issues/1883)) - SQL query is now shown wrapped in a `<textarea>` if a query exceeds a time limit. ([#1876](https://github.com/simonw/datasette/issues/1876)) - Fixed an intermittent "Too many open files" error while running the test suite. ([#1843](https://github.com/simonw/datasette/issues/1843)) - New [db.close()](https://docs.datasette.io/en/stable/internals.html#database-close) internal method. | datasette 107914493 | {"url": "https://api.github.com/repos/simonw/datasette/releases/82765509/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} |
81262417 | https://github.com/simonw/datasette/releases/tag/0.63 | RE_kwDOBm6k_c4E1_dR | 0.63 | main | 0.63 | 0 | simonw 9599 | 0 | 2022-10-27T22:11:26Z | 2022-10-27T22:13:32Z | See [Datasette 0.63: The annotated release notes](https://simonwillison.net/2022/Oct/27/datasette-0-63/) for more background on the changes in this release. ## Features - Now tested against Python 3.11. Docker containers used by `datasette publish` and `datasette package` both now use that version of Python. ([#1853](https://github.com/simonw/datasette/issues/1853)) - `--load-extension` option now supports entrypoints. Thanks, Alex Garcia. ([#1789](https://github.com/simonw/datasette/pull/1789)) - Facet size can now be set per-table with the new `facet_size` table metadata option. ([#1804](https://github.com/simonw/datasette/issues/1804)) - The [truncate_cells_html](https://docs.datasette.io/en/stable/settings.html#setting-truncate-cells-html) setting now also affects long URLs in columns. ([#1805](https://github.com/simonw/datasette/issues/1805)) - The non-JavaScript SQL editor textarea now increases height to fit the SQL query. ([#1786](https://github.com/simonw/datasette/issues/1786)) - Facets are now displayed with better line-breaks in long values. Thanks, Daniel Rech. ([#1794](https://github.com/simonw/datasette/pull/1794)) - The `settings.json` file used in [Configuration directory mode](https://docs.datasette.io/en/stable/settings.html#config-dir) is now validated on startup. ([#1816](https://github.com/simonw/datasette/issues/1816)) - SQL queries can now include leading SQL comments, using `/* ... */` or `-- ...` syntax. Thanks, Charles Nepote. ([#1860](https://github.com/simonw/datasette/issues/1860)) - SQL query is now re-displayed when terminated with a time limit error. ([#1819](https://github.com/simonw/datasette/issues/1819)) - The [inspect data](https://docs.datasette.io/en/stable/performance.html#performance-inspect) mechanism is now used to speed up server startup - thanks, Forest Gregg. ([#1834](https://github.com/simonw/datasette/issues/1834)) - In [Configuration directory mode](https://docs.datasette.io/en/stable/settings.html#config-dir) databases with filenames ending in `.s… | datasette 107914493 | {"url": "https://api.github.com/repos/simonw/datasette/releases/81262417/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0} |
80750406 | https://github.com/simonw/datasette/releases/tag/0.63a1 | RE_kwDOBm6k_c4E0CdG | 0.63a1 | main | 0.63a1 | 0 | simonw 9599 | 1 | 2022-10-24T03:07:09Z | 2022-10-24T03:11:47Z | - SQL query is now re-displayed when terminated with a time limit error. ([#1819](https://github.com/simonw/datasette/issues/1819)) - New documentation on [Running Datasette using OpenRC](https://docs.datasette.io/en/latest/deploying.html#deploying-openrc) - thanks, Adam Simpson. ([#1825](https://github.com/simonw/datasette/pull/1825)) - The [inspect data](https://docs.datasette.io/en/latest/performance.html#performance-inspect) mechanism is now used to speed up server startup - thanks, Forest Gregg. ([#1834](https://github.com/simonw/datasette/issues/1834)) - In [Configuration directory mode](https://docs.datasette.io/en/latest/settings.html#config-dir) databases with filenames ending in `.sqlite` or `.sqlite3` are now automatically added to the Datasette instance. ([#1646](https://github.com/simonw/datasette/issues/1646)) - Breadcrumb navigation display now respects the current user's permissions. ([#1831](https://github.com/simonw/datasette/issues/1831)) - Screenshots in the documentation are now maintained using [shot-scraper](https://shot-scraper.datasette.io/), as described in [Automating screenshots for the Datasette documentation using shot-scraper](https://simonwillison.net/2022/Oct/14/automating-screenshots/). ([#1844](https://github.com/simonw/datasette/issues/1844)) - The [datasette.check_visibility()](https://docs.datasette.io/en/latest/internals.html#datasette-check-visibility) method now accepts an optional `permissions=` list, allowing it to take multiple permissions into account at once when deciding if something should be shown as public or private. This has been used to correctly display padlock icons in more places in the Datasette interface. ([#1829](https://github.com/simonw/datasette/issues/1829)) | datasette 107914493 | {"url": "https://api.github.com/repos/simonw/datasette/releases/80750406/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 2, "rocket": 0, "eyes": 0} |
74385093 | https://github.com/simonw/datasette/releases/tag/0.62 | RE_kwDOBm6k_c4EbwbF | 0.62 | main | 0.62 | 0 | simonw 9599 | 0 | 2022-08-14T17:32:42Z | 2022-08-14T17:43:05Z | Datasette can now run entirely in your browser using WebAssembly. Try out [Datasette Lite](https://lite.datasette.io/), take a look [at the code](https://github.com/simonw/datasette-lite) or read more about it in [Datasette Lite: a server-side Python web application running in a browser](https://simonwillison.net/2022/May/4/datasette-lite/). Datasette now has a [Discord community](https://discord.gg/ktd74dm5mw) for questions and discussions about Datasette and its ecosystem of projects. ## Features - Datasette is now compatible with [Pyodide](https://pyodide.org/). This is the enabling technology behind [Datasette Lite](https://lite.datasette.io/). ([#1733](https://github.com/simonw/datasette/issues/1733)) - Database file downloads now implement conditional GET using ETags. ([#1739](https://github.com/simonw/datasette/issues/1739)) - HTML for facet results and suggested results has been extracted out into new templates `_facet_results.html` and `_suggested_facets.html`. Thanks, M. Nasimul Haque. ([#1759](https://github.com/simonw/datasette/pull/1759)) - Datasette now runs some SQL queries in parallel. This has limited impact on performance, see [this research issue](https://github.com/simonw/datasette/issues/1727) for details. - New `--nolock` option for ignoring file locks when opening read-only databases. ([#1744](https://github.com/simonw/datasette/issues/1744)) - Spaces in the database names in URLs are now encoded as `+` rather than `~20`. ([#1701](https://github.com/simonw/datasette/issues/1701)) - `<Binary: 2427344 bytes>` is now displayed as `<Binary: 2,427,344 bytes>` and is accompanied by tooltip showing "2.3MB". ([#1712](https://github.com/simonw/datasette/issues/1712)) - The base Docker image used by `datasette publish cloudrun`, `datasette package` and the [official Datasette image](https://hub.docker.com/datasetteproject/datasette) has been upgraded to `3.10.6-slim-bullseye`. ([#1768](https://github.com/simonw/datasette/issues/1768)) - Canned writable queries again… | datasette 107914493 | {"url": "https://api.github.com/repos/simonw/datasette/releases/74385093/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 2, "rocket": 0, "eyes": 0} |
58950482 | https://github.com/simonw/datasette/releases/tag/0.60.2 | RE_kwDOBm6k_c4Dg4NS | 0.60.2 | 0.60.x | 0.60.2 | 0 | simonw 9599 | 0 | 2022-02-07T23:42:59Z | 2022-02-07T23:49:38Z | - 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)) | datasette 107914493 | {"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} |
57629048 | https://github.com/simonw/datasette/releases/tag/0.60.1 | RE_kwDOBm6k_c4Db1l4 | 0.60.1 | 0.60.x | 0.60.1 | 0 | simonw 9599 | 0 | 2022-01-21T02:08:20Z | 2022-01-21T02:12:54Z | - 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)) | datasette 107914493 | {"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} |
51940513 | https://github.com/simonw/datasette/releases/tag/0.59.1 | RE_kwDOBm6k_c4DGIyh | 0.59.1 | main | 0.59.1 | 0 | simonw 9599 | 0 | 2021-10-24T22:29:56Z | 2021-10-24T22:32:25Z | - 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)) | datasette 107914493 | {"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} |
51387349 | https://github.com/simonw/datasette/releases/tag/0.59 | RE_kwDOBm6k_c4DEBvV | 0.59 | main | 0.59 | 0 | simonw 9599 | 0 | 2021-10-14T19:23:43Z | 2021-10-14T19:31:56Z | - 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/pl… | datasette 107914493 | {"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} |
47507174 | https://github.com/simonw/datasette/releases/tag/0.59a1 | MDc6UmVsZWFzZTQ3NTA3MTc0 | 0.59a1 | main | 0.59a1 | 0 | simonw 9599 | 1 | 2021-08-09T01:13:03Z | 2021-08-09T01:14:06Z | - 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)) | datasette 107914493 | {"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} |
45182156 | https://github.com/simonw/datasette/releases/tag/0.58a1 | MDc6UmVsZWFzZTQ1MTgyMTU2 | 0.58a1 | main | 0.58a1 | 0 | simonw 9599 | 1 | 2021-06-24T16:24:59Z | 2021-06-24T16:29:09Z | - 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)) | datasette 107914493 | {"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} |
44292523 | https://github.com/simonw/datasette/releases/tag/0.57.1 | MDc6UmVsZWFzZTQ0MjkyNTIz | 0.57.1 | main | 0.57.1 | 0 | simonw 9599 | 0 | 2021-06-08T16:26:45Z | 2021-06-08T16:28:31Z | - Fixed visual display glitch with global navigation menu. ([#1367](https://github.com/simonw/datasette/issues/1367)) - No longer truncates the list of table columns displayed on the `/database` page. ([#1364](https://github.com/simonw/datasette/issues/1364)) | datasette 107914493 | {"url": "https://api.github.com/repos/simonw/datasette/releases/44292523/reactions", "total_count": 4, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 4, "rocket": 0, "eyes": 0} |
44155601 | https://github.com/simonw/datasette/releases/tag/0.57 | MDc6UmVsZWFzZTQ0MTU1NjAx | 0.57 | main | 0.57 | 0 | simonw 9599 | 0 | 2021-06-05T22:06:55Z | 2021-06-05T22:11:18Z | **Warning**: This release fixes a [reflected cross-site scripting](https://owasp.org/www-community/attacks/xss/#reflected-xss-attacks) security hole with the `?_trace=1` feature. You should upgrade to this version, or to Datasette 0.56.1, as soon as possible. ([#1360](https://github.com/simonw/datasette/issues/1360)) In addition to the security fix, this release includes `?_col=` and `?_nocol=` options for controlling which columns are displayed for a table, `?_facet_size=` for increasing the number of facet results returned, re-display of your SQL query should an error occur and numerous bug fixes. ### New features - If an error occurs while executing a user-provided SQL query, that query is now re-displayed in an editable form along with the error message. ([#619](https://github.com/simonw/datasette/issues/619)) - New `?_col=` and `?_nocol=` parameters to show and hide columns in a table, plus an interface for hiding and showing columns in the column cog menu. ([#615](https://github.com/simonw/datasette/issues/615)) - A new `?_facet_size=` parameter for customizing the number of facet results returned on a table or view page. ([#1332](https://github.com/simonw/datasette/issues/1332)) - `?_facet_size=max` sets that to the maximum, which defaults to 1,000 and is controlled by the the [max_returned_rows](https://docs.datasette.io/en/stable/settings.html#setting-max-returned-rows) setting. If facet results are truncated the ... at the bottom of the facet list now links to this parameter. ([#1337](https://github.com/simonw/datasette/issues/1337)) - `?_nofacet=1` option to disable all facet calculations on a page, used as a performance optimization for CSV exports and `?_shape=array/object`. ([#1349](https://github.com/simonw/datasette/issues/1349), [#263](https://github.com/simonw/datasette/issues/263)) - `?_nocount=1` option to disable full query result counts. ([#1353](https://github.com/simonw/datasette/issues/1353)) - `?_trace=1` debugging option is now controlled by the new [trace_d… | datasette 107914493 | {"url": "https://api.github.com/repos/simonw/datasette/releases/44155601/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 1, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} |
101136455 | https://github.com/simonw/datasette/releases/tag/0.64.3 | RE_kwDOBm6k_c4GBzhH | 0.64.3 | 0.64.x | 0.64.3 | 0 | simonw 9599 | 0 | 2023-04-27T14:55:25Z | 2023-04-27T15:00:27Z | - Added `pip` and `setuptools` as explicit dependencies. This fixes a bug where Datasette could not be installed using [Rye](https://github.com/mitsuhiko/rye). ([#2065](https://github.com/simonw/datasette/issues/2065)) | datasette 107914493 | {"url": "https://api.github.com/repos/simonw/datasette/releases/101136455/reactions", "total_count": 3, "+1": 1, "-1": 0, "laugh": 0, "hooray": 2, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} |
50003635 | https://github.com/dogsheep/twitter-to-sqlite/releases/tag/0.22 | RE_kwDODEm0Qs4C-v6z | 0.22 | main | 0.22 | 0 | simonw 9599 | 0 | 2021-09-21T17:39:08Z | 2021-09-21T17:41:05Z | - `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) | twitter-to-sqlite 206156866 | {"url": "https://api.github.com/repos/dogsheep/twitter-to-sqlite/releases/50003635/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0} |
8546575 | https://github.com/simonw/datasette/releases/tag/0.12 | MDc6UmVsZWFzZTg1NDY1NzU= | 0.12 | main | Datasette 0.12 | 0 | simonw 9599 | 0 | 2017-11-16T15:37:46Z | 2017-11-16T16:01:35Z | - Added `__version__`, now displayed as tooltip in page footer (#108). - Added initial docs, including a changelog (#99). - Turned on auto-escaping in Jinja. - Added a UI for editing named parameters (#96). You can now construct a custom SQL statement using SQLite named parameters (e.g. `:name`) and datasette will display form fields for editing those parameters. [Here's an example](https://australian-dogs.now.sh/australian-dogs-3ba9628?sql=select+name%2C+count%28*%29+as+n+from+%28%0D%0A%0D%0Aselect+upper%28%22Animal+name%22%29+as+name+from+%5BAdelaide-City-Council-dog-registrations-2013%5D+where+Breed+like+%3Abreed%0D%0A%0D%0Aunion+all%0D%0A%0D%0Aselect+upper%28Animal_Name%29+as+name+from+%5BAdelaide-City-Council-dog-registrations-2014%5D+where+Breed_Description+like+%3Abreed%0D%0A%0D%0Aunion+all+%0D%0A%0D%0Aselect+upper%28Animal_Name%29+as+name+from+%5BAdelaide-City-Council-dog-registrations-2015%5D+where+Breed_Description+like+%3Abreed%0D%0A%0D%0Aunion+all%0D%0A%0D%0Aselect+upper%28%22AnimalName%22%29+as+name+from+%5BCity-of-Port-Adelaide-Enfield-Dog_Registrations_2016%5D+where+AnimalBreed+like+%3Abreed%0D%0A%0D%0Aunion+all%0D%0A%0D%0Aselect+upper%28%22Animal+Name%22%29+as+name+from+%5BMitcham-dog-registrations-2015%5D+where+Breed+like+%3Abreed%0D%0A%0D%0Aunion+all%0D%0A%0D%0Aselect+upper%28%22DOG_NAME%22%29+as+name+from+%5Bburnside-dog-registrations-2015%5D+where+DOG_BREED+like+%3Abreed%0D%0A%0D%0Aunion+all+%0D%0A%0D%0Aselect+upper%28%22Animal_Name%22%29+as+name+from+%5Bcity-of-playford-2015-dog-registration%5D+where+Breed_Description+like+%3Abreed%0D%0A%0D%0Aunion+all%0D%0A%0D%0Aselect+upper%28%22Animal+Name%22%29+as+name+from+%5Bcity-of-prospect-dog-registration-details-2016%5D+where%22Breed+Description%22+like+%3Abreed%0D%0A%0D%0A%29+group+by+name+order+by+n+desc%3B&breed=pug) which lets you see the most popular names for dogs of different species registered through various dog registration schemes in Australia. - Pin to specific Jinja version. (#100). - Default to 127.0.0.1 n… | datasette 107914493 | |
8652546 | https://github.com/simonw/datasette/releases/tag/0.13 | MDc6UmVsZWFzZTg2NTI1NDY= | 0.13 | main | Datasette 0.13: foreign key, search and filters | 0 | simonw 9599 | 0 | 2017-11-25T03:33:39Z | 2017-11-25T03:44:46Z | # 0.13 (2017-11-24) - Search now applies to current filters. Combined search into the same form as filters. Closes [\#133](https://github.com/simonw/datasette/issues/133) - Much tidier design for table view header. Closes [\#147](https://github.com/simonw/datasette/issues/147) - Added `?column__not=blah` filter. Closes [\#148](https://github.c) - Row page now resolves foreign keys. Closes [\#132]() - Further tweaks to select/input filter styling. Refs [\#86]() - thanks for the help, @natbat\! - Show linked foreign key in table cells. - Added UI for editing table filters. Refs [\#86]() - Hide FTS-created tables on index pages. Closes [\#129]() - Add publish to heroku support \[Jacob Kaplan-Moss\] `datasette publish heroku mydb.db` Pull request [\#104]() - Initial implementation of `?_group_count=column`. URL shortcut for counting rows grouped by one or more columns. `?_group_count=column1&_group_count=column2` works as well. SQL generated looks like this: select "qSpecies", count(*) as "count" from Street_Tree_List group by "qSpecies" order by "count" desc limit 100 Or for two columns like this: select "qSpecies", "qSiteInfo", count(*) as "count" from Street_Tree_List group by "qSpecies", "qSiteInfo" order by "count" desc limit 100 Refs [\#44]() - Added `--build=master` option to datasette publish and package. The `datasette publish` and `datasette package` commands both now accept an optional `--build` argument. If provided, this can be used to specify a branch published to GitHub that should be built into the container. This makes it easier to test code that has not yet been officially released to PyPI, e.g.: datasette publish now mydb.db --branch=master … | datasette 107914493 | |
8841695 | https://github.com/simonw/datasette/releases/tag/0.14 | MDc6UmVsZWFzZTg4NDE2OTU= | 0.14 | main | Datasette 0.14: customization edition | 0 | simonw 9599 | 0 | 2017-12-10T01:33:24Z | 2017-12-10T01:41:14Z | The theme of this release is customization: Datasette now allows every aspect of its presentation [to be customized](http://datasette.readthedocs.io/en/latest/custom_templates.html) either using additional CSS or by providing entirely new templates. Datasette's [metadata.json format](http://datasette.readthedocs.io/en/latest/metadata.html) has also been expanded, to allow per-database and per-table metadata. A new `datasette skeleton` command can be used to generate a skeleton JSON file ready to be filled in with per-database and per-table details. The `metadata.json` file can also be used to define [canned queries](http://datasette.readthedocs.io/en/latest/sql_queries.html#canned-queries), as a more powerful alternative to SQL views. - `extra_css_urls`/`extra_js_urls` in metadata A mechanism in the `metadata.json` format for adding custom CSS and JS urls. Create a `metadata.json` file that looks like this: { "extra_css_urls": [ "https://simonwillison.net/static/css/all.bf8cd891642c.css" ], "extra_js_urls": [ "https://code.jquery.com/jquery-3.2.1.slim.min.js" ] } Then start datasette like this: datasette mydb.db --metadata=metadata.json The CSS and JavaScript files will be linked in the `<head>` of every page. You can also specify a SRI (subresource integrity hash) for these assets: { "extra_css_urls": [ { "url": "https://simonwillison.net/static/css/all.bf8cd891642c.css", "sri": "sha384-9qIZekWUyjCyDIf2YK1FRoKiPJq4PHt6tp/ulnuuyRBvazd0hG7pWbE99zvwSznI" } ], "extra_js_urls": [ { "url": "https://code.jquery.com/jquery-3.2.1.slim.min.js", "sri": "sha256-k2WSCIexGzOj3Euiig+TlR8gA0EmPjuc79OEeY5L45g=" } ] } … | datasette 107914493 | |
10458641 | https://github.com/simonw/datasette/releases/tag/0.15 | MDc6UmVsZWFzZTEwNDU4NjQx | 0.15 | main | Datasette 0.15: sort by column | 0 | simonw 9599 | 0 | 2018-04-09T15:48:24Z | 2018-04-09T15:55:29Z | The biggest new feature in this release is the ability to sort by column. On the table page the column headers can now be clicked to apply sort (or descending sort), or you can specify `?_sort=column` or `?_sort_desc=column` directly in the URL. You can try this feature out on [this fivethirtyeight data](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 ([\… | datasette 107914493 | |
10542772 | https://github.com/simonw/datasette/releases/tag/0.16 | MDc6UmVsZWFzZTEwNTQyNzcy | 0.16 | main | Datasette 0.16: sort on mobile, better error handling | 0 | simonw 9599 | 0 | 2018-04-13T18:28:55Z | 2018-04-13T21:10:53Z | - Better mechanism for handling errors; 404s for missing table/database New error mechanism closes [#193](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. | datasette 107914493 | |
10547491 | https://github.com/simonw/datasette/releases/tag/0.18 | MDc6UmVsZWFzZTEwNTQ3NDkx | 0.18 | main | Datasette 0.18: units | 0 | simonw 9599 | 0 | 2018-04-14T15:36:10Z | 2018-04-14T15:45:11Z | This release introduces [support for units](http://datasette.readthedocs.io/en/latest/metadata.html#specifying-units-for-a-column), contributed by Russ Garrett ([\#203](https://github.com/simonw/datasette/issues/203)). You can now optionally specify the units for specific columns using `metadata.json`. Once specified, units will be displayed in the HTML view of your table. They also become available for use in filters - if a column is configured with a unit of distance, you can request all rows where that column is less than 50 meters or more than 20 feet [for example](https://wtr-api.herokuapp.com/wtr-663ea99/license_frequency?frequency__gt=50GHz&height__lt=50ft). - Link foreign keys which don't have labels. \[Russ Garrett\] This renders unlabeled FKs as simple links. Also includes bonus fixes for two minor issues: - In foreign key link hrefs the primary key was escaped using HTML escaping rather than URL escaping. This broke some non-integer PKs. - Print tracebacks to console when handling 500 errors. - Fix SQLite error when loading rows with no incoming FKs. \[Russ Garrett\] This fixes `ERROR: conn=<sqlite3.Connection object at 0x10bbb9f10>, sql = 'select ', params = {'id': '1'}` caused by an invalid query when loading incoming FKs. The error was ignored due to async but it still got printed to the console. - Allow custom units to be registered with Pint. \[Russ Garrett\] - Support units in filters. \[Russ Garrett\] - Tidy up units support. \[Russ Garrett\] - Add units to exported JSON - Units key in metadata skeleton - Docs - Initial units support. \[Russ Garrett\] Add support for specifying units for a column in `metadata.json` and rendering them on display using [pint](https://pint.readthedocs.io/en/latest/) | datasette 107914493 | |
10575542 | https://github.com/simonw/datasette/releases/tag/0.19 | MDc6UmVsZWFzZTEwNTc1NTQy | 0.19 | main | Datasette 0.19: plugins preview | 0 | simonw 9599 | 0 | 2018-04-17T02:12:21Z | 2018-04-17T02:21:51Z | This is the first preview of the new Datasette plugins mechanism. Only two plugin hooks are available so far - for custom SQL functions and custom template filters. There's plenty more to come - read [the documentation](https://datasette.readthedocs.io/en/latest/plugins.html) and get involved in [the tracking ticket](https://github.com/simonw/datasette/issues/14) if you have feedback on the direction so far. - Fix for `_sort_desc=sortable_with_nulls` test, refs [#216](https://github.com/simonw/datasette/issues/216) - Fixed [#216](https://github.com/simonw/datasette/issues/216) - paginate correctly when sorting by nullable column - Initial documentation for plugins, closes [#213](https://github.com/simonw/datasette/issues/213) https://datasette.readthedocs.io/en/latest/plugins.html - New `--plugins-dir=plugins/` option ([#212](https://github.com/simonw/datasette/issues/212)) New option causing Datasette to load and evaluate all of the Python files in the specified directory and register any plugins that are defined in those files. This new option is available for the following commands: datasette serve mydb.db --plugins-dir=plugins/ datasette publish now/heroku mydb.db --plugins-dir=plugins/ datasette package mydb.db --plugins-dir=plugins/ - Start of the plugin system, based on pluggy ([#210](https://github.com/simonw/datasette/issues/14)) Uses https://pluggy.readthedocs.io/ originally created for the py.test project We're starting with two plugin hooks: `prepare_connection(conn)` This is called when a new SQLite connection is created. It can be used to register custom SQL functions. `prepare_jinja2_environment(env)` This is called with the Jinja2 environment. It can be used to register custom template tags and filters. An example plugin which uses these two hooks can be found at https://github.com/simonw/datasette-plugin-demos or installed using `pip install datasette-plugin-demos` Refs [#14](https://github.com/simonw/dat… | datasette 107914493 | |
10645022 | https://github.com/simonw/datasette/releases/tag/0.20 | MDc6UmVsZWFzZTEwNjQ1MDIy | 0.20 | main | Datasette 0.20: static assets and templates for plugins | 0 | simonw 9599 | 0 | 2018-04-20T14:36:29Z | 2018-04-20T14:41:14Z | Mostly new work on the [Plugins](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 | datasette 107914493 | |
10868113 | https://github.com/simonw/datasette/releases/tag/0.21 | MDc6UmVsZWFzZTEwODY4MTEz | 0.21 | main | Datasette 0.21: New _shape=, new _size=, search within columns | 0 | simonw 9599 | 0 | 2018-05-05T23:15:38Z | 2018-05-05T23:21:33Z | New JSON `_shape=` options, the ability to set table `_size=` and a mechanism for searching within specific columns. - Default tests to using a longer timelimit Every now and then a test will fail in Travis CI on Python 3.5 because it hit the default 20ms SQL time limit. Test fixtures now default to a 200ms time limit, and we only use the 20ms time limit for the specific test that tests query interruption. This should make our tests on Python 3.5 in Travis much more stable. - Support `_search_COLUMN=text` searches, closes [\#237](https://github.com/simonw/datasette/issues/237) - Show version on `/-/plugins` page, closes [\#248](https://github.com/simonw/datasette/issues/248) - `?_size=max` option, closes [\#249](https://github.com/simonw/datasette/issues/249) - Added `/-/versions` and `/-/versions.json`, closes [\#244](https://github.com/simonw/datasette/issues/244) Sample output: { "python": { "version": "3.6.3", "full": "3.6.3 (default, Oct 4 2017, 06:09:38) \n[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.37)]" }, "datasette": { "version": "0.20" }, "sqlite": { "version": "3.23.1", "extensions": { "json1": null, "spatialite": "4.3.0a" } } } - Renamed `?_sql_time_limit_ms=` to `?_timelimit`, closes [\#242](https://github.com/simonw/datasette/issues/242) - New `?_shape=array` option + tweaks to `_shape`, closes [\#245](https://github.com/simonw/datasette/issues/245) - Default is now `?_shape=arrays` (renamed from `lists`) - New `?_shape=array` returns an array of objects as the root object - Changed `?_shape=object` to return the object as the root - Updated docs - FTS tables now detected by `inspect()`, closes [\#240](https://github.com/simonw/datasette/issues/240) - New `?_size=XXX` querystrin… | datasette 107914493 | |
11087850 | https://github.com/simonw/datasette/releases/tag/0.22 | MDc6UmVsZWFzZTExMDg3ODUw | 0.22 | main | Datasette 0.22: Datasette Facets | 0 | simonw 9599 | 0 | 2018-05-20T23:41:47Z | 2018-05-20T23:44:19Z | The big new feature in this release is [facets](http://datasette.readthedocs.io/en/latest/facets.html). Datasette can now apply faceted browse to any column in any table. It will also suggest possible facets. See the [Datasette Facets](https://simonwillison.net/2018/May/20/datasette-facets/) announcement post for more details. In addition to the work on facets: - Added [docs for introspection endpoints](https://datasette.readthedocs.io/en/latest/introspection.html) - New `--config` option, added `--help-config`, closes #274 Removed the `--page_size=` argument to `datasette serve` in favour of: datasette serve --config default_page_size:50 mydb.db Added new help section: $ datasette --help-config Config options: default_page_size Default page size for the table view (default=100) max_returned_rows Maximum rows that can be returned from a table or custom query (default=1000) sql_time_limit_ms Time limit for a SQL query in milliseconds (default=1000) default_facet_size Number of values to return for requested facets (default=30) facet_time_limit_ms Time limit for calculating a requested facet (default=200) facet_suggest_time_limit_ms Time limit for calculating a suggested facet (default=50) - Only apply responsive table styles to `.rows-and-column` Otherwise they interfere with tables in the description, e.g. on https://fivethirtyeight.datasettes.com/fivethirtyeight/nba-elo%2Fnbaallelo - Refactored views into new `views/` modules, refs #256 - [Documentation for SQLite full-text search](http://datasette.readthedocs.io/en/latest/full_text_search.html) support, closes #253 - `/-/versions` now includes SQLite `fts_versions`, closes #2… | datasette 107914493 | |
11136605 | https://github.com/simonw/datasette/releases/tag/0.22.1 | MDc6UmVsZWFzZTExMTM2NjA1 | 0.22.1 | main | Datasette 0.22.1 | 0 | simonw 9599 | 0 | 2018-05-23T14:00:01Z | 2018-05-23T14:04:17Z | Bugfix release, plus we now use [versioneer](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] | datasette 107914493 | |
11530498 | https://github.com/simonw/datasette/releases/tag/0.23 | MDc6UmVsZWFzZTExNTMwNDk4 | 0.23 | main | Datasette 0.23: CSV, SpatiaLite and more | 0 | simonw 9599 | 0 | 2018-06-18T15:11:57Z | 2018-06-18T15:28:37Z | This release features CSV export, improved options for foreign key expansions, new configuration settings and improved support for SpatiaLite. See full release notes here: http://datasette.readthedocs.io/en/latest/changelog.html#v0-23 | datasette 107914493 | |
11591352 | https://github.com/simonw/datasette/releases/tag/0.23.1 | MDc6UmVsZWFzZTExNTkxMzUy | 0.23.1 | main | Datasette 0.23.1 | 0 | simonw 9599 | 0 | 2018-06-21T15:37:13Z | 2018-06-21T16:02:44Z | Minor bugfix release. * Correctly display empty strings in HTML table, closes #314 * Allow “.” in database filenames, closes #302 * 404s ending in slash redirect to remove that slash, closes #309 * Fixed incorrect display of compound primary keys with foreign key references. Closes #319 * Docs + example of canned SQL query using || concatenation. Closes #321 * Correctly display facets with value of 0 - closes #318 * Default ‘expand labels’ to checked in CSV advanced export | datasette 107914493 | |
11825600 | https://github.com/simonw/datasette/releases/tag/0.23.2 | MDc6UmVsZWFzZTExODI1NjAw | 0.23.2 | main | Datasette 0.23.2 | 0 | simonw 9599 | 0 | 2018-07-08T05:28:45Z | 2018-07-08T05:41:38Z | Minor bugfix and documentation release. * CSV export now respects `--cors`, fixes #326 * [Installation instructions](https://datasette.readthedocs.io/en/latest/installation.html) including docker image - closes #328 * Fix for row pages for tables with / in, closes #325 | datasette 107914493 | |
12080036 | https://github.com/simonw/datasette/releases/tag/0.24 | MDc6UmVsZWFzZTEyMDgwMDM2 | 0.24 | main | Datasette 0.24 | 0 | simonw 9599 | 0 | 2018-07-24T04:34:38Z | 2018-07-24T16:51:29Z | See full release notes here: http://datasette.readthedocs.io/en/latest/changelog.html#v0-24 | datasette 107914493 | |
12986637 | https://github.com/simonw/datasette/releases/tag/0.25 | MDc6UmVsZWFzZTEyOTg2NjM3 | 0.25 | master | Datasette 0.25 | 0 | simonw 9599 | 0 | 2018-09-19T17:48:12Z | 2018-09-19T18:27:21Z | New plugin hooks, improved database view support and an easier way to use more recent versions of SQLite. See full release notes here: https://datasette.readthedocs.io/en/latest/changelog.html#v0-25 | datasette 107914493 | |
14560294 | https://github.com/simonw/datasette/releases/tag/0.25.1 | MDc6UmVsZWFzZTE0NTYwMjk0 | 0.25.1 | master | Datasette 0.25.1 | 0 | simonw 9599 | 0 | 2018-11-05T06:31:41Z | 2018-12-16T21:44:27Z | Documentation improvements plus a fix for publishing to Zeit Now. * `datasette publish now` now uses Zeit’s v1 platform, to work around the new 100MB image limit. Thanks, @slygent - closes #366. | datasette 107914493 | |
14560304 | https://github.com/simonw/datasette/releases/tag/0.25.2 | MDc6UmVsZWFzZTE0NTYwMzA0 | 0.25.2 | master | Datasette 0.25.2 | 0 | simonw 9599 | 0 | 2018-12-16T21:26:37Z | 2018-12-16T21:45:39Z | * `datasette 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 | datasette 107914493 | |
14914779 | https://github.com/simonw/datasette/releases/tag/0.26 | MDc6UmVsZWFzZTE0OTE0Nzc5 | 0.26 | master | Datasette 0.26 | 0 | simonw 9599 | 0 | 2019-01-03T02:53:59Z | 2019-01-10T21:41:00Z | [Datasette 0.26 release notes](https://datasette.readthedocs.io/en/stable/changelog.html#v0-26) | datasette 107914493 | |
15175633 | https://github.com/simonw/sqlite-utils/releases/tag/0.7 | MDc6UmVsZWFzZTE1MTc1NjMz | 0.7 | master | 0.7 | 0 | simonw 9599 | 0 | 2019-01-25T07:20:49Z | 2019-01-25T07:27:57Z | Release notes are here: https://sqlite-utils.readthedocs.io/en/latest/changelog.html#v0-7 | sqlite-utils 140912432 | |
15206659 | https://github.com/simonw/datasette/releases/tag/0.26.1 | MDc6UmVsZWFzZTE1MjA2NjU5 | 0.26.1 | master | Datasette 0.26.1 | 0 | simonw 9599 | 0 | 2019-01-11T00:51:38Z | 2019-01-28T01:50:45Z | Release notes: https://datasette.readthedocs.io/en/stable/changelog.html#v0-26-1 | datasette 107914493 | |
15208430 | https://github.com/simonw/sqlite-utils/releases/tag/0.8 | MDc6UmVsZWFzZTE1MjA4NDMw | 0.8 | master | 0.8 | 0 | simonw 9599 | 0 | 2019-01-26T02:13:29Z | 2019-01-28T06:28:12Z | Two new commands: `sqlite-utils csv` and `sqlite-utils json` https://sqlite-utils.readthedocs.io/en/latest/changelog.html#v0-8 | sqlite-utils 140912432 | |
15243253 | https://github.com/simonw/sqlite-utils/releases/tag/0.9 | MDc6UmVsZWFzZTE1MjQzMjUz | 0.9 | master | 0.9 | 0 | simonw 9599 | 0 | 2019-01-28T06:34:33Z | 2019-01-29T15:30:48Z | https://sqlite-utils.readthedocs.io/en/latest/changelog.html#v0-9 | sqlite-utils 140912432 | |
15389392 | https://github.com/simonw/datasette/releases/tag/0.27 | MDc6UmVsZWFzZTE1Mzg5Mzky | 0.27 | master | Datasette 0.27 | 0 | simonw 9599 | 0 | 2019-02-01T03:47:05Z | 2019-02-06T05:10:20Z | https://datasette.readthedocs.io/en/stable/changelog.html#v0-27 | datasette 107914493 | |
15439849 | https://github.com/simonw/sqlite-utils/releases/tag/0.10 | MDc6UmVsZWFzZTE1NDM5ODQ5 | 0.10 | master | 0.10 | 0 | simonw 9599 | 0 | 2019-02-07T05:17:52Z | 2019-02-08T05:19:33Z | https://sqlite-utils.readthedocs.io/en/latest/changelog.html#v0-10 | sqlite-utils 140912432 | |
15731282 | https://github.com/simonw/sqlite-utils/releases/tag/0.11 | MDc6UmVsZWFzZTE1NzMxMjgy | 0.11 | master | 0.11 | 0 | simonw 9599 | 0 | 2019-02-08T05:23:50Z | 2019-02-23T02:15:34Z | https://sqlite-utils.readthedocs.io/en/latest/changelog.html#v0-11 | sqlite-utils 140912432 | |
15731354 | https://github.com/simonw/sqlite-utils/releases/tag/0.12 | MDc6UmVsZWFzZTE1NzMxMzU0 | 0.12 | master | 0.12 | 0 | simonw 9599 | 0 | 2019-02-23T02:22:28Z | 2019-02-23T02:31:29Z | https://sqlite-utils.readthedocs.io/en/latest/changelog.html#v0-12 | sqlite-utils 140912432 | |
15739051 | https://github.com/simonw/sqlite-utils/releases/tag/0.13 | MDc6UmVsZWFzZTE1NzM5MDUx | 0.13 | master | 0.13 | 0 | simonw 9599 | 0 | 2019-02-24T06:54:43Z | 2019-02-24T07:00:14Z | https://sqlite-utils.readthedocs.io/en/latest/changelog.html#v0-13 | sqlite-utils 140912432 | |
15744513 | https://github.com/simonw/sqlite-utils/releases/tag/0.14 | MDc6UmVsZWFzZTE1NzQ0NTEz | 0.14 | master | 0.14 | 0 | simonw 9599 | 0 | 2019-02-24T23:11:51Z | 2019-02-24T23:15:16Z | https://sqlite-utils.readthedocs.io/en/latest/changelog.html#v0-14 | sqlite-utils 140912432 | |
17450414 | https://github.com/simonw/datasette/releases/tag/0.28 | MDc6UmVsZWFzZTE3NDUwNDE0 | 0.28 | master | Datasette 0.28 | 0 | simonw 9599 | 0 | 2019-05-19T21:37:49Z | 2019-05-19T21:42:28Z | [Datasette 0.28](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. | datasette 107914493 | |
17583581 | https://github.com/simonw/sqlite-utils/releases/tag/1.0 | MDc6UmVsZWFzZTE3NTgzNTgx | 1.0 | master | 1.0 | 0 | simonw 9599 | 0 | 2019-05-25T01:06:38Z | 2019-05-25T01:19:21Z | https://sqlite-utils.readthedocs.io/en/latest/changelog.html#v1-0 | sqlite-utils 140912432 | |
17616531 | https://github.com/simonw/sqlite-utils/releases/tag/1.0.1 | MDc6UmVsZWFzZTE3NjE2NTMx | 1.0.1 | master | 1.0.1 | 0 | simonw 9599 | 0 | 2019-05-28T00:50:28Z | 2019-05-28T00:51:21Z | https://sqlite-utils.readthedocs.io/en/latest/changelog.html#v1-0-1 | sqlite-utils 140912432 | |
17645877 | https://github.com/simonw/sqlite-utils/releases/tag/1.1 | MDc6UmVsZWFzZTE3NjQ1ODc3 | 1.1 | master | 1.1 | 0 | simonw 9599 | 0 | 2019-05-29T05:12:03Z | 2019-05-29T05:15:22Z | https://sqlite-utils.readthedocs.io/en/latest/changelog.html#v1-1 * Support for `ignore=True` / `--ignore` for ignoring inserted records if the primary key alread exists (#21) * Ability to add a column that is a foreign key reference using `fk=...` / `--fk` (#16) | sqlite-utils 140912432 | |
17961871 | https://github.com/simonw/sqlite-utils/releases/tag/1.2 | MDc6UmVsZWFzZTE3OTYxODcx | 1.2 | master | 1.2 | 0 | simonw 9599 | 0 | 2019-06-13T06:39:59Z | 2019-06-13T06:42:21Z | https://sqlite-utils.readthedocs.io/en/latest/changelog.html#v1-2 | sqlite-utils 140912432 | |
18132566 | https://github.com/simonw/sqlite-utils/releases/tag/1.2.1 | MDc6UmVsZWFzZTE4MTMyNTY2 | 1.2.1 | master | 1.2.1 | 0 | simonw 9599 | 0 | 2019-06-21T00:01:24Z | 2019-06-21T00:06:29Z | https://sqlite-utils.readthedocs.io/en/latest/changelog.html#v1-2-1 | sqlite-utils 140912432 | |
18226656 | https://github.com/simonw/sqlite-utils/releases/tag/1.2.2 | MDc6UmVsZWFzZTE4MjI2NjU2 | 1.2.2 | master | 1.2.2 | 0 | simonw 9599 | 0 | 2019-06-26T04:20:55Z | 2019-06-26T04:24:33Z | https://sqlite-utils.readthedocs.io/en/latest/changelog.html#v1-2-2 | sqlite-utils 140912432 | |
18307928 | https://github.com/simonw/sqlite-utils/releases/tag/1.3 | MDc6UmVsZWFzZTE4MzA3OTI4 | 1.3 | master | 1.3 | 0 | simonw 9599 | 0 | 2019-06-29T06:32:36Z | 2019-06-29T06:39:32Z | https://sqlite-utils.readthedocs.io/en/latest/changelog.html#v1-3 | sqlite-utils 140912432 | |
18461320 | https://github.com/simonw/datasette/releases/tag/0.29 | MDc6UmVsZWFzZTE4NDYxMzIw | 0.29 | master | Datasette 0.29 | 0 | simonw 9599 | 0 | 2019-07-08T03:14:27Z | 2019-07-08T03:43:13Z | ASGI, new plugin hooks, facet by date and much, much more… See [the release notes](https://datasette.readthedocs.io/en/stable/changelog.html#v0-29) for full details. | datasette 107914493 | |
18598489 | https://github.com/simonw/datasette/releases/tag/0.29.1 | MDc6UmVsZWFzZTE4NTk4NDg5 | 0.29.1 | master | 0.29.1 | 0 | simonw 9599 | 0 | 2019-07-11T16:17:55Z | 2019-07-14T01:43:44Z | - Fixed bug with static mounts using relative paths which could lead to traversal exploits (#555) - thanks Abdussamet Kocak! https://datasette.readthedocs.io/en/stable/changelog.html#v0-29-1 | datasette 107914493 | |
18723202 | https://github.com/simonw/sqlite-utils/releases/tag/1.6 | MDc6UmVsZWFzZTE4NzIzMjAy | 1.6 | master | 1.6 | 0 | simonw 9599 | 0 | 2019-07-19T04:51:21Z | 2019-07-19T05:36:48Z | - `sqlite-utils insert` can now accept TSV data via the new `--tsv` option (#41) | sqlite-utils 140912432 | |
18750551 | https://github.com/dogsheep/healthkit-to-sqlite/releases/tag/0.1 | MDc6UmVsZWFzZTE4NzUwNTUx | 0.1 | master | Initial release | 0 | simonw 9599 | 0 | 2019-07-20T06:22:57Z | 2019-07-20T16:43:09Z | healthkit-to-sqlite 197882382 | ||
18750559 | https://github.com/dogsheep/healthkit-to-sqlite/releases/tag/0.2 | MDc6UmVsZWFzZTE4NzUwNTU5 | 0.2 | master | 0.2 | 0 | simonw 9599 | 0 | 2019-07-20T16:44:05Z | 2019-07-20T16:44:41Z | Fixed a bug where duplicate records could crash the import. | healthkit-to-sqlite 197882382 | |
18762495 | https://github.com/dogsheep/healthkit-to-sqlite/releases/tag/0.3 | MDc6UmVsZWFzZTE4NzYyNDk1 | 0.3 | master | 0.3 | 0 | simonw 9599 | 0 | 2019-07-22T03:31:54Z | 2019-07-22T03:33:32Z | - Tool now displays a progress bar during import - you can disable it with `--silent` #5 - You can pass a path to a decompressed XML file instead of a zip file, using `--xml` - Records table is now broken up into different tables for each type of recorded data #6 | healthkit-to-sqlite 197882382 | |
18823859 | https://github.com/dogsheep/healthkit-to-sqlite/releases/tag/0.3.1 | MDc6UmVsZWFzZTE4ODIzODU5 | 0.3.1 | master | 0.3.1 | 0 | simonw 9599 | 0 | 2019-07-24T06:33:22Z | 2019-07-24T06:38:36Z | Uses less RAM - see #7 | healthkit-to-sqlite 197882382 | |
18881253 | https://github.com/dogsheep/healthkit-to-sqlite/releases/tag/0.3.2 | MDc6UmVsZWFzZTE4ODgxMjUz | 0.3.2 | master | 0.3.2 | 0 | simonw 9599 | 0 | 2019-07-26T06:02:30Z | 2019-07-26T06:12:12Z | Fix for #9 - Too many SQL variables bug | healthkit-to-sqlite 197882382 | |
18911392 | https://github.com/simonw/sqlite-utils/releases/tag/1.7 | MDc6UmVsZWFzZTE4OTExMzky | 1.7 | master | 1.7 | 0 | simonw 9599 | 0 | 2019-07-24T06:50:41Z | 2019-07-28T12:03:21Z | https://sqlite-utils.readthedocs.io/en/latest/changelog.html#v1-7 | sqlite-utils 140912432 | |
18911404 | https://github.com/simonw/sqlite-utils/releases/tag/1.7.1 | MDc6UmVsZWFzZTE4OTExNDA0 | 1.7.1 | master | 1.7.1 | 0 | simonw 9599 | 0 | 2019-07-28T12:00:51Z | 2019-07-28T12:05:36Z | https://sqlite-utils.readthedocs.io/en/latest/changelog.html#v1-7-1 | sqlite-utils 140912432 | |
19669553 | https://github.com/dogsheep/swarm-to-sqlite/releases/tag/0.1 | MDc6UmVsZWFzZTE5NjY5NTUz | 0.1 | master | 0.1 | 0 | simonw 9599 | 0 | 2019-08-31T02:46:58Z | 2019-08-31T02:58:32Z | First usable release. | swarm-to-sqlite 205429375 | |
19704661 | https://github.com/simonw/datasette/releases/tag/0.29.2 | MDc6UmVsZWFzZTE5NzA0NjYx | 0.29.2 | master | 0.29.2 | 0 | simonw 9599 | 0 | 2019-07-14T03:04:05Z | 2019-09-03T00:33:35Z | * Bumped Uvicorn to 0.8.4, fixing a bug where the querystring was not included in the server logs. (#559) * Fixed bug where the navigation breadcrumbs were not displayed correctly on the page for a custom query. (#558) * Fixed bug where custom query names containing unicode characters caused errors. https://datasette.readthedocs.io/en/stable/changelog.html#v0-29-2 | datasette 107914493 | |
19704736 | https://github.com/simonw/sqlite-utils/releases/tag/1.8 | MDc6UmVsZWFzZTE5NzA0NzM2 | 1.8 | master | 1.8 | 0 | simonw 9599 | 0 | 2019-07-28T15:41:42Z | 2019-09-03T00:45:42Z | https://sqlite-utils.readthedocs.io/en/stable/changelog.html#v1-8 | sqlite-utils 140912432 | |
19704739 | https://github.com/simonw/sqlite-utils/releases/tag/1.9 | MDc6UmVsZWFzZTE5NzA0NzM5 | 1.9 | master | 1.9 | 0 | simonw 9599 | 0 | 2019-08-04T03:35:30Z | 2019-09-03T00:46:02Z | https://sqlite-utils.readthedocs.io/en/stable/changelog.html#v1-9 | sqlite-utils 140912432 | |
19704743 | https://github.com/simonw/sqlite-utils/releases/tag/1.10 | MDc6UmVsZWFzZTE5NzA0NzQz | 1.10 | master | 1.10 | 0 | simonw 9599 | 0 | 2019-08-23T12:24:04Z | 2019-09-03T00:46:27Z | https://sqlite-utils.readthedocs.io/en/stable/changelog.html#v1-10 | sqlite-utils 140912432 | |
19704889 | https://github.com/simonw/sqlite-utils/releases/tag/1.11 | MDc6UmVsZWFzZTE5NzA0ODg5 | 1.11 | master | 1.11 | 0 | simonw 9599 | 0 | 2019-09-03T00:58:41Z | 2019-09-03T01:03:27Z | https://sqlite-utils.readthedocs.io/en/stable/changelog.html#v1-11 | sqlite-utils 140912432 | |
19763160 | https://github.com/dogsheep/twitter-to-sqlite/releases/tag/0.1a | MDc6UmVsZWFzZTE5NzYzMTYw | 0.1a | master | Alpha release | 0 | simonw 9599 | 0 | 2019-09-03T20:42:38Z | 2019-09-04T22:08:18Z | twitter-to-sqlite 206156866 | ||
19763185 | https://github.com/dogsheep/twitter-to-sqlite/releases/tag/0.2 | MDc6UmVsZWFzZTE5NzYzMTg1 | 0.2 | master | 0.2 | 0 | simonw 9599 | 0 | 2019-09-04T21:17:34Z | 2019-09-04T22:09:46Z | Full text search for tweets table | twitter-to-sqlite 206156866 | |
19763200 | https://github.com/dogsheep/twitter-to-sqlite/releases/tag/0.3 | MDc6UmVsZWFzZTE5NzYzMjAw | 0.3 | master | 0.3 | 0 | simonw 9599 | 0 | 2019-09-04T22:10:07Z | 2019-09-04T22:11:01Z | Extract places and media into separate tables Demo: https://twitter-to-sqlite-demo.now.sh/ | twitter-to-sqlite 206156866 | |
19865891 | https://github.com/dogsheep/twitter-to-sqlite/releases/tag/0.4 | MDc6UmVsZWFzZTE5ODY1ODkx | 0.4 | master | 0.4 | 0 | simonw 9599 | 0 | 2019-09-09T22:41:25Z | 2019-09-09T22:43:05Z | * New `users-lookup` command for fetching multiple user profiles, including using new `--sql` and `--attach` options * New `list-members` subcommand for fetching members of a list * Added `stop_after` option to `user-timeline` command | twitter-to-sqlite 206156866 | |
19889174 | https://github.com/dogsheep/twitter-to-sqlite/releases/tag/0.5 | MDc6UmVsZWFzZTE5ODg5MTc0 | 0.5 | master | 0.5 | 0 | simonw 9599 | 0 | 2019-09-10T17:38:46Z | 2019-09-10T17:39:47Z | * Added `followers-ids` and `friends-ids` subcommands | twitter-to-sqlite 206156866 | |
19993251 | https://github.com/dogsheep/github-to-sqlite/releases/tag/0.1.1 | MDc6UmVsZWFzZTE5OTkzMjUx | 0.1.1 | master | 0.1.1 | 0 | simonw 9599 | 0 | 2019-09-14T19:19:33Z | 2019-09-14T19:42:08Z | * Fix bug in authentication handling code | github-to-sqlite 207052882 | |
19993751 | https://github.com/dogsheep/github-to-sqlite/releases/tag/0.2 | MDc6UmVsZWFzZTE5OTkzNzUx | 0.2 | master | 0.2 | 0 | simonw 9599 | 0 | 2019-09-14T21:31:17Z | 2019-09-14T21:32:34Z | * Added the `github-to-sqlite starred` command for retrieving starred repos, #1 | github-to-sqlite 207052882 | |
19993820 | https://github.com/dogsheep/github-to-sqlite/releases/tag/0.3 | MDc6UmVsZWFzZTE5OTkzODIw | 0.3 | master | 0.3 | 0 | simonw 9599 | 0 | 2019-09-14T21:49:27Z | 2019-09-14T21:50:01Z | * `license` is now extracted from the `repos` table into a separate `licenses` table with a foreign key, #2 | github-to-sqlite 207052882 | |
20031553 | https://github.com/dogsheep/github-to-sqlite/releases/tag/0.4 | MDc6UmVsZWFzZTIwMDMxNTUz | 0.4 | master | 0.4 | 0 | simonw 9599 | 0 | 2019-09-17T00:18:37Z | 2019-09-17T00:19:42Z | * Added `github-to-sqlite repos` command, #3 | github-to-sqlite 207052882 | |
20114205 | https://github.com/dogsheep/genome-to-sqlite/releases/tag/0.1 | MDc6UmVsZWFzZTIwMTE0MjA1 | 0.1 | master | 0.1 | 0 | simonw 9599 | 0 | 2019-09-19T15:38:10Z | 2019-09-19T15:41:17Z | First release | genome-to-sqlite 209590345 | |
20497186 | https://github.com/dogsheep/twitter-to-sqlite/releases/tag/0.6 | MDc6UmVsZWFzZTIwNDk3MTg2 | 0.6 | master | 0.6 | 0 | simonw 9599 | 0 | 2019-10-06T04:49:17Z | 2019-10-06T04:52:18Z | * 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 | twitter-to-sqlite 206156866 | |
20504543 | https://github.com/dogsheep/twitter-to-sqlite/releases/tag/0.7 | MDc6UmVsZWFzZTIwNTA0NTQz | 0.7 | master | 0.7 | 0 | simonw 9599 | 0 | 2019-10-07T00:32:08Z | 2019-10-07T00:33:28Z | * New `statuses-lookup` command for bulk fetching tweets by their IDs - #13 | twitter-to-sqlite 206156866 | |
20506896 | https://github.com/dogsheep/pocket-to-sqlite/releases/tag/0.1 | MDc6UmVsZWFzZTIwNTA2ODk2 | 0.1 | master | 0.1 | 0 | simonw 9599 | 0 | 2019-10-07T05:07:37Z | 2019-10-07T05:18:20Z | Initial release | pocket-to-sqlite 213286752 | |
20631452 | https://github.com/dogsheep/twitter-to-sqlite/releases/tag/0.8 | MDc6UmVsZWFzZTIwNjMxNDUy | 0.8 | master | 0.8 | 0 | simonw 9599 | 0 | 2019-10-11T06:45:21Z | 2019-10-11T06:46:52Z | * 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). | twitter-to-sqlite 206156866 | |
20646519 | https://github.com/dogsheep/twitter-to-sqlite/releases/tag/0.9 | MDc6UmVsZWFzZTIwNjQ2NTE5 | 0.9 | master | 0.9 | 0 | simonw 9599 | 0 | 2019-10-11T16:55:10Z | 2019-10-11T16:57:25Z | * 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 | twitter-to-sqlite 206156866 | |
20663605 | https://github.com/dogsheep/github-to-sqlite/releases/tag/0.5 | MDc6UmVsZWFzZTIwNjYzNjA1 | 0.5 | master | 0.5 | 0 | simonw 9599 | 0 | 2019-10-13T05:28:24Z | 2019-10-13T05:30:05Z | * 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 | github-to-sqlite 207052882 | |
20721291 | https://github.com/dogsheep/twitter-to-sqlite/releases/tag/0.10 | MDc6UmVsZWFzZTIwNzIxMjkx | 0.10 | master | 0.10 | 0 | simonw 9599 | 0 | 2019-10-15T18:53:53Z | 2019-10-15T18:56:09Z | * favorites command now populates `favorited_by` table - #14 * favorites `--stop_after` option - #20 * Store unescaped `full_text` of Tweet - #21 | twitter-to-sqlite 206156866 | |
20754277 | https://github.com/dogsheep/twitter-to-sqlite/releases/tag/0.11 | MDc6UmVsZWFzZTIwNzU0Mjc3 | 0.11 | master | 0.11 | 0 | simonw 9599 | 0 | 2019-10-16T19:37:10Z | 2019-10-16T19:38:42Z | * 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 | twitter-to-sqlite 206156866 | |
20755954 | https://github.com/dogsheep/swarm-to-sqlite/releases/tag/0.2 | MDc6UmVsZWFzZTIwNzU1OTU0 | 0.2 | master | 0.2 | 0 | simonw 9599 | 0 | 2019-10-16T20:40:25Z | 2019-10-16T20:40:55Z | * Added --since option, closes #3 | swarm-to-sqlite 205429375 |
Advanced export
JSON shape: default, array, newline-delimited, object
CREATE TABLE [releases] ( [html_url] TEXT, [id] INTEGER PRIMARY KEY, [node_id] TEXT, [tag_name] TEXT, [target_commitish] TEXT, [name] TEXT, [draft] INTEGER, [author] INTEGER REFERENCES [users]([id]), [prerelease] INTEGER, [created_at] TEXT, [published_at] TEXT, [body] TEXT, [repo] INTEGER REFERENCES [repos]([id]) , [reactions] TEXT); CREATE INDEX [idx_releases_repo] ON [releases] ([repo]); CREATE INDEX [idx_releases_author] ON [releases] ([author]);