Skip to content
This repository has been archived by the owner on Jul 6, 2022. It is now read-only.

Release v5.1.0 #63

Merged
merged 57 commits into from
Dec 23, 2021
Merged

Release v5.1.0 #63

merged 57 commits into from
Dec 23, 2021

Conversation

inferrinizzard
Copy link
Owner

@inferrinizzard inferrinizzard commented Dec 22, 2021

  • consumed VSCode extension
    • added error message on format fail
    • added settings to override user tabSize and insertSpaces
    • added setting to format sql files with custom SQL Flavour
    • added command to format selection
  • updated newline config
    • fixed handling of never mode
    • removed hybrid, passing a number now works like hybrid
  • added support for new languages
    • Hive
    • BigQuery
  • added keyword dedupe on Formatter classes
  • moved demo page to subtree
  • fixed semicolon indent when semicolonNewline and tenSpace
  • fixed linesBetweenQueries to count number of spaces instead of newlines
  • renamed Formatter class files
  • renamed test files

@inferrinizzard inferrinizzard added the release Label for Release PRs label Dec 22, 2021
@inferrinizzard inferrinizzard self-assigned this Dec 22, 2021
return inlineWidth > this.lineWidth;
} else if (this.newline.mode === NewlineMode.hybrid) {
return numItems > this.newline.itemCount! || inlineWidth > this.lineWidth;
} else if (!Number.isNaN(this.newline)) {
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add comment

@inferrinizzard inferrinizzard merged commit 538ad05 into master Dec 23, 2021
@inferrinizzard inferrinizzard deleted the v5.1.0 branch December 23, 2021 23:39
inferrinizzard added a commit that referenced this pull request Dec 23, 2021
* consume vscode extension

* update languageMap

* update vscode README

* add vscode issue template

* ignore vscode from eslint as subrepo

* update NewlineMode option, remove itemCount

* update demo page, readme

* update vscode extension

* indent ; on tenSpace

* update newline short circuiting

* refresh license

* clean .vscode

* update linesBetweenQuery logic

* fix test tabbing

* add empty BigQueryFormatter class

* add bigquery keywords

* add test file

* use numeric for loop in Formatter

* add BigQuery specific tests

* update vscode file type

* add empty HiveFormatter class

* added language items and updated tests

* add ref link

* update vscode file type

* fix case test

* ♻️

* add dedupe with Set

* add vscode workspace

* rename linesBetweenStatements

* yo code reset

* move settings to util function

* add format selection command

* add settings to override vscode tab settings

* add command to format selection

* ♻️

* add error message on format fail

* add SQL flavour override

* rename tests to *.test.js schema

* rename Formatter classes to *.formatter.ts

* update README

* update issue templates

* update CONTRIBUTING

* update vscode README

* update CHANGELOG

* fix plsql filename

* update vscode CHANGELOG
inferrinizzard added a commit that referenced this pull request Dec 23, 2021
* consume vscode extension

* update languageMap

* update vscode README

* add vscode issue template

* ignore vscode from eslint as subrepo

* update NewlineMode option, remove itemCount

* update demo page, readme

* update vscode extension

* indent ; on tenSpace

* update newline short circuiting

* refresh license

* clean .vscode

* update linesBetweenQuery logic

* fix test tabbing

* add empty BigQueryFormatter class

* add bigquery keywords

* add test file

* use numeric for loop in Formatter

* add BigQuery specific tests

* update vscode file type

* add empty HiveFormatter class

* added language items and updated tests

* add ref link

* update vscode file type

* fix case test

* ♻️

* add dedupe with Set

* add vscode workspace

* rename linesBetweenStatements

* yo code reset

* move settings to util function

* add format selection command

* add settings to override vscode tab settings

* add command to format selection

* ♻️

* add error message on format fail

* add SQL flavour override

* rename tests to *.test.js schema

* rename Formatter classes to *.formatter.ts

* update README

* update issue templates

* update CONTRIBUTING

* update vscode README

* update CHANGELOG

* fix plsql filename

* update vscode CHANGELOG
@inferrinizzard inferrinizzard restored the v5.1.0 branch April 5, 2022 22:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
release Label for Release PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant