Releases: fortio/fortio
Fortio 1.54.1
What's Changed
- Use newer go 1.20.3 (security fixes plus switch from 1.19) and corresponding new lints(#743)
Note the linter identified an incompatible change needed:
func HandleCall[Q any](w http.ResponseWriter, r *http.Request) (*Q, error) {
to
func ProcessRequest[Q any](r *http.Request) (*Q, error) {
as HandleCall doesn't... handle it just unserializes. kept the old api as Deprecated for now.
Full Changelog: v1.54.0...v1.54.1
Fortio 1.54.0
What's Changed
- New Dns debug endpoint
/fortio/rest/dns?name=xxx
and in the UI form as well (#735)
$ curl -s localhost:8080/fortio/rest/dns?name=debug.fortio.org | jq
yields
{
"Name": "debug.fortio.org",
"IPv4": [
"18.222.136.83",
"192.9.142.5",
"192.9.227.83"
],
"IPv6": [
"2600:1f16:9c6:b400:282c:a766:6cab:4e82",
"2603:c024:c00a:d144:7cd0:4951:7106:96b8",
"2603:c024:c00a:d144:6663:5896:7efb:fbf3"
]
}
Full Changelog: v1.53.1...v1.54.0
Fortio 1.53.1
v1.53.0
Fortio 1.52.0
See also 1.51.0 notes for recent major changes
- Mutual TLS (
-mtls
flag) support in #720, also:- uses
log.LogRequest
andlog.TLSInfo
updated in fortio.org/log 1.3.0 for showing peer cert in debug endpoint and log (these functions are now removed from fhttp package) - Fixed #695: potential incompatible change: you can't reuse and HTTPOptions and change the scheme in the URL anymore.
- fix fortio server -h continuing instead of showing flags.
- uses
Full Changelog: v1.51.0...v1.52.0
Fortio 1.51.0
What's Changed
- Refactor to use the new fortio.org/cli and scli packages (#713)
Notable changes/effect
-config
flag is now called-config-dir
- please update your deployments (though default Dockerfile args are updated already).fortio version
is now olderversion -s
andfortio buildinfo
gives whatversion
used to return (full build info).- In the Web UI (port 8080 /fortio/)
- Set standard (slower) client by default because of/for fortiotel
- also lower initial/demo qps and increase connections as people tend to forget to change that
Full Changelog: v1.50.1...v1.51.0
Fortio 1.50.1
(See release notes of 1.50.0 for API changes in 1.50)
What's Changed
- Use go 1.19.6 and security patched x.net
Full Changelog: v1.50.0...v1.50.1
Fortio 1.50.0 - API changes
This is a big change (thus the jump to 1.50) in the library/api code. Packages have moved for better re-usabilty and letting projects reuse more of fortio components without pulling in everything.
The log
, dflag
, and version
packages have moved out for fortio.org/fortio into their own toplevel.
Change summary for callers/users of fortio log / dflag / version:
- Remove
/fortio
in the imports. egfortio.org/fortio/log
becomesfortio.org/log
- Replace
log.SetFlagDefaultsForClientTools()
bylog.SetDefaultsForClientTools()
(for cli) - Replace
log.ChangeFlagsDefault()
bydynloglevel.ChangeFlagsDefault()
fhttp.LogRequest
is now in the top levellog
package.- Add either
log.LoggerStaticFlagSetup()
(cli) ordynloglevel.LoggerFlagSetup()
(servers/dflag users, the package isfortio.org/dflag/dynloglevel
)
You will also notice the flags are cleaner now, not showing up by just using some library code (in fnet
or fhttp
). Conversly if you want to assign a flag to these parameter use the new dflag.Flag("flagname", fnet.ConfigVar)
in your main
What's Changed
- moved logger to toplevel fortio.org/log, dflag and version - avoid flags in library modules (#706)
- Dependabot and other dependency updates
Full Changelog: v1.40.1...v1.50.0
Fortio 1.40.1
What's Changed
- Always initialize DebugHandler's startTime + misc cleanup by @ldemailly in #693
- fix special grpc metadata handling by @ktalg in #697
(+ dependabot updates)
Full Changelog: v1.40.0...v1.40.1
Fortio 1.40.0
What's Changed
Big items: (#688)
- Add support for echo/ui server https when
-cert
/-key
are provided (like for grpc server) -h2
(http/2.0) option for client (and h2 parameter in web ui and rest api)
Also
- log.FErrf like log.Fatalf but without the panic nor exit (#686)
- Fix grpc user-agent (#685)
- @dependabot updates
Full Changelog: v1.39.1...v1.40.0