All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
Release date UNRELEASED
- (docs api exchange): unify arglists, add link to javadocs
Release date 2023-04-27
- (feat api exchange): add
exchange/dispatching
macro- add
exchange/throw-in
function - add
exchange/dispatch-runnable
function - deprecate
exchange/async-dispatch
macro - deprecate
exchange/async-throw
function
- add
Release date 2023-03-28
- (deps): upgrade undertow "2.3.5.Final"
- (deps): upgrade strojure/web-security "1.2.0-38"
- (feat): generating CSP nonce changed from 18 to 16 bytes, URL encoded
Release date 2023-03-22
- (feat session): use
HttpOnly
andSameSite=Lax
in session cookie defaults
Release date 2023-03-21
- (feat api): add type hint to
exchange/get-input-stream
- (fix api BREAKING): change
:report-callback
CSP option to:report-handler
Release date 2023-03-20
- (feat): add
handler/security
with options::csp
– content security policy header:hsts
– Strict-Transport-Security header:referrer-policy
– Referrer-Policy header:content-type-options
– X-Content-Type-Options header
Release date 2023-03-09
- (chore): Change license to Unlicense.
Release date 2023-02-28
- Upgrade Undertow to version
2.3.4.Final
.
Release date 2023-02-27
- Implement
types/as-websocket-callback
using protocols for better performance. - Add
handler/set-response-header
. - Implement
types/as-listener-builder
using protocol. - Implement
types/as-websocket-listener
using protocol. - Implement
types/as-websocket-connection-callback
using protocol. - Add
handler/on-response-commit
. - Use full path in protocol function typehints.
Release date 2023-01-17
- Change
:class-path
resource manager to:classpath-files
ignoring directories.
Release date 2023-01-13
- Implement
types/bean*
for conversion of Java classes to maps. - Define handler types as symbols.
- Define handler type aliases via inheritance.
- Change
object-type
implementation for symbol/keyword/class/var. - Fix
as-resource-manager
forhandler/resource
.
Release date 2022-12-25
- Cast :key-managers, :trust-managers to Java arrays.
- Upgrade Undertow to version
2.3.2.Final
Release date 2022-12-24
- BUGFIX: Missing
stop-service
multimethod for ServerInstance
Release date 2022-12-23
- Rename
handler/session-attachment
tosession
- Rename wrapper utility functions
handler/as-arity-1-wrapper
toarity1-wrapper
handler/as-arity-2-wrapper
toarity2-wrapper
- Replace
handler/wrap-handler
withchain
function
Release date 2022-12-22
- Rename
handler/force-dispatch
todispatch
.
Release date 2022-12-22
- Return closeable instance in
server/start
. - Remove
server/closeable
function. - Rename
handler/exchange-fn
towith-exchange
. - Accept websocket callback in
:callback
.
Release date 2022-12-21
- Remove namespace from server configuration options.
Release date 2022-12-21
- Add
server/closable
function. - Import handler namespace for declarative configurations.
- Add
handler/exchange-fn
function. - Rename configuration option
::server/builder-fn-wrapper
.
Release date 2022-12-20
- Implement Undertow API.