Skip to content

Releases: betodealmeida/shillelagh

Shillelagh 1.2.1

14 Apr 21:12
2130ceb
Compare
Choose a tag to compare

The biggest feature in this release is the support for BestIndexObject with the latest apsw. This allows plugin to know which columns are being requested, reducing the amount of data that needs to be fetched.

Also, Python 3.11 is officially supported now.

And thanks to @sjmillius for their fix to the virtual table syntax (#340).

Shillelagh 1.2.0

17 Feb 21:08
Compare
Choose a tag to compare

This release has some small changes so that the module works with SQLAlchemy 2.0, while still working with 1.4.

Shillelagh 1.1.5

09 Dec 03:19
Compare
Choose a tag to compare

Two small fixes:

  • Handle dataframes without column names (affects both the Pandas and the HTML table adapters).
  • Support booleans on type inference from data.

Shillelagh 1.1.4

07 Dec 01:42
117a37c
Compare
Choose a tag to compare

A small release allowing the S3 Select adapter to query JSON documents.

Shillelagh 1.1.3

17 Nov 19:52
edad91a
Compare
Choose a tag to compare

A small improvement to the generic JSON adapter so it can handle nested fields:

sql> SELECT NS ->> '$[0]' AS first_ns FROM "https://api.domainsdb.info/v1/domains/search?domain=facebook&zone=com#$.domains[*]" LIMIT 1;
first_ns
----------------------
aron.ns.cloudflare.com
sql>

Shillelagh 1.1.2

01 Nov 22:53
375d89a
Compare
Choose a tag to compare

A small fix ensuring only requested adapters are loaded when in non-safe mode, and a new adapter that handles generic JSON endpoints.

Shillelagh 1.1.1

27 Oct 00:50
94079ff
Compare
Choose a tag to compare

A new minor version with small fixes.

Shillelagh 1.1.0 is out!

28 Jul 16:33
157ff18
Compare
Choose a tag to compare

Heya!

Today we're releasing Shillelagh 1.1.0. There are no breaking changes, but some interesting new additions:

  • Shillelagh now supports DROP TABLE. If you run DROP TABLE on a Google sheet URL, for example, the sheet will be deleted. This is only supported in the adapters where it makes sense. In the future we might also want to support CREATE TABLE.
  • The CLI now supports multi-line statements, which means that statements must be terminated with a semicolon. Before, pressing enter would immediately run the query.
  • The configuration file now uses appdirs for the directory location. if you're on a Mac you need to move your configuration files from ~/.config/shillelagh/ to ~/Library/Application\ Support/shillelagh/.
  • New adapters: there is now an adapter for querying CSV/JSON/Parquet files in S3, and an adapter to query HTML tables from any page.
  • Adapters can now request to handle LIMIT and OFFSET, instead of leaving the work to SQLite. This should greatly improve the performance of adapters, since it can greatly reduce the amount of data than needs to be fetched. Most of the builtin adapters have support for them in 1.1.0.
  • Adapters can now be registered at runtime, similar to how SQLAlchemy does with dialects. Before, adapters had to be registered as entry points.
  • Additional documentation on the architecture, custom dialects and custom fields was added.

1.0.16

15 Jul 16:25
187bbfb
Compare
Choose a tag to compare

This release has no external changes. The only change is how parameters are passed from SQLite to the adapter. The new serialize function uses pickle to allow passing more than just strings to adapters.

1.0.15

13 Jul 23:48
e56c8f2
Compare
Choose a tag to compare

Includes a new adapter for S3 files, using S3 Select:

SELECT * FROM "s3://bucket-name/sample_data.csv";

Supports CSV, JSON, and Parquet.

Also changes the way integers work, now we manipulate them as strings inside SQLite to prevent overflows.