Skip to content

v1.11.0

Latest
Compare
Choose a tag to compare
@thrau thrau released this 20 Jun 16:40
· 1 commit to main since this release

Summary

This release adds a way to globally filter out plugins based on specific patterns. Here is an example how they can be used:

from plux.runtime.filter import global_plugin_filter

# disables all plugins in the `localstack.aws.provider` namespace
global_plugin_filter.add_pattern(namespace = "localstack.aws.provider")

# disables all plugins in namespaces that start with `localstack.aws.`
global_plugin_filter.add_pattern(namespace = "localstack.aws.*")

# disables all plugins that come from the `localstack.services` package, regardless in which namespace
global_plugin_filter.add_pattern(value = "localstack.services.*")

# disables all plugins that come from the `localstack.services` package, but only if they are in the `localstack.aws.provider` namespace
global_plugin_filter.add_pattern(namespace = "localstack.aws.provider", value = "localstack.services.*")

# disables any plugin named "iam-enforcement"
global_plugin_filter.add_pattern(name = "iam-enforcement")

What's Changed

  • add global filter to disable plugins based on pattern matching by @thrau in #22

Full Changelog: v1.10.0...v1.11.0