Skip to content

Commit cd725c6

Browse files
Prep version 3.0.0a4 (#5455)
Co-authored-by: alanmcruickshank <[email protected]> Co-authored-by: Alan Cruickshank <[email protected]>
1 parent 100c628 commit cd725c6

4 files changed

Lines changed: 31 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,33 @@ Note: Changes are now automatically tracked in [GitHub](https://github.com/sqlfl
1010
-->
1111
<!--Start Of Releases (DO NOT DELETE THIS LINE)-->
1212

13+
## [3.0.0a4] - 2023-12-05
14+
15+
## Highlights
16+
17+
This release makes a breaking change to the serialized output of the
18+
CLI (and by extension, any of the serialized outputs of the API).
19+
20+
* The serialised output for `sqlfluff lint` now contains more information
21+
about the span of linting issues and initial proposed fixes. Beside the *new*
22+
fields, the original fields of `line_pos` and `line_no` have been
23+
renamed to `start_line_pos` and `start_line_no`, to distinguish
24+
them from the new fields starting `end_*`.
25+
26+
* The default `annotation_level` set by the `--annotation-level`
27+
option on the `sqlfluff lint` command has been changed from `notice`
28+
to `warning`, to better distinguish linting errors from warnings, which
29+
always now have the level of `notice`. This is only relevant when using
30+
the `github-annotation` or `github-annotation-native` formats.
31+
32+
## What’s Changed
33+
34+
* Build out rule and fix serialisation [#5364](https://github.com/sqlfluff/sqlfluff/pull/5364) [@alanmcruickshank](https://github.com/alanmcruickshank)
35+
* Add warning about github actions annotations limit [#5450](https://github.com/sqlfluff/sqlfluff/pull/5450) [@alanmcruickshank](https://github.com/alanmcruickshank)
36+
* chore: remove unused line initialization in ParseContext [#5448](https://github.com/sqlfluff/sqlfluff/pull/5448) [@gvozdvmozgu](https://github.com/gvozdvmozgu)
37+
* Refine CLI testing fixture [#5446](https://github.com/sqlfluff/sqlfluff/pull/5446) [@alanmcruickshank](https://github.com/alanmcruickshank)
38+
* Update black linting [#5447](https://github.com/sqlfluff/sqlfluff/pull/5447) [@alanmcruickshank](https://github.com/alanmcruickshank)
39+
1340
## [3.0.0a3] - 2023-11-29
1441

1542
## Highlights

docs/source/releasenotes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ This release makes a couple of potentially breaking changes:
3131
option on the :code:`sqlfluff lint` command has been changed from :code:`notice`
3232
to :code:`warning`, to better distinguish linting errors from warnings, which
3333
always now have the level of :code:`notice`. This is only relevant when using
34-
the :code:`github-annotation`` or :code:`github-annotation-native` formats.
34+
the :code:`github-annotation` or :code:`github-annotation-native` formats.
3535

3636
Upgrading to 2.3
3737
----------------

plugins/sqlfluff-templater-dbt/setup.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = sqlfluff-templater-dbt
3-
version = 3.0.0a3
3+
version = 3.0.0a4
44
description = Lint your dbt project SQL
55
long_description = file: README.md
66
long_description_content_type = text/markdown
@@ -64,7 +64,7 @@ keywords =
6464
packages = find:
6565
python_requires = >=3.8
6666
install_requires =
67-
sqlfluff==3.0.0a3
67+
sqlfluff==3.0.0a4
6868
dbt-core>=1.0.0
6969
jinja2-simple-tags>=0.3.1
7070
markupsafe

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
55

66
[project]
77
name = "sqlfluff"
8-
version = "3.0.0a3"
8+
version = "3.0.0a4"
99
description = "The SQL Linter for Humans"
1010
readme = {file = "README.md", content-type = "text/markdown"}
1111
requires-python = ">=3.8"

0 commit comments

Comments
 (0)