-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release 23.1 #1977
Release 23.1 #1977
Conversation
Sync 'develop' to 'release/23.0' Release codename: [Sunny Koliada](https://github.com/ThreeMammals/Ocelot/releases/tag/23.0.0)
* Fix HttpContext.User is lost after passing MultiplexingMiddlware * Simplify single downstream route handling * fix * some refactoring of long code * add unit tests for #1396 user scenario * Acceptance test for user forwarding * refactor test --------- Co-authored-by: Алексей Патрин <[email protected]> Co-authored-by: Raman Maksimchuk <[email protected]>
* #1844 More open customization of Polly use * Update src/Ocelot.Provider.Polly/OcelotBuilderExtensions.cs Co-authored-by: Raman Maksimchuk <[email protected]> * #1844 More open customization of Polly use * Update src/Ocelot.Provider.Polly/OcelotBuilderExtensions.cs Co-authored-by: Raman Maksimchuk <[email protected]> * fix compilation errors * add xml doc * More XML-docs * remove new line separators --------- Co-authored-by: Ray <[email protected]> Co-authored-by: Raman Maksimchuk <[email protected]>
* Fix a bug in HttpRequesterMiddleware.cs, BadRequest should be logged as debug! * Clean code: refactor `CreateLogBasedOnResponse` * Unit tests * Remove redundant if-checking --------- Co-authored-by: Raman Maksimchuk <[email protected]>
… it unique (#1944) * Fix the route key format used for load balancing The old key format did not contain enough information to disambiguate routes based on an UpstreamHost. This was especially problematic when a ServiceName was used in conjuction with Service Discovery, instead of DownstreamHostAndPorts configuration. Resolves #1496 * Update tests * Amend test * Remove empty key parts Co-authored-by: Raman Maksimchuk <[email protected]> * Amend * Make route keys uniform, keep empty parts * Fix wrong usage of dictionary TryGetValue * Coalesce empty strings or white space, use fallback values * Add back host and ports * Remove redundant load balancer type check * Fix TryGetValue with null argument * Revert removal of balancer type check, still relevant * Improve helper local functions * Fix outdated comment * Add acceptance test * Refactor RouteKeyCreator class * Add developer's XML docs * Add TODO * Convert fact to theory * Review unit tests * Fix incorrect usages of ServiceHandler, make sure all are correctly Disposed * Fix services responding to wrong path * Add Consul counter * Reduce summary length * Rename OkResponse->MapGet * Refactor `LoadBalancerHouse` class because of DRY principle --------- Co-authored-by: Raman Maksimchuk <[email protected]>
… Transfer-Encoding: chunked if Content-Length is known (#1972) * Avoid content if original request has no content and avoid Transfer-Encoding: chunked if Content-Length is known * * Optimized mapping of empty Content * Added tests for mapping requests * Added tests to verify that mapped content is streamed * Changes requested by review * Changes requested by review * Be a little more conservative in streaming test and use 25GB instead if 100GB test data * Reduced streaming test content to 1GB as requested * Convert to file-scoped namespace * Move `Dispose` closer to the constructor * Move `ChunkedContent` class out * IDE1006: Naming rule violation * More private helpers to setup a test * Code review: round 2 * Move common helpers to `Steps` --------- Co-authored-by: Alexander Reinert <[email protected]> Co-authored-by: Raman Maksimchuk <[email protected]>
…est body (#1769) * Adding "quick and..." fix to the payload too large exception, adding two acceptance tests for kestrel and http sys. * skipping test if platform is not windows * Moving Payload too large error to HttpExceptionErrorMapper. A review of the exception handling is needed. * Fix issues after merge in Steps.cs * using collection expression here * Code review by @raman-m --------- Co-authored-by: Raman Maksimchuk <[email protected]>
…1826) * Cleanup of Multiplexing middleware, avoiding creating copies of the Http context if only one downstream route. * updating comments * preparing rebase, it's a hack. * fixing test case "Copy_User_ToTarget", method name has changed. * adding some unit tests, checking that if 1 route, ProcessSingleRoute is called and no copies of context are made, if more than 2 Map is called, then more than 2 copies are created. * Applying refactoring suggested. * some code cleanup * Some code cleanup in Aggregate Logic * Cleanup in Aggregate Tests, verifying multiplexer cleanup * Finalizing unit test, with complex keys. * some code refactoring and applying suggestions from reviews * Update requestaggregation.rst Recover docs * updating docs * Update requestaggregation.rst * Update requestaggregation.rst * Code review by @raman-m * Inherit `Steps` functionality instead of private aggregation --------- Co-authored-by: Raman Maksimchuk <[email protected]>
January 2024 (version 23.1.0-beta0001) aka Hornussen release
Focus OnMultiplexing middleware aka Request Aggregation feature
System routing. Content streaming when Transfer-Encoding: 'chunked'
Updates of the features: QoS, Load Balancer and Error Status Codes
Documentation for Request AggregationStabilization aka bug fixing
Honoring 🏅 aka Top Contributors 👏1st 🥇 goes to Guillaume Gnaegi for delivering 2 features Starring ⭐ aka Release Influencers⭐⭐ Guillaume Gnaegi Features in Release 23.1.0-beta000136986d6 by Guillaume Gnaegi on Friday, March 01 at 18:33 → |
January 2024 release
Milestone: January'24
Version: 23.1
Features
DistributedCacheRateLimitCounterHandler
class #1969User
inMultiplexingMiddleware
#1462HttpRequesterMiddleware
#1953IOException
while reading incoming request body #1769