Releases: open-policy-agent/opa-idea-plugin
Releases · open-policy-agent/opa-idea-plugin
v0.13.0
v0.13.0
Changes by Kind
Uncategorized
v0.12.0
v0.12.0
Changes by Kind
Feature
- Compatibility for ide 2023.3. (#164, @vgramer)
- Support for idea 2024.1
Grammar: rules with multidimensional array heads support
Grammar: else expressions no longer consider ':=' invalid (#166, @spoage)
Uncategorized
v0.10.0
Changes by Kind
Uncategorized
v0.9.0
Changes by Kind
Feature
- Add project settings under
Preference -> Languages & Framworks -> Opa
to configure opa check
options.
the --strict
options is enable by default (#133, @vgramer)
- Add support for IDEA 2022.3 (#139, @vgramer)
Bug or Regression
v0.8.0
Changes by Kind
Feature
- Highlight
raw string
and make color configurable in the color setting page. (#122, @vgramer)
- Add compatibility for idea based ide version 2022.1 (#129, @vgramer)
v0.7.0
Changes by Kind
Feature
Documentation
- Automate release process, create CHANGLOG.md with update the previous releases notes (#99, @vgramer)
v0.6.0
Release notes for v0.6.0
Changes by Kind
Feature
- Make plugin compatible with platform version 203 and 211 (#101, @asadali)
v0.5.0
Release notes for v0.5.0
Changes by Kind
Refactoring
- Grammar: rename rules:
- Remove references to old repo
vgramer/opa-idea-plugin
. The repository has been transferred to open-policy-agent
organization (#83, @vgramer)
Bug or Regression
- Grammar: allow factor expression (ie parenthesis ). These expressions were passed as an error:
a4:= (1 - 3) - (2 +5)
reverse(l) = [l[j] | _ = l[i]; j := (count(l) - 1) - i]
(#92, @vgramer)
- Grammar: allow complex expression as array index. These expressions were parsed as an error:
x:= x[minus(count(x),1)]
index_last(l, x) = t[minus(count(t), 1)] { #something} else = -1 { # something}
rule1{ x:= x[count(x) - 1)] }
(#91, @vgramer)
- Grammar: allow complex expression for array and object value. these expressions were parsed as an error:
arr7 := [1 + 2 - 4, count(arr6) / abs(arr5[0])
a6 := { a: 1 > 2, b: { c: object.get(a2, a, default) + abs(c) - 2 }}
(#90, @vgramer)
- Grammar: allow empty query in else clause. These expressions were reported as an error
foo = true { input.x < input.y } else = false
foo = true { false } else = { true }
(#85, @vgramer)
v0.4.0
Release notes for v0.4.0
Changes by Kind
Feature
-
Implement auto closing quote feature (#69, @vgramer)
-
Run intellij-plugin-verifier to check plugin binary compatibility in github action
- update
org.jetbrains.intellij
Gradle plugin because the new version offers a task to run the plugin verifier. Consequently, remove the ideaDependencyCachePath
customization which is not needed anymore.
- add a job to run plugin verifier (#62, @vgramer)
Bug or Regression
- Fix tests for github action and macOS Big Sur (#73, @vgramer)
- Grammar: allow import between rules and complex expression in else statement (#80, @vgramer)
- Grammar: don't allow multi-line in strings (#67, @vgramer)
- Grammar: fix rule-head and expr-infix
a:= 1 + 2
was parsed as an error
- assignment was valid inside affectation (eg
a := b = 1 + 2
) but should not.
a := 1 + 2 +3
was parsed as an error (#74, @vgramer)
v0.3.0
Release notes for v0.3.0
Changes by Kind
Bug or Regression
- Grammar: allow to use of infix operation as argument of a function. This expression was parsed as an error: