Aperture-py

Latest version: v2.26.0

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

Scan your dependencies

Page 6 of 53

2.28.0rc.1

Changelog

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

Enable Olric read repair (3062)


Update UI Code Snippets (3058)

- **New Features**
- Added a new priority handling function for different user tiers.

- **Improvements**
- Updated user tier labels for better clarity in user interactions.
- Removed outdated `user_agent` label for a streamlined user experience.

- **Documentation**
- Provided a summary of semantic differences in the UI code snippets.

Update SDK Docs (3056)

- update code snippets in sdk docs
- update code snippet explanation in sdk docs
- add installation steps for each sdk in docs
- update ui code snippets for docs in ui
- update sidebar labelling of sdks

- **Documentation**
- Updated titles and terminology from "Manually setting feature control
points" to "Define Control Points" across various SDK guides.
- Enhanced installation instructions and code snippet explanations for
.NET, Go, Java, JavaScript, and Python SDKs.
- Reorganized documentation sidebar positioning for improved navigation
flow.

- **Bug Fixes**
- Corrected a typo in the Python SDK example (`prioritu` to `priority`).

- **Style**
- Removed comments related to "QSUI" section in JavaScript SDK examples
for a cleaner code presentation.

- **Refactor**
- Expanded the logic in examples across C, Go, Java, and Python SDKs to
include additional labels in the telemetry data, enhancing feature
control point definitions.

Add partition length metrics to Olric (3053)


Add Global Cache OLAP telemetry (3041)


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

2.27.1

Changelog

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

Add Global Cache OLAP telemetry (3041)


Update `match_expressions` deprecation version to `v3.0.0` (3045)



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

2.27.1rc.1

Changelog

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

Add Global Cache OLAP telemetry (3041)


Update `match_expressions` deprecation version to `v3.0.0` (3045)



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

2.27.0

Changelog

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

[ImgBot] Optimize images (3037)

Beep boop. Your images are optimized!

Your image file size has been reduced by **25%** 🎉

<details>
<summary>
Details
</summary>

| File | Before | After | Percent reduction |
|:--|:--|:--|:--|
| /docs/content/guides/assets/managing-quotas/workloads.png | 462.33kb |
257.97kb | 44.20% |
|
/docs/content/guides/assets/per-user-rate-limiting/rate-limiter-graph.png
| 498.15kb | 286.33kb | 42.52% |
| /docs/content/guides/assets/per-user-rate-limiting/graph.mmd.svg |
17.72kb | 16.10kb | 9.13% |
| /docs/content/guides/assets/managing-quotas/graph.mmd.svg | 17.72kb |
16.11kb | 9.12% |
| /docs/content/guides/assets/managing-quotas/managing-quotas.mmd.svg |
8.51kb | 8.31kb | 2.33% |
|
/docs/content/guides/assets/per-user-rate-limiting/rate-limiting.mmd.svg
| 7.00kb | 6.85kb | 2.17% |
| /sdks/aperture-py/docs/fonts/x-circle.svg | 0.41kb | 0.41kb | 1.65% |
| /sdks/aperture-py/docs/fonts/info.svg | 0.46kb | 0.46kb | 1.48% |
|
/docs/content/concepts/assets/gen/flow-lifecycle/flow-lifecycle.mmd.svg
| 14.64kb | 14.44kb | 1.39% |
| /docs/content/assets/img/unified-load-management-light.svg | 383.82kb
| 382.96kb | 0.22% |
| /docs/content/assets/img/unified-load-management-dark.svg | 244.03kb |
243.62kb | 0.17% |
| /docs/content/get-started/assets/architecture/saas-dark.svg | 26.82kb
| 26.78kb | 0.15% |
| /docs/content/get-started/assets/architecture/saas-light.svg | 25.33kb
| 25.32kb | 0.04% |
| | | | |
| **Total :** | **1,706.96kb** | **1,285.65kb** | **24.68%** |
</details>

---

[📝 docs](https://imgbot.net/docs) | [:octocat:
repo](https://github.com/imgbot/ImgBot) | [🙋🏾
issues](https://github.com/imgbot/ImgBot/issues) | [🏪
marketplace](https://github.com/marketplace/imgbot)

<i>~Imgbot - Part of [Optimole](https://optimole.com/) family</i>

---------

Signed-off-by: ImgBotApp <ImgBotHelpgmail.com>
Co-authored-by: ImgBotApp <ImgBotHelpgmail.com>
Co-authored-by: Hardik Shingala <hardik.shingalafluxninja.com>

Fix pre-commit (3040)


Refactor code by removing unused properties and dependencies (3036)

- **Documentation**
- Updated the configuration specification to reflect changes in rate
limiting features.

- **Refactor**
- Removed the `adaptive_load_scheduler` from the `RateLimiter`
configuration to streamline rate limiting policies.

Add hit/delete metrics for each cache (3034)

- **New Features**
- Enhanced cache metrics tracking with new metrics for cache hits,
misses, and operation results.
- Improved cache operations with additional monitoring for success and
error statuses.

- **Documentation**
- Updated metric naming conventions and labels for better clarity and
consistency.

- **Refactor**
- Optimized cache functionality with new internal methods for metric
reporting.

- **Chores**
- Integrated additional logging and metric packages to support new
features.

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

2.27.0rc.1

Changelog

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

[ImgBot] Optimize images (3037)

Beep boop. Your images are optimized!

Your image file size has been reduced by **25%** 🎉

<details>
<summary>
Details
</summary>

| File | Before | After | Percent reduction |
|:--|:--|:--|:--|
| /docs/content/guides/assets/managing-quotas/workloads.png | 462.33kb |
257.97kb | 44.20% |
|
/docs/content/guides/assets/per-user-rate-limiting/rate-limiter-graph.png
| 498.15kb | 286.33kb | 42.52% |
| /docs/content/guides/assets/per-user-rate-limiting/graph.mmd.svg |
17.72kb | 16.10kb | 9.13% |
| /docs/content/guides/assets/managing-quotas/graph.mmd.svg | 17.72kb |
16.11kb | 9.12% |
| /docs/content/guides/assets/managing-quotas/managing-quotas.mmd.svg |
8.51kb | 8.31kb | 2.33% |
|
/docs/content/guides/assets/per-user-rate-limiting/rate-limiting.mmd.svg
| 7.00kb | 6.85kb | 2.17% |
| /sdks/aperture-py/docs/fonts/x-circle.svg | 0.41kb | 0.41kb | 1.65% |
| /sdks/aperture-py/docs/fonts/info.svg | 0.46kb | 0.46kb | 1.48% |
|
/docs/content/concepts/assets/gen/flow-lifecycle/flow-lifecycle.mmd.svg
| 14.64kb | 14.44kb | 1.39% |
| /docs/content/assets/img/unified-load-management-light.svg | 383.82kb
| 382.96kb | 0.22% |
| /docs/content/assets/img/unified-load-management-dark.svg | 244.03kb |
243.62kb | 0.17% |
| /docs/content/get-started/assets/architecture/saas-dark.svg | 26.82kb
| 26.78kb | 0.15% |
| /docs/content/get-started/assets/architecture/saas-light.svg | 25.33kb
| 25.32kb | 0.04% |
| | | | |
| **Total :** | **1,706.96kb** | **1,285.65kb** | **24.68%** |
</details>

---

[📝 docs](https://imgbot.net/docs) | [:octocat:
repo](https://github.com/imgbot/ImgBot) | [🙋🏾
issues](https://github.com/imgbot/ImgBot/issues) | [🏪
marketplace](https://github.com/marketplace/imgbot)

<i>~Imgbot - Part of [Optimole](https://optimole.com/) family</i>

---------

Signed-off-by: ImgBotApp <ImgBotHelpgmail.com>
Co-authored-by: ImgBotApp <ImgBotHelpgmail.com>
Co-authored-by: Hardik Shingala <hardik.shingalafluxninja.com>

Fix pre-commit (3040)


Refactor code by removing unused properties and dependencies (3036)

- **Documentation**
- Updated the configuration specification to reflect changes in rate
limiting features.

- **Refactor**
- Removed the `adaptive_load_scheduler` from the `RateLimiter`
configuration to streamline rate limiting policies.

Add hit/delete metrics for each cache (3034)

- **New Features**
- Enhanced cache metrics tracking with new metrics for cache hits,
misses, and operation results.
- Improved cache operations with additional monitoring for success and
error statuses.

- **Documentation**
- Updated metric naming conventions and labels for better clarity and
consistency.

- **Refactor**
- Optimized cache functionality with new internal methods for metric
reporting.

- **Chores**
- Integrated additional logging and metric packages to support new
features.

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

2.26.0

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)

- **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.

Add event based Olric metrics (3025)


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

- **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.

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

Page 6 of 53

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.