- 00da4255: Update es-module-lexer to 1.0.0
- 39610b4c: Handle 'upgrade' requests only for matched url.
- b2c081d8: When serving content to an iframe within a csp restricted page, the websocket script may not be able to access the parent window. Accessing it may result in an uncaught DOMException which we now handle.
- a09282b4: Replace chalk with nanocolors
- 369394fe: Update dependency es-module-lexer to ^0.9.0
- dc61726d: Update dependency es-module-lexer to ^0.7.1
- fca0a4c3: Safely stringify error messages in tests
- e7efd5b7: use script origin to connect websocket
- 6c5893cc: use unescaped import specifier
- 780a3520: Use http2 config for websocket protocol check
- 6772f9cc: Detect websocket url from server
- d59241f1: add support for base path
- 1265c13e: Migrate websocket endpoint away from '/' to '/wds'. This allows end users to potentially proxy web sockets with out colliding with WebDevServer's websocket.
- 83750cd2: fallback to fetch on IE11
- 096fe25f: add stream close error to filter
- Updated dependencies [b5af71e3]
- @web/parse5-utils@1.2.0
- 2c223cf0: filter server stream errors
- 8861ded8: feat(dev-server-core): share websocket instances with iframe parent
- 1dd7cd0e: export outside root dir utils
- 375116ad: fix handling of paths resolved outside the root dir. we now correctly use the resolved path when resolving relative imports and when populating the transform cache
- eceb6295: match dotfiles when resolving mimetypes
- 0f613e0e: handle modules resolved outside root dir
- fb56854: Bust cache when a file is deleted
- 07edac1: improve handling of dynamic imports
- f0472df: add fileParsed hook
- b025992: add debug logging flag
- a03749e: mark websocket module as resolved import
- 835d16f: add koa types dependency
- e8ebfcc: ensure user plugins are run after builtin plugins
- 1ba84e4: Expose webSocketServer on the WebSocketManager in case developers using the Node API want apply their own WebSocket message handling, but reusing the WebSocket Server of the dev server.
- 2291ca1: export websocket types
- 3a2dc12: fixed caching of index.html using directory path
- 123c0c0: don't serve compressed files
- 5ba52dd: properly close server on exit
- 8199b68: use web sockets for browser - server communication
- b1306c9: fixed race condition caching headers
- cd1213e: improved logging of resolving outside root dir
- 69717a2: improved logic which stops the server
- 05f826e: add missing get-stream package
- 0cc6a82: expose ErrorWithLocation class
- bc1741d: expose getHtmlPath function
- aa65fd1: run build before publishing
-
9be1f95: Added native node es module entrypoints. This is a breaking change. Before, native node es module imports would import a CJS module as a default import and require destructuring afterwards:
import playwrightModule from '@web/test-runner-playwright'; const { playwrightLauncher } = playwrightModule;
Now, the exports are only available directly as a named export:
import { playwrightLauncher } from '@web/test-runner-playwright';
- 96dd279: watch the HTML file for inline scripts
- 62ff8b2: make tests work on windows
- 8fb820b: add an easy way to change served mime types
- 04a2cda: make test-runner-browserstack work with dev-server-core
- 9712125: fix not watching files with syntax errors
- 8892f98: allow downstream middleware to serve files
- 8596276: move logger to test runner cli
- db5baff: cleanup and sort dependencies
- c104663: run legacy plugin after resolving imports
- 2672e8a: expose isInlineScriptRequest function
- 59d3efe: remove dependency on building-utils
-
c4cb321: Use web dev server in test runner. This contains multiple breaking changes:
- Browsers that don't support es modules are not supported for now. We will add this back later.
- Most es-dev-server config options are no longer available. The only options that are kept are
plugins
,middleware
,nodeResolve
andpreserveSymlinks
. - Test runner config changes:
- Dev server options are not available on the root level of the configuration file.
nodeResolve
is no longer enabled by default. You can enable it with the--node-resolve
flag ornodeResolve
option.middlewares
option is now calledmiddleware
.testFrameworkImport
is now calledtestFramework
.address
is now split intoprotocol
andhostname
.
- 9302247: allow plugins to set a transform cache key
- c5da67f: always deduce mime type
- a65e3c9: first setup