Skip to content

Commit

Permalink
Bumps version to 0.17.0 (#386)
Browse files Browse the repository at this point in the history
Co-authored-by: tconbeer <[email protected]>
  • Loading branch information
github-actions[bot] and tconbeer authored Feb 24, 2023
1 parent 16322af commit 4c2d687
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ All notable changes to this project will be documented in this file.

## [Unreleased]

## [0.17.0] - 2023-02-24

- sqlfmt now defaults to reading and writing files using the `utf-8` encoding. Previously, we used Python's default behavior of using the encoding from the host machine's locale. However, as `utf-8` becomes a de-facto standard, this was causing issues for some Windows users, whose locale was set to use older encodings. You can use the `--encoding` option to specify a different encoding. Setting encoding to `inherit`, e.g., `sqlfmt --encoding inherit foo.sql` will revert to the old behavior of using the host's locale. sqlfmt will detect and preserve a UTF BOM if it is present. If you specify `--encoding utf-8-sig`, sqlfmt will always write a UTF-8 BOM in the formatted file. ([#350](https://github.com/tconbeer/sqlfmt/issues/350), [#381]((https://github.com/tconbeer/sqlfmt/issues/381)), [#383]((https://github.com/tconbeer/sqlfmt/issues/383)) - thank you [@profesia-company](https://github.com/profesia-company), [@cmcnicoll](https://github.com/cmcnicoll), [@aersam](https://github.com/aersam), and [@ryanmeekins](https://github.com/ryanmeekins)!)

## [0.16.0] - 2023-01-27
Expand Down Expand Up @@ -334,7 +336,9 @@ All notable changes to this project will be documented in this file.
- supports --check and --diff options
- supports --no-color

[Unreleased]: https://github.com/tconbeer/sqlfmt/compare/0.16.0...HEAD
[Unreleased]: https://github.com/tconbeer/sqlfmt/compare/0.17.0...HEAD

[0.17.0]: https://github.com/tconbeer/sqlfmt/compare/0.16.0...0.17.0

[0.16.0]: https://github.com/tconbeer/sqlfmt/compare/0.15.2...0.16.0

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "shandy-sqlfmt"
version = "0.16.0"
version = "0.17.0"
description = "sqlfmt is an opinionated CLI tool that formats your sql files"
readme = "README.md"
authors = ["Ted Conbeer <[email protected]>"]
Expand Down

0 comments on commit 4c2d687

Please sign in to comment.