- allow to use Browser Cache for serving files from FS
- fix serving directories with listing from FS
- add public method
respond
where you can use your ownResponse
object
- allow using glob as domain name
- add
caseSenstive
options to routes #38
- don't pick wildcard when other routes found #36
- fix check if request origin match
- fix handling of binary data in FileSystem
- fix for directories that don't end with trailing slash #33
- fix for default options object in Wayne constructor
- add
filter
option to Wayne constructor
- allow using full URL to intercept external URLs
- fix intercepting html from FileSystem middleware
- fix check if request came from a different domain in the FileSystem
- fix throwing error from FileSystem when different HTTP requests is sent
- ignore requests to different domains with FileSystem
- allow to use async function in
test
anddir
with FileSystem middleware
- allow to use non promise FS libraries like
BrowserFS
with FileSystem middleware - add
dir
option to FileSystem middleware to change default FS directory
- fix errors with
FileSystem
whenprefix
ortest
are not defined
- add
default_file
(defaultindex.html
) forFileSystem
- add
test
callback to check when to serve files from fs
- don't show stack trace when request is blocked by AdBlock
- make
HTTPResponse::fetch
acceptRequest
object
- add
HTTPResponse::download
method
- add
HTTPResponse::fetch
method
- improve the URL parser #24
- add abstraction over RPC mechanism (export
rpc
andsend
)
- fix infinite await when not using middlewares
- remove console.log on every request to FS
- add support for 204 HTTP response
- add middleware #18
- add filesystem middleware #3
- make 404 and 500 error pages show Wayne in h1 tag
- fix 404 error on async code from a route #19
- add error handler support #10
- add path with globs #16
- add
sse()
method for Server-Sent Events #12
- fix cross-origin redirect #2
- Inital version