Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix conditionally nested rules to include its condition #404

Merged
merged 1 commit into from
Jul 30, 2024

Conversation

copybara-service[bot]
Copy link
Contributor

Fix conditionally nested rules to include its condition

@copybara-service copybara-service bot force-pushed the test_657700284 branch 3 times, most recently from cf625eb to e823689 Compare July 30, 2024 20:31
@copybara-service copybara-service bot merged commit f78c6c4 into main Jul 30, 2024
@copybara-service copybara-service bot deleted the test_657700284 branch July 30, 2024 20:40
lqiu96 referenced this pull request in googleapis/sdk-platform-java Sep 3, 2024
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [dev.cel:cel](https://github.com/google/cel-java) | `0.6.0`
-> `0.7.1` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/dev.cel:cel/0.7.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/dev.cel:cel/0.7.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/dev.cel:cel/0.6.0/0.7.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/dev.cel:cel/0.6.0/0.7.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>google/cel-java (dev.cel:cel)</summary>

###
[`v0.7.1`](https://github.com/google/cel-java/releases/tag/v0.7.1)

> \[!IMPORTANT]
> [enableUnsignedLongs in
CelOptions](https://github.com/google/cel-java/blob/main/common/src/main/java/dev/cel/common/CelOptions.java#L421)
is now enabled by default as of
[#&#8203;410](https://github.com/google/cel-java/commit/78dfcb527526de25e1b5f498bdde6f140c302801).
Unsigned integer literals (**uint**) in CEL expressions will now be
represented as **com.google.common.primitives.UnsignedLong** instead of
**java.lang.Long** when evaluated. If your expressions expose these
unsigned integer literals directly or you have custom functions that
work with unsigned integers, you may need to explicitly disable this
flag and make adjustments to avoid errors.

#### Features

- Add ListsExtension with flatten function
[https://github.com/google/cel-java/pull/427](https://github.com/google/cel-java/pull/427),
[#&#8203;434](https://github.com/google/cel-java/commit/7398767f80578ae0b23f25d7484dde699b023544)
- Introduce ProtoUnsetFieldOptions to support unset handling like C++ in
[https://github.com/google/cel-java/pull/403](https://github.com/google/cel-java/pull/403)
- Include identity functions in the standard definitions in
[https://github.com/google/cel-java/pull/405](https://github.com/google/cel-java/pull/405)
- Add string to boolean conversion function in the standard definition
in
[https://github.com/google/cel-java/pull/407](https://github.com/google/cel-java/pull/407)
- Provide an overload to hide all fields on a message with ProtoTypeMask
in
[https://github.com/google/cel-java/pull/415](https://github.com/google/cel-java/pull/415)
- Parse explanations in match blocks in
[https://github.com/google/cel-java/pull/420](https://github.com/google/cel-java/pull/420)
- Improved support for nested rules in
[https://github.com/google/cel-java/pull/422](https://github.com/google/cel-java/pull/422)
- Add a validator for enforcing AST depth limit in
[https://github.com/google/cel-java/pull/421](https://github.com/google/cel-java/pull/421)
- Enforce composed AST stays below the configured depth limit in
[https://github.com/google/cel-java/pull/424](https://github.com/google/cel-java/pull/424)
- Improve CSE for comprehensions by taking into their nesting level and
types into account in
[https://github.com/google/cel-java/pull/430](https://github.com/google/cel-java/pull/430)
- Add an option to prevent breaking apart a comprehension in CSE in
[https://github.com/google/cel-java/pull/432](https://github.com/google/cel-java/pull/432)
- Enable retainComprehensionStructure by default in
[https://github.com/google/cel-java/pull/436](https://github.com/google/cel-java/pull/436)
- Add unreachable checks in policies in
[https://github.com/google/cel-java/pull/423](https://github.com/google/cel-java/pull/423)

#### Fixes

- Do not override the container if it's missing from policy config in
[https://github.com/google/cel-java/pull/401](https://github.com/google/cel-java/pull/401)
- Add option to specify folding designated custom functions only in
[https://github.com/google/cel-java/pull/402](https://github.com/google/cel-java/pull/402)
- Fix conditionally nested rules to include its condition in
[https://github.com/google/cel-java/pull/404](https://github.com/google/cel-java/pull/404)
- Fix runtime equality behavior for sets extension in
[https://github.com/google/cel-java/pull/416](https://github.com/google/cel-java/pull/416)
- Reduce count of errors joined together during parsing error in
[https://github.com/google/cel-java/pull/417](https://github.com/google/cel-java/pull/417)
[https://github.com/google/cel-java/pull/418](https://github.com/google/cel-java/pull/418)

#### Miscellaneous Changes

- Upgrade protobuf version to 4.28.0 in
[https://github.com/google/cel-java/pull/439](https://github.com/google/cel-java/pull/439)
- Remove unused list/map conversion functions from standard definitions
in
[https://github.com/google/cel-java/pull/406](https://github.com/google/cel-java/pull/406)
- Open source Java conformance tests in
[https://github.com/google/cel-java/pull/413](https://github.com/google/cel-java/pull/413)
- Change cel_spec repo url to 0.16.0 in WORKSPACE in
[https://github.com/google/cel-java/pull/419](https://github.com/google/cel-java/pull/419)
- Migrate test_all_types proto over to the cel-spec variant in
[https://github.com/google/cel-java/pull/433](https://github.com/google/cel-java/pull/433)

**Full Changelog**:
google/cel-java@v0.6.0...v0.7.1

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/googleapis/sdk-platform-java).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC41OS4yIiwidXBkYXRlZEluVmVyIjoiMzguNTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
ldetmer referenced this pull request in googleapis/sdk-platform-java Sep 17, 2024
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [dev.cel:cel](https://github.com/google/cel-java) | `0.6.0`
-> `0.7.1` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/dev.cel:cel/0.7.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/dev.cel:cel/0.7.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/dev.cel:cel/0.6.0/0.7.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/dev.cel:cel/0.6.0/0.7.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>google/cel-java (dev.cel:cel)</summary>

###
[`v0.7.1`](https://github.com/google/cel-java/releases/tag/v0.7.1)

> \[!IMPORTANT]
> [enableUnsignedLongs in
CelOptions](https://github.com/google/cel-java/blob/main/common/src/main/java/dev/cel/common/CelOptions.java#L421)
is now enabled by default as of
[#&#8203;410](https://github.com/google/cel-java/commit/78dfcb527526de25e1b5f498bdde6f140c302801).
Unsigned integer literals (**uint**) in CEL expressions will now be
represented as **com.google.common.primitives.UnsignedLong** instead of
**java.lang.Long** when evaluated. If your expressions expose these
unsigned integer literals directly or you have custom functions that
work with unsigned integers, you may need to explicitly disable this
flag and make adjustments to avoid errors.

#### Features

- Add ListsExtension with flatten function
[https://github.com/google/cel-java/pull/427](https://github.com/google/cel-java/pull/427),
[#&#8203;434](https://github.com/google/cel-java/commit/7398767f80578ae0b23f25d7484dde699b023544)
- Introduce ProtoUnsetFieldOptions to support unset handling like C++ in
[https://github.com/google/cel-java/pull/403](https://github.com/google/cel-java/pull/403)
- Include identity functions in the standard definitions in
[https://github.com/google/cel-java/pull/405](https://github.com/google/cel-java/pull/405)
- Add string to boolean conversion function in the standard definition
in
[https://github.com/google/cel-java/pull/407](https://github.com/google/cel-java/pull/407)
- Provide an overload to hide all fields on a message with ProtoTypeMask
in
[https://github.com/google/cel-java/pull/415](https://github.com/google/cel-java/pull/415)
- Parse explanations in match blocks in
[https://github.com/google/cel-java/pull/420](https://github.com/google/cel-java/pull/420)
- Improved support for nested rules in
[https://github.com/google/cel-java/pull/422](https://github.com/google/cel-java/pull/422)
- Add a validator for enforcing AST depth limit in
[https://github.com/google/cel-java/pull/421](https://github.com/google/cel-java/pull/421)
- Enforce composed AST stays below the configured depth limit in
[https://github.com/google/cel-java/pull/424](https://github.com/google/cel-java/pull/424)
- Improve CSE for comprehensions by taking into their nesting level and
types into account in
[https://github.com/google/cel-java/pull/430](https://github.com/google/cel-java/pull/430)
- Add an option to prevent breaking apart a comprehension in CSE in
[https://github.com/google/cel-java/pull/432](https://github.com/google/cel-java/pull/432)
- Enable retainComprehensionStructure by default in
[https://github.com/google/cel-java/pull/436](https://github.com/google/cel-java/pull/436)
- Add unreachable checks in policies in
[https://github.com/google/cel-java/pull/423](https://github.com/google/cel-java/pull/423)

#### Fixes

- Do not override the container if it's missing from policy config in
[https://github.com/google/cel-java/pull/401](https://github.com/google/cel-java/pull/401)
- Add option to specify folding designated custom functions only in
[https://github.com/google/cel-java/pull/402](https://github.com/google/cel-java/pull/402)
- Fix conditionally nested rules to include its condition in
[https://github.com/google/cel-java/pull/404](https://github.com/google/cel-java/pull/404)
- Fix runtime equality behavior for sets extension in
[https://github.com/google/cel-java/pull/416](https://github.com/google/cel-java/pull/416)
- Reduce count of errors joined together during parsing error in
[https://github.com/google/cel-java/pull/417](https://github.com/google/cel-java/pull/417)
[https://github.com/google/cel-java/pull/418](https://github.com/google/cel-java/pull/418)

#### Miscellaneous Changes

- Upgrade protobuf version to 4.28.0 in
[https://github.com/google/cel-java/pull/439](https://github.com/google/cel-java/pull/439)
- Remove unused list/map conversion functions from standard definitions
in
[https://github.com/google/cel-java/pull/406](https://github.com/google/cel-java/pull/406)
- Open source Java conformance tests in
[https://github.com/google/cel-java/pull/413](https://github.com/google/cel-java/pull/413)
- Change cel_spec repo url to 0.16.0 in WORKSPACE in
[https://github.com/google/cel-java/pull/419](https://github.com/google/cel-java/pull/419)
- Migrate test_all_types proto over to the cel-spec variant in
[https://github.com/google/cel-java/pull/433](https://github.com/google/cel-java/pull/433)

**Full Changelog**:
google/cel-java@v0.6.0...v0.7.1

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/googleapis/sdk-platform-java).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC41OS4yIiwidXBkYXRlZEluVmVyIjoiMzguNTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant