Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Created by
brew bump
Created with
brew bump-formula-pr
.release notes
HTTP Basic Authentication:
SQLPage’s
sqlpage.fetch(request)
now supports HTTP Basic Auth. Easily call APIs requiring a username/password. For example:SET result = sqlpage.fetch(json_object(
'url', 'https://api.example.com/data',
'username', 'user',
'password', 'pass'
));
Customizing your
card
components is now easier:embed
property auto‑appends the_sqlpage_embed
parameter for embeddable fragments.shell
component is replaced byshell-empty
to avoid duplicate headers and metadata.Form Component Boosts
Set
auto_submit
to true and your form will instantly submit on any field change—ideal for dashboard filters.Example:
Use
options_source
to load dropdown options dynamically from another SQL file. Perfect for autocomplete with large option sets.Example:
With the new
description_md
property, render markdown in form field descriptions for improved guidance.Now you’ll get more helpful errors if header components (e.g.,
json
,cookie
) are used incorrectly.4. Chart, Icons & CSS Updates 📊
ApexCharts Upgrade:
We updated ApexCharts to [v4.4.0](https://github.com/apexcharts/apexcharts.js/releases/tag/v4.4.0) for smoother charts and minor bug fixes.
Tabler Icons & CSS:
Enjoy a refreshed look:
5. CSV Import & Error Handling 📥
Enhanced CSV Error Messages:
More descriptive error messages when a CSV import fails (via
copy
and file upload).Postgres CSV Bug Fix:
A bug that caused subsequent requests to fail after a CSV import error on PostgreSQL is now fixed.
(See [Issue #788](SQLPage process stops responding after executing a COPY command that errors - thread 'actix-rt|system:0|arbiter:2' panicked at ... sqlpage/SQLPage#788) for details.)
6. SQL Parser & Advanced SQL Support 🔍
Upgraded SQL Parser (v0.54):
Our sqlparser is now at v0.54, with support for advanced SQL syntax:
In Conclusion 💡
This release makes SQLPage even more robust, flexible, and user‑friendly. We’ve refined the core routing, enhanced our function and component libraries, and improved error handling to give you a smoother development experience. As always, your feedback drives our evolution—happy coding and keep pushing the boundaries of what you can build with SQL!
Enjoy the update and keep those SQL queries flowing!