Skip to content

Commit 3653caf

Browse files
committedJan 13, 2021
chore(release): 6.0.0 [skip ci]
# [6.0.0](v5.2.3...v6.0.0) (2021-01-13) ### Bug Fixes * **ci:** abandon browserstack tests for Safari and IE ([#3615](#3615)) ([04a811d](04a811d)) * **client:** do not reset karmaNavigating in unload handler ([#3591](#3591)) ([4a8178f](4a8178f)), closes [#3482](#3482) * **context:** do not error when karma is navigating ([#3565](#3565)) ([05dc288](05dc288)), closes [#3560](#3560) * **cve:** update ua-parser-js to 0.7.23 to fix CVE-2020-7793 ([#3584](#3584)) ([f819fa8](f819fa8)) * **cve:** update yargs to 16.1.1 to fix cve-2020-7774 in y18n ([#3578](#3578)) ([3fed0bc](3fed0bc)), closes [#3577](#3577) * **deps:** bump socket-io to v3 ([#3586](#3586)) ([1b9e1de](1b9e1de)), closes [#3569](#3569) * **middleware:** catch errors when loading a module ([#3605](#3605)) ([fec972f](fec972f)), closes [#3572](#3572) * **server:** clean up close-server logic ([#3607](#3607)) ([3fca456](3fca456)) * **test:** clear up clearContext ([#3597](#3597)) ([8997b74](8997b74)) * **test:** mark all second connections reconnects ([#3598](#3598)) ([1c9c2de](1c9c2de)) ### Features * **cli:** error out on unexpected options or parameters ([#3589](#3589)) ([603bbc0](603bbc0)) * **client:** update banner with connection, test status, ping times ([#3611](#3611)) ([4bf90f7](4bf90f7)) * **server:** print stack of unhandledrejections ([#3593](#3593)) ([35a5842](35a5842)) * **server:** remove deprecated static methods ([#3595](#3595)) ([1a65bf1](1a65bf1)) * remove support for running dart code in the browser ([#3592](#3592)) ([7a3bd55](7a3bd55)) ### BREAKING CHANGES * **server:** Deprecated `require('karma').server.start()` and `require('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`](http://karma-runner.github.io/5.2/config/configuration-file.html#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.
1 parent 04a811d commit 3653caf

File tree

3 files changed

+51
-2
lines changed

3 files changed

+51
-2
lines changed
 

‎CHANGELOG.md

+45
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,48 @@
1+
# [6.0.0](https://github.com/karma-runner/karma/compare/v5.2.3...v6.0.0) (2021-01-13)
2+
3+
4+
### Bug Fixes
5+
6+
* **ci:** abandon browserstack tests for Safari and IE ([#3615](https://github.com/karma-runner/karma/issues/3615)) ([04a811d](https://github.com/karma-runner/karma/commit/04a811dc7a4b37aa56c0405880f03cb2493bf820))
7+
* **client:** do not reset karmaNavigating in unload handler ([#3591](https://github.com/karma-runner/karma/issues/3591)) ([4a8178f](https://github.com/karma-runner/karma/commit/4a8178f3a0504ef007b23ef0fd8f5ca128f0c5c6)), closes [#3482](https://github.com/karma-runner/karma/issues/3482)
8+
* **context:** do not error when karma is navigating ([#3565](https://github.com/karma-runner/karma/issues/3565)) ([05dc288](https://github.com/karma-runner/karma/commit/05dc28801627e3ce7054ae548046714dc2cf7a5e)), closes [#3560](https://github.com/karma-runner/karma/issues/3560)
9+
* **cve:** update ua-parser-js to 0.7.23 to fix CVE-2020-7793 ([#3584](https://github.com/karma-runner/karma/issues/3584)) ([f819fa8](https://github.com/karma-runner/karma/commit/f819fa843fa0633edbe2af6ac2889e25ea2cb639))
10+
* **cve:** update yargs to 16.1.1 to fix cve-2020-7774 in y18n ([#3578](https://github.com/karma-runner/karma/issues/3578)) ([3fed0bc](https://github.com/karma-runner/karma/commit/3fed0bc7dd042a09c8aec55c059654781a4584ec)), closes [#3577](https://github.com/karma-runner/karma/issues/3577)
11+
* **deps:** bump socket-io to v3 ([#3586](https://github.com/karma-runner/karma/issues/3586)) ([1b9e1de](https://github.com/karma-runner/karma/commit/1b9e1de7d081e1c205debff27c6b5e1fe0585dee)), closes [#3569](https://github.com/karma-runner/karma/issues/3569)
12+
* **middleware:** catch errors when loading a module ([#3605](https://github.com/karma-runner/karma/issues/3605)) ([fec972f](https://github.com/karma-runner/karma/commit/fec972ff63760f9606a4cef7673a68c55c880722)), closes [#3572](https://github.com/karma-runner/karma/issues/3572)
13+
* **server:** clean up close-server logic ([#3607](https://github.com/karma-runner/karma/issues/3607)) ([3fca456](https://github.com/karma-runner/karma/commit/3fca456a02a65304d6423d6311fb55f83e73d85e))
14+
* **test:** clear up clearContext ([#3597](https://github.com/karma-runner/karma/issues/3597)) ([8997b74](https://github.com/karma-runner/karma/commit/8997b7465de3c5f7e436078b57acae98de1ce39a))
15+
* **test:** mark all second connections reconnects ([#3598](https://github.com/karma-runner/karma/issues/3598)) ([1c9c2de](https://github.com/karma-runner/karma/commit/1c9c2de54fa1abcb2c0edceebb159440b77e4863))
16+
17+
18+
### Features
19+
20+
* **cli:** error out on unexpected options or parameters ([#3589](https://github.com/karma-runner/karma/issues/3589)) ([603bbc0](https://github.com/karma-runner/karma/commit/603bbc0db2ef4e6b8474f97a8255587f2a5f924e))
21+
* **client:** update banner with connection, test status, ping times ([#3611](https://github.com/karma-runner/karma/issues/3611)) ([4bf90f7](https://github.com/karma-runner/karma/commit/4bf90f70f46cddf52a55d8f2b9ce0ccd2d4a4d3b))
22+
* **server:** print stack of unhandledrejections ([#3593](https://github.com/karma-runner/karma/issues/3593)) ([35a5842](https://github.com/karma-runner/karma/commit/35a584234b00297dc511300bb6e42eeaceac8345))
23+
* **server:** remove deprecated static methods ([#3595](https://github.com/karma-runner/karma/issues/3595)) ([1a65bf1](https://github.com/karma-runner/karma/commit/1a65bf1181bc9eb5c28ba0130ab7d90e89b21918))
24+
* remove support for running dart code in the browser ([#3592](https://github.com/karma-runner/karma/issues/3592)) ([7a3bd55](https://github.com/karma-runner/karma/commit/7a3bd5545fa1307c754419252fa35ff0b7572ae4))
25+
26+
27+
### BREAKING CHANGES
28+
29+
* **server:** Deprecated `require('karma').server.start()` and `require('karma').Server.start()` variants were removed from the public API. Instead use canonical form:
30+
31+
```
32+
const { Server } = require('karma');
33+
const server = new Server();
34+
server.start();
35+
```
36+
* **cli:** Karma is more strict and will error out if unknown option or argument is passed to CLI.
37+
* Using Karma to run Dart code in the browser is no longer supported. Use your favorite Dart-to-JS compiler instead.
38+
39+
`dart` file type has been removed without a replacement.
40+
41+
`customFileHandlers` DI token has been removed. Use [`middleware`](http://karma-runner.github.io/5.2/config/configuration-file.html#middleware) to achieve similar functionality.
42+
43+
`customScriptTypes` DI token has been removed. It had no effect, so no replacement is provided.
44+
* **deps:** Some projects have socket.io tests that are version sensitive.
45+
146
## [5.2.3](https://github.com/karma-runner/karma/compare/v5.2.2...v5.2.3) (2020-09-25)
247

348

‎package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@
124124
"Steve Mao <steve.mao@healthinteract.com.au>",
125125
"Steve Van Opstal <stevevanopstal@gmail.com>",
126126
"Sylvain Hamel <sylvainhamel0@gmail.com>",
127+
"SymbioticKilla <59652865+SymbioticKilla@users.noreply.github.com>",
127128
"Terry <zhangwenlp@vip.qq.com>",
128129
"Thomas Parisot <thomas@oncle-tom.net>",
129130
"Tom Erik Støwer <tomerik@getkahoot.com>",
@@ -152,6 +153,7 @@
152153
"Andrey Chalkin <L2jLiga@gmail.com>",
153154
"Andy Joslin <andytjoslin@gmail.com>",
154155
"Anton Usmansky <cody0@yandex-team.ru>",
156+
"Athur Ming <mingguobin@live.com>",
155157
"Atul Bhosale <atul1bhosale@gmail.com>",
156158
"AugustinLF <augustin.public@gmail.com>",
157159
"AvnerCohen <israbirding@gmail.com>",
@@ -237,6 +239,7 @@
237239
"Jon Bretman <jon.bretman@gmail.com>",
238240
"Jonathan ES Lin <ernsheong@gmail.com>",
239241
"Jonathan Felchlin <jonathan@xgecko.com>",
242+
"Jonathan Ginsburg <jon@than.ml>",
240243
"Jonathan Niles <jniles@users.noreply.github.com>",
241244
"Josh Lory <josh.lory@code.org>",
242245
"João Marcos Duarte <joumd86@gmail.com>",
@@ -266,6 +269,7 @@
266269
"Martin Jul <martin@mjul.com>",
267270
"Martin Lemanski <martin.lemanski@gmx.at>",
268271
"Martin Probst <martin@probst.io>",
272+
"Marvin Heilemann <m.heilemann@protonmail.com>",
269273
"Matias Niemelä <matias@yearofmoo.com>",
270274
"Matthew Amato <matt.amato@gmail.com>",
271275
"Matthew Cale <mattc41190@gmail.com>",
@@ -481,7 +485,7 @@
481485
"engines": {
482486
"node": ">= 10"
483487
},
484-
"version": "5.2.3",
488+
"version": "6.0.0",
485489
"license": "MIT",
486490
"husky": {
487491
"hooks": {

0 commit comments

Comments
 (0)
Please sign in to comment.