feat: Improved Regex handling and Custom type compilers#268
Merged
CodeShellDev merged 5 commits intov1.6.0from Mar 1, 2026
Merged
feat: Improved Regex handling and Custom type compilers#268CodeShellDev merged 5 commits intov1.6.0from
CodeShellDev merged 5 commits intov1.6.0from
Conversation
* removed AllowBlockSlice in favor of StringMatchList * moved generics to own package * implemented endpoints and ipfilters with the new StringMatchRules (split into allowed and blocked instead of one common long list prepended with `!` or not) * updated gotl for compiler interface * implemented custom compiler for FieldPolicies to gather values from raw compile them into their final structs and also convert strings to enums (from our new generics) * added matchrules, with support for - exact match - equals match - glob-like pattern matching - regex - contains - has (for maps) - prefix matching - suffix matching * made wrapper structs to standard type wrappers instead of structs with embedded Value (like time.Duration as Value field) * adapted to new generic types like TimeDuration not using underlying Value field * removed matching from field policies to instead use matchrules * added string match rules just for string matching (endpoints for example now uses them) * updated defaults for blocked endpoints to use new system
This was
linked to
issues
Feb 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Soo much stuff changed / added / removed ...
Changes
!or not)Checklist
Related