-
-
Notifications
You must be signed in to change notification settings - Fork 132
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: Correct token.Tokenize double quoted strings with escape sequences handling #457
fix: Correct token.Tokenize double quoted strings with escape sequences handling #457
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #457 +/- ##
==========================================
+ Coverage 78.65% 78.70% +0.05%
==========================================
Files 13 13
Lines 3983 3983
==========================================
+ Hits 3133 3135 +2
+ Misses 590 589 -1
+ Partials 260 259 -1 |
## Motivation The issue is extensively covered in this issue: goccy/go-yaml#455 ## Summary Added test case and replaced `goccy/go-yaml` with our fork. For now I'm pinning the commit SHA from the PR branch. I'm not sure if the upstream is actively maintained anymore, we might just want to go further with the fork instead of the replace clause. ## Related changes - goccy/go-yaml#457 - nobl9/go-yaml#3 ## Testing Test case was supplied. ## Release Notes Fixed incorrect handling of double quoted JSON literals which caused errors when unmarshaling CloudWatch v1alpha SLOs with certain `json` queries.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your contribution !! LGTM 👍
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/goccy/go-yaml](https://togithub.com/goccy/go-yaml) | `v1.11.3` -> `v1.12.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgoccy%2fgo-yaml/v1.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgoccy%2fgo-yaml/v1.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgoccy%2fgo-yaml/v1.11.3/v1.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgoccy%2fgo-yaml/v1.11.3/v1.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>goccy/go-yaml (github.com/goccy/go-yaml)</summary> ### [`v1.12.0`](https://togithub.com/goccy/go-yaml/releases/tag/v1.12.0): 1.12.0 [Compare Source](https://togithub.com/goccy/go-yaml/compare/v1.11.3...v1.12.0) #### What's Changed - Replace deprecated `io/ioutil` by [@​harryzcy](https://togithub.com/harryzcy) in [https://github.com/goccy/go-yaml/pull/429](https://togithub.com/goccy/go-yaml/pull/429) - support custom unmarshalling for map keys by [@​KSpaceer](https://togithub.com/KSpaceer) in [https://github.com/goccy/go-yaml/pull/453](https://togithub.com/goccy/go-yaml/pull/453) - trim right spaces before adding carriage return or linefeed by [@​mfleader](https://togithub.com/mfleader) in [https://github.com/goccy/go-yaml/pull/462](https://togithub.com/goccy/go-yaml/pull/462) - fix: Correct token.Tokenize double quoted strings with escape sequences handling by [@​nieomylnieja](https://togithub.com/nieomylnieja) in [https://github.com/goccy/go-yaml/pull/457](https://togithub.com/goccy/go-yaml/pull/457) - Fix decoding of scientific notation by [@​morris-kelly](https://togithub.com/morris-kelly) in [https://github.com/goccy/go-yaml/pull/463](https://togithub.com/goccy/go-yaml/pull/463) - Quote is required even if it begins with backquote. by [@​k1LoW](https://togithub.com/k1LoW) in [https://github.com/goccy/go-yaml/pull/440](https://togithub.com/goccy/go-yaml/pull/440) #### New Contributors - [@​harryzcy](https://togithub.com/harryzcy) made their first contribution in [https://github.com/goccy/go-yaml/pull/429](https://togithub.com/goccy/go-yaml/pull/429) - [@​KSpaceer](https://togithub.com/KSpaceer) made their first contribution in [https://github.com/goccy/go-yaml/pull/453](https://togithub.com/goccy/go-yaml/pull/453) - [@​mfleader](https://togithub.com/mfleader) made their first contribution in [https://github.com/goccy/go-yaml/pull/462](https://togithub.com/goccy/go-yaml/pull/462) - [@​nieomylnieja](https://togithub.com/nieomylnieja) made their first contribution in [https://github.com/goccy/go-yaml/pull/457](https://togithub.com/goccy/go-yaml/pull/457) - [@​morris-kelly](https://togithub.com/morris-kelly) made their first contribution in [https://github.com/goccy/go-yaml/pull/463](https://togithub.com/goccy/go-yaml/pull/463) **Full Changelog**: goccy/go-yaml@v1.11.3...v1.11.4 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/anoriqq/qpm). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzEuNCIsInVwZGF0ZWRJblZlciI6IjM3LjQzMS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/aws/aws-sdk-go-v2/config](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.27.26` -> `v1.27.27` | | [github.com/goccy/go-yaml](https://togithub.com/goccy/go-yaml) | require | minor | `v1.11.3` -> `v1.12.0` | --- ### Release Notes <details> <summary>goccy/go-yaml (github.com/goccy/go-yaml)</summary> ### [`v1.12.0`](https://togithub.com/goccy/go-yaml/releases/tag/v1.12.0): 1.12.0 [Compare Source](https://togithub.com/goccy/go-yaml/compare/v1.11.3...v1.12.0) #### What's Changed - Replace deprecated `io/ioutil` by [@​harryzcy](https://togithub.com/harryzcy) in [https://github.com/goccy/go-yaml/pull/429](https://togithub.com/goccy/go-yaml/pull/429) - support custom unmarshalling for map keys by [@​KSpaceer](https://togithub.com/KSpaceer) in [https://github.com/goccy/go-yaml/pull/453](https://togithub.com/goccy/go-yaml/pull/453) - trim right spaces before adding carriage return or linefeed by [@​mfleader](https://togithub.com/mfleader) in [https://github.com/goccy/go-yaml/pull/462](https://togithub.com/goccy/go-yaml/pull/462) - fix: Correct token.Tokenize double quoted strings with escape sequences handling by [@​nieomylnieja](https://togithub.com/nieomylnieja) in [https://github.com/goccy/go-yaml/pull/457](https://togithub.com/goccy/go-yaml/pull/457) - Fix decoding of scientific notation by [@​morris-kelly](https://togithub.com/morris-kelly) in [https://github.com/goccy/go-yaml/pull/463](https://togithub.com/goccy/go-yaml/pull/463) - Quote is required even if it begins with backquote. by [@​k1LoW](https://togithub.com/k1LoW) in [https://github.com/goccy/go-yaml/pull/440](https://togithub.com/goccy/go-yaml/pull/440) #### New Contributors - [@​harryzcy](https://togithub.com/harryzcy) made their first contribution in [https://github.com/goccy/go-yaml/pull/429](https://togithub.com/goccy/go-yaml/pull/429) - [@​KSpaceer](https://togithub.com/KSpaceer) made their first contribution in [https://github.com/goccy/go-yaml/pull/453](https://togithub.com/goccy/go-yaml/pull/453) - [@​mfleader](https://togithub.com/mfleader) made their first contribution in [https://github.com/goccy/go-yaml/pull/462](https://togithub.com/goccy/go-yaml/pull/462) - [@​nieomylnieja](https://togithub.com/nieomylnieja) made their first contribution in [https://github.com/goccy/go-yaml/pull/457](https://togithub.com/goccy/go-yaml/pull/457) - [@​morris-kelly](https://togithub.com/morris-kelly) made their first contribution in [https://github.com/goccy/go-yaml/pull/463](https://togithub.com/goccy/go-yaml/pull/463) **Full Changelog**: goccy/go-yaml@v1.11.3...v1.11.4 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "on saturday" in timezone Asia/Tokyo, 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. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjQzMi4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | Type | Update | |---|---|---|---|---|---|---|---| | buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go | `v1.34.2-20240508200655-46a4cf4ba109.2` -> `v1.34.2-20240717164558-a6c49f84cc0f.2` | [![age](https://developer.mend.io/api/mc/badges/age/go/buf.build%2fgen%2fgo%2fbufbuild%2fprotovalidate%2fprotocolbuffers%2fgo/v1.34.2-20240717164558-a6c49f84cc0f.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/buf.build%2fgen%2fgo%2fbufbuild%2fprotovalidate%2fprotocolbuffers%2fgo/v1.34.2-20240717164558-a6c49f84cc0f.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/buf.build%2fgen%2fgo%2fbufbuild%2fprotovalidate%2fprotocolbuffers%2fgo/v1.34.2-20240508200655-46a4cf4ba109.2/v1.34.2-20240717164558-a6c49f84cc0f.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/buf.build%2fgen%2fgo%2fbufbuild%2fprotovalidate%2fprotocolbuffers%2fgo/v1.34.2-20240508200655-46a4cf4ba109.2/v1.34.2-20240717164558-a6c49f84cc0f.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | patch | | [github.com/aws/aws-sdk-go](https://togithub.com/aws/aws-sdk-go) | `v1.54.19` -> `v1.54.20` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2faws%2faws-sdk-go/v1.54.20?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2faws%2faws-sdk-go/v1.54.20?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2faws%2faws-sdk-go/v1.54.19/v1.54.20?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2faws%2faws-sdk-go/v1.54.19/v1.54.20?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | patch | | [github.com/aws/aws-sdk-go-v2/config](https://togithub.com/aws/aws-sdk-go-v2) | `v1.27.7` -> `v1.27.27` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2faws%2faws-sdk-go-v2%2fconfig/v1.27.27?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2faws%2faws-sdk-go-v2%2fconfig/v1.27.27?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2faws%2faws-sdk-go-v2%2fconfig/v1.27.7/v1.27.27?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2faws%2faws-sdk-go-v2%2fconfig/v1.27.7/v1.27.27?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | patch | | [github.com/goccy/go-yaml](https://togithub.com/goccy/go-yaml) | `v1.11.3` -> `v1.12.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgoccy%2fgo-yaml/v1.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgoccy%2fgo-yaml/v1.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgoccy%2fgo-yaml/v1.11.3/v1.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgoccy%2fgo-yaml/v1.11.3/v1.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | minor | | [github.com/minio/minio-go/v7](https://togithub.com/minio/minio-go) | `v7.0.73` -> `v7.0.74` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fminio%2fminio-go%2fv7/v7.0.74?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fminio%2fminio-go%2fv7/v7.0.74?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fminio%2fminio-go%2fv7/v7.0.73/v7.0.74?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fminio%2fminio-go%2fv7/v7.0.73/v7.0.74?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | patch | | golang.org/x/exp | `46b0784` -> `8a7402a` | [![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2fexp/v0.0.0-20240719175910-8a7402abbf56?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2fexp/v0.0.0-20240719175910-8a7402abbf56?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/golang.org%2fx%2fexp/v0.0.0-20240707233637-46b078467d37/v0.0.0-20240719175910-8a7402abbf56?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2fexp/v0.0.0-20240707233637-46b078467d37/v0.0.0-20240719175910-8a7402abbf56?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | digest | --- ### Release Notes <details> <summary>aws/aws-sdk-go (github.com/aws/aws-sdk-go)</summary> ### [`v1.54.20`](https://togithub.com/aws/aws-sdk-go/blob/HEAD/CHANGELOG.md#Release-v15420-2024-07-18) [Compare Source](https://togithub.com/aws/aws-sdk-go/compare/v1.54.19...v1.54.20) \=== ##### Service Client Updates - `service/acm-pca`: Updates service waiters - `service/connect`: Updates service API, documentation, and paginators - `service/ec2`: Updates service API and documentation - Amazon VPC IP Address Manager (IPAM) now supports Bring-Your-Own-IP (BYOIP) for IP addresses registered with any Internet Registry. This feature uses DNS TXT records to validate ownership of a public IP address range. - `service/firehose`: Updates service API and documentation - This release 1) Add configurable buffering hints for Snowflake as destination. 2) Add ReadFromTimestamp for MSK As Source. Firehose will start reading data from MSK Cluster using offset associated with this timestamp. 3) Gated public beta release to add Apache Iceberg tables as destination. - `service/ivschat`: Updates service API, documentation, and waiters - `service/medialive`: Updates service API and documentation - AWS Elemental MediaLive now supports the SRT protocol via the new SRT Caller input type. - `service/rds`: Updates service API, documentation, waiters, paginators, and examples - Updates Amazon RDS documentation to specify an eventual consistency model for DescribePendingMaintenanceActions. - `service/sagemaker`: Updates service API - SageMaker Training supports R5, T3 and R5D instances family. And SageMaker Processing supports G5 and R5D instances family. - `service/secretsmanager`: Updates service documentation - Doc only update for Secrets Manager - `service/taxsettings`: Updates service API - `service/timestream-query`: Updates service API and documentation - `service/workspaces-thin-client`: Updates service API and documentation </details> <details> <summary>goccy/go-yaml (github.com/goccy/go-yaml)</summary> ### [`v1.12.0`](https://togithub.com/goccy/go-yaml/releases/tag/v1.12.0): 1.12.0 [Compare Source](https://togithub.com/goccy/go-yaml/compare/v1.11.3...v1.12.0) #### What's Changed - Replace deprecated `io/ioutil` by [@​harryzcy](https://togithub.com/harryzcy) in [https://github.com/goccy/go-yaml/pull/429](https://togithub.com/goccy/go-yaml/pull/429) - support custom unmarshalling for map keys by [@​KSpaceer](https://togithub.com/KSpaceer) in [https://github.com/goccy/go-yaml/pull/453](https://togithub.com/goccy/go-yaml/pull/453) - trim right spaces before adding carriage return or linefeed by [@​mfleader](https://togithub.com/mfleader) in [https://github.com/goccy/go-yaml/pull/462](https://togithub.com/goccy/go-yaml/pull/462) - fix: Correct token.Tokenize double quoted strings with escape sequences handling by [@​nieomylnieja](https://togithub.com/nieomylnieja) in [https://github.com/goccy/go-yaml/pull/457](https://togithub.com/goccy/go-yaml/pull/457) - Fix decoding of scientific notation by [@​morris-kelly](https://togithub.com/morris-kelly) in [https://github.com/goccy/go-yaml/pull/463](https://togithub.com/goccy/go-yaml/pull/463) - Quote is required even if it begins with backquote. by [@​k1LoW](https://togithub.com/k1LoW) in [https://github.com/goccy/go-yaml/pull/440](https://togithub.com/goccy/go-yaml/pull/440) #### New Contributors - [@​harryzcy](https://togithub.com/harryzcy) made their first contribution in [https://github.com/goccy/go-yaml/pull/429](https://togithub.com/goccy/go-yaml/pull/429) - [@​KSpaceer](https://togithub.com/KSpaceer) made their first contribution in [https://github.com/goccy/go-yaml/pull/453](https://togithub.com/goccy/go-yaml/pull/453) - [@​mfleader](https://togithub.com/mfleader) made their first contribution in [https://github.com/goccy/go-yaml/pull/462](https://togithub.com/goccy/go-yaml/pull/462) - [@​nieomylnieja](https://togithub.com/nieomylnieja) made their first contribution in [https://github.com/goccy/go-yaml/pull/457](https://togithub.com/goccy/go-yaml/pull/457) - [@​morris-kelly](https://togithub.com/morris-kelly) made their first contribution in [https://github.com/goccy/go-yaml/pull/463](https://togithub.com/goccy/go-yaml/pull/463) **Full Changelog**: goccy/go-yaml@v1.11.3...v1.11.4 </details> <details> <summary>minio/minio-go (github.com/minio/minio-go/v7)</summary> ### [`v7.0.74`](https://togithub.com/minio/minio-go/releases/tag/v7.0.74): Bugfix Release [Compare Source](https://togithub.com/minio/minio-go/compare/v7.0.73...v7.0.74) #### What's Changed - return appropriate error type for generic handling by [@​harshavardhana](https://togithub.com/harshavardhana) in [https://github.com/minio/minio-go/pull/1981](https://togithub.com/minio/minio-go/pull/1981) - feat: add SetContentDisposition method for postPolicy Upload by [@​lianggx6](https://togithub.com/lianggx6) in [https://github.com/minio/minio-go/pull/1982](https://togithub.com/minio/minio-go/pull/1982) - docs: fix doc about default alias by [@​emil2k](https://togithub.com/emil2k) in [https://github.com/minio/minio-go/pull/1984](https://togithub.com/minio/minio-go/pull/1984) - fix: GCS endpoint validation to allow ports by [@​ammarhusain-sol](https://togithub.com/ammarhusain-sol) in [https://github.com/minio/minio-go/pull/1985](https://togithub.com/minio/minio-go/pull/1985) #### New Contributors - [@​lianggx6](https://togithub.com/lianggx6) made their first contribution in [https://github.com/minio/minio-go/pull/1982](https://togithub.com/minio/minio-go/pull/1982) - [@​emil2k](https://togithub.com/emil2k) made their first contribution in [https://github.com/minio/minio-go/pull/1984](https://togithub.com/minio/minio-go/pull/1984) - [@​ammarhusain-sol](https://togithub.com/ammarhusain-sol) made their first contribution in [https://github.com/minio/minio-go/pull/1985](https://togithub.com/minio/minio-go/pull/1985) **Full Changelog**: minio/minio-go@v7.0.73...v7.0.74 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC), 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. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/cerbos/cerbos). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzguMCIsInVwZGF0ZWRJblZlciI6IjM3LjQzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJhcmVhL2RlcGVuZGVuY2llcyIsImJvdHMiLCJraW5kL2Nob3JlIl19--> --------- Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Charith Ellawala <charith@cerbos.dev> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Charith Ellawala <charith@cerbos.dev>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/aws/aws-sdk-go](https://togithub.com/aws/aws-sdk-go) | `v1.54.17` -> `v1.55.5` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2faws%2faws-sdk-go/v1.55.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2faws%2faws-sdk-go/v1.55.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2faws%2faws-sdk-go/v1.54.17/v1.55.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2faws%2faws-sdk-go/v1.54.17/v1.55.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [github.com/goccy/go-yaml](https://togithub.com/goccy/go-yaml) | `v1.11.3` -> `v1.12.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgoccy%2fgo-yaml/v1.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgoccy%2fgo-yaml/v1.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgoccy%2fgo-yaml/v1.11.3/v1.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgoccy%2fgo-yaml/v1.11.3/v1.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [github.com/nobl9/nobl9-go](https://togithub.com/nobl9/nobl9-go) | `v0.82.0` -> `v0.84.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fnobl9%2fnobl9-go/v0.84.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fnobl9%2fnobl9-go/v0.84.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fnobl9%2fnobl9-go/v0.82.0/v0.84.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fnobl9%2fnobl9-go/v0.82.0/v0.84.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | golang.org/x/sync | `v0.7.0` -> `v0.8.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2fsync/v0.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2fsync/v0.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/golang.org%2fx%2fsync/v0.7.0/v0.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2fsync/v0.7.0/v0.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | golang.org/x/text | `v0.16.0` -> `v0.17.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2ftext/v0.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2ftext/v0.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/golang.org%2fx%2ftext/v0.16.0/v0.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2ftext/v0.16.0/v0.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | golang.org/x/time | `v0.5.0` -> `v0.6.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2ftime/v0.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2ftime/v0.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/golang.org%2fx%2ftime/v0.5.0/v0.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2ftime/v0.5.0/v0.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>aws/aws-sdk-go (github.com/aws/aws-sdk-go)</summary> ### [`v1.55.5`](https://togithub.com/aws/aws-sdk-go/blob/HEAD/CHANGELOG.md#Release-v1555-2024-07-30) [Compare Source](https://togithub.com/aws/aws-sdk-go/compare/v1.55.4...v1.55.5) \=== ##### Service Client Updates - `service/appstream`: Updates service API and documentation - Added support for Red Hat Enterprise Linux 8 on Amazon AppStream 2.0 - `service/autoscaling`: Updates service API and documentation - Increase the length limit for VPCZoneIdentifier from 2047 to 5000 - `service/codepipeline`: Updates service API, documentation, and paginators - AWS CodePipeline V2 type pipelines now support stage level conditions to enable development teams to safely release changes that meet quality and compliance requirements. - `service/elasticache`: Updates service documentation - Doc only update for changes to deletion API. - `service/elasticloadbalancing`: Updates service API - `service/eventbridge`: Updates service API - `service/logs`: Updates service API - Add v2 smoke tests and smithy smokeTests trait for SDK testing. - `service/models.lex.v2`: Updates service API and documentation - `service/rolesanywhere`: Updates service API and documentation - `service/tnb`: Updates service API and documentation - `service/workspaces`: Updates service documentation - Removing multi-session as it isn't supported for pools ### [`v1.55.4`](https://togithub.com/aws/aws-sdk-go/blob/HEAD/CHANGELOG.md#Release-v1554-2024-07-29) [Compare Source](https://togithub.com/aws/aws-sdk-go/compare/v1.55.3...v1.55.4) \=== ##### Service Client Updates - `service/elasticache`: Updates service documentation - Renaming full service name as it appears in developer documentation. - `service/memorydb`: Updates service API and documentation ### [`v1.55.3`](https://togithub.com/aws/aws-sdk-go/blob/HEAD/CHANGELOG.md#Release-v1553-2024-07-25) [Compare Source](https://togithub.com/aws/aws-sdk-go/compare/v1.55.2...v1.55.3) \=== ##### Service Client Updates - `service/application-autoscaling`: Updates service API - `service/application-signals`: Updates service API and documentation - `service/bedrock-runtime`: Updates service API and documentation - `service/codecommit`: Updates service API and documentation - CreateRepository API now throws OperationNotAllowedException when the account has been restricted from creating a repository. - `service/datazone`: Updates service API and documentation - `service/ec2`: Updates service API and documentation - EC2 Fleet now supports using custom identifiers to reference Amazon Machine Images (AMI) in launch requests that are configured to choose from a diversified list of instance types. - `service/ecr`: Updates service API, documentation, paginators, and examples - API and documentation updates for Amazon ECR, adding support for creating, updating, describing and deleting ECR Repository Creation Template. - `service/eks`: Updates service API and documentation - `service/elasticloadbalancingv2`: Updates service API, documentation, and examples - `service/network-firewall`: Updates service API and documentation - `service/outposts`: Updates service API and documentation - `service/states`: Updates service API and documentation - This release adds support to customer managed KMS key encryption in AWS Step Functions. ##### SDK Bugs - Remove broken integration test. - Remove integration test broken by cloudsearch service. ### [`v1.55.2`](https://togithub.com/aws/aws-sdk-go/blob/HEAD/CHANGELOG.md#Release-v1552-2024-07-24) [Compare Source](https://togithub.com/aws/aws-sdk-go/compare/v1.55.1...v1.55.2) \=== ##### Service Client Updates - `service/cleanrooms`: Updates service API and documentation - `service/dynamodb`: Updates service API, documentation, waiters, paginators, and examples - DynamoDB doc only update for July - `service/iotsitewise`: Updates service API and documentation - `service/mediapackagev2`: Updates service API - `service/medical-imaging`: Updates service API and documentation - `service/pinpoint-sms-voice-v2`: Updates service API and documentation ##### SDK Bugs - Add missing bool error matching. - This enables waiters defined to match on presence/absence of errors. ### [`v1.55.1`](https://togithub.com/aws/aws-sdk-go/blob/HEAD/CHANGELOG.md#Release-v1551-2024-07-23) [Compare Source](https://togithub.com/aws/aws-sdk-go/compare/v1.55.0...v1.55.1) \=== ##### Service Client Updates - `service/appsync`: Updates service API and paginators - `service/cleanrooms`: Updates service API, documentation, and paginators - `service/cleanroomsml`: Updates service API, documentation, and waiters - `service/connect`: Updates service API and documentation - `service/connect-contact-lens`: Updates service API and documentation - `service/datazone`: Updates service API and documentation - `service/entityresolution`: Updates service API and documentation ### [`v1.55.0`](https://togithub.com/aws/aws-sdk-go/blob/HEAD/CHANGELOG.md#Release-v1550-2024-07-22) [Compare Source](https://togithub.com/aws/aws-sdk-go/compare/v1.54.20...v1.55.0) \=== ##### Service Client Updates - `service/datazone`: Updates service API, documentation, and paginators - `service/ivs`: Updates service API and documentation - `service/redshift-serverless`: Updates service API and documentation ##### SDK Features - `service/mobile`: Remove Mobile - This change removes the Mobile service, which has been deprecated. ##### SDK Bugs - Apply sensitive struct tag to lists/maps with sensitive members. - This change propagates existing sensitive protection to lists/maps. ### [`v1.54.20`](https://togithub.com/aws/aws-sdk-go/blob/HEAD/CHANGELOG.md#Release-v15420-2024-07-18) [Compare Source](https://togithub.com/aws/aws-sdk-go/compare/v1.54.19...v1.54.20) \=== ##### Service Client Updates - `service/acm-pca`: Updates service waiters - `service/connect`: Updates service API, documentation, and paginators - `service/ec2`: Updates service API and documentation - Amazon VPC IP Address Manager (IPAM) now supports Bring-Your-Own-IP (BYOIP) for IP addresses registered with any Internet Registry. This feature uses DNS TXT records to validate ownership of a public IP address range. - `service/firehose`: Updates service API and documentation - This release 1) Add configurable buffering hints for Snowflake as destination. 2) Add ReadFromTimestamp for MSK As Source. Firehose will start reading data from MSK Cluster using offset associated with this timestamp. 3) Gated public beta release to add Apache Iceberg tables as destination. - `service/ivschat`: Updates service API, documentation, and waiters - `service/medialive`: Updates service API and documentation - AWS Elemental MediaLive now supports the SRT protocol via the new SRT Caller input type. - `service/rds`: Updates service API, documentation, waiters, paginators, and examples - Updates Amazon RDS documentation to specify an eventual consistency model for DescribePendingMaintenanceActions. - `service/sagemaker`: Updates service API - SageMaker Training supports R5, T3 and R5D instances family. And SageMaker Processing supports G5 and R5D instances family. - `service/secretsmanager`: Updates service documentation - Doc only update for Secrets Manager - `service/taxsettings`: Updates service API - `service/timestream-query`: Updates service API and documentation - `service/workspaces-thin-client`: Updates service API and documentation ### [`v1.54.19`](https://togithub.com/aws/aws-sdk-go/blob/HEAD/CHANGELOG.md#Release-v15419-2024-07-12) [Compare Source](https://togithub.com/aws/aws-sdk-go/compare/v1.54.18...v1.54.19) \=== ##### Service Client Updates - `service/acm-pca`: Updates service API, documentation, waiters, and paginators - `service/arc-zonal-shift`: Updates service API and documentation - `service/autoscaling`: Adds new service - Add v2 smoke tests and smithy smokeTests trait for SDK testing. - `service/codebuild`: Adds new service - Add v2 smoke tests and smithy smokeTests trait for SDK testing. - `service/dynamodb`: Updates service API, documentation, waiters, paginators, and examples - Add v2 smoke tests and smithy smokeTests trait for SDK testing. - `service/globalaccelerator`: Updates service API - `service/pinpoint`: Updates service API and documentation - Add v2 smoke tests and smithy smokeTests trait for SDK testing. - `service/quicksight`: Updates service API and documentation - Vega ally control options and Support for Reviewed Answers in Topics - `service/rds`: Updates service API, documentation, waiters, paginators, and examples - Update path for CreateDBCluster resource identifier, and Add v2 smoke tests and smithy smokeTests trait for SDK testing. - `service/sns`: Adds new service - Add v2 smoke tests and smithy smokeTests trait for SDK testing. ### [`v1.54.18`](https://togithub.com/aws/aws-sdk-go/blob/HEAD/CHANGELOG.md#Release-v15418-2024-07-10) [Compare Source](https://togithub.com/aws/aws-sdk-go/compare/v1.54.17...v1.54.18) \=== ##### Service Client Updates - `service/batch`: Updates service API and documentation - This feature allows AWS Batch Jobs with EKS container orchestration type to be run as Multi-Node Parallel Jobs. - `service/bedrock`: Updates service API and documentation - `service/bedrock-agent`: Updates service API, documentation, and paginators - `service/bedrock-agent-runtime`: Updates service API, documentation, and paginators - `service/bedrock-runtime`: Updates service API and documentation - `service/ec2`: Updates service API and documentation - Add parameters to enable provisioning IPAM BYOIPv4 space at a Local Zone Network Border Group level - `service/glue`: Updates service API and documentation - Add recipe step support for recipe node - `service/groundstation`: Updates service API and documentation - `service/license-manager-linux-subscriptions`: Updates service API, documentation, and paginators - `service/mediaconnect`: Updates service API and documentation </details> <details> <summary>goccy/go-yaml (github.com/goccy/go-yaml)</summary> ### [`v1.12.0`](https://togithub.com/goccy/go-yaml/releases/tag/v1.12.0): 1.12.0 [Compare Source](https://togithub.com/goccy/go-yaml/compare/v1.11.3...v1.12.0) #### What's Changed - Replace deprecated `io/ioutil` by [@​harryzcy](https://togithub.com/harryzcy) in [https://github.com/goccy/go-yaml/pull/429](https://togithub.com/goccy/go-yaml/pull/429) - support custom unmarshalling for map keys by [@​KSpaceer](https://togithub.com/KSpaceer) in [https://github.com/goccy/go-yaml/pull/453](https://togithub.com/goccy/go-yaml/pull/453) - trim right spaces before adding carriage return or linefeed by [@​mfleader](https://togithub.com/mfleader) in [https://github.com/goccy/go-yaml/pull/462](https://togithub.com/goccy/go-yaml/pull/462) - fix: Correct token.Tokenize double quoted strings with escape sequences handling by [@​nieomylnieja](https://togithub.com/nieomylnieja) in [https://github.com/goccy/go-yaml/pull/457](https://togithub.com/goccy/go-yaml/pull/457) - Fix decoding of scientific notation by [@​morris-kelly](https://togithub.com/morris-kelly) in [https://github.com/goccy/go-yaml/pull/463](https://togithub.com/goccy/go-yaml/pull/463) - Quote is required even if it begins with backquote. by [@​k1LoW](https://togithub.com/k1LoW) in [https://github.com/goccy/go-yaml/pull/440](https://togithub.com/goccy/go-yaml/pull/440) #### New Contributors - [@​harryzcy](https://togithub.com/harryzcy) made their first contribution in [https://github.com/goccy/go-yaml/pull/429](https://togithub.com/goccy/go-yaml/pull/429) - [@​KSpaceer](https://togithub.com/KSpaceer) made their first contribution in [https://github.com/goccy/go-yaml/pull/453](https://togithub.com/goccy/go-yaml/pull/453) - [@​mfleader](https://togithub.com/mfleader) made their first contribution in [https://github.com/goccy/go-yaml/pull/462](https://togithub.com/goccy/go-yaml/pull/462) - [@​nieomylnieja](https://togithub.com/nieomylnieja) made their first contribution in [https://github.com/goccy/go-yaml/pull/457](https://togithub.com/goccy/go-yaml/pull/457) - [@​morris-kelly](https://togithub.com/morris-kelly) made their first contribution in [https://github.com/goccy/go-yaml/pull/463](https://togithub.com/goccy/go-yaml/pull/463) **Full Changelog**: goccy/go-yaml@v1.11.3...v1.11.4 </details> <details> <summary>nobl9/nobl9-go (github.com/nobl9/nobl9-go)</summary> ### [`v0.84.0`](https://togithub.com/nobl9/nobl9-go/releases/tag/v0.84.0) [Compare Source](https://togithub.com/nobl9/nobl9-go/compare/v0.83.0...v0.84.0) ### What's Changed #### 🚀 Features - feat: PC-13831 unique SLOs validation and test ([#​526](https://togithub.com/nobl9/nobl9-go/issues/526)) [@​jakubpieta](https://togithub.com/jakubpieta) > Added BudgetAdjustment validation for unique SLOs in filters - feat: add Replay support to Logic Monitor ([#​510](https://togithub.com/nobl9/nobl9-go/issues/510)) [@​mkaras-nobl9](https://togithub.com/mkaras-nobl9) > Adds Replay support to Logic Monitor data source. - feat: PC-13263 Add Report kind ([#​495](https://togithub.com/nobl9/nobl9-go/issues/495)) [@​natalialanga](https://togithub.com/natalialanga) > New `Report` kind for handling creating, updating and deleting reports. > Only System Health Review report type is currently supported. > This feature is currently in early access, and is available only on demand. > If you want to utilize SDK for reports management, please reach out to Nobl9 Support. - feat: PC-13028 Support Azure Monitor managed service for Prometheus in Direct ([#​449](https://togithub.com/nobl9/nobl9-go/issues/449)) [@​dawidwisn](https://togithub.com/dawidwisn) > Added Direct support for Azure Monitor Managed Service for Prometheus, extending `v1alpha.Direct.Spec`. #### 🐞 Bug Fixes - fix: PC-13744 Removed anomaly config from composite e2e test ([#​520](https://togithub.com/nobl9/nobl9-go/issues/520)) [@​ditrytus](https://togithub.com/ditrytus) - fix: Removing redundant validation in LogicMonitor \[PC-13783] ([#​514](https://togithub.com/nobl9/nobl9-go/issues/514)) [@​dawidwisn](https://togithub.com/dawidwisn) > Removing redundant validation for `ClientID` and `ClientSecret` in Logic Monitor - fix: Fix tests for Azure Prometheus Direct \[PC-13028] ([#​504](https://togithub.com/nobl9/nobl9-go/issues/504)) [@​dawidwisn](https://togithub.com/dawidwisn) #### 🧰 Maintenance <details> <summary>21 changes</summary> - chore: Update dependency cspell to v8.14.2 ([#​524](https://togithub.com/nobl9/nobl9-go/issues/524)) [@​renovate](https://togithub.com/renovate) - chore: Update DEVELOPMENT.md ([#​523](https://togithub.com/nobl9/nobl9-go/issues/523)) [@​nieomylnieja](https://togithub.com/nieomylnieja) - chore: Update dependency cspell to v8.14.1 ([#​522](https://togithub.com/nobl9/nobl9-go/issues/522)) [@​renovate](https://togithub.com/renovate) - chore: Update dependency golangci/golangci-lint to v1.60.1 ([#​521](https://togithub.com/nobl9/nobl9-go/issues/521)) [@​renovate](https://togithub.com/renovate) - chore: PC-13744 Composite SLOs in examples and SDK e2e tests ([#​516](https://togithub.com/nobl9/nobl9-go/issues/516)) [@​ditrytus](https://togithub.com/ditrytus) - chore: PC-13881 Fix comment about composites 2.0 being unavailable ([#​518](https://togithub.com/nobl9/nobl9-go/issues/518)) [@​BSski](https://togithub.com/BSski) - chore: Update dependency cspell to v8.13.3 ([#​517](https://togithub.com/nobl9/nobl9-go/issues/517)) [@​renovate](https://togithub.com/renovate) - chore: Update dependency cspell to v8.13.2 ([#​515](https://togithub.com/nobl9/nobl9-go/issues/515)) [@​renovate](https://togithub.com/renovate) - chore: Adjust release doc ([#​513](https://togithub.com/nobl9/nobl9-go/issues/513)) [@​BSski](https://togithub.com/BSski) - chore: Update module golang.org/x/tools/cmd/goimports to v0.24.0 ([#​512](https://togithub.com/nobl9/nobl9-go/issues/512)) [@​renovate](https://togithub.com/renovate) - chore: Update dependency cspell to v8.13.1 ([#​511](https://togithub.com/nobl9/nobl9-go/issues/511)) [@​renovate](https://togithub.com/renovate) - chore: Update developer docs and examples ([#​509](https://togithub.com/nobl9/nobl9-go/issues/509)) [@​nieomylnieja](https://togithub.com/nieomylnieja) - chore: gitsync updates ([#​507](https://togithub.com/nobl9/nobl9-go/issues/507)) [@​nieomylnieja](https://togithub.com/nieomylnieja) - chore: Update dependency cspell to v8.13.0 ([#​508](https://togithub.com/nobl9/nobl9-go/issues/508)) [@​renovate](https://togithub.com/renovate) - chore: Add Annotations end-to-end tests ([#​501](https://togithub.com/nobl9/nobl9-go/issues/501)) [@​nieomylnieja](https://togithub.com/nieomylnieja) - chore: Add Data Export end-to-end tests ([#​500](https://togithub.com/nobl9/nobl9-go/issues/500)) [@​nieomylnieja](https://togithub.com/nieomylnieja) - chore: Add Alert Silence end-to-end tests ([#​499](https://togithub.com/nobl9/nobl9-go/issues/499)) [@​nieomylnieja](https://togithub.com/nieomylnieja) - chore: Allow sequential apply/delete execution for end-to-end tests ([#​498](https://togithub.com/nobl9/nobl9-go/issues/498)) [@​nieomylnieja](https://togithub.com/nieomylnieja) - chore: Update dependency yaml to v2.5.0 ([#​497](https://togithub.com/nobl9/nobl9-go/issues/497)) [@​renovate](https://togithub.com/renovate) - chore: Update dependency cspell to v8.12.1 ([#​496](https://togithub.com/nobl9/nobl9-go/issues/496)) [@​renovate](https://togithub.com/renovate) - chore: Add SLO end-to-end tests ([#​494](https://togithub.com/nobl9/nobl9-go/issues/494)) [@​nieomylnieja](https://togithub.com/nieomylnieja) </details> ### [`v0.83.0`](https://togithub.com/nobl9/nobl9-go/releases/tag/v0.83.0) [Compare Source](https://togithub.com/nobl9/nobl9-go/compare/v0.82.0...v0.83.0) ### What's Changed #### 🚀 Features - feat: PC-13045 Good total single query experimental support ([#​458](https://togithub.com/nobl9/nobl9-go/issues/458)) [@​marcinlawnik](https://togithub.com/marcinlawnik) - feat: Define manifest objects examples in code ([#​477](https://togithub.com/nobl9/nobl9-go/issues/477)) [@​nieomylnieja](https://togithub.com/nieomylnieja) > Added extended examples to the `v1alpha` objects with different > configuration variants. - feat: Add Alert Method types ([#​475](https://togithub.com/nobl9/nobl9-go/issues/475)) [@​nieomylnieja](https://togithub.com/nieomylnieja) > Added `AlertMethod.Spec.GetType()` function and > `v1alpha.AlertMethodType` enum to help discern different types of alert > methods. - feat: PC-12940/PC-12941 Allow to configure budget drop condition type ([#​423](https://togithub.com/nobl9/nobl9-go/issues/423)) [@​nobl9-adam-szymanski](https://togithub.com/nobl9-adam-szymanski) - feat: PC-13027 PC-13029 Add Azure Monitor managed service for Prometh… ([#​437](https://togithub.com/nobl9/nobl9-go/issues/437)) [@​dawidwisn](https://togithub.com/dawidwisn) > Added Azure Monitor managed service for Prometheus Agent, and Metric > Spec extending both `v1alpha.Agent.Spec` and `v1alpha.SLO.MetricSpec`. #### 🐞 Bug Fixes - fix: Double quoted JSON handling ([#​471](https://togithub.com/nobl9/nobl9-go/issues/471)) [@​nieomylnieja](https://togithub.com/nieomylnieja) > Fixed incorrect handling of double quoted JSON literals which caused > errors when unmarshaling CloudWatch v1alpha SLOs > with certain `json` queries. - fix: composite slo name and displayName validation \[PC-12850] ([#​445](https://togithub.com/nobl9/nobl9-go/issues/445)) [@​nikodemrafalski](https://togithub.com/nikodemrafalski) #### 🧰 Maintenance <details> <summary>49 changes</summary> - chore: Update dependency cspell to v8.11.0 ([#​493](https://togithub.com/nobl9/nobl9-go/issues/493)) [@​renovate](https://togithub.com/renovate) - chore: Update module golang.org/x/vuln/cmd/govulncheck to v1.1.3 ([#​492](https://togithub.com/nobl9/nobl9-go/issues/492)) [@​renovate](https://togithub.com/renovate) - chore: Add v1alpha Agent and Direct end-to-end tests ([#​490](https://togithub.com/nobl9/nobl9-go/issues/490)) [@​nieomylnieja](https://togithub.com/nieomylnieja) - chore: Update module github.com/aws/aws-sdk-go to v1.54.17 ([#​489](https://togithub.com/nobl9/nobl9-go/issues/489)) [@​renovate](https://togithub.com/renovate) - chore: Add Alert Method e2e tests ([#​488](https://togithub.com/nobl9/nobl9-go/issues/488)) [@​nieomylnieja](https://togithub.com/nieomylnieja) - chore: Add v1alpha RoleBinding e2e tests ([#​486](https://togithub.com/nobl9/nobl9-go/issues/486)) [@​nieomylnieja](https://togithub.com/nieomylnieja) - chore: Update module github.com/aws/aws-sdk-go to v1.54.16 ([#​487](https://togithub.com/nobl9/nobl9-go/issues/487)) [@​renovate](https://togithub.com/renovate) - chore: Add Alert Method e2e tests ([#​481](https://togithub.com/nobl9/nobl9-go/issues/481)) [@​nieomylnieja](https://togithub.com/nieomylnieja) - chore: Switch go-yaml library to Nobl9 fork ([#​482](https://togithub.com/nobl9/nobl9-go/issues/482)) [@​nieomylnieja](https://togithub.com/nieomylnieja) - chore: Update module golang.org/x/tools/cmd/goimports to v0.23.0 ([#​485](https://togithub.com/nobl9/nobl9-go/issues/485)) [@​renovate](https://togithub.com/renovate) - chore: Update module github.com/aws/aws-sdk-go to v1.54.15 ([#​484](https://togithub.com/nobl9/nobl9-go/issues/484)) [@​renovate](https://togithub.com/renovate) - chore: Update dependency cspell to v8.10.4 ([#​483](https://togithub.com/nobl9/nobl9-go/issues/483)) [@​renovate](https://togithub.com/renovate) - chore: Update dependency cspell to v8.10.0 ([#​480](https://togithub.com/nobl9/nobl9-go/issues/480)) [@​renovate](https://togithub.com/renovate) - chore: Update module github.com/aws/aws-sdk-go to v1.54.14 ([#​479](https://togithub.com/nobl9/nobl9-go/issues/479)) [@​renovate](https://togithub.com/renovate) - chore: Update module github.com/aws/aws-sdk-go to v1.54.12 ([#​478](https://togithub.com/nobl9/nobl9-go/issues/478)) [@​renovate](https://togithub.com/renovate) - chore: Correct Alert Method type names ([#​476](https://togithub.com/nobl9/nobl9-go/issues/476)) [@​nieomylnieja](https://togithub.com/nieomylnieja) - chore: Update module github.com/aws/aws-sdk-go to v1.54.11 ([#​474](https://togithub.com/nobl9/nobl9-go/issues/474)) [@​renovate](https://togithub.com/renovate) - chore: Update module github.com/aws/aws-sdk-go to v1.54.10 ([#​473](https://togithub.com/nobl9/nobl9-go/issues/473)) [@​renovate](https://togithub.com/renovate) - chore: Update module github.com/aws/aws-sdk-go to v1.54.9 ([#​472](https://togithub.com/nobl9/nobl9-go/issues/472)) [@​renovate](https://togithub.com/renovate) - chore: Update module github.com/aws/aws-sdk-go to v1.54.8 ([#​470](https://togithub.com/nobl9/nobl9-go/issues/470)) [@​renovate](https://togithub.com/renovate) - chore: Update module github.com/aws/aws-sdk-go to v1.54.7 ([#​469](https://togithub.com/nobl9/nobl9-go/issues/469)) [@​renovate](https://togithub.com/renovate) - chore: Update module github.com/aws/aws-sdk-go to v1.54.6 ([#​468](https://togithub.com/nobl9/nobl9-go/issues/468)) [@​renovate](https://togithub.com/renovate) - chore: Update dependency cspell to v8.9.1 ([#​467](https://togithub.com/nobl9/nobl9-go/issues/467)) [@​renovate](https://togithub.com/renovate) - chore: Update module github.com/aws/aws-sdk-go to v1.54.5 ([#​465](https://togithub.com/nobl9/nobl9-go/issues/465)) [@​renovate](https://togithub.com/renovate) - chore: Update dependency cspell to v8.9.0 ([#​466](https://togithub.com/nobl9/nobl9-go/issues/466)) [@​renovate](https://togithub.com/renovate) - chore: Change objects print to encode ([#​463](https://togithub.com/nobl9/nobl9-go/issues/463)) [@​nieomylnieja](https://togithub.com/nieomylnieja) - chore: Update module github.com/aws/aws-sdk-go to v1.54.3 ([#​464](https://togithub.com/nobl9/nobl9-go/issues/464)) [@​renovate](https://togithub.com/renovate) - chore: Move object-impl generator to cmd ([#​462](https://togithub.com/nobl9/nobl9-go/issues/462)) [@​nieomylnieja](https://togithub.com/nieomylnieja) - chore: Update module github.com/aws/aws-sdk-go to v1.54.2 ([#​461](https://togithub.com/nobl9/nobl9-go/issues/461)) [@​renovate](https://togithub.com/renovate) - chore: Update module github.com/aws/aws-sdk-go to v1.54.1 ([#​460](https://togithub.com/nobl9/nobl9-go/issues/460)) [@​renovate](https://togithub.com/renovate) - chore: Update module github.com/aws/aws-sdk-go to v1.54.0 ([#​459](https://togithub.com/nobl9/nobl9-go/issues/459)) [@​renovate](https://togithub.com/renovate) - chore: Update module github.com/aws/aws-sdk-go to v1.53.21 ([#​457](https://togithub.com/nobl9/nobl9-go/issues/457)) [@​renovate](https://togithub.com/renovate) - chore: Add no config file ([#​456](https://togithub.com/nobl9/nobl9-go/issues/456)) [@​nieomylnieja](https://togithub.com/nieomylnieja) - chore: Add end-to-end Project and Service tests ([#​454](https://togithub.com/nobl9/nobl9-go/issues/454)) [@​nieomylnieja](https://togithub.com/nieomylnieja) - chore: Update module github.com/aws/aws-sdk-go to v1.53.20 ([#​455](https://togithub.com/nobl9/nobl9-go/issues/455)) [@​renovate](https://togithub.com/renovate) - chore: Update dependency golangci/golangci-lint to v1.59.1 ([#​453](https://togithub.com/nobl9/nobl9-go/issues/453)) [@​renovate](https://togithub.com/renovate) - chore: Update dependency yaml to v2.4.5 ([#​452](https://togithub.com/nobl9/nobl9-go/issues/452)) [@​renovate](https://togithub.com/renovate) - chore: Update dependency yaml to v2.4.4 ([#​451](https://togithub.com/nobl9/nobl9-go/issues/451)) [@​renovate](https://togithub.com/renovate) - chore: Update module github.com/aws/aws-sdk-go to v1.53.19 ([#​450](https://togithub.com/nobl9/nobl9-go/issues/450)) [@​renovate](https://togithub.com/renovate) - chore: Update module golang.org/x/vuln/cmd/govulncheck to v1.1.2 ([#​447](https://togithub.com/nobl9/nobl9-go/issues/447)) [@​renovate](https://togithub.com/renovate) - chore: Update module github.com/aws/aws-sdk-go to v1.53.18 ([#​446](https://togithub.com/nobl9/nobl9-go/issues/446)) [@​renovate](https://togithub.com/renovate) - chore: Update module github.com/aws/aws-sdk-go to v1.53.17 ([#​444](https://togithub.com/nobl9/nobl9-go/issues/444)) [@​renovate](https://togithub.com/renovate) - chore: Update modules ([#​440](https://togithub.com/nobl9/nobl9-go/issues/440)) [@​nieomylnieja](https://togithub.com/nieomylnieja) - chore: Update minor and patch golang dependencies ([#​442](https://togithub.com/nobl9/nobl9-go/issues/442)) [@​renovate](https://togithub.com/renovate) - chore: Update module golang.org/x/tools/cmd/goimports to v0.22.0 ([#​443](https://togithub.com/nobl9/nobl9-go/issues/443)) [@​renovate](https://togithub.com/renovate) - chore: Update module github.com/aws/aws-sdk-go to v1.53.15 ([#​439](https://togithub.com/nobl9/nobl9-go/issues/439)) [@​renovate](https://togithub.com/renovate) - chore: Update dependency cspell to v8.8.4 ([#​438](https://togithub.com/nobl9/nobl9-go/issues/438)) [@​renovate](https://togithub.com/renovate) - chore: Update dependency yaml to v2.4.3 ([#​436](https://togithub.com/nobl9/nobl9-go/issues/436)) [@​renovate](https://togithub.com/renovate) - chore: Update minor and patch golang dependencies ([#​435](https://togithub.com/nobl9/nobl9-go/issues/435)) [@​renovate](https://togithub.com/renovate) </details> </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 10pm every weekday,before 5am every weekday,every weekend" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View the [repository job log](https://developer.mend.io/github/nobl9/nobl9-go). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM4LjI2LjEiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyIsImdvbGFuZyIsInJlbm92YXRlIl19--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/goccy/go-yaml](https://togithub.com/goccy/go-yaml) | `v1.11.3` -> `v1.12.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgoccy%2fgo-yaml/v1.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgoccy%2fgo-yaml/v1.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgoccy%2fgo-yaml/v1.11.3/v1.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgoccy%2fgo-yaml/v1.11.3/v1.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>goccy/go-yaml (github.com/goccy/go-yaml)</summary> ### [`v1.12.0`](https://togithub.com/goccy/go-yaml/releases/tag/v1.12.0): 1.12.0 [Compare Source](https://togithub.com/goccy/go-yaml/compare/v1.11.3...v1.12.0) #### What's Changed - Replace deprecated `io/ioutil` by [@​harryzcy](https://togithub.com/harryzcy) in [https://github.com/goccy/go-yaml/pull/429](https://togithub.com/goccy/go-yaml/pull/429) - support custom unmarshalling for map keys by [@​KSpaceer](https://togithub.com/KSpaceer) in [https://github.com/goccy/go-yaml/pull/453](https://togithub.com/goccy/go-yaml/pull/453) - trim right spaces before adding carriage return or linefeed by [@​mfleader](https://togithub.com/mfleader) in [https://github.com/goccy/go-yaml/pull/462](https://togithub.com/goccy/go-yaml/pull/462) - fix: Correct token.Tokenize double quoted strings with escape sequences handling by [@​nieomylnieja](https://togithub.com/nieomylnieja) in [https://github.com/goccy/go-yaml/pull/457](https://togithub.com/goccy/go-yaml/pull/457) - Fix decoding of scientific notation by [@​morris-kelly](https://togithub.com/morris-kelly) in [https://github.com/goccy/go-yaml/pull/463](https://togithub.com/goccy/go-yaml/pull/463) - Quote is required even if it begins with backquote. by [@​k1LoW](https://togithub.com/k1LoW) in [https://github.com/goccy/go-yaml/pull/440](https://togithub.com/goccy/go-yaml/pull/440) #### New Contributors - [@​harryzcy](https://togithub.com/harryzcy) made their first contribution in [https://github.com/goccy/go-yaml/pull/429](https://togithub.com/goccy/go-yaml/pull/429) - [@​KSpaceer](https://togithub.com/KSpaceer) made their first contribution in [https://github.com/goccy/go-yaml/pull/453](https://togithub.com/goccy/go-yaml/pull/453) - [@​mfleader](https://togithub.com/mfleader) made their first contribution in [https://github.com/goccy/go-yaml/pull/462](https://togithub.com/goccy/go-yaml/pull/462) - [@​nieomylnieja](https://togithub.com/nieomylnieja) made their first contribution in [https://github.com/goccy/go-yaml/pull/457](https://togithub.com/goccy/go-yaml/pull/457) - [@​morris-kelly](https://togithub.com/morris-kelly) made their first contribution in [https://github.com/goccy/go-yaml/pull/463](https://togithub.com/goccy/go-yaml/pull/463) **Full Changelog**: goccy/go-yaml@v1.11.3...v1.11.4 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 12pm every weekday,before 11am every weekday" in timezone America/New_York, 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/defenseunicorns/maru-runner). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzEuNCIsInVwZGF0ZWRJblZlciI6IjM4LjU2LjAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImNvZGUtZGVwcyJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Wayne Starr <Racer159@users.noreply.github.com>
Before submitting your PR, please confirm the following.
Solves Tokenizer does not handle double quoted strings well #455
It turned out that
scanDoubleQuote
was not progressingctx.idx
so I refactored the switch statement responsible for handling all the escape sequences.The test cases were generated BEFORE I implemented these changes, so I knew that my refactor didn't change the previous behaviour (as much certainty as the test cases coverage allows).
I've rewritten
lexer_test.go
TestTokenize
test function to actually test something instead of dumping the tokens :)I've generated these test cases by writing the following code in the
TestTokenize
:I then just copied the generate code fro
lexer_test_cases.go
intotokens
struct list assignment.