Skip to content

Commit

Permalink
Merge pull request #242 from charlieegan3/0-16-0-pre
Browse files Browse the repository at this point in the history
Prep 0.16.0 release
  • Loading branch information
charlieegan3 authored Aug 15, 2024
2 parents 2c0195f + e6e3526 commit 92ec22d
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 23 deletions.
55 changes: 37 additions & 18 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Change Log

## 0.16.0

- Improvements to support code lens evaluation of Rego -
https://github.com/open-policy-agent/vscode-opa/pull/231
https://github.com/open-policy-agent/vscode-opa/pull/232
https://github.com/open-policy-agent/vscode-opa/pull/233
https://github.com/open-policy-agent/vscode-opa/pull/234
https://github.com/open-policy-agent/vscode-opa/pull/235
https://github.com/open-policy-agent/vscode-opa/pull/240
https://github.com/open-policy-agent/vscode-opa/pull/241
- Allow setting alternative formatters - https://github.com/open-policy-agent/vscode-opa/pull/226
- Check for OS architecture when installing OPA CLI - https://github.com/open-policy-agent/vscode-opa/pull/216
thanks @tjons!

## 0.15.0

- Add support for syntax highlighting for Rego embedded in Markdown code blocks using the `rego` language identifier.
Expand Down Expand Up @@ -31,36 +45,41 @@ Building on the current diagnostics supported, [Code actions](https://code.visua
More fixes to come in future releases now that the fundamentals are in place. It's also now possible to go to the linter diagnostic documentation as a Code Action.

#### Document & Workspace Symbols

Rego symbols — such as packages, rules and functions, are now provided by the Regal Language server upon requests from an editor. This allows for a quick overview of the structure of a Rego project, and provides "breadcrumbs" to navigate the symbols of the currently open Rego document.

Similar to Document Symbols, the language server is able to provide symbols for top-level packages, rule or function definitions in the workspace.
Similar to Document Symbols, the language server is able to provide symbols for top-level packages, rule or function definitions in the workspace.

#### Formatting and Goto Defintion

We are standardizing the functions of the Rego developer environment on the [Regal Language Server](https://docs.styra.com/regal/editor-support) implementation. This allows us to offer a standardized experience to all Rego developers, regardless of their preferred editor. [OPA format](https://github.com/StyraInc/regal/pull/630) and [Goto Definition](https://github.com/StyraInc/regal/pull/664) are now available as part of the language server and so users are encouraged to use the language server to access the currently supported option for these editor functions. See PRs [#156](https://github.com/open-policy-agent/vscode-opa/pull/156)& [#148](https://github.com/open-policy-agent/vscode-opa/pull/148) where the VS Code OPA extension is updated to use this language server.

#### Folding Ranges

Code folding ranges are also now supported in the Regal language server and can be used to collapse comments, rules and others ranges within Rego files.

#### Other Updates
* Enable connection message logging in debug mode [#147](https://github.com/open-policy-agent/vscode-opa/pull/147)
* Name Regal's output panel "Regal" instead of "regal-ls" [#145](https://github.com/open-policy-agent/vscode-opa/pull/145)
* When restarting Regal, reuse output panel [#157](https://github.com/open-policy-agent/vscode-opa/pull/157)
* Linter configuration can be loaded from a workspace's parent directory (Regal [#650](https://github.com/StyraInc/regal/pull/650))

- Enable connection message logging in debug mode [#147](https://github.com/open-policy-agent/vscode-opa/pull/147)
- Name Regal's output panel "Regal" instead of "regal-ls" [#145](https://github.com/open-policy-agent/vscode-opa/pull/145)
- When restarting Regal, reuse output panel [#157](https://github.com/open-policy-agent/vscode-opa/pull/157)
- Linter configuration can be loaded from a workspace's parent directory (Regal [#650](https://github.com/StyraInc/regal/pull/650))

### Dependency updates:
* Bump typescript from 5.4.3 to 5.4.4 [#134](https://github.com/open-policy-agent/vscode-opa/pull/134)
* Bump @types/vscode from 1.87.0 to 1.88.0 [#135](https://github.com/open-policy-agent/vscode-opa/pull/135)
* Bump @types/node from 20.12.4 to 20.12.5 [#137](https://github.com/open-policy-agent/vscode-opa/pull/137)
* Bump @typescript-eslint/eslint-plugin from 7.5.0 to 7.6.0 [#140](https://github.com/open-policy-agent/vscode-opa/pull/140)
* Bump @typescript-eslint/parser from 7.5.0 to 7.6.0 [#141](https://github.com/open-policy-agent/vscode-opa/pull/141)
* Bump typescript-eslint from 7.5.0 to 7.6.0 [#142](https://github.com/open-policy-agent/vscode-opa/pull/142)
* Bump @types/node from 20.12.5 to 20.12.6 [#143](https://github.com/open-policy-agent/vscode-opa/pull/143)
* Bump @types/node from 20.12.6 to 20.12.7 [#146](https://github.com/open-policy-agent/vscode-opa/pull/146)
* Bump typescript from 5.4.4 to 5.4.5 [#149](https://github.com/open-policy-agent/vscode-opa/pull/149)
* Bump @microsoft/eslint-formatter-sarif from 3.0.0 to 3.1.0 [#150](https://github.com/open-policy-agent/vscode-opa/pull/150)
* Bump @typescript-eslint/parser from 7.6.0 to 7.7.0 [#152](https://github.com/open-policy-agent/vscode-opa/pull/152)
* Bump typescript-eslint from 7.6.0 to 7.7.0 [#153](https://github.com/open-policy-agent/vscode-opa/pull/153)
* Bump @stylistic/eslint-plugin from 1.7.0 to 1.7.2 [#154](https://github.com/open-policy-agent/vscode-opa/pull/154)

- Bump typescript from 5.4.3 to 5.4.4 [#134](https://github.com/open-policy-agent/vscode-opa/pull/134)
- Bump @types/vscode from 1.87.0 to 1.88.0 [#135](https://github.com/open-policy-agent/vscode-opa/pull/135)
- Bump @types/node from 20.12.4 to 20.12.5 [#137](https://github.com/open-policy-agent/vscode-opa/pull/137)
- Bump @typescript-eslint/eslint-plugin from 7.5.0 to 7.6.0 [#140](https://github.com/open-policy-agent/vscode-opa/pull/140)
- Bump @typescript-eslint/parser from 7.5.0 to 7.6.0 [#141](https://github.com/open-policy-agent/vscode-opa/pull/141)
- Bump typescript-eslint from 7.5.0 to 7.6.0 [#142](https://github.com/open-policy-agent/vscode-opa/pull/142)
- Bump @types/node from 20.12.5 to 20.12.6 [#143](https://github.com/open-policy-agent/vscode-opa/pull/143)
- Bump @types/node from 20.12.6 to 20.12.7 [#146](https://github.com/open-policy-agent/vscode-opa/pull/146)
- Bump typescript from 5.4.4 to 5.4.5 [#149](https://github.com/open-policy-agent/vscode-opa/pull/149)
- Bump @microsoft/eslint-formatter-sarif from 3.0.0 to 3.1.0 [#150](https://github.com/open-policy-agent/vscode-opa/pull/150)
- Bump @typescript-eslint/parser from 7.6.0 to 7.7.0 [#152](https://github.com/open-policy-agent/vscode-opa/pull/152)
- Bump typescript-eslint from 7.6.0 to 7.7.0 [#153](https://github.com/open-policy-agent/vscode-opa/pull/153)
- Bump @stylistic/eslint-plugin from 1.7.0 to 1.7.2 [#154](https://github.com/open-policy-agent/vscode-opa/pull/154)

## 0.13.6

Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
"url": "https://github.com/open-policy-agent/vscode-opa.git"
},
"description": "Develop, test, debug, and analyze policies for the Open Policy Agent project.",
"version": "0.15.0",
"version": "0.16.0",
"publisher": "tsandall",
"engines": {
"vscode": "^1.89.0"
"vscode": "^1.92.0"
},
"activationEvents": [
"onLanguage:rego"
Expand Down

0 comments on commit 92ec22d

Please sign in to comment.