Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ThreeMammals/Ocelot
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 23.3.6
Choose a base ref
...
head repository: ThreeMammals/Ocelot
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 23.4.0
Choose a head ref
  • 5 commits
  • 36 files changed
  • 6 contributors

Commits on Nov 5, 2024

  1. Override the ClaimsToHeadersMiddleware by the `OcelotPipelineConfig…

    …uration` settings (#1403)
    
    * Allowed to override the ClaimsToHeaders middleware
    * Updated doc
    * Update OcelotPipelineExtensions.cs
    * Allowed to override the ClaimsToHeaders middleware
    * Fix build error. Remove duplicate definition
    * Fix build
    * Docs review
    * Code review by @raman-m
    
    ---------
    
    Co-authored-by: Raman Maksimchuk <dotnet044@gmail.com>
    kesskalli and raman-m authored Nov 5, 2024
    Configuration menu
    Copy the full SHA
    d310508 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2024

  1. #1305 Populate RateLimiting headers in the original HttpContext res…

    …ponse accessed via `IHttpContextAccessor` (#1307)
    
    * set rate limiting headers on the proper httpcontext
    
    * fix Retry-After header
    
    * merge fix
    
    * refactor of ClientRateLimitTests
    
    * merge fix
    
    * Fix build after rebasing
    
    * EOL: test/Ocelot.AcceptanceTests/Steps.cs
    
    * Add `RateLimitingSteps`
    
    * code review by @raman-m
    
    * Inject IHttpContextAccessor, not IServiceProvider
    
    * Ocelot's rate-limiting headers have become legacy
    
    * Headers definition life hack
    
    * A good StackOverflow link
    
    ---------
    
    Co-authored-by: Jolanta Łukawska <jolanta.lukawska@outlook.com>
    Co-authored-by: Raman Maksimchuk <dotnet044@gmail.com>
    3 people authored Nov 9, 2024
    Configuration menu
    Copy the full SHA
    da9d6fa View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2024

  1. Best practices for regular expressions versus Regex performance rev…

    …iew (#1348)
    
    * improve
    
    * Remove and Sort Usings
    
    * improve
    
    * Remove and Sort Usings
    
    * change something for build
    
    * Revert "change something for build"
    
    This reverts commit 4b9516c.
    
    * Fix messages
    
    * Revert test/Ocelot.UnitTests/CacheManager/OutputCacheMiddlewareRealCacheTests.cs
    
    * EOL: src/Ocelot/Configuration/Validator/FileConfigurationFluentValidator.cs
    
    * EOL: src/Ocelot/DownstreamUrlCreator/Middleware/DownstreamUrlCreatorMiddleware.cs
    
    * EOL: src/Ocelot/Infrastructure?ConfigAwarePlaceholders.cs
    
    * RegexGlobal class and assign global value to Regex.CacheSize
    
    * Global DefaultMatchTimeout properties are being assigned exclusively to all Regex objects
    
    * Move `RegexGlobal` to Ocelot.Infrastructure namespace
    
    * Use time-out values
    
    * Convert all `Regex` definitions to `GeneratedRegex`
    
    ---------
    
    Co-authored-by: raman-m <dotnet044@gmail.com>
    Mohsen Rajabi and raman-m authored Nov 16, 2024
    Configuration menu
    Copy the full SHA
    d76fc95 View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2024

  1. #2199 Adding support of placeholder matching between slashes👍 (#2200)

    * Adding support for placeholder matching between slashes.
    
    * now the behavior is right, it can't be that {finalUrlPath} matches product/products/categories/ since the last slash is part of the template and not the catch-all placeholder
    
    * Performance improvements for EscapeExceptBraces
    
    * EOL: test/Ocelot.UnitTests/DownstreamRouteFinder/UrlMatcher/UrlPathPlaceholderNameAndValueFinderTests.cs
    Recover old test for feat 89.
    Remove BDDfy from new unit tests.
    Apply AAA-pattern.
    
    * Review user scenarios of feat #89 tests
    
    * Refactor unit tests
    
    * Refactor acceptance tests
    
    * Adding documentation for embedded placeholders
    
    * Adding acceptance tests
    
    * Adding suggestions
    
    * again...
    
    * Final code review by @raman-m.
    FindGroups method is private, better to return exact type.
    Regex optimizations across net6, 7, 8.
    XML dev-docs markup review.
    Rename 'curly bracket' to 'brace'.
    
    ---------
    
    Co-authored-by: Raman Maksimchuk <dotnet044@gmail.com>
    ggnaegi and raman-m authored Nov 17, 2024
    Configuration menu
    Copy the full SHA
    27d3df2 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2024

  1. Release 23.4 | Routing Update | MGGA release | +semver: minor (#2206)

    * Update ReleaseNotes.md
    
    * Update docs
    
    * Update and test build script
    raman-m authored Nov 18, 2024
    Configuration menu
    Copy the full SHA
    41fc9bd View commit details
    Browse the repository at this point in the history
Loading