Skip to content

sql-formatter 1.0.2

Choose a tag to compare

@chayprabs chayprabs released this 21 Oct 23:48
· 68 commits to main since this release

Patch release. Does not replace 1.0.1 assets.

  • fix --in-place on a read-only file leaves no temporary file behind and reports one error line that names your file.
  • Template and config errors (for example {{ 1/0 }}, an invalid regex or an unknown policy value in .sqlfluff) return HTTP 400 instead of 500. pyproject.toml errors no longer show temp paths.
  • The templater label is shorter and fits at 1280 px.
  • Host and origin rejections read the request body first, so clients get the JSON error instead of a connection reset.