发布

  • - Added a new [`sqlite_extensions` configuration parameter](./configuration.md) to load SQLite extensions. This allows many interesting use cases, such as

    frostbyte_neo 发布于 2023-07-16 21:49:53 +00:00 | 2556 次提交 在此版本后已推送到 main

      - [using spatialite to build a geographic data application](./examples/make%20a%20geographic%20data%20application%20using%20sqlite%20extensions/),
      - querying CSV data from SQLPage with [vsv](https://github.com/nalgeon/sqlean/blob/main/docs/vsv.md),
      - or building a search engine for your data with [FTS5](https://www.sqlite.org/fts5.html).
    
    • Breaking: change the order of priority for loading configuration parameters: the environment variables have priority over the configuration file. This makes it easier to tweak the configuration of a SQLPage website when deploying it.
    • Fix the default index page in MySQL. Fixes #23.
    • Add a new map component to display a map with markers on it. Useful to display geographic data from PostGIS or Spatialite.
    • Add a new icon attribute to the table component to display icons in the table.
    • Fix textarea fields in the form component to display the provided value attribute. Thanks Frank for the contribution !
    • SQLPage now guarantees that a single web request will be handled by a single database connection. Previously, connections were repeatedly taken and put back to the connection pool between each statement, preventing the use of temporary tables, transactions, and other connection-specific features such as last_insert_rowid. This makes it much easier to keep state between SQL statements in a single .sql file. Please report any performance regression you might encounter. See the many-to-many relationship example.
    • The table component now supports setting a custom background color, and a custom CSS class on a given table line.
    • New checked attribute for checkboxes and radio buttons.
    下载附件