{"html_url": "https://github.com/simonw/sqlite-utils/releases/tag/3.19a0", "id": 53698399, "node_id": "RE_kwDOCGYnMM4DM19f", "tag_name": "3.19a0", "target_commitish": "main", "name": "3.19a0", "draft": 0, "author": {"value": 9599, "label": "simonw"}, "prerelease": 1, "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)", "repo": {"value": 140912432, "label": "sqlite-utils"}, "reactions": null} {"html_url": "https://github.com/simonw/sqlite-utils/releases/tag/3.0a0", "id": 33591216, "node_id": "MDc6UmVsZWFzZTMzNTkxMjE2", "tag_name": "3.0a0", "target_commitish": "main", "name": "3.0a0", "draft": 0, "author": {"value": 9599, "label": "simonw"}, "prerelease": 1, "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))\r\n\r\nThe `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))\r\n\r\nThe release includes minor backwards-incompatible changes, hence the version bump to 3.0. Those changes, which should not affect most users, are:\r\n\r\n- The `-c` shortcut option for outputting CSV is no longer available. The full `--csv` option is required instead.\r\n- The `-f` shortcut for `--fmt` has also been removed - use `--fmt`.\r\n- The `table.search()` method now defaults to sorting by relevance, not sorting by `rowid`. ([#198](https://github.com/simonw/sqlite-utils/issues/198))\r\n- The `table.search()` method now returns a generator over a list of Python dictionaries. It previously returned a list of tuples.\r\n\r\nAlso in this release:\r\n\r\n- 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))\r\n- 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))\r\n- 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).\r\n- `sqlite-utils rows` now accepts multiple optional `-c` parameters specifying the columns to return. ([#200](https://github.com/simonw/sqlite-utils/issues/200))", "repo": {"value": 140912432, "label": "sqlite-utils"}, "reactions": null}