Releases: fortio/fortio
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
Fortio 1.39.1
Same as 1.39.0 but rebuilt binaries with golang 1.19.5
Full Changelog: v1.39.0...v1.39.1
Fortio 1.39.0
What's Changed
Big changes in this release!
- You can now use
-H
(headers) to set GRPC meta data by @ktalg in #671 - Significant refactor/changes to support a new github.com/fortio/fortiotel extension of fortio for Open Telemetry (OTEL) tracing support in #661
- adding optional ClientTrace and Context to jrpc and fhttp;
- extend access log api to be usable for tracing
- add optional Transport chaining for otelhttp
- adding optional ClientTrace and Context to jrpc
- also allow ClientTrace in fhttp runner (std client) too
- move the main functions/code into a package so it can be reused with additional hooks in other binaries like experimental OTEL fortio
- added optional hook to mutate options etc in new FortioMain. also show value for catchup/nocatchup. fix serialization error on ClientTrace when not nil
- add a before (Start()) hook to the access logger so it can be used to start otel traces/spans
- pass context around, use ThreadID as a type
- client trace must use ctx with outer span so creation has to be delayed, so we need to make the option a factory method instead of the trace ptr directly
- set uniforn and nocatchup as default in the web UI
- also call the hook for curl case
- make usage changeable for FortioMain
- show container version in full version for library/embed case
- show long version in footer of ui (to identify fortiotel)
- bite the bullet and also allow Transport to be changed through options (for fortiotel)
- fix fortio/fortiotel#11 make sure each request/client/thread has their own headers (pre-existing bug in a way)
- adding ChangeFlagsDefault slightly modified/improved from fortiotel
Also
- Adding flag to disable panic (stack trace) on log.Fatalf in #675
- use -healthservice flag for server start and ping as default in #667
- don't normalize URL too early as this could be a tcp or udp runner in #657
- Generalize and clarify/simplify a bit Occurrence type in #655
- Switch to go 1.19.4 in #668
- Lots of dependencies/actions version bumps (depandabot)
New Contributors
Full Changelog: v1.38.4...v1.39.0