6.0.0 (2021-01-13)
Bug Fixes
- ci: abandon browserstack tests for Safari and IE (#3615) (04a811d)
- client: do not reset karmaNavigating in unload handler (#3591) (4a8178f), closes #3482
- context: do not error when karma is navigating (#3565) (05dc288), closes #3560
- cve: update ua-parser-js to 0.7.23 to fix CVE-2020-7793 (#3584) (f819fa8)
- cve: update yargs to 16.1.1 to fix cve-2020-7774 in y18n (#3578) (3fed0bc), closes #3577
- deps: bump socket-io to v3 (#3586) (1b9e1de), closes #3569
- middleware: catch errors when loading a module (#3605) (fec972f), closes #3572
- server: clean up close-server logic (#3607) (3fca456)
- test: clear up clearContext (#3597) (8997b74)
- test: mark all second connections reconnects (#3598) (1c9c2de)
Features
- cli: error out on unexpected options or parameters (#3589) (603bbc0)
- client: update banner with connection, test status, ping times (#3611) (4bf90f7)
- server: print stack of unhandledrejections (#3593) (35a5842)
- server: remove deprecated static methods (#3595) (1a65bf1)
- remove support for running dart code in the browser (#3592) (7a3bd55)
BREAKING CHANGES
- server: Deprecated
require('karma').server.start()
andrequire('karma').Server.start()
variants were removed from the public API. Instead use canonical form:
const { Server } = require('karma');
const server = new Server();
server.start();
- cli: Karma is more strict and will error out if unknown option or argument is passed to CLI.
- Using Karma to run Dart code in the browser is no longer supported. Use your favorite Dart-to-JS compiler instead.
dart
file type has been removed without a replacement.
customFileHandlers
DI token has been removed. Use middleware
to achieve similar functionality.
customScriptTypes
DI token has been removed. It had no effect, so no replacement is provided.
- deps: Some projects have socket.io tests that are version sensitive.