SQLPage 0.36: What's New for You
Hello everyone! We've been working hard to bring a range of new features, fixes and improvements in this update. Here's what's new.
-
Database Enhancements:
- We now support the
MONEY
andSMALLMONEY
types in MSSQL. If you're dealing with financial data, this makes your life easier. For more details, check out the MSSQLmoney
documentation - Added math functions to the built-in SQLite database, which means you can perform more calculations directly in your queries without extra work. You can learn more about these functions in the SQLite documentation
- We now support the
-
Migration Files:
- You can now create empty migration files directly from the command line using the
sqlpage create-migration
command. This simplifies setting up new database changes. For more information, trysqlpage --help
- You can now create empty migration files directly from the command line using the
-
New Component:
- Introducing the new modal component, allowing you to display content in a popup window, improving the user interface and experience.
-
Chart Improvements:
- Bar charts now sort categories by name rather than by their first appearance. This makes cumulative bar charts easier to interpret, especially when some data points are missing.
- Pie charts now accept numerical values passed as strings, making it more flexible to create these charts.
-
Updates and Fixes:
- Updated Tabler to version 1.4 and Tabler Icons to version 3.34, giving you access to 19 new icons for your projects. For details, check out the Tabler release notes and Tabler Icons changelog.
- Enhanced file-based routing: Requests to
/xxx
will now redirect to/xxx/
only if/xxx/index.sql
exists, resulting in a more intuitive navigation experience. This also makes it easier to create clean API endpoints using404.sql
. - SQL Parser Updates:
- Added support for Postgres text search types (tsquery and tsvector).
- Fixed parsing of LIMIT in subqueries and improved handling of JOIN precedence and Unicode identifiers.
- Support for MySQL
MEMBER OF
, making it easier to work with JSON arrays. - For more details on these updates, see the SQL parser changelog for version 0.57 and version 0.58.
-
Single Sign-On (SSO) Improvements:
- Fixed an issue where SSO logins would fail over time due to key rotation by identity providers. Now, the system refreshes provider metadata periodically, ensuring smoother and more reliable logins.
- Added support for partially private sites when using single sign-on. This means you can have both public and private pages in the same application. It’s now easier to create a login page that redirects to your OIDC provider. See the single sign on documentation.
- SQLPage can now read custom claims from the identity tokens emitted by your identity provider. This lets you configure your provider to include user-specific data (like roles or permissions) in the login token, enabling dynamic content tailored to the authenticated user. For configuration details, see the SQLPage user info function documentation.
- Fixed an issue with URL parameters during SSO login. Now, if an anonymous user visits a page with URL parameters and logs in, they’ll be correctly redirected to that page with all parameters intact.
We hope these updates make your experience with SQLPage even better. As always, we appreciate your feedback and are here to help if you have any questions or run into issues.
Happy querying!