From 424a3ff69818a40e909a3064dc7be343beb1416e Mon Sep 17 00:00:00 2001 From: Kacper Kula Date: Mon, 20 Jan 2025 13:12:17 +0000 Subject: [PATCH] version: upgrade to 0.17.0 --- CHANGELOG.md | 54 ++++++++++++++++++++------------------ docs/.vitepress/config.mts | 1 + docs/changelog.md | 1 + manifest.json | 2 +- package.json | 2 +- versions.json | 3 ++- 6 files changed, 35 insertions(+), 28 deletions(-) create mode 120000 docs/changelog.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 9194d27..7daa252 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,47 +1,50 @@ -# 0.16.1 +# 0.17.0 (2025-01-20) +Adding support for `LIST` view. You can now set custom classes for `HTML` (table) view. + +# 0.16.1 (2025-01-17) Fixed issue with variables causing error. Now you can pass variables from your frontmatter with no problem. -# 0.16.0 +# 0.16.0 (2025-01-16) Now you can query tables in your note and use them as data source! [Check more information in the documentation](http://hypersphere.blog/sql-seal/query-markdown-tables.html). -# 0.15.0 +# 0.15.0 (2025-01-15) This version brings plenty of the bugfixes - fix: fix issue with local links not being clickable - fix: query is now less case sensitive. You can use keywords like `TABLE`, `HTML`, `MARKDOWN` in any casing you want - fix: improved SQL parser - now more complex syntax like recursive CTE, window functions, etc. should work properly. Migrated from `node-sql-parser` to `sql-parser-cst` - fix: codeblocks now observe only the tables that are relevant to them instead of all. This should fix some tables refresh too often -# 0.14.1 +# 0.14.1 (2025-01-13) - fix: fixed the issue where rows with extra data in them (rows with more columns that a header) were not synchronised correctly - fix: fixed the issue where queries with lowercase SELECT would not work in certain cases. -# 0.14.0 +# 0.14.0 (2025-01-10) Added support for inline code blocks. Create a codeblock (backtick `) and use prefix S> to indicate it's SQLSeal query. -# 0.13.0 +# 0.13.0 (2025-01-09) Huge upgrade to the code codebase. SQLSeal should be now much faster and more reliable thanks to the following: - Rewritten how files are synched - now each CSV file creates AT MOST one table in the database (synchronisations are being reused accross files) - Rewritten SQL parser - this enables using more advanced SQLite functionality like recursive CTEs, UNIONS and `json_each`! - (minor, technical): code got restructured and fixed so it's easier to contribute. -# 0.12.4 +# 0.12.4 (2025-01-09) - added "Create CSV file" option in context menu in file explorer. -# 0.12.3 +# 0.12.3 (2024-12-20) - fix: Fixing completed flag in tasks being reversed -# 0.12.2 +# 0.12.2 (2024-12-20) fix: Fixed issue with CTE table names being incorrectly processed causing error -# 0.12.1 +# 0.12.1 (2024-12-20) fix: Fixed issue with the library on mobile - now it should load properly. -# 0.12.0 +# 0.12.0 (2024-12-19) This update does not bring any functionality changes yet but it fixes some problems with underlying architecture, helping to make SQLSeal more efficient in the future. If you work with many datasets, you might see slightly smaller memory usage as the database is now persisted in the IndexedDb (tech comment: as block storage). Technical update: Database has been moved to WebWorker, making data loading and retrieval slightly more efficient. Also integrated with [Absurd-SQL](https://github.com/jlongster/absurd-sql) which allows to store SQLite inside IndexedDb block storage, meaning it can be persisted and offloaded from the memory. Due to Obsidian API limitations, we still need to load huge files CSV to the memory instead of streaming their content but once the content is loaded, the memory usage should significantly go down now. More changes using this update to come soon! -# 0.11.0 +# 0.11.0 (2024-11-24) The biggest update yet with plenty of exciting features: Added CSV Viewer! Now you can see all your CSV files in your vault in the file explorer and open it to preview the data. You can also edit the data in place (remember always to backup your files!) @@ -51,7 +54,7 @@ Now the files in the queries are resolved relatively to the file they are in. Yo Added more lax parser implementation for now Minor: updated dependencies to the latest versions -# 0.10.1 +# 0.10.1 (2024-11-07) Many small fixes: - Changed how parsing is done to simplify code greatly - Grid now supports dark mode @@ -59,47 +62,48 @@ Many small fixes: - Restored ability to have `TABLE` syntax without select. -# 0.10.0 +# 0.10.0 (2024-11-06) SQLSeal is now compatible with mobile! Plugin now uses SQL.JS instead of better-sqlite3 which is written in Web Assembly so no longer native binaries are needed. This makes plugin portable. Also reworked implementation of the parser from Antlr4TS into Antlr4. -# 0.9.2 +# 0.9.2 (2024-11-03) Adding checkbox method to display boolean values as checkboxes Fixing how updates are parsed -# 0.9.1 +# 0.9.1 (2024-11-03) Turning off verbose mode -# 0.9.0 + +# 0.9.0 (2024-11-03) We now use proper grid library to render data. This allow for many great features like pagination, sorting and more visally pleasing UI out of the box. Reworked internal communication to use Signals. -# 0.8.0 +# 0.8.0 (2024-09-05) Now you can embed links and images (both local and external). Introduced `a` and `img` custom SQL functions. -# 0.7.0 +# 0.7.0 (2024-09-02) A lot of changes packed in this one! Now SQLSeal is parsing the input using proper language parser (thanks to ANTLR4) rather than relying on RegExes. This finally allows for proper support of CTE statements (WITH) and fixes a lot of other minor problems with the syntax. Also improved the way files are being observed and updated which should lead to performance improvements. -# 0.6.0 +# 0.6.0 (2024-09-01) - fixing CSV loading when names has been converted to camelCase - Fixing constantly reloading files when modifying sql inside the same block that has table declaration in - Auto-parsing JSON values with JSON5 - Better errors when error occurs in select statement -# 0.5.0 +# 0.5.0 (2024-08-25) - Adding support for JSON objects! Automatically detecting JSON in the frontmatter and converting it to JSON type in SQLite. You can query fields using built-in SQLite functions like `json_extract`, `json_array_length`, etc. More about SQlite functionality [can be found here.](https://www.sqlite.org/json1.html). - Fixed issue with bookean types not being saved properly. -# 0.4.1 +# 0.4.1 (2024-08-25) - Fixed issue with potential duplicate column sql error when two different fields resolve to the same uppercase structure -# 0.4.0 +# 0.4.0 (2024-08-23) - Fixed issue with better_sqlite3 not loading on different systems and architectures -# 0.2.0 +# 0.3.0 (2024-08-23) - Added ability to query files in the fault directly. - Added observability - when CSV or file in the vault is changed, all SELECTS that uses it should update too - Added custom class to sqlseal tables and ability to scroll vertically when the data is overflowing horizontally. -# 0.1.0 +# 0.1.0 (2024-06-23) - Initial release. Allows to create tables based on CSV files in your vault and query them using SQL. \ No newline at end of file diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index 525252f..979b3c6 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -27,6 +27,7 @@ export default defineConfig({ { text: 'CSV Viewer', link: '/csv-viewer' }, { text: 'Troubleshooting', link: '/troubleshooting' }, { text: 'Future Plans', link: '/future-plans' }, + { text: 'Changelog', link: '/changelog' } ] }, { diff --git a/docs/changelog.md b/docs/changelog.md new file mode 120000 index 0000000..04c99a5 --- /dev/null +++ b/docs/changelog.md @@ -0,0 +1 @@ +../CHANGELOG.md \ No newline at end of file diff --git a/manifest.json b/manifest.json index f85ef4e..37de4e9 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "sqlseal", "name": "SQLSeal", - "version": "0.16.1", + "version": "0.17.0", "minAppVersion": "0.15.0", "description": "Use SQL in your notes to query your vault files and CSV content.", "author": "hypersphere", diff --git a/package.json b/package.json index 84f9663..5feccae 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sqlseal", - "version": "0.16.1", + "version": "0.17.0", "description": "A plugin for Obsidian that allows you to run SQL queries on your notes.", "main": "main.js", "scripts": { diff --git a/versions.json b/versions.json index 90c8b5b..9fb82f6 100644 --- a/versions.json +++ b/versions.json @@ -24,5 +24,6 @@ "0.14.1": "0.15.0", "0.15.0": "0.15.0", "0.16.0": "0.15.0", - "0.16.1": "0.15.0" + "0.16.1": "0.15.0", + "0.17.0": "0.15.0" } \ No newline at end of file