plumber v1.2.0
Breaking changes
- First line of endpoint comments interpreted as OpenAPI 'summary' field and subsequent comment lines interpreted as 'description' field. (@wkmor1 #805)
New features
-
Static file handler now serves HEAD requests. (#798)
-
Introduces new GeoJSON serializer and parser. GeoJSON objects are parsed into
sf
objects andsf
orsfc
objects will be serialized into GeoJSON. (@JosiahParry, #830) -
Add new Octet-Stream serializer. This is a wrapper around the Content Type serializer with type
application/octet-stream
. (#864) -
Update feather serializer to use the arrow package. The new default feather MIME type is
application/vnd.apache.arrow.file
. (@pachadotdev #849) -
Add parquet serializer and parser by using the arrow package (@pachadotdev #849)
-
Updated example
14-future
to usepromises::future_promise()
and added an endpoint that uses{coro}
to write simpler async /{promises}
code (#785) -
Add
path
argument topr_cookie()
allowing Secure cookies to define where they are served (@jtlandis #850)
Bug fixes
-
OpenAPI specification collision when using
examples
. (@meztez #820) -
Static handler returns Last-Modified response header. (#798)
-
OpenAPI response type detection had a scoping issue. Use serializer defined
Content-Type
header instead. (@meztez, #789) -
The default shared secret filter returns error responses without throwing an error. (#808)
-
Remove response bodies (and therefore the Content-Length header) for status codes which forbid it under the HTTP specification (e.g. 1xx, 204, 304). (@atheriel #758, @meztez #760)
-
Decode path URI before attempting to serve static assets (@meztez #754).