Aperture-py

Latest version: v2.26.0

Safety actively analyzes 688674 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 7 of 53

2.26.0rc.3

Changelog

List of aperture PRs merged since 2.25.0 release. For the full list of changes, see [list of changes][changes]

Fix limit by label key (3033)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

Summary by CodeRabbit

- **Refactor**
- Updated label key retrieval logic in quota scheduler to enhance
performance and maintain compatibility with new rate limiter interface.
- **Deprecations**
- Added deprecation warnings for fallback usage of the old `GetLabelKey`
method in rate limiting scenarios.
- **Documentation**
- Updated method signatures to reflect changes in label key retrieval
process.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Add event based Olric metrics (3025)


Change TTL in aperturectl to be seconds instead of millis (3027)

Description of change

Checklist

- [x] Tested in playground or other setup

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

Summary by CodeRabbit

- **New Features**
- Updated the TTL (Time to Live) parameter for cache settings from
milliseconds to seconds for improved user experience and clarity.

- **Documentation**
- Revised documentation to reflect the change in TTL units across
various `aperturectl` commands.

- **Bug Fixes**
- Ensured consistent TTL unit usage across all caching commands to
prevent confusion and potential errors.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Fix docs (3022)

Description of change

Checklist

- [ ] Tested in playground or other setup
- [ ] Screenshot (Grafana) from playground added to PR for 15+ minute
run
- [ ] Documentation is changed or added
- [ ] Tests and/or benchmarks are included
- [ ] Breaking changes


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

Summary by CodeRabbit

- **Documentation**
- Updated CI/CD configuration documentation with new job names and
descriptions.
- Removed deprecation notes from `LabelMatcher` in API documentation.
- Clarified instructions on Kubernetes-style label matcher requirements
in configuration specs.

- **Chores**
- Updated CI/CD pipeline with new and renamed jobs to improve workflow
efficiency.

- **Refactor**
- Standardized naming conventions for CI/CD jobs for consistency.

- **New Features**
- Introduced a new CI/CD job for uploading policy updates.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Improve field names in label matcher (3014)

Description of change
* Eliminate confusion between expressions and match_expression (renamed
to match_list)
* Maintain backward compatibility for 3 releases.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
Summary by CodeRabbit

- **New Features**
- Introduced a new `MatchRequirement` to enhance label matching
capabilities.

- **Improvements**
- Updated label matcher configuration with a new `match_list` field for
clearer and more flexible definitions.

- **Documentation**
- Revised documentation to clarify the usage of label matchers and
matching conditions.

- **Deprecations**
- Deprecated `match_expressions` and `match_labels` fields in favor of
the new `match_list` field.

- **Refactor**
- Implemented a function to ensure backward compatibility with previous
label matcher configurations.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Partition metrics for Olric (3019)


Fix panic observed during blueprints generate --apply (3017)

]- **Refactor**
- Updated the command application logic for improved process flow and
organization.

Update buf lock (3013)


Run scheduling while global cache lookup is in progress (3012)

Description of change

Checklist

- [x] Tested in playground or other setup
- [ ] Screenshot (Grafana) from playground added to PR for 15+ minute
run
- [ ] Documentation is changed or added
- [ ] Tests and/or benchmarks are included
- [ ] Breaking changes


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

Summary by CodeRabbit

- **Refactor**
- Improved cache lookup operations to be asynchronous, enhancing
performance and responsiveness.

- **Documentation**
- Updated method signatures in documentation to reflect new asynchronous
behavior.

- **Chores**
- Updated interface implementations to include new asynchronous cache
lookup methods.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Generate dashboards directory location (3011)

Description of change
* Generate at given directory instead of `/dashboards` within it

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

Summary by CodeRabbit

- **Refactor**
- Updated the dashboard output directory setup to enhance flexibility in
file management.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Use api module in sdk (3007)

- **New Features**
- Added a search functionality to the app.

- **Refactor**
- Added a search bar to the `Hero` component and a `Search` component to
the `App` component.
- Added styles for the search bar.

Separate module for api (3006)

![image](https://github.com/fluxninja/aperture/assets/34568645/0980c992-94d8-425e-85d5-bf36ce056976)

etcd transport rename (2991)

Description of change
Reverse client and server naming for etcd transport package

---------

Signed-off-by: Sahil Lakhwani <sahilakhwanigmail.com>

Separate counter to track inf signals (2993)


Upgrade OTEL to v0.90.0 (2989)

![image](https://github.com/fluxninja/aperture/assets/34568645/d5a2b114-052a-4c27-95e8-1435ed59d1bb)

Checklist

- [x] Tested in playground or other setup
- [x] Screenshot (Grafana) from playground added to PR for 15+ minute
run


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

Summary by CodeRabbit

- **Refactor**
- Enhanced sorting functions across various modules to use
`strings.Compare` for consistency and reliability.
- Updated gRPC client and server interceptors with annotations to
suppress specific static analysis warnings.
- Modified initialization of collector settings to include error
handling.

- **Chores**
- Imported the "strings" package where necessary to support refactoring
changes.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Use same version as other deprecations (2983)

- **Documentation**
- Updated deprecation notices from v2.25.0 to v3.0.0 for certain
features, advising users to use `limit_by_label_key` instead.

Add aperturectl cloud cache sub-commands (2978)

- **New Features**
- Introduced `result-cache` and `state-cache` management commands to the
`aperturectl` tool.
- Added `global-cache` commands for global cache entry manipulation.

- **Documentation**
- Updated documentation to include new `result-cache`, `state-cache`,
and `global-cache` commands with usage and options.
- Added detailed command descriptions and related links in the `SEE
ALSO` sections for user guidance.

- **Bug Fixes**
- Ensured all new commands have required flags properly marked to
prevent runtime errors.

Please note that these release notes are a high-level summary and do not
reflect every change made in the pull request.

Caching updates (2980)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
Summary by CodeRabbit

- **New Features**
- Transitioned from state-specific caching to a global cache system
across the platform.
- Introduced new global cache management commands in the CLI tool.

- **Improvements**
- Enhanced cache lookup, upsert, and delete functionalities to operate
with the global cache.
- Updated the SDKs to support global cache keys during flow initiation.

- **Documentation**
- Revised CLI documentation to reflect the shift from state cache to
global cache.
- Updated API references and SDK documentation to align with the new
global cache strategy.

- **Bug Fixes**
- Fixed issues related to cache key management to ensure consistency and
reliability.

- **Refactor**
- Removed deprecated result cache functions and references across the
system.
- Renamed cache-related functions and variables to align with the global
cache terminology.

- **Style**
- Updated command descriptions and help messages for better clarity and
consistency.

- **Chores**
- Cleaned up unused imports and redundant logging statements.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

[changes]: https://github.com/fluxninja/aperture/compare/releases/aperture-controller/v2.25.0...releases/aperture-controller/v2.26.0-rc.3

2.26.0rc.2

Changelog

List of aperture PRs merged since 2.25.0 release. For the full list of changes, see [list of changes][changes]

Fix limit by label key (3033)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

Summary by CodeRabbit

- **Refactor**
- Updated label key retrieval logic in quota scheduler to enhance
performance and maintain compatibility with new rate limiter interface.
- **Deprecations**
- Added deprecation warnings for fallback usage of the old `GetLabelKey`
method in rate limiting scenarios.
- **Documentation**
- Updated method signatures to reflect changes in label key retrieval
process.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Add event based Olric metrics (3025)


Change TTL in aperturectl to be seconds instead of millis (3027)

Description of change

Checklist

- [x] Tested in playground or other setup

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

Summary by CodeRabbit

- **New Features**
- Updated the TTL (Time to Live) parameter for cache settings from
milliseconds to seconds for improved user experience and clarity.

- **Documentation**
- Revised documentation to reflect the change in TTL units across
various `aperturectl` commands.

- **Bug Fixes**
- Ensured consistent TTL unit usage across all caching commands to
prevent confusion and potential errors.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Fix docs (3022)

Description of change

Checklist

- [ ] Tested in playground or other setup
- [ ] Screenshot (Grafana) from playground added to PR for 15+ minute
run
- [ ] Documentation is changed or added
- [ ] Tests and/or benchmarks are included
- [ ] Breaking changes


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

Summary by CodeRabbit

- **Documentation**
- Updated CI/CD configuration documentation with new job names and
descriptions.
- Removed deprecation notes from `LabelMatcher` in API documentation.
- Clarified instructions on Kubernetes-style label matcher requirements
in configuration specs.

- **Chores**
- Updated CI/CD pipeline with new and renamed jobs to improve workflow
efficiency.

- **Refactor**
- Standardized naming conventions for CI/CD jobs for consistency.

- **New Features**
- Introduced a new CI/CD job for uploading policy updates.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Improve field names in label matcher (3014)

Description of change
* Eliminate confusion between expressions and match_expression (renamed
to match_list)
* Maintain backward compatibility for 3 releases.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
Summary by CodeRabbit

- **New Features**
- Introduced a new `MatchRequirement` to enhance label matching
capabilities.

- **Improvements**
- Updated label matcher configuration with a new `match_list` field for
clearer and more flexible definitions.

- **Documentation**
- Revised documentation to clarify the usage of label matchers and
matching conditions.

- **Deprecations**
- Deprecated `match_expressions` and `match_labels` fields in favor of
the new `match_list` field.

- **Refactor**
- Implemented a function to ensure backward compatibility with previous
label matcher configurations.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Partition metrics for Olric (3019)


Fix panic observed during blueprints generate --apply (3017)

]- **Refactor**
- Updated the command application logic for improved process flow and
organization.

Update buf lock (3013)


Run scheduling while global cache lookup is in progress (3012)

Description of change

Checklist

- [x] Tested in playground or other setup
- [ ] Screenshot (Grafana) from playground added to PR for 15+ minute
run
- [ ] Documentation is changed or added
- [ ] Tests and/or benchmarks are included
- [ ] Breaking changes


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

Summary by CodeRabbit

- **Refactor**
- Improved cache lookup operations to be asynchronous, enhancing
performance and responsiveness.

- **Documentation**
- Updated method signatures in documentation to reflect new asynchronous
behavior.

- **Chores**
- Updated interface implementations to include new asynchronous cache
lookup methods.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Generate dashboards directory location (3011)

Description of change
* Generate at given directory instead of `/dashboards` within it

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

Summary by CodeRabbit

- **Refactor**
- Updated the dashboard output directory setup to enhance flexibility in
file management.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Use api module in sdk (3007)

- **New Features**
- Added a search functionality to the app.

- **Refactor**
- Added a search bar to the `Hero` component and a `Search` component to
the `App` component.
- Added styles for the search bar.

Separate module for api (3006)

![image](https://github.com/fluxninja/aperture/assets/34568645/0980c992-94d8-425e-85d5-bf36ce056976)

etcd transport rename (2991)

Description of change
Reverse client and server naming for etcd transport package

---------

Signed-off-by: Sahil Lakhwani <sahilakhwanigmail.com>

Separate counter to track inf signals (2993)


Upgrade OTEL to v0.90.0 (2989)

![image](https://github.com/fluxninja/aperture/assets/34568645/d5a2b114-052a-4c27-95e8-1435ed59d1bb)

Checklist

- [x] Tested in playground or other setup
- [x] Screenshot (Grafana) from playground added to PR for 15+ minute
run


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

Summary by CodeRabbit

- **Refactor**
- Enhanced sorting functions across various modules to use
`strings.Compare` for consistency and reliability.
- Updated gRPC client and server interceptors with annotations to
suppress specific static analysis warnings.
- Modified initialization of collector settings to include error
handling.

- **Chores**
- Imported the "strings" package where necessary to support refactoring
changes.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Use same version as other deprecations (2983)

- **Documentation**
- Updated deprecation notices from v2.25.0 to v3.0.0 for certain
features, advising users to use `limit_by_label_key` instead.

Add aperturectl cloud cache sub-commands (2978)

- **New Features**
- Introduced `result-cache` and `state-cache` management commands to the
`aperturectl` tool.
- Added `global-cache` commands for global cache entry manipulation.

- **Documentation**
- Updated documentation to include new `result-cache`, `state-cache`,
and `global-cache` commands with usage and options.
- Added detailed command descriptions and related links in the `SEE
ALSO` sections for user guidance.

- **Bug Fixes**
- Ensured all new commands have required flags properly marked to
prevent runtime errors.

Please note that these release notes are a high-level summary and do not
reflect every change made in the pull request.

Caching updates (2980)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
Summary by CodeRabbit

- **New Features**
- Transitioned from state-specific caching to a global cache system
across the platform.
- Introduced new global cache management commands in the CLI tool.

- **Improvements**
- Enhanced cache lookup, upsert, and delete functionalities to operate
with the global cache.
- Updated the SDKs to support global cache keys during flow initiation.

- **Documentation**
- Revised CLI documentation to reflect the shift from state cache to
global cache.
- Updated API references and SDK documentation to align with the new
global cache strategy.

- **Bug Fixes**
- Fixed issues related to cache key management to ensure consistency and
reliability.

- **Refactor**
- Removed deprecated result cache functions and references across the
system.
- Renamed cache-related functions and variables to align with the global
cache terminology.

- **Style**
- Updated command descriptions and help messages for better clarity and
consistency.

- **Chores**
- Cleaned up unused imports and redundant logging statements.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

[changes]: https://github.com/fluxninja/aperture/compare/releases/aperture-controller/v2.25.0...releases/aperture-controller/v2.26.0-rc.2

2.26.0rc.1

Changelog

List of aperture PRs merged since 2.25.0 release. For the full list of changes, see [list of changes][changes]

Fix docs (3022)

- **Documentation**
- Updated CI/CD configuration documentation with new job names and
descriptions.
- Removed deprecation notes from `LabelMatcher` in API documentation.
- Clarified instructions on Kubernetes-style label matcher requirements
in configuration specs.

- **Chores**
- Updated CI/CD pipeline with new and renamed jobs to improve workflow
efficiency.

- **Refactor**
- Standardized naming conventions for CI/CD jobs for consistency.

- **New Features**
- Introduced a new CI/CD job for uploading policy updates.


Improve field names in label matcher (3014)

Description of change
* Eliminate confusion between expressions and match_expression (renamed
to match_list)
* Maintain backward compatibility for 3 releases.

- **New Features**
- Introduced a new `MatchRequirement` to enhance label matching
capabilities.

- **Improvements**
- Updated label matcher configuration with a new `match_list` field for
clearer and more flexible definitions.

- **Documentation**
- Revised documentation to clarify the usage of label matchers and
matching conditions.

- **Deprecations**
- Deprecated `match_expressions` and `match_labels` fields in favor of
the new `match_list` field.

- **Refactor**
- Implemented a function to ensure backward compatibility with previous
label matcher configurations.

Partition metrics for Olric (3019)


Fix panic observed during blueprints generate --apply (3017)

- **Refactor**
- Updated the command application logic for improved process flow and
organization.

Update buf lock (3013)


Run scheduling while global cache lookup is in progress (3012)

- **Refactor**
- Improved cache lookup operations to be asynchronous, enhancing
performance and responsiveness.

- **Documentation**
- Updated method signatures in documentation to reflect new asynchronous
behavior.

- **Chores**
- Updated interface implementations to include new asynchronous cache
lookup methods.

Generate dashboards directory location (3011)

Description of change
* Generate at given directory instead of `/dashboards` within it

- **Refactor**
- Updated the dashboard output directory setup to enhance flexibility in
file management.

Use api module in sdk (3007)

- **New Features**
- Added a search functionality to the app.

- **Refactor**
- Added a search bar to the `Hero` component and a `Search` component to
the `App` component.
- Added styles for the search bar.

Separate module for api (3006)

![image](https://github.com/fluxninja/aperture/assets/34568645/0980c992-94d8-425e-85d5-bf36ce056976)

etcd transport rename (2991)

Description of change
Reverse client and server naming for etcd transport package

---------

Signed-off-by: Sahil Lakhwani <sahilakhwanigmail.com>

Separate counter to track inf signals (2993)


Upgrade OTEL to v0.90.0 (2989)

![image](https://github.com/fluxninja/aperture/assets/34568645/d5a2b114-052a-4c27-95e8-1435ed59d1bb)

- **Refactor**
- Enhanced sorting functions across various modules to use
`strings.Compare` for consistency and reliability.
- Updated gRPC client and server interceptors with annotations to
suppress specific static analysis warnings.
- Modified initialization of collector settings to include error
handling.

- **Chores**
- Imported the "strings" package where necessary to support refactoring
changes.

Use same version as other deprecations (2983)

- **Documentation**
- Updated deprecation notices from v2.25.0 to v3.0.0 for certain
features, advising users to use `limit_by_label_key` instead.

Add aperturectl cloud cache sub-commands (2978)

- **New Features**
- Introduced `result-cache` and `state-cache` management commands to the
`aperturectl` tool.
- Added `global-cache` commands for global cache entry manipulation.

- **Documentation**
- Updated documentation to include new `result-cache`, `state-cache`,
and `global-cache` commands with usage and options.
- Added detailed command descriptions and related links in the `SEE
ALSO` sections for user guidance.

- **Bug Fixes**
- Ensured all new commands have required flags properly marked to
prevent runtime errors.

Please note that these release notes are a high-level summary and do not
reflect every change made in the pull request.

Caching updates (2980)

- **New Features**
- Transitioned from state-specific caching to a global cache system
across the platform.
- Introduced new global cache management commands in the CLI tool.

- **Improvements**
- Enhanced cache lookup, upsert, and delete functionalities to operate
with the global cache.
- Updated the SDKs to support global cache keys during flow initiation.

- **Documentation**
- Revised CLI documentation to reflect the shift from state cache to
global cache.
- Updated API references and SDK documentation to align with the new
global cache strategy.

- **Bug Fixes**
- Fixed issues related to cache key management to ensure consistency and
reliability.

- **Refactor**
- Removed deprecated result cache functions and references across the
system.
- Renamed cache-related functions and variables to align with the global
cache terminology.

- **Style**
- Updated command descriptions and help messages for better clarity and
consistency.

- **Chores**
- Cleaned up unused imports and redundant logging statements.

[changes]: https://github.com/fluxninja/aperture/compare/releases/aperture-controller/v2.25.0...releases/aperture-controller/v2.26.0-rc.1

2.25.2

Changelog

List of aperture PRs merged since 2.25.1 release. For the full list of changes, see [list of changes][changes]

Separate counter to track inf signals (2993)


Upgrade OTEL to v0.90.0 (2989)

![image](https://github.com/fluxninja/aperture/assets/34568645/d5a2b114-052a-4c27-95e8-1435ed59d1bb)

- **Refactor**
- Enhanced sorting functions across various modules to use
`strings.Compare` for consistency and reliability.
- Updated gRPC client and server interceptors with annotations to
suppress specific static analysis warnings.
- Modified initialization of collector settings to include error
handling.

- **Chores**
- Imported the "strings" package where necessary to support refactoring
changes.

Use same version as other deprecations (2983)

- **Documentation**
- Updated deprecation notices from v2.25.0 to v3.0.0 for certain
features, advising users to use `limit_by_label_key` instead.

[changes]: https://github.com/fluxninja/aperture/compare/releases/aperture-controller/v2.25.1...releases/aperture-controller/v2.25.2

2.25.2rc.1

Changelog

List of aperture PRs merged since 2.25.1 release. For the full list of changes, see [list of changes][changes]

Separate counter to track inf signals (2993)


Upgrade OTEL to v0.90.0 (2989)

![image](https://github.com/fluxninja/aperture/assets/34568645/d5a2b114-052a-4c27-95e8-1435ed59d1bb)

- **Refactor**
- Enhanced sorting functions across various modules to use
`strings.Compare` for consistency and reliability.
- Updated gRPC client and server interceptors with annotations to
suppress specific static analysis warnings.
- Modified initialization of collector settings to include error
handling.

- **Chores**
- Imported the "strings" package where necessary to support refactoring
changes.

Use same version as other deprecations (2983)

- **Documentation**
- Updated deprecation notices from v2.25.0 to v3.0.0 for certain
features, advising users to use `limit_by_label_key` instead.

[changes]: https://github.com/fluxninja/aperture/compare/releases/aperture-controller/v2.25.1...releases/aperture-controller/v2.25.2-rc.1

2.25.1

Changelog

List of aperture PRs merged since 2.25.0 release. For the full list of changes, see [list of changes][changes]

Add aperturectl cloud cache sub-commands (2978)

- **New Features**
- Introduced `result-cache` and `state-cache` management commands to the
`aperturectl` tool.
- Added `global-cache` commands for global cache entry manipulation.

- **Documentation**
- Updated documentation to include new `result-cache`, `state-cache`,
and `global-cache` commands with usage and options.
- Added detailed command descriptions and related links in the `SEE
ALSO` sections for user guidance.

- **Bug Fixes**
- Ensured all new commands have required flags properly marked to
prevent runtime errors.

Please note that these release notes are a high-level summary and do not
reflect every change made in the pull request.

Caching updates (2980)

- **New Features**
- Transitioned from state-specific caching to a global cache system
across the platform.
- Introduced new global cache management commands in the CLI tool.

- **Improvements**
- Enhanced cache lookup, upsert, and delete functionalities to operate
with the global cache.
- Updated the SDKs to support global cache keys during flow initiation.

- **Documentation**
- Revised CLI documentation to reflect the shift from state cache to
global cache.
- Updated API references and SDK documentation to align with the new
global cache strategy.

- **Bug Fixes**
- Fixed issues related to cache key management to ensure consistency and
reliability.

- **Refactor**
- Removed deprecated result cache functions and references across the
system.
- Renamed cache-related functions and variables to align with the global
cache terminology.

- **Style**
- Updated command descriptions and help messages for better clarity and
consistency.

- **Chores**
- Cleaned up unused imports and redundant logging statements.

[changes]: https://github.com/fluxninja/aperture/compare/releases/aperture-controller/v2.25.0...releases/aperture-controller/v2.25.1

Page 7 of 53

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.