diff --git a/CHANGELOG.md b/CHANGELOG.md index 9794442..422b82f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +# 0.31.0 (2025-04-02) +- feat: added text rendering for links, images and checkboxes (for MARKDOWN renderer) +- fix: fixed issue with rendering numbers +- fix: fixed how grid renders columns - now they automatically match content and don't truncate the text +- fix: grid resizing now works better when switching tabs, resizing obsidian, etc. +- fix: columns with dots in the name render properly in grid view +- chore: now external plugins can use cellRenderer from the main plugin + # 0.31.0 (2025-03-31) - feat: TEMPLATE renderer can now use checkboxes, links and images like other views. # 0.30.1 (2025-03-27) diff --git a/manifest.json b/manifest.json index f40ef11..d19f4d7 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "sqlseal", "name": "SQLSeal", - "version": "0.31.0", + "version": "0.32.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 7e14d92..030dcfe 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sqlseal", - "version": "0.31.0", + "version": "0.32.0", "description": "A plugin for Obsidian that allows you to run SQL queries on your notes.", "main": "main.js", "scripts": { diff --git a/src/renderer/GridRenderer.ts b/src/renderer/GridRenderer.ts index 1f120ee..0da26d3 100644 --- a/src/renderer/GridRenderer.ts +++ b/src/renderer/GridRenderer.ts @@ -134,7 +134,10 @@ class GridRendererCommunicator { if (!this.gridApi) { throw new Error('Grid has not been initiated') } - this.gridApi.setGridOption('columnDefs', columns.map((c: any) => ({ field: c }))) + this.gridApi.setGridOption('columnDefs', columns.map((c: any) => ({ + headerName: c, + valueGetter: (params) => params.data[c] + }))) this.gridApi.setGridOption('rowData', data) this.gridApi.setGridOption('loading', false) } diff --git a/versions.json b/versions.json index 9257539..c2b7c22 100644 --- a/versions.json +++ b/versions.json @@ -57,5 +57,6 @@ "0.29.0": "0.15.0", "0.30.0": "0.15.0", "0.30.1": "0.15.0", - "0.31.0": "0.15.0" + "0.31.0": "0.15.0", + "0.32.0": "0.15.0" } \ No newline at end of file