Releases: coupergateway/couper
Releases · coupergateway/couper
0.6
0.6
2021-03-11
Breaking change
backend
will be consumed by proxy and request as transport configuration now. The previous behaviour
thatbackend
represents aproxy
functionality is removed. Also thebackend
block must be defined in
definitions
,proxy
orrequest
.- Config migration, add a
proxy
block:
- Config migration, add a
endpoint "/old" {
backend = "reference"
# or
backend {
#...
}
}
# change to:
endpoint "/new" {
proxy {
backend = "reference"
}
# or
proxy {
backend {
#...
}
}
}
Change
- Client-Request and upstream response body buffering by default
- Server shutdown delay and deadline defaults to
0s
now and can be configured via env if required - Websocket connection upgrades in combination with
proxy {}
are disabled- we will add a proxy option for ws usage later on
Bug Fixes
- An absolute path resolving for
*_file
configuration attributes (#120)
Features
- Endpoint:
- Add
jwt_sign()
function to be able to create and sign a token with ajwt_signing_profile
. Docs (#112) - Add
unixtime()
function for the current unix time in seconds (#124)
Code Refactoring
- underlying code structure to represent an
endpoint
block withproxy
,request
andresponse
configuration - hcl evaluation context as own 'container' with
context.Context
interface - test cleanups
Dependencies
- build with go 1.16
- logrus to v1.8.1
- hcl to v2.9.1
- kin-openapi to v.0.49.0
0.5.1
0.5
0.5
2021-01-29
Bug Fixes
- Fix missing http.Hijacker interface to be able to handle websocket upgrades (#80)
Features
- Add additional eval functions: coalesce, json_decode, json_encode (#105)
- Add multi API support (#103)
- Add free endpoints (#90)
- Add remove_, set_ and add_headers (#98)
Code Refactoring
- improved internals for configuration load
Dependencies
- Upgrade hcl to 2.8.2
- Upgrade go-cty module to 1.5.0
- Upgrade logrus module to 1.7.0
- Upgrade kin-openapi module to v0.37
0.4.2
0.4.1
0.4
0.4
2021-01-13
Add
- url log field (#87)
- Add proxy from env settings option (#84)
- Add backend settings:
disable_certificate_validation
,max_connections
(#86)
Fix
- command flag filter for bool values (#85)
- different proxy options for same origin should be part of the origin transport key
Refactor
- configuration load and prepare related body merges on hcl level
v0.3
v0.3
2020-12-15
Add
- build version to startup log
- upstream request/response validation with
openapi
(#21) (#22) - request-id: uuid v4 format option #31 (#53)
path_params
#59- gzip support (#66)
query_params
(#73)json_body
access for request and response bodies #44 (#60)
Change
- start Couper via
run
command now - internal router #59
- docker tag behaviour on release #70 (#82)
- request/response_headers to use
set
prefix (#77) - passing the filename to underlying hcl diagnostics
- Dockerfile to provide simple file serving (#63)
Fix
v0.2
v0.1 - Initial binary release
0.1
2020-09-11
Add
- Parse and load from given HCL configuration file
- Config structs for blocks:
server, api, endpoint, files, spa, definitions, jwt
- HTTP handler implementation for
api backends, files, spa
and related config mappings - CORS handling for
api
endpoints - Access control configuration for all blocks
- Access control type
jwt
with claim validation - Access und backend logs
- Configurable error templates with a fallback to our defaults
- Github actions for our continuous integration workflows
- Dockerfile
- Documentation