Releases: hummingbird-project/hummingbird
Releases · hummingbird-project/hummingbird
1.6.2
v1.6.1
Patch release changes
- Use PartialKeyPath hash as key in extension dictionary to make them Sendable
- Added minor optimisations when accessing extensions
- HBMediaType can be match in swift statements with types with additional properties matching to types without properties.
v1.6.0
Minor release changes
- Add
HBTracingMiddleware
implementing recording of tracing spans as defined in the Open Telemetry specification. - Add support for propagating tracing context through the EventLoop chain (via HBRequest), so it can be passed onto services used by route handlers.
Patch release changes
- Add support for
if-range
header inHBFileMiddleware
v1.5.1
Patch release changes
- Fixed issue parsing
.env
file with empty line at the end
v1.5.0
Minor release changes
- Update minimum required Swift version to 5.6.
- Remove all
#if compiler
checks for Swift concurrency and Sendable conformance
- Remove all
Patch release changes
- Fix issue with
.env
parsing of comments before an empty line. PR #189 from @sliemeobn
v1.4.0
Minor release changes
- Add support for loading
.env
files viaHBEnvironment.dotEnv()
- Add
HBEnvironment.merging
to create anHBEnvironment
by merging two otherHBEnvironment
together. Can use this alongside.dotEnv()
to merge contents of.env
file into your environment. - Add new
HBApplication.Configuration
membermaxStreamedUploadSize
so we can have different payload size requirements for streamed and non-streamed routes.maxUploadSize
applies to request payloads from non-streamed routes.maxStreamedUploadSize
applies to request payloads that are streamed.
## Patch release changes
- Fixed crash when collating large byte buffer for async route
v1.3.0
Minor release changes
- Router improvements. PRs #177, #179
**
catch all.- match path components with prefix
file.*
or suffix*.ext
. - Additional parameter capture format
${param}
which can also be used to capture the prefix or suffix of a path component.
- Added
HBParameters.getCatchAll()
to return array of path components caught by**
.
Other changes
- Using package-benchmark for benchmarking hummingbird. Includes CI to check for performance degradation.
- Added tests for
FlatDictionary
.
v1.2.0
v1.1.1
Patch release changes
- Fix bug where releasing Connections from ConnectionPool could reuse the connection immediately and also add it to the available connection list
v1.1.0
Minor release changes
- Conform
AsyncThrowingStream
andAsyncStream
toHBResponseGenerator
so they can be returned from a route. - Added
AsyncSequence.responseGenerator
which can be returned from a route.
Patch release changes
- Fix issue when
HBApplication.stop
was not waiting until the lifecycle was fully shutdown.