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 4.3 #4449
Closed
Closed
release 4.3 #4449
Conversation
This file contains 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
Member
buger
commented
Nov 29, 2022
•
edited by jira
bot
edited by jira
bot
- TT-3361 - Disable enable_health_checks for master (TT-3361 - Disable enable_health_checks for master #3728)
- Convert map to array for scope policy mapping ([TT-3799] Convert map to array for scope policy mapping #3737)
- TT-3648 started to process oauth clients events (TT-3648 started to process oauth clients events #3719)
- Handle GoPlugin conversion independent from AuthConfigs ([TT-1562] Handle GoPlugin conversion independent from AuthConfigs #3745)
- Match upstream certificate with target url's host instead of request's host ([TT-1667] Match upstream certificate with target url's host instead of request'… #3746)
- TT-1799 - prevent show full error to API response (TT-1799 - prevent show full error to API response #3743)
- TT-3880 Deprecate JWTScopeToPolicyMapping and JWTScopeToPolicyMapping ([TT-3880] Deprecate JWTScopeToPolicyMapping and JWTScopeToPolicyMapping #3744)
- Add open id check for scope field deprecation ([TT-3880] Add open id check for scope field deprecation #3748)
- TT-3881 Implement the base for OIDC OAS conversion ([TT-3881] Implement the base for OIDC OAS conversion #3741)
- TT-1799 - improved API response error message (TT-1799 - improved API response error message #3747)
- TT-3965 Implement new versioning system ([TT-3965] Implement new versioning system #3753)
- Implement basic plugin's oas conversions ([TT-3913] Implement basic plugin's oas conversions #3752)
- Override with deprecated auth when jwt or auth token is enabled ([TT-3970] Override with deprecated auth when jwt or auth token is enabled #3755)
- Add full XTykAPIGateway conversion test (Add full XTykAPIGateway conversion test #3759)
- Add disabled option to WhiteList/BlackList/Ignore plugins ([TT-3959] Add disabled option to WhiteList/BlackList/Ignore plugins #3760)
- fix optional query params for udg (TT-3985) (fix optional query params for udg (TT-3985) #3762)
- TT-640 Add detailed mode for certificate listing API ([TT-640] Add detailed mode for certificate listing API #3757)
- TT-3906 - additional logic in case of non existing cert (TT-3906 - additional logic in case of non existing cert #3763)
- sort query params for engine v2 configuration (sort url query params for engine v2 configuration #3770)
- [TT-4027] document certs APIs ([TT-4027] document certs APIs #3769)
- TT-3663 - Implemented client certificates support (TT-3663 - Implemented client certificates support #3756)
- Capitalize plugins path methods in OAS ([TT-3913] Capitalize plugins path methods in OAS #3773)
- trim whitespace and compare cookiename with custom cookie config ([TT-2324] trim whitespace and compare cookiename with custom cookie config #3774)
- Remove unnecessary if statement and move variable to required place (Remove unnecessary if statement and move variable to required place #3775)
- Add strip path test when version location is url (Add strip path test when version location is url #3777)
- [TT-4089] return extra names in certificate listing detailed mode ([TT-4089] return extra names in certificate listing detailed mode #3778)
- Add changes to new versioning ([TT-3965] Add changes to new versioning #3780)
- update graphql-go-tools (update graphql-go-tools #3779)
- Implement new versioning migrator ([TT-4141] Implement new versioning migrator #3781)
- Implement strip versioning data ([TT-4142] Implement strip versioning data #3782)
- Fix sorting in OAS Scopes ([TT-1427] Fix sorting in OAS Scopes #3785)
- Move old strip path code to one place and deprecate strip_path (Move old strip path code to one place and deprecate strip_path #3784)
- Add TestOldVersioning_Expires test ([TT-4157] Add TestOldVersioning_Expires test #3787)
- Move versioning constants to apidef package ([TT-3965] Move versioning constants to apidef package #3790)
- [TT-3966] Implement oas conversion of new versioning mechanism ([TT-3966] Implement oas conversion of new versioning mechanism #3758)
- Implement strip_path migrator to strip_versioning_data ([TT-4161] Implement strip_path migrator to strip_versioning_data #3792)
- [TT-4163] Implement new api expiration feature ([TT-4163] Implement new api expiration feature #3789)
- Implement expires to expiration migration (Implement expires to expiration migration #3796)
- Fix/tt 4144 fix path templating (Fix/tt 4144 fix path templating #3797)
- Add standalone mock response test ([TT-4199] Add standalone mock response test #3800)
- Implement separated mock response feature ([TT-4201] Implement separated mock response feature #3801)
- Write override_target to target_url ([TT-4141] Write override_target to target_url #3806)
- Implement mock response migration ([TT-4203] Implement mock response migration #3805)
- Refactor allowance oas conversion ([TT-4227] Refactor allowance oas conversion #3808)
- Delete oas/extensions.go (Delete oas/extensions.go #3809)
- [TT-4204] Implement mock response oas conversion ([TT-4204] Implement mock response oas conversion #3812)
- move host details into gw struct (TT-4178 move host details into gw struct #3810)
- Remove FAIL statement from test names to ease FAIL keyword search in CI (Remove FAIL statement from test names to ease FAIL keyword search in CI #3819)
- pass down wrapped http response writer to plugin ([TT-4213] pass down wrapped http response writer to plugin #3803)
- [TT-4228] Fix strip listen path which removes forwarding slash in path ([TT-4228] Fix strip listen path which removes forwarding slash in path #3813)
- Add disabled flag to method transform ([TT-4231] Add disabled flag to method transform #3815)
- Implement method transform plugin OAS conversion ([TT-4232] Implement method transform plugin OAS conversion #3821)
- TD-664/Aws-cf-templates for release-4 (TD-664/Aws-cf-templates for release-4 #3817)
- Add mock response doc ([TT-4229] Add mock response doc #3814)
- Make migrated version APIs internal by default ([TT-4141] Make migrated version APIs internal by default #3824)
- Add auto-generated api ids to newly created APIs in migration ([TT-4141] Add auto-generated api ids to newly created APIs in migration #3825)
- TT-4091 - OAS Caching Paths support (TT-4091 - OAS Caching Paths support #3807)
- Adding healthcheck info and lock into gw struct (Adding healthcheck info and lock into gw struct #3828)
- Add GoDoc for method transform plugin ([TT-4240] Add GoDoc for method transform plugin #3826)
- Separate migration tests (Separate migration tests #3830)
- Clean gateway_test.go (Clean gateway_test.go #3829)
- [TT-4277] Not force default version before migration ([TT-4277] Not force default version before migration #3832)
- Return same error when default version info is not found in new versioning ([TT-3965] Return same error when default version info is not found in new versi… #3833)
- Add disable flag for enforced timeout plugin ([TT-4249] Add disable flag for enforced timeout plugin #3827)
- Set base as Default when there is no default is selected ([TT-4141] Set base as Default when there is no default is selected #3834)
- Reflect OAS contract change of MethodTransform to TransformRequestMethod ([TT-4278] Reflect OAS contract change of MethodTransform to TransformRequestMethod #3835)
- Implement expiration field OAS conversion ([TT-4317] Implement expiration field OAS conversion #3839)
- Implement enforce timeout OAS conversion ([TT-4250] Implement enforce timeout OAS conversion #3845)
- fix depth limits for graphql introspection queries (TT-3314) (fix depth limits for graphql introspection queries (TT-3314) #3850)
- fix field selection on interface types (fix field selection on interface types (TT-4419) #3859)
- [TT-376] Import swagger paths in old whitelist format + track endpoint ([TT-376] Import swagger paths in old whitelist format + track endpoint #3844)
- set session id when openid key doesnt exist.So quota and key is created (Set session id when openid key doesnt exist.So quota and key is created #3852)
- pass auth headers as query params for subscription operation (pass auth headers as query params for subscription operation #3864)
- update graphql-go-tools (update graphql-go-tools #3884)
- Add fixes for Python 3.8/3.9 (TT-3780 Add fixes for Python 3.8/3.9 #3479)
- adding _OMITCONFIGFILE config (TT-3705 Adding OMITCONFIGFILE env #3874)
- TT-1740 Adding fallback scenario for ctx Get Apidef and Session (TT-1740 Adding fallback scenario for ctx Get Apidef and Session #3875)
- Add name field to auth config ([TT-4571] Add name field to auth config #3888)
- [TT-4583]migrate authconfig name ([TT-4583]migrate authconfig name #3890)
- [TT-4147] remove APIID from bundle dest path ([TT-4147] remove APIID from bundle dest path #3849)
- [TT-4569] optional header authconfig ([TT-4569] optional header authconfig #3886)
- update graphql-go-tools (update graphql-go-tools #3899)
- Implement security scheme conversions ([TT-4571] Implement security scheme conversions #3902)
- update sprig to v3 ([TT-4664] update sprig to v3 #3897)
- cherry picked
- TT-97 Export certificates package (TT-97 Export certificates package #3312)
- Fix go mod to include tyk/certs for release-4
- Fix some edge cases of OAS auth source conversions ([TT-4571] Fix some edge cases of OAS auth source conversions #3912)
- [CI] Syncing release automation from master
- Add small adjustments to OAS security scheme conversions (Add small adjustments to OAS security scheme conversions #3914)
- Fix the case where multiple securitySchemes exist ([TT-4571] Fix the case where multiple securitySchemes exist #3922)
- [TT-4655] Federation crashes gateway during performance tests ([TT-4655] Federation crashes gateway during performance tests #3910)
- update graphql-go-tools (update graphql-go-tools #3926)
- Auto-enable auth-source in security scheme ([TT-4571] Auto-enable auth-source in security scheme #3924)
- Move auth type constants to apidef package (Move auth type constants to apidef package #3927)
- TD-876/release-4-cleanup (TD-876/release-4-cleanup #3918)
- Iterate auth configs map in alphabetical order in auth source validation (Iterate auth configs map in alphabetical order in auth source validation #3928)
- Refactor jwt OAS conversion ([TT-4757] Refactor jwt OAS conversion #3934)
- Refactor basic auth OAS conversion ([TT-4758] Refactor basic auth OAS conversion #3935)
- [TT-4758] Implement OAS oauth2 scheme conversion ([TT-4758] Implement OAS oauth2 scheme conversion #3936)
- [TT-4869] Implement base of paths and operations ([TT-4869] [TT-4854] Implement base of paths and operations #3940)
- Add TransformRequestMethod operation to OAS ([TT-4860] Add TransformRequestMethod operation to OAS #3941)
- Add Cache operation to OAS ([TT-4855] Add Cache operation to OAS #3942)
- Add EnforceTimeout operation to OAS ([TT-4857] Add EnforceTimeout operation to OAS #3943)
- Refactor custom plugin OAS conversion ([TT-4708] Refactor custom plugin OAS conversion #3933)
- Refactor go plugin OAS conversion ([TT-4708] Refactor go plugin OAS conversion #3951)
- Refactor oidc auth OAS conversion ([TT-4756] Refactor oidc auth OAS conversion #3950)
- internal: relocate and fix legacy scripts (internal: relocate and fix legacy scripts #3952)
- update graphql-to-tools TT-4627 ([TT-4627] update graphql go tools #3962)
- Cleanup OAS authentication code ([TT-4709] Cleanup OAS authentication code #3963)
- TT-4934 make ctx.SetSession backwards compatible (TT-4934 make ctx.SetSession backwards compatible #3967)
- [TT-4838] Add ValidateOASObject method ([TT-4838] Add ValidateOASObject method #3945)
- Revert "[TT-4838] Add ValidateOASObject method ([TT-4838] Add ValidateOASObject method #3945)" (Revert "[TT-4838] Add ValidateOASObject method" #3968)
- Fix HMAC OAS conversion ([TT-4709] Fix HMAC OAS conversion #3970)
- Implement OAS upstream certificates conversion ([TT-4900] Implement OAS upstream certificates conversion #3964)
- fix graphiql to use default theme (fix graphiql to use default theme #3966)
- Implement OAS pinned public keys conversion ([TT-4901] Implement OAS pinned public keys conversion #3971)
- Fix upstream certificate OAS conversion ([TT-4900] Fix upstream certificate OAS conversion #3982)
- [TT-4838] ValidateOASObject method ([TT-4838] ValidateOASObject method #3973)
- [TT-4874] OAS schema endpoint ([TT-4874] OAS schema endpoint #3974)
- [TT-4870] OAS migrate regex path fragments ([TT-4870] OAS migrate regex path fragments #3975)
- [CI] Syncing release automation from master
- Disallow loading TCP services on main gateway port ([TT-4936] Disallow loading TCP services on main gateway port #3984)
- [TT-4271] Bump docker version and remove critical CVE dependencies ([TT-4271] Bump docker version and remove critical CVE dependencies #3959)
- TT-5026 Initializing OrganizationMonitor with a valid gw pointer (TT-5026 Initializing OrganizationMonitor with a valid gw pointer #3987)
- set oas.ExternalDocs to nil if populated with zero values (set oas.ExternalDocs to nil if populated with zero values #3989)
- Fix json tag of pinned public keys ([TT-4901] Fix json tag of pinned public keys #3990)
- TT-4994 Separated the RPC cache into 2 stores (TT-4994 Separated the RPC cache into 2 stores #3983)
- Fix go.mod
- Remove redundancy in the schema test (Remove redundancy in the schema test #3992)
- [TT-5080] Fix DRL panic on gateway start ([TT-5080] Fix DRL panic on gateway start #3997)
- [TT-4994] Middleware: ensure that session with applied policies is returned. ([TT-4994] Middleware: ensure that session with applied policies is returned. #3993)
- Crrts should not be a go module
- Remove certs package from go.mod
- Fix: deduplicate versions and methods, fix incorrect policy test ([TT-4905] Deduplicate string slice fields in api schema #4002)
- Implement disabled field to validate json plugin ([TT-5093] Implement disabled field to validate json plugin #4006)
- fix race condition in Test_loadOASSchema (fix race condition in Test_loadOASSchema #3980)
- when adding a new certificate check if exists by using the Exist method and not Get (when adding a new certificate check if exists by using the Exist method and not Get #4003)
- exit CI when gofmt is not clean (exit CI when gofmt is not clean #3946)
- [CI] Syncing release automation from master
- [TT-4793] request and res log obfuscation ([TT-4793] request and res log obfuscation #3981)
- [TT-4839] Add x-tyk-api-gateway-schema in OAS validator ([TT-4839] Add x-tyk-api-gateway-schema in OAS validator #3996)
- [TT-5094] Implement validate request middleware in OAS ([TT-5094] Implement validate request middleware in OAS #4007)
- [TT-4815] Updating graphql-go-tools commit hash ([TT-4815] Updating graphql-go-tools commit hash #4008)
- Add validateRequest plugin schema ([TT-5121] Add validateRequest plugin schema #4010)
- [TT-5107] exit on faulty go generate ([TT-5107] exit on faulty go generate #4000)
- [TT-5121] modify X-Tyk-Operations to have patternProperties for key ([TT-5121] modify X-Tyk-Operations to have patternProperties for key #4013)
- Backporting TT-5130 Bugfix dash buildConnStr #4015 changes ( TT-5130 Bugfix dash buildConnStr #4018)
- [TT-5160] Update OAS servers object while api creation or addition ([TT-5160] Update OAS servers object while api creation or addition #4024)
- fix x-tyk-api-schema - securitySchemes, cors.enabled ([TT-5201] fix x-tyk-api-schema - securitySchemes, cors.enabled #4031)
- [TT-1563] Add segment tags on oas api ([TT-1563] Add segment tags on oas api #4030)
- [CI] Syncing release automation from master
- user: ensure that key_id is not present in Redis session object ([TT-5110] Ensure that key_id is not present in Redis session object #4032)
- [release-4] Updating graphql-go-tools commit hash [changelog] internal: Updating graphql-go-tools commit hash.
- [TT-5160] add default listenaddress, consider 80 port when configured in GetAPIURL ([TT-5160] add default listenaddress, consider 80 port when configured in GetAPIURL #4033)
- Add domain to OAS spec ([TT-5159] Add domain to OAS spec #4025)
- [TT-5199] Updating graphql-go-tools commit hash ([TT-5199] Updating graphql-go-tools commit hash #4036)
- [CI] Syncing release automation from master
- [TT-5212] add BuildDefaultTykExtension to build tyk extension from simple OAS ([TT-5212] add BuildDefaultTykExtension to build tyk extension from simple OAS #4039)
- cherry picked ce745192
- Initialize DefaultOrgStore in NewGateway func ([TT-5289] Initialize DefaultOrgStore in NewGateway func #4048)
- [TT-5192] [TT-4816] [TT-5117] Update graphql-to-tools ([TT-5192] [TT-4816] [TT-5117] Update graphql-to-tools #4046)
- [TT-5307] update jaeger-client-go ([TT-5307] update jaeger-client-go #4049)
- export API in OAS format (export API in OAS format #4037)
- Fix resource leak in config.Load, close file handle ([TT-5298] Fix resource leak in config.Load, close file handle #4042)
- TT-3879 Bugfix allow_explicit_policy_id on edge gateways (TT-3879 Bugfix allow_explicit_policy_id on edge gateways #4052)
- [CI] Syncing release automation from master
- add customDomain to be configured with simple OAS ([TT-5369] Add customDomain to be configured with simple OAS #4060)
- [TT-5371] OAS patch endpoint ([TT-5371] OAS patch endpoint #4062)
- [TT-5368] added endpoint DELETE /apis/oas/{apiID} ([TT-5368] added endpoint DELETE /apis/oas/{apiID} #4068)
- [TT-5450] update swagger ([TT-5450] update swagger #4069)
- import oas (import oas #4065)
- [TT-5375] Add is_oas flag to APIDefinition ([TT-5375] Add is_oas flag to APIDefinition #4067)
- [TT-5398] Implement OAS apiKey scheme import ([TT-5398] Implement OAS apiKey scheme import #4063)
- [TT-5406, TT-5407] simple OAS middlewares (allowList, validateRequest) ([TT-5406, TT-5407] simple OAS middlewares (allowList, validateRequest) #4064)
- update opeations OAS schema to have a string instead of string starting with / (update operations OAS schema #4076)
- Implement OAS jwt security scheme import ([TT-5399] Implement OAS jwt scheme import #4077)
- Implement OAS oauth security scheme import ([TT-5400] Implement OAS oauth security scheme import #4080)
- [TT-5506] fix OAS servers in patch ([TT-5506] fix OAS servers in patch #4083)
- Fix security scheme unmarshalling ([TT-5283] Fix security scheme unmarshalling #4084)
- import OAS, get apiID from query (import OAS, get apiID from query #4075)
- do not configure upstreamURL form servers if it's already present in x-tyk-api-gw (do not configure upstreamURL form servers if it's already present #4089)
- Implement OAS basic security scheme import ([TT-5401] Implement OAS basic security scheme import #4081)
- Add authentication bool param to import oas endpoint ([TT-5403, TT-5405] Add authentication bool param to import oas endpoint #4088)
- Fix import oas api params (Fix import oas api params #4090)
- swagger doc for import OAS (swagger doc for import OAS #4072)
- change validate request default error response code to 422 (change validate request default error response code to 422 #4096)
- [release-4] Updated graphql-go-tools commit hash
- TT-5376 HTTPServerOptions Certificate custom env decoder (TT-5376 HTTPServerOptions Certificate custom env decoder #3716)
- Implement base identity provider precedence during OAS import ([TT-5549] Implement base identity provider precedence during OAS import #4093)
- persist schema object during encodeForDB (persist schema object during encodeForDB #4095)
- ignore ValidatePathMeta.Schema from datastore (ignore ValidatePathMeta.Schema from datastore #4099)
- [TT-3972] Mark/skip problematic tests, resolve some root issues ([TT-3972] Mark/skip problematic tests, resolve some root issues #4035)
- Fix: revert pubsub.Channel back to pubsub.Message, context/timeout adjustments (Fix: revert pubsub.Channel back to pubsub.Message, context/timeout adjustments #4079)
- Fix: nil panic for groupResetHandler in tests (Fix: nil panic for groupResetHandler in tests #4086)
- Handle security scheme map conditions ([TT-5586] Handle security scheme map conditions #4100)
- add API ID if not provided while creating an API ([TT-5590, TT-5604] add API ID if not provided while creating an API #4101)
- enable OAS payload validation for OAS endpoints ([TT-5453] enable OAS payload validation for OAS endpoints #4106)
- [CI] Syncing release automation from master
- do not return error when api id is not provided while importing OAS ([TT-5614] do not return error when api id is not provided while importing OAS #4109)
- Change oas import path to be consistent ([TT-5591] Change oas import path to be consistent #4107)
- [TT-3154] Fix stripping listen path when it contains regexp ([TT-3154] Fix stripping listen path when it contains regexp #4104)
- Prevent expiration parse error for old APIs ([TT-5027] Prevent expiration parse error log for old APIs #4111)
- Return error when user imports payload with x-tyk-api-gateway ([TT-5624] Return error when user imports payload with x-tyk-api-gateway #4113)
- Return error if post/put oas doesn't include x-tyk-api-gateway ([TT-5622] Return error if post/put oas doesn't include x-tyk-api-gateway #4114)
- [TT-5577] strip listen path by default on OAS import ([TT-5577] strip listen path by default on OAS import #4112)
- toggle custom domain (toggle custom domain #4115)
- bugfix: fixing mTLS logic for APIs with same domain and different mTLS rules (TT-5017 Bugfix APIs with same domain and different mTLS rules #4097)
- Don't clear OAS paths to nil if empty (Don't clear OAS paths to nil if empty #4116)
- [TT-1666] fix: don't match /foobar with /foo routes ([TT-1666] fix: don't match /foobar with /foo routes #4017)
- use OAS schema minor versions instead of patch. ([TT-5631] use OAS schema minor versions instead of patch. #4117)
- Fix the panic when analytics plugin enabled ([TT-5133] Fix the panic when analytics plugin enabled #4118)
- return when create/update request comes in dashboard mode. ([TT-5700] return when create/update request comes in dashboard mode. #4121)
- Fix TestValidateRequest passing mistakenly (Fix TestValidateRequest passing mistakenly #4120)
- [TT-5279] Updated graphql-go-tools commit hash ([TT-5279] Updated graphql-go-tools commit hash #4124)
- Honor EnableTags when loading apis (Honor EnableTags when loading apis #4123)
- Add extra test case to path regex match ([TT-3154] Add extra test case to path regex match #4125)
- block import API in dashboard mode. ([TT-5700] block import API in dashboard mode. #4131)
- Omit gateway tags if empty (Omit gateway tags if empty #4127)
- python: avoid api_id reference on MiddlewareLoader
- adjust OAS contract onKeyChangeURL to onKeyChangeUrl to be in consistent with OAS namings. ([TT-5733] adjust OAS contract onKeyChangeURL to onKeyChangeUrl to be in consistent with OAS naming #4133)
- Fix the oas schema of versioning ([TT-5765] Fix the oas schema of versioning #4136)
- TT-5714 ConnectToRedis RedisController fixes (TT-5714 ConnectToRedis RedisController fixes #4134)
- [TT-5746] change upstream mTLS contract. ([TT-5746] change upstream mTLS contract. #4137)
- Add missing session lifetime function test ([TT-2162] Add missing session lifetime function test #4141)
- update graphql go tools for TT-5563 ([TT-5563] update graphql go tools #4143)
- [TT-5747] update certificate pinning OAS contract ([TT-5747] update certificate pinning OAS contract #4140)
- Update graphql go tools (Update graphql go tools #4145)
- Fix broken OAS paths and operations extraction ([TT-5789] Fix broken OAS paths and operations extraction #4146)
- Add extra oas validation from getkin library ([TT-5816] Add extra oas validation from getkin library #4151)
- Make validate request working for OSS users ([TT-5823, TT-5791, TT-5814] Make validate request working for OSS users #4150)
- Resolve OAS reference loaded from dashboard ([TT-5822]Resolve OAS reference loaded from dashboard #4154)
- Validate just oas request body ([TT-5822] Validate just oas request body #4155)
- [TT-5823] Log error instead of info when invalid api comes from dashboard ([TT-5823] Log error instead of info when invalid api comes from dashboard #4156)
- [TT-5396] Add ability to select basic authentication hashing function ([TT-5396] Add ability to select basic authentication hashing function #4070)
- [CI] Syncing release automation from master
- [TT-5880] Sanitize Release Versions ([TT-5880] Sanitize Release Versions #4159)
- [TT-5396] default basicauth hash fix ([TT-5396] default basicauth hash fix #4162)
- auto extract xtyk oas doc (auto extract xtyk oas doc #4144)
- TT-5937 RPC analytics serialization bugfix (TT-5937 RPC analytics serialization bugfix #4164)
- Refactor load of apis from dashboard ([TT-5935] Refactor load of apis from dashboard #4168)
- Load apis with OAS data from MDCB ([TT-5935] Load apis with OAS data from MDCB #4169)
- [TT-5935] Add oas custom marshal function to handle SQL cases ([TT-5935] Add oas custom marshal function to handle SQL cases #4171)
- kafka data source cherry pick and import path renaming (kafka data source cherry pick and import path renaming #4174)
- [TT-5316] Fix incorrect context value panic ([TT-5316] Fix incorrect context value panic #4153)
- fix token for gh action ([TT-5744] fix token for OAS gh action #4177)
- [TT-6057] fix OAS validate request middleware error with strict hostname matching. ([TT-6057] fix OAS validate request middleware error with strict hostname matching. #4185)
- [TT-5962] [TT-5704] ([TT-5962] [TT-5704] Updating graphql-go-tools commit hash. #4190)
- Add flags to make session lifetime respects key expiration ([TT-2162] Feature respect key expiration #4119)
- Remove omitempty from 'enabled' fields in OAS ([TT-6097] Remove omitempty from 'enabled' fields in OAS #4194)
- Respect custom error response code in validate request ([TT-6129] Respect custom error response code in validate request #4200)
- [TT-3973] Fix/flaky hmac tests ([TT-3973] Fix/flaky hmac tests #4199)
- Honor tags on loadRPC apidef load code paths (Honor tags on loadRPC apidef load code paths #4187)
- changing secrets.TYK_ANALYTICS_TOKEN for secrets.ORG_GH_TOKEN
- [TT-5262] add dialCtxFn in gw to test. ([TT-5262] add dialCtxFn in gw to test. #4176)
- [CI] Syncing release automation from master
- [TT-2332] modify auth token fetch to rely only on UseParam or UseCookie ([TT-2332] modify auth token fetch to rely only on UseParam or UseCookie #3837)
- Add disabled flag to body transform endpoint plugin ([TT-4852] Add disabled flag to body transform endpoint plugin #3831)
- [TT-4852] implement transform request body OAS contract. ([TT-4852] implement transform request body OAS contract. #4210)
- Behave session.Expires as unix ([TT-2162] Behave session.Expires as unix #4212)
- [TT-1313] Implement additional circuit breaker events ([TT-1313] Implement additional circuit breaker events #4158)
- [CI] Syncing release automation from master
- Omit path and body when they are empty ([TT-4852] Omit path and body when they are empty #4220)
- TT-6162 on setting session lifetime, consider the sessionlifetime set at api level (TT-6162 on setting session lifetime, consider the sessionlifetime set at api level #4217)
- [TT-5187] Add Dockerfile, docker-compose.yml ([TT-5187] Add Dockerfile, docker-compose.yml #3988)
- [TT-3904] fix chunked body logging ([TT-3904] fix chunked body logging #3861) ([TT-3904] fix chunked body logging (#3861) #4225)
- fix json marshalling for OAS extensions. ([TT-6266] fix json marshalling for OAS extensions. #4227)
- [TT-6022] Kafka data source should subscribe to multiple topics ([TT-6022] Kafka data source should subscribe to multiple topics #4233)
- Revert "[TT-3904] fix chunked body logging ([TT-3904] fix chunked body logging #3861)" ([TT-6150] Revert "[TT-3904] fix chunked body logging (#3861)" #4238)
- Add compressed/chunked response tests ([TT-6150] Add compressed/chunked response tests #4239)
- Fix chunked response logging ([TT-6332] Fix chunked response logging #4241)
- add api schema to error handler and success handler ([TT-6333] add api schema to error handler and success handler #4243)
- Revert "add api schema to error handler and success handler ([TT-6333] add api schema to error handler and success handler #4243)" (Revert "add api schema to error handler and success handler (#4243)" #4247)
- TT-5555 Adding omitempty json tag to new non-required fields (TT-5555 Adding omitempty json tag to new non-required fields #4244)
- TT-5980 Add custom environment variable decoder for '.ports_whitelist' (TT-5980 Add custom environment variable decoder for '.ports_whitelist' #4166)
- Fix MutualTLS server side behaviour, fix TT-5249 flaky test, extend MutualTLS tests ([TT-2770] mTLS client certificates #4237)
- added flag to pull oas data in apidef (added flag to pull OAS data in apidef #4207)
- TT-6290 on updated key signal do not pull the key if not exist locally (TT-6290 on updated key signal do not pull the key if not exist locally #4232)
- mw_js_plugin: trigger middleware error when JSVM isn't enabled ([TT-1213] JSVM: trigger middleware error when JSVM isn't enabled #4206)
- TT-2356 Caching default expiration time if org is not found (TT-2356 Caching default expiration time if org is not found #4275)
- [TT-4083] upgrade go version ([TT-4083] upgrade go version #4261)
- [TT-6400] Field based permissions whitelisting - Define better struct for RestrictedTypes ([TT-6400] Field based permissions whitelisting - Define better struct for RestrictedTypes #4271)
- [TT-5665] Allow list for field based permissions implement for allowing fields ([TT-5665] Allow list for field based permissions implement for allowing fields #4288)
- add api schema to analytics record (add api schema to analytics record #4285)
- Remove OAS mock response conversions ([TT-6585] Remove OAS mock response conversions #4301)
- Bump goverify module ([TT-6145] Bump goverify module #4226)
- TT-6407 Edge key quota reset bugfix (TT-6407 Edge key quota reset bugfix #4300)
- [TT-6588] Move oas preparation to MakeSpec function ([TT-6588] Move oas preparation to MakeSpec function #4302)
- use go embed instead of go bindata to embed static files. ([TT-5105] use go embed instead of go bindata to embed static files. #4286)
- [TT-6110] Updated graphql-go-tools commit hash ([TT-6110] Updated graphql-go-tools commit hash #4311)
- [TT-6568] Ability to turn off introspection for a graph ([TT-6568] Ability to turn off introspection for a graph #4315)
- update graphql go tools ([TT-6552]: update graphql go tools #4316)
- Implement OAS mock response ([TT-6587] Implement OAS mock response #4303)
- [TT-6093] Ensure headers are updated from response middleware ([TT-6093] Ensure headers are updated from response middleware #4193)
- [TT-6658] Implement getting mock response from OAS ([TT-6658] Implement getting mock response from OAS #4318)
- [TT-5852]added sub request id to request ([TT-5852]added sub request id to request #4313)
- Implement OAS schema extractor ([TT-6659] Implement OAS schema extractor #4320)
- [TT-6663] Extract mock response headers from OAS response doc ([TT-6663] Extract mock response headers from OAS response doc #4321)
- [TT-6635] Fix/jsvm memory usage ([TT-5477] Fix/jsvm memory usage #4249)
- Add OAS mock response schema ([TT-6670] Add OAS mock response schema #4324)
- Handle mock response listen path matching ([TT-6587] Handle mock response listen path matching #4328)
- Remove not necessary commented backup code (Remove not necessary commented backup code #4326)
- Add GoDoc for Mock Response ([TT-6587] Add GoDoc for Mock Response #4325)
- Add the skeleton for external OAuth middleware ([TT-6743] Add the skeleton for external OAuth middleware #4344)
- [TT-6110] Updated graphql-go-tools commit hash ([TT-6110] Updated graphql-go-tools commit hash #4333)
- [TT-6669] Updated graphql-go-tools commit hash ([TT-6669] Updated graphql-go-tools commit hash #4342)
- [TT-6669] Use IsIntrospectionQueryStrict to check introspection queries ([TT-6669] Use IsIntrospectionQueryStrict to check introspection queries #4345)
- [TT-6697] External oauth jwt ([TT-6697] External oauth jwt #4347)
- Fix/tt 6168/investigate possible issue with batching requests to subgraphs in graph ql api federation setting (Fix/tt 6168/investigate possible issue with batching requests to subgraphs in graph ql api federation setting #4341)
- Implement external OAuth introspection ([TT-6742] Implement external OAuth introspection #4348)
- Implement external OAuth OAS conversions ([TT-6758] Implement external OAuth OAS conversions #4352)
- TT-1799 - in case of error in signing method show proper error message (TT-1799 - in case of error in signing method show proper error message #3751)
- add configurations for new subscription protocols (add configurations for new subscription protocols #4351)
- fix chaining external native API to internal OAS API. ([TT-6485] fix chaining external native API to internal OAS API. #4358)
- [TT-6737] [TT-6798] Updated graphql-go-tools commit hash ([TT-6737] [TT-6798] Updated graphql-go-tools commit hash #4362)
- [TT-6502] working around memory allocations in restricted memory environments, rewriting nopCloser ([TT-6502] working around memory allocations in restricted memory environments, rewriting nopCloser #4299)
- Implement OAuth introspection redis cache ([TT-6904] Implement OAuth introspection redis cache #4356)
- [TT-6933] Implement introspection cache OAS conversion ([TT-6933] Implement introspection cache OAS conversion #4369)
- Add GoDoc for OAS OAuth introspection fields ([TT-6905] Add GoDoc for OAS OAuth introspection fields #4370)
- add subscription type cfg for proxy-only and fix federation cfg gen (add subscription type cfg for proxy-only and fix federation cfg gen #4367)
- [TT-6575] feat: persisted queries ([TT-6575] feat: persisted queries #4359)
- [TT-6927] Improving DX with make lint, add faillint, PR template update ([TT-6927] Improving DX with make lint, add faillint, PR template update #4314)
- [TT-5744] OAS docs updates ([TT-6931] OAS docs updates #4327)
- [TT-6927] Improvement/goimports local ([TT-6927] Improvement/goimports local #4329)
- [TT-6454] modify OAS servers methods. ([TT-6454] modify OAS servers methods. #4373)
- change OAS AddServers signature to return error. ([TT-6454] change OAS AddServers signature to return error. #4375)
- [TT-6919] Feature/introspection exp check ([TT-6919] Feature/introspection exp check #4376)
- Check whether introspection has exp val ([TT-6904] Check whether introspection has exp val #4381)
- add omitempty to SubscriptionType ([TT-6795] [TT-6941] add omitempty to SubscriptionType #4382)
- Add hidden version base id ([TT-6702] Add hidden version base id #4383)
- Remove version change actions from apidef ([TT-6702] Remove version change actions from apidef #4386)
- Revert "change OAS AddServers signature to return error. ([TT-6454] change OAS AddServers signature to return error. #4375)" ([TT-6966] Revert "[TT-6454] change OAS AddServers signature to return error." #4387)
- fix non-working single flight (fix non-working single flight #4402) (fix non-working single flight (#4402) #4404)
- Convert Error log to Debug in JWT API while searching OAuth client ([TT-6641] Convert Error log to Debug in JWT API while searching OAuth client #4406) ([TT-6641] Convert Error log to Debug in JWT API while searching OAuth client #4410)
- Change swagger version to 4.3 ([TT-7192] Change swagger version to 4.3 #4423)
- Change swagger version to 4.3.0 ([TT-7192] Change swagger version to 4.3.0 #4426)
- Ensure that version used my plugin loader has the correct syntax (Ensure that version used my plugin loader has the correct syntax #4417) (Ensure that version used my plugin loader has the correct syntax (#4417) #4427)
- Fix middleware order, enabling virtual endpoint caching and cache control from jsvm ([TT-6527] Fix middleware order, enabling virtual endpoint caching and cache control from jsvm #4397) (Fix middleware order, enabling virtual endpoint caching and cache con… #4431)
- Fix the panic while loading Go-plugin ([TT-7151] Fix the panic while loading Go-plugin #4416) ([TT-7151] Fix the panic while loading Go-plugin (#4416) #4435)
- Load go plugins that contains the prefix V (Load go plugins that contains the prefix V #4444)
(cherry picked from commit 773f702)
PR for [TT-4655](https://tyktech.atlassian.net/browse/TT-4655) Basically, Tyk gateway creates a `memconn.Provider` to handle subgraphs for every request. it also creates a new HTTP client with a fresh `http.Transport`. It repeats this flow for every request and the dialer implementation in the Go HTTP library allocates new buffers to dial the upstream server. This creates a massive memory leak in the runtime. I implemented a simple caching approach to overcome that problem. Now it uses a global `http.Client` instance and the dialer function gets a `memconn.Provider` for the subgraph. Before the fix, Tyk gateway had almost 12GB of memory on my local setup. With the fix, it’s stable at around 140 MB. Users can rename the subgraph or delete it completely. If a subgraph is renamed, a new `memconn.Provider` will be created and cached. From memory profiler: ![Screen Shot 2022-02-25 at 12 20 51](https://user-images.githubusercontent.com/33702537/155992064-dde90b72-77bf-45f4-9b75-86f40d0a4cd6.png) (cherry picked from commit b8496b3)
(cherry picked from commit cc952fe)
(cherry picked from commit 3e23111)
(cherry picked from commit 4edf523)
* internal: unused moved files cleanup * internal: fix smoke-test readme * internal: change smoke-tests path
(cherry picked from commit b405a7d)
(cherry picked from commit f9b132e)
* Refactor basic auth OAS conversion * Implement OAS oauth2 scheme conversion (cherry picked from commit 92655ed)
* Implement base of paths and operations * Add request changes * Add requested change (cherry picked from commit ceccf70)
(cherry picked from commit 2d13500)
(cherry picked from commit 29c3f7d)
(cherry picked from commit e5cd319)
(cherry picked from commit 27c54b3)
(cherry picked from commit 9a68483)
* internal: relocate and fix legacy scripts (cherry picked from commit e6dbfa2)
(cherry picked from commit 81638fe)
(cherry picked from commit 3e5d3e7)
<!-- Provide a general summary of your changes in the Title above --> ## Description In order to be fully backward compatible, then updated the signature of `ctx.SetSession` function, now it will infer from where to get the configuration if keys should be hashed or not. When a gw starts then it will override the function `Global func() Config` that resides inside the config package, in this way it will take automatically the configurtion of the current gateway. ## Related Issue [ticket](https://tyktech.atlassian.net/browse/TT-4934) ## Motivation and Context Unblock release ## How This Has Been Tested - Ran GW - Created a key and consume api ## Screenshots (if appropriate) ## Types of changes <!-- What types of changes does your code introduce? Put an `x` in all the boxes that apply: --> - [x] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] Refactoring or add test (improvements in base code or adds test coverage to functionality) ## Checklist <!-- Go over all the following points, and put an `x` in all the boxes that apply --> <!-- If you're unsure about any of these, don't hesitate to ask; we're here to help! --> - [x] Make sure you are requesting to **pull a topic/feature/bugfix branch** (right side). If pulling from your own fork, don't request your `master`! - [x] Make sure you are making a pull request against the **`master` branch** (left side). Also, you should start *your branch* off *our latest `master`*. - [ ] My change requires a change to the documentation. - [ ] If you've changed APIs, describe what needs to be updated in the documentation. - [ ] If new config option added, ensure that it can be set via ENV variable - [ ] I have updated the documentation accordingly. - [ ] Modules and vendor dependencies have been updated; run `go mod tidy && go mod vendor` - [ ] When updating library version must provide reason/explanation for this update. - [ ] I have added tests to cover my changes. - [ ] All new and existing tests passed. - [x] Check your code additions will not fail linting checks: - [x] `go fmt -s` - [ ] `go vet` (cherry picked from commit 61ca289)
* Add ValidateOASObject method [changelog] added: Add ValidateOASObject method to validate OAS definition against mulitple OAS versions (cherry picked from commit 67a3af6)
(cherry picked from commit 2c62163)
(cherry picked from commit 776e6db)
(cherry picked from commit dd7b79e)
(cherry picked from commit 1d0190d)
(cherry picked from commit 0488478)
* added ValidateOASObject to validate OAS object based on parameter OAS version [changelog] added: validate OAS object against different OAS versions
* Add schema endpoint to return quried OAS schema, return the latest patch version if requested version is not found [changlog] added: endpoint `/tyk/schema` to return quried OAS schema (cherry picked from commit 16ad4f6)
(cherry picked from commit 0a5f8cb)
#3751) * TT-1799 - in case of error in signing method show proper error message * TT-1799 - signature test * TT-1799 - moved static text to constants * TT-1799 - fixed linting issue * TT-1799 - moved const to be inside test since it's test dependent
[changelog] fixed: chaining external native API def to internal OAS API def. (cherry picked from commit 425d9e1)
[changelog] internal: Updated graphql-go-tools commit hash. (cherry picked from commit 3b8bc89)
(cherry picked from commit 0f0b158)
* Implement introspection cache OAS conversion * Make caching omittable (cherry picked from commit 2dd015b)
(cherry picked from commit 7d336b5)
* setting up the base middleware * dynamically injecting variables * added tests for default version and tests for context variables * added test for version * added path variable test, fixed bug with variable replace * modified tests * moved location of middleware * handled unhandled errors. Co-authored-by: asoorm <ahmet@mangomm.co.uk> (cherry picked from commit eac6e1a)
…te (#4314) * Add make lint command, update PR template, update ci-tests to use make lint * Add -count 1 lines to prevent caching * Fix goimports for analytics_test.go, broken on master * Move go mod tidy before running linters * Print full git diff for git-state * Fix goimports issues on master
* Updated apidef/oas to follow godoc, added docs for OAS doc generator, generator improvements * Updated generated x-tyk-gateway schema markdown docs to latest * Updated releated tests to doc generator (cherry picked from commit c19518b)
* Use goimports with -local to group tyk imports together * Import changes made by goimports -local
* modify OAS servers methods. [changelog] added: OAS ReplaceServers. changed: OAS AddServers. * retain user added servers in replace OAS servers (cherry picked from commit 4f04f5f)
[changelog] changed: OAS AddServers. (cherry picked from commit 501e860)
* Check the expiration of cached introspection response * Added a comment to explain the trick in the test cases (cherry picked from commit 3914295)
(cherry picked from commit 7ebf644)
(cherry picked from commit be0b657)
(cherry picked from commit f86b66b)
(cherry picked from commit e1eeaf6)
[changelog] internal: Changed swagger version to 4.3.0.
…) (#4427) * ensure that version used my plugin loader has the correct syntax * allow goplugin loader to load plugin without the v prefix in version Co-authored-by: maciej <39672152+maciejwojciechowski@users.noreply.github.com> Co-authored-by: Furkan Senharputlu <furkan_senharputlu@hotmail.com>
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.