Skip to content

[fork] ws4sql v0.17dev2

Pre-release
Pre-release
Compare
Choose a tag to compare
@proofrock proofrock released this 05 May 13:16
· 8 commits to main since this release

This is a second pre-release of a new fork of ws4sqlite, that will "transit" the app to a new version that will support more databases than sqlite (hence the new name, if you noticed πŸ˜‰). It will take some time, through improvements and, alas, breaking changes.

This is not the latest release of ws4sqlite, which is still here.

The work will take place in the fork/ws4sql branch, and you can find the changes so far, and the steps needed to migrate a regular installation in the ROAD_TO_WS4SQL.md document.

Docker images for amd64 and aarch (arm64) are at docker pull germanorizzo/ws4sql:latest

In this release

  • [BREAKING] When running the app, the config files must be specified on the command line, the file paths cannot be used anymore (there). This is described in the "Migration" section below. The file path is in the config file.
  • The only exception is a "simple case" to serve a file path without any config. This can be done with the new --quick-db parameter.

Migration

  • For any --db and --mem-db switch that was used, an explicit YAML config file must be created. The format is the same, but there is a new section at the beginning:
database:
  type: SQLITE          # Only SQLITE for now. If omitted, defaults to SQLITE      
  inMemory: false       # If type = SQLITE. The db is a memory one? If omitted, defaults to false
  path: ".../test.db"   # If type = SQLITE. The db file path.
  id: test              # If omitted and !inMemory, calculates it from the file name (if type = SQLITE)
  disableWALMode: false # If type = SQLITE. Same as before, but moved here.
  readOnly: false       # Same as before, but moved here.

As always, your feedback is deeply appreciated, if you'll be so kind. Cheers! 🍻