- Last updated: 2025-02-02T22:46:17Z
- Generator: thi.ng/monopub
All notable changes to this project will be documented in this file. Only versions published since 2022-01-01 are listed here. Please consult the Git history for older version information. See Conventional Commits for commit guidelines.
Note: Unlisted patch versions only involve non-code or otherwise excluded changes and/or version bumps of transitive dependencies.
0.3.0 (2025-02-02)
0.2.0 (2025-01-30)
- add generics, various other updates (a340f65)
- add generics to most main types/interfaces
- refactor
SessionInterceptor
as class w/ pluggable storage - add
ISessionStore
andInMemorySessionStore
impl - update ServerOpts to allow augmenting request context object
- add default HTTP OPTIONS handler
- update Server cookie parsing
- add StaticOpts.auth flag
- update logRequest() interceptor
- update pkg exports
- update tests
0.1.0 (2025-01-29)
- migrate/import as new pkg (61035bb)
- re-import various security header interceptors (036b9b2)
- add interceptors:
crossOriginOpenerPolicy()
crossOriginResourcePolicy()
referrerPolicy()
strictTransportSecurity()
- add/update tests
- add interceptors:
- update sendFile(), staticFiles() and compression handling (9f4d25a)
- add support for brotli, gzip, deflate
- refactor sendFile() internals
- disable compression by default
- import refactored cacheControl() interceptor (4eff206)
- update pkg deps & exports
- update tests
- re-add etag support/handlers (13fb75e)
- add
StaticOpts.etag
- update
staticFiles()
HEAD/GET handlers - add
Server.unmodified()
- add
etagFileTimeModified()
- add
etagFileHash()
- add
isUnmodified()
helper - remove "content-length" header from HEAD handler
- update tests
- add
- add
server()
factory function (syntax sugar) (ee22ea1)