发布

  • 0.34

    frostbyte_neo 发布于 2025-03-22 23:04:11 +00:00 | 826 次提交 在此版本后已推送到 main

    • delete_link in the list component now submits a POST request, instead of being a simple link.
    • This avoids accidental deletion by bots following links, and is more in line with HTTP semantics.
    • In the table component, the _col_ prefix is now added to column names in CSS classes. This avoids conflicts with other CSS classes that might be used in the page.
    • fixes https://github.com/sqlpage/SQLPage/issues/830
    • This is a breaking change for custom CSS rules that target table columns by their name.
      • Before: .my_column { ... }
      • After: ._col_my_column { ... }
    • New configuration options:
      • markdown_allow_dangerous_html: allow the usage of html in markdown (default: false)
      • markdown_allow_dangerous_protocol: allow the usage of custom protocols in markdown (default: false)
      • Allow data URLs in markdown images. This allows embedding base64 encoded images in any markdown field.
      • see configuration.md for more details.
    • In the shell component, setting the footer parameter to the empty string ('') will now completely hide the footer, instead of showing the default one
    • New configuration option: rtl to display the page in right-to-left mode. This can be used to display Arabic, Hebrew, Persian, etc.
    • fix a crash when manipulating TINYINTs from microsoft sql server
    • update sqlparser to 0.55: https://github.com/apache/datafusion-sqlparser-rs/blob/main/changelog/0.55.0.md
    • fix a diplay issue when using intra-page anchor links inside tables with fixed headers
    • Columns without buttons
      • In the columns component, when no button text is specified, no button is displayed (instead of an empty button)
    • New unsafe_contents_md property in the text component to allow rendering markdown with embedded HTML tags.
    • New _sqlpage_footer property for table rows. When applied, that row will be rendered as the table footer. It is recommended to use this on the last data row.
    • New freeze_footers property in table component. If the footer is enabled, this will make it always visible. Works similarly to freeze_headers.
    • Hidden files and folders (those with a name starting with a .) are now inaccessible. This allows you to easily create internal files to use with sqlpage.run_sql(...) that will not be directly accessible.
    下载附件