Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade karma to version 6.1.0 #791

Closed
wants to merge 1 commit into from
Closed

Conversation

depfu[bot]
Copy link
Contributor

@depfu depfu bot commented Feb 4, 2021

Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ karma (5.2.3 → 6.1.0) · Repo · Changelog

Release Notes

6.1.0

6.1.0 (2021-02-03)

Features

  • config: improve karma.config.parseConfig error handling (#3635) (9dba1e2)

6.0.4

6.0.4 (2021-02-01)

Bug Fixes

  • cli: temporarily disable strict parameters validation (#3641) (9c755e0), closes #3625
  • client: fix a false positive page reload error in Safari (#3643) (2a57b23)
  • ensure that Karma supports running tests on IE 11 (#3642) (dbd1943)

6.0.3

6.0.3 (2021-01-27)

Bug Fixes

  • plugins: refactor instantiatePlugin from preproprocessor (#3628) (e02858a)

6.0.2

6.0.2 (2021-01-25)

Bug Fixes

6.0.1

6.0.1 (2021-01-20)

Bug Fixes

  • server: set maxHttpBufferSize to the socket.io v2 default (#3626) (69baddc), closes #3621
  • restore customFileHandlers provider (#3624) (25d9abb)

6.0.0

6.0.0 (2021-01-13)

Bug Fixes

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() 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 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.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 41 commits:


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu depfu bot added the depfu label Feb 4, 2021
@depfu depfu bot mentioned this pull request Feb 4, 2021
@depfu
Copy link
Contributor Author

depfu bot commented Feb 13, 2021

Closed in favor of #792.

@depfu depfu bot closed this Feb 13, 2021
@depfu depfu bot deleted the depfu/update/npm/karma-6.1.0 branch February 13, 2021 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants