-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Potential v7 breaking changes #3503
Comments
@johnjbarton Since we merged #3586 with the breaking change, next release will be 6.0.0. What do you think about the points described in this issue? I'm thinking to start opening PRs for them, ending with "Drop support for legacy browsers", which should fix CI on master (currently fails in Safari 9) and publish 6.0.0 containing all the breaking changes in one release. |
Some of these would be great. The At present it seems like our semantic release is broken. So to prevent a release I need to stop trying to get it work or otherwise disable it. I'll look in to the latter. I don't want to wait too long however. |
No problems. I'll try to get PRs up in the coming days. |
@johnjbarton Created a PR for deprecated API removal (actually there were not so much to remove 😄). Everything else described in this issue depends on the dropping of legacy browsers support, so I'll wait for the confirmation that we can actually drop this support before I start implementing the rest. |
I think we should stick with the shorter list for v6, including the reconnect changes I am working on. We can then start v7 immediately focusing on the IE<11 code. Any v6 issues will be cleared up then. |
If you land #3605 too, you can say that v6 will have full module support... :-) |
I believe that #3609 will cause the release to happen. But then again I said that before.... |
I was looking at the dependencies, and maybe |
@XhmikosR Yes, I agree. See "Remove support for http2 module."` checkbox in the issue. |
This issue is to track potential improvements to Karma, which require breaking changes. It will be updated with more points as I discover them.
Array.prototype.includes()
method instead of a full-fledged for-loop inkarma/client/karma.js
Line 242 in 6b3bf3b
socket.io
tows
to simplify code and reduce amount of dependencies (WebSockets are supported in any reasonably alive browsers, so it may be a good point for a switch as we no longer need fallback mechanisms with only IE 11 supported) - may not do that given that not all proxies, e.g. BrowserStack Local support WebSocketscustomFileHandlers
provider once ecosystem is readyhttp2
module. It was implemented over a long deprecated https://yarnpkg.com/package/http2 package. WebSockets in general (WebSocket over HTTP2 websockets/ws#1458) and socket.io, in particular, do not work over HTTP/2 (ECONNRESET with HTTP/2 upgrade RST socketio/socket.io#3564). Node'shttp2
module is not compatible withhttp
andhttps
, so we'll have to build some complex adapters. And on top of that, the current implementation does not seem to work at the moment (Http2 module -> Chrome ERR_SSL_VERSION_OR_CIPHER_MISMATCH error #2761).parseConfig()
flags introduced in feat: support asynchronousconfig.set()
call in karma.conf.js #3660 and feat(config): improvekarma.config.parseConfig
error handling #3635 and enable behavior by defaultparseConfig()
resolveconfigFile
path relative to the CWD instead of relative to thekarma/lib/config.js
to make programmatic API and CLI work the same (basePath does not work properly in some circumstances #1636)basePath
or CWD for consistent resolution using both CLI and programmatic approachesjsVersion
configuration property support.mkdirp
dependency and use docs instead (See fix(helper): make mkdirIfNotExists helper resilient to concurrent calls #3750).The text was updated successfully, but these errors were encountered: