Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Releases: rome/tools

CLI v0.7.0-next.f6510d6

18 Jul 16:30
b53554f
Compare
Choose a tag to compare
Pre-release

What's Changed

New Contributors

Full Changelog: cli/v0.7.0-next...cli/v"0.7.0-next.f6510d6"

VSCode Extension v0.10.0

05 Jul 08:53
12b6137
Compare
Choose a tag to compare

What's Changed

  • refactor(rome_js_formatter): avoid snapshot when formatting skipped token trivia by @MichaReiser in #2683
  • feat(rome_analyze): add a codegen command for the analyzer by @leops in #2646
  • feat(rome_rowan): add the root node as an associated type on the language trait by @leops in #2689
  • feat(rome_analyze): add a fix argument to rome check command CLI and LSP by @leops in #2615
  • feat(rome_analyze): implement the validTypeof rule by @leops in #2649
  • feat(rome_analyze): noCompareNegZero by @IWANABETHATGUY in #2644
  • feat(rome_analyze): noNegationElse by @IWANABETHATGUY in #2655
  • feat(rome_rowan): add a declare_union macro for one-off union AstNodes by @leops in #2691
  • fix(xtask): enforce a stable ordering for the generated imports of lint rules by @leops in #2695
  • fix(rome_analyze): handle find_diff_range in case tokens were only removed by @leops in #2694
  • feat(rome_analyze): implement the useSingleCaseStatement rule by @leops in #2648
  • feat(rome_js_formatter): Binary like object literal member expression by @denbezrukov in #2688
  • fix(rome_analyze): prevent the range end search of find_diff_range from crossing the start of the range by @leops in #2697
  • feat(rome_rowan): implement DoubleEndedIterator for node lists by @ematipico in #2672
  • feat(rome_analyze): improve the diagnostics builder in the analyzer by @leops in #2692
  • feat(rome_analyze): noDebugger by @IWANABETHATGUY in #2643
  • feat(rome_analyze): noUnusedTemplateLiteral by @IWANABETHATGUY in #2653
  • feat(rome_analyze): noSparseArray by @IWANABETHATGUY in #2650
  • feature(rome_js_parser): JSX support in .js files by @NicholasLYang in #2674
  • test(rome_js_formatter): update prettier tests by @denbezrukov in #2704
  • feat(rome_analyze): noImplicitBoolean by @IWANABETHATGUY in #2702
  • fix(rome_formatter): dbg_write API compatibility with write by @MichaReiser in #2708
  • refactor(rome_analyze): move the JS-specific code to rome_js_analyze by @leops in #2700
  • feature(rome_js_semantic): matching declarations and scopes by @xunilrj in #2690
  • chore: fix typo in CHANGELOG.md by @mehulkar in #2710
  • feature(rome_js_formatter): Inline comment formatting by @MichaReiser in #2701
  • fix(rome_js_semantic): remove dbg from semantic tests by @xunilrj in #2719
  • refactor(rome_js_analyze): use js_string_literal helper function by @IWANABETHATGUY in #2715
  • feature(rome_analyzer): Rule context by @xunilrj in #2714
  • refactor(rome_js_formatter): Introduce format_parenthesize by @MichaReiser in #2718
  • feat(rome_js_analyze): useSelfClosingElements by @IWANABETHATGUY in #2707
  • feat(rome_js_analyze):noMultipleSpacesInRegularExpressionLiterals by @IWANABETHATGUY in #2717
  • feat(xtask): automatically generate documentation pages for lint rules by @leops in #2703
  • feat(rome_js_formatter): call arguments by @ematipico in #2711
  • feat(rome_js_formatter): JsAnyAssignmentLike node union for JsPropertyObjectMember and JsAssignmentExpression by @denbezrukov in #2698
  • refactor(rome_formatter): GroupElementsBuffer by @MichaReiser in #2724
  • fix(rome_js_sematic): typo by @IWANABETHATGUY in #2736
  • feat(rome_js_formatter): assignment expressions with layout by @ematipico in #2728
  • fix(rome_js_formatter): Fix suppression command handling for if-else clause by @MichaReiser in #2738
  • test(rome_js_formatter): support report prettier metric as a json file by @IWANABETHATGUY in #2626
  • fix(rome_formatter): Group ID in fits function by @MichaReiser in #2739
  • feature(rome_js_formatter): Class formatting (including heritage) by @MichaReiser in #2742
  • feature(rome_js_semantic): extraction of reference (read) events by @xunilrj in #2725
  • feat(rome_js_analyze): noEmptyPattern by @IWANABETHATGUY in #2731
  • feat(rome_js_analyze): noAsyncPromiseExecutor by @IWANABETHATGUY in #2733
  • feat(rome_analyze): useBlockStatements by @IWANABETHATGUY in #2658
  • feat(rome_js_analyze): noUnsafeNegation by @IWANABETHATGUY in #2723
  • refactor(rome_js_formatter): Support FormatRules with options by @MichaReiser in #2757
  • feature(rome_js_semantic): Hoisting by @xunilrj in #2761
  • feat(rome_js_formatter): object pattern formatting by @ematipico in #2729
  • fix(rome_js_formatter): don't add trailing operator on rest arguments by @ematipico in #2760
  • feature(formatter): JSX Element by @NicholasLYang in #2542
  • feat(rome_js_formatter): variable declarator formatting by @denbezrukov in #2762
  • refactor(rome_js_formatter): Delete FormatMemberName by @MichaReiser in #2767
  • refactor(rome_formatter): Unify comment/token spacing for leading/tra… by @MichaReiser in #2766
  • feature(rome_js_formatter): Static Member Expression formatting by @MichaReiser in #2727
  • chore: Move Prettier compat metrics to the top by @IWANABETHATGUY in #2765
  • refactor(rome_js_formatter): Remove unnecessary groups from format_separated by @MichaReiser in #2770
  • fix(rome_js_formatter): custom formatting for test calls by @ematipico in #2769
  • feature(rome_js_formatter): TS Interface formatting by @MichaReiser in #2773
  • fix(rome_js_formatter): Match test function names on trimmed text by @ematipico in #2777
  • feature(rome_js_formatter): Inspect memoized content by @MichaReiser in #2772
  • refactor(formatter): Use slice to store content by @MichaReiser in #2775
  • refactor(rome_js_formatter): Remove Copy from JsFormatContext by @MichaReiser in #2779
  • feat(rome_js_analyze): useShorthandType by @IWANABETHATGUY in #2745
  • feat(rome_rowan): expose the kind of AstNode as a constant by @leops in #2774
  • feat(rome_js_formatter): type alias as assignment like by @ematipico in #2787
  • feature(rome_js_semantic): semantic model built from semantic events by @xunilrj in #2776
  • feat(xtask_lintdoc): add more markdown syntax support by @IWANABETHATGUY in #2764
  • feat(rome_js_analyze): useSimplifiedLogicExpression by @IWANABETHATGUY in #2759
  • fix(rome_js_parser):🐛 issue_2790 by @IWANABETHATGUY in #2791
  • feature(rome_js_semantic): more docs for semantic events by @xunilrj in #2789
  • feat(rome_formatter): will_break utility by @ematipico in #2771
  • refactor(rome_analyze): add the visitor and queryable trait by @leops in #2778
  • fix(rome_js_formatter): better formatting of type args and unions by @ematipico in #2792
  • fix(rome_js_formatter): indentation before arrow fn is JSX by @ematipico in #2793
  • feat(vscode): enable formatting for JSX and TSX files by @ematipico in #2795
  • docs(website): fix order of sections for lint rules by @ematipico in #2798
  • feat(rome_js_formatter): class property members as assignment like by @ematipico in #2797
  • feat(rome_control_flow): add the control flow crate by @leops in #2781
  • fix(rome_js_formatter): breaking logic for member chains by @ematipico in #2800
  • chore: fix broken rust documentation by @ematipico in #2805
  • feat(rome_js_analyze): noUnnecessaryContinue by @IWANABETHATGUY in #2796
  • feat(rome_js_formatter): add format element label by @denbezrukov in #2783
  • chore: upgrade toolchain to latest stable version 1.62.0 by @IWANABETHATGUY in #2802
  • feat(rome_js_formatter): remove unnecessary escapes by @ematipico in http...
Read more

CLI v0.7.0-next

05 Jul 08:53
12b6137
Compare
Choose a tag to compare

What's Changed

  • refactor(rome_js_formatter): avoid snapshot when formatting skipped token trivia by @MichaReiser in #2683
  • feat(rome_analyze): add a codegen command for the analyzer by @leops in #2646
  • feat(rome_rowan): add the root node as an associated type on the language trait by @leops in #2689
  • feat(rome_analyze): add a fix argument to rome check command CLI and LSP by @leops in #2615
  • feat(rome_analyze): implement the validTypeof rule by @leops in #2649
  • feat(rome_analyze): noCompareNegZero by @IWANABETHATGUY in #2644
  • feat(rome_analyze): noNegationElse by @IWANABETHATGUY in #2655
  • feat(rome_rowan): add a declare_union macro for one-off union AstNodes by @leops in #2691
  • fix(xtask): enforce a stable ordering for the generated imports of lint rules by @leops in #2695
  • fix(rome_analyze): handle find_diff_range in case tokens were only removed by @leops in #2694
  • feat(rome_analyze): implement the useSingleCaseStatement rule by @leops in #2648
  • feat(rome_js_formatter): Binary like object literal member expression by @denbezrukov in #2688
  • fix(rome_analyze): prevent the range end search of find_diff_range from crossing the start of the range by @leops in #2697
  • feat(rome_rowan): implement DoubleEndedIterator for node lists by @ematipico in #2672
  • feat(rome_analyze): improve the diagnostics builder in the analyzer by @leops in #2692
  • feat(rome_analyze): noDebugger by @IWANABETHATGUY in #2643
  • feat(rome_analyze): noUnusedTemplateLiteral by @IWANABETHATGUY in #2653
  • feat(rome_analyze): noSparseArray by @IWANABETHATGUY in #2650
  • feature(rome_js_parser): JSX support in .js files by @NicholasLYang in #2674
  • test(rome_js_formatter): update prettier tests by @denbezrukov in #2704
  • feat(rome_analyze): noImplicitBoolean by @IWANABETHATGUY in #2702
  • fix(rome_formatter): dbg_write API compatibility with write by @MichaReiser in #2708
  • refactor(rome_analyze): move the JS-specific code to rome_js_analyze by @leops in #2700
  • feature(rome_js_semantic): matching declarations and scopes by @xunilrj in #2690
  • chore: fix typo in CHANGELOG.md by @mehulkar in #2710
  • feature(rome_js_formatter): Inline comment formatting by @MichaReiser in #2701
  • fix(rome_js_semantic): remove dbg from semantic tests by @xunilrj in #2719
  • refactor(rome_js_analyze): use js_string_literal helper function by @IWANABETHATGUY in #2715
  • feature(rome_analyzer): Rule context by @xunilrj in #2714
  • refactor(rome_js_formatter): Introduce format_parenthesize by @MichaReiser in #2718
  • feat(rome_js_analyze): useSelfClosingElements by @IWANABETHATGUY in #2707
  • feat(rome_js_analyze):noMultipleSpacesInRegularExpressionLiterals by @IWANABETHATGUY in #2717
  • feat(xtask): automatically generate documentation pages for lint rules by @leops in #2703
  • feat(rome_js_formatter): call arguments by @ematipico in #2711
  • feat(rome_js_formatter): JsAnyAssignmentLike node union for JsPropertyObjectMember and JsAssignmentExpression by @denbezrukov in #2698
  • refactor(rome_formatter): GroupElementsBuffer by @MichaReiser in #2724
  • fix(rome_js_sematic): typo by @IWANABETHATGUY in #2736
  • feat(rome_js_formatter): assignment expressions with layout by @ematipico in #2728
  • fix(rome_js_formatter): Fix suppression command handling for if-else clause by @MichaReiser in #2738
  • test(rome_js_formatter): support report prettier metric as a json file by @IWANABETHATGUY in #2626
  • fix(rome_formatter): Group ID in fits function by @MichaReiser in #2739
  • feature(rome_js_formatter): Class formatting (including heritage) by @MichaReiser in #2742
  • feature(rome_js_semantic): extraction of reference (read) events by @xunilrj in #2725
  • feat(rome_js_analyze): noEmptyPattern by @IWANABETHATGUY in #2731
  • feat(rome_js_analyze): noAsyncPromiseExecutor by @IWANABETHATGUY in #2733
  • feat(rome_analyze): useBlockStatements by @IWANABETHATGUY in #2658
  • feat(rome_js_analyze): noUnsafeNegation by @IWANABETHATGUY in #2723
  • refactor(rome_js_formatter): Support FormatRules with options by @MichaReiser in #2757
  • feature(rome_js_semantic): Hoisting by @xunilrj in #2761
  • feat(rome_js_formatter): object pattern formatting by @ematipico in #2729
  • fix(rome_js_formatter): don't add trailing operator on rest arguments by @ematipico in #2760
  • feature(formatter): JSX Element by @NicholasLYang in #2542
  • feat(rome_js_formatter): variable declarator formatting by @denbezrukov in #2762
  • refactor(rome_js_formatter): Delete FormatMemberName by @MichaReiser in #2767
  • refactor(rome_formatter): Unify comment/token spacing for leading/tra… by @MichaReiser in #2766
  • feature(rome_js_formatter): Static Member Expression formatting by @MichaReiser in #2727
  • chore: Move Prettier compat metrics to the top by @IWANABETHATGUY in #2765
  • refactor(rome_js_formatter): Remove unnecessary groups from format_separated by @MichaReiser in #2770
  • fix(rome_js_formatter): custom formatting for test calls by @ematipico in #2769
  • feature(rome_js_formatter): TS Interface formatting by @MichaReiser in #2773
  • fix(rome_js_formatter): Match test function names on trimmed text by @ematipico in #2777
  • feature(rome_js_formatter): Inspect memoized content by @MichaReiser in #2772
  • refactor(formatter): Use slice to store content by @MichaReiser in #2775
  • refactor(rome_js_formatter): Remove Copy from JsFormatContext by @MichaReiser in #2779
  • feat(rome_js_analyze): useShorthandType by @IWANABETHATGUY in #2745
  • feat(rome_rowan): expose the kind of AstNode as a constant by @leops in #2774
  • feat(rome_js_formatter): type alias as assignment like by @ematipico in #2787
  • feature(rome_js_semantic): semantic model built from semantic events by @xunilrj in #2776
  • feat(xtask_lintdoc): add more markdown syntax support by @IWANABETHATGUY in #2764
  • feat(rome_js_analyze): useSimplifiedLogicExpression by @IWANABETHATGUY in #2759
  • fix(rome_js_parser):🐛 issue_2790 by @IWANABETHATGUY in #2791
  • feature(rome_js_semantic): more docs for semantic events by @xunilrj in #2789
  • feat(rome_formatter): will_break utility by @ematipico in #2771
  • refactor(rome_analyze): add the visitor and queryable trait by @leops in #2778
  • fix(rome_js_formatter): better formatting of type args and unions by @ematipico in #2792
  • fix(rome_js_formatter): indentation before arrow fn is JSX by @ematipico in #2793
  • feat(vscode): enable formatting for JSX and TSX files by @ematipico in #2795
  • docs(website): fix order of sections for lint rules by @ematipico in #2798
  • feat(rome_js_formatter): class property members as assignment like by @ematipico in #2797
  • feat(rome_control_flow): add the control flow crate by @leops in #2781
  • fix(rome_js_formatter): breaking logic for member chains by @ematipico in #2800
  • chore: fix broken rust documentation by @ematipico in #2805
  • feat(rome_js_analyze): noUnnecessaryContinue by @IWANABETHATGUY in #2796
  • feat(rome_js_formatter): add format element label by @denbezrukov in #2783
  • chore: upgrade toolchain to latest stable version 1.62.0 by @IWANABETHATGUY in #2802
  • feat(rome_js_formatter): remove unnecessary escapes by @ematipico in http...
Read more

CLI v0.6.1-next

08 Jun 21:10
dccc78f
Compare
Choose a tag to compare
CLI v0.6.1-next Pre-release
Pre-release

What's Changed

  • chore: Reformat JS files with Rome 0.6.0 by @MichaReiser in #2669
  • chore(coverage): better panic log for coverage by @xunilrj in #2668
  • fix(rome_cli): do not print lint warnings for the format command by @leops in #2680
  • fix(rome_analyze): fix the find_diff_range function by @leops in #2679
  • refactor(formatter): Rename FormatError::MissingRequiredChild to SyntaxError by @MichaReiser in #2681
  • chore(rome_formatter): remove unused FormatError variants by @MichaReiser in #2684
  • chore(coverage): Disable coverage tests for formatter/linter changes by @MichaReiser in #2682
  • fix(rome_js_parser): remove use strict check by @NicholasLYang in #2677
  • fix(rome_formatter): measure first variant of BestFitting in flat mode by @yassere in #2675
  • release: 0.6.1 by @ematipico in #2687

Full Changelog: cli/v0.6.0-next...cli/v0.6.1-next

VSCode Extension v0.8.0

07 Jun 14:45
480d4e0
Compare
Choose a tag to compare

What's Changed

New Contributors

  • @Dominionys made their first contribution in #2627

Full Changelog: lsp/v0.6.0...lsp/v0.8.0

CLI v0.6.0-next

07 Jun 14:50
480d4e0
Compare
Choose a tag to compare
CLI v0.6.0-next Pre-release
Pre-release

What's Changed

New Contributors

  • @Dominionys made their first contribution in #2627

Full Changelog: lsp/v0.6.0...cli/v0.6.0-next

VSCode Extension v0.6.0

29 Apr 09:52
80acb8e
Compare
Choose a tag to compare

What's Changed

Full Changelog: cli/v0.5.0-next...lsp/v0.6.0

CLI v0.5.0-next

27 Apr 12:35
41634a0
Compare
Choose a tag to compare
CLI v0.5.0-next Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: v0.4.2...cli/v0.5.0-next

v0.4.2

04 Apr 14:15
1332ddd
Compare
Choose a tag to compare

What's Changed

  • fix(rome_js_parser): Fix directive parsing by @MichaReiser in #2323
  • feat(vscode): add Show syntax tree command for supported documents by @ematipico in #2309
  • docs(website): add 'Getting Started' section by @ematipico in #2320
  • docs: add diff and migration against other formatters by @ematipico in #2312
  • docs: enhancements, add documentation for playground by @ematipico in #2319
  • docs(website): add link to binaries by @ematipico in #2326
  • chore(website): Grammar and style fixes by @NicholasLYang in #2329
  • refactor(rome_rowan): Split API/Cursor files by @MichaReiser in #2330
  • feat(rome_console): Display trait and diff printing by @leops in #2328
  • fix(rome_playground): Unicode Support by @MichaReiser in #2332
  • fix(rome_formatter): add empty line after interpreter by @ematipico in #2336
  • feat(npm): add a postinstall script to the cli package by @leops in #2333
  • refactor(rome_js_parser): Streamline parser events by @MichaReiser in #2327
  • chore: rename rome_formatter to rome_js_formatter by @ematipico in #2334
  • feat(rome_cli): integrate the new diff printing with CI mode by @leops in #2337
  • chore: add CHANGELOG.md and README.md to npm by @ematipico in #2340
  • refactor(rome_js_formatter): move language agnostic code into rome_formatter by @ematipico in #2342
  • feat(rome_console): add a Codespan utility struct to display annotated code fragments by @leops in #2341
  • chore(ci): enable changelog generation and bump the version numbers for the extension and CLI by @leops in #2345
  • fix(rome_js_parser): correctly parse regex with unicode chars by @xunilrj in #2344
  • fix(vscode): update the format of the npm lockfile by @leops in #2347

Full Changelog: v0.4.0...v0.4.2

v0.4.0

29 Mar 14:39
4fb82b9
Compare
Choose a tag to compare
feature(rome_cli): distribute the Rome CLI to npm (#2304)

* feature(rome_cli): distribute the Rome CLI to npm

* Apply suggestions from code review

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>

* enable publishing to npm

* fix the wrapper script

* bump version numbers

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>