github trailbaseio/trailbase v0.20.5

latest release: v0.20.6
one day ago
  • Fix initialization order issue with custom schemas. DB schema metadata, which also contains JSON metadata, has to be (re-)loaded after registering custom schemas (#170).
    • The re-loading is a workaround to deal with the fact that config validation currently depends on the same schema metadata. Ideally, we disentangle those and validate against schema metadata that doesn't contain hitherto incomplete JSON metadata.
  • More consistently "early" validate all JSON inputs. Previously, serialized JSON was accepted but validated only later by SQLite unlike structured JSON input. We may want to consider disallowing serialized JSON in the future, given it contradicts the JSON schema and we could be more strict.
  • Fix error code - return 400 when input is rejected by SQLite column CHECK constraint.

Full Changelog: v0.20.4...v0.20.5

Don't miss a new trailbase release

NewReleases is sending notifications on new releases.