Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
6.0.0-beta.61
->6.0.0-beta.63
6.0.0-beta.61
->6.0.0-beta.63
6.0.0-beta.61
->6.0.0-beta.63
6.0.0-beta.61
->6.0.0-beta.63
6.0.0-beta.61
->6.0.0-beta.63
6.0.0-beta.61
->6.0.0-beta.63
6.0.0-beta.61
->6.0.0-beta.63
4.5.1
->4.5.4
1.2.36
->1.3.0
0.1.16
->0.1.17
1.17.1
->1.19.2
2.11.0
->2.11.2
1.6.2
->1.8.0
1.2.118
->1.2.147
3.19.2
->3.19.4
4.17.5
->4.17.6
16.11.11
->16.11.26
0.27.6
->0.27.10
17.0.37
->17.0.39
17.0.11
->17.0.12
7.1.20
->7.1.23
5.1.16
->5.1.24
5.5.0
->5.13.0
5.5.0
->5.13.0
0.5.4
->0.5.9
6.5.1
->6.6.0
3.20.0
->3.21.0
2.27.0
->2.28.0
7.0.3
->7.1.0
16.0.4
->16.0.10
8.6.0
->8.10.0
7.28.0
->7.29.2
5.1.0
->5.3.0
2.4.5
->2.5.3
3.1.0
->3.2.1
0.28.0-alpha.10
->0.28.0-alpha.11
1.17.1
->1.19.2
6.2.1
->6.2.2
5.2.1
->5.2.2
9.3.3
->9.4.3
2.2.4
->2.2.5
4.5.2
->4.6.2
Release Notes
electron-userland/electron-forge
v6.0.0-beta.63
Compare Source
Bug Fixes
v6.0.0-beta.62
Compare Source
New Features
Bug Fixes
FortAwesome/Font-Awesome
v1.3.0
FortAwesome/react-fontawesome
v0.1.17
Compare Source
Added
Microsoft/playwright
v1.19.2
Compare Source
Highlights
This patch includes the following bug fixes:
https://github.com/microsoft/playwright/issues/12091 - [BUG] playwright 1.19.0 generates more than 1 trace file per testhttps://github.com/microsoft/playwright/issues/121066 - [BUG] Error: EBUSY: resource busy or locked when using volumes in docker-compose with playwright 1.19.0 and mcr.microsoft.com/playwright:v1.15.0-focal
Browser Versions
This version was also tested against the following stable channels:
v1.19.1
Compare Source
Highlights
This patch includes the following bug fixes:
https://github.com/microsoft/playwright/issues/12075 - [Question] After update to 1.19 firefox fails to runhttps://github.com/microsoft/playwright/issues/120900 - [BUG] did something change on APIRequest/Response APIs ?
Browser Versions
This version was also tested against the following stable channels:
v1.19.0
Compare Source
Version 1.19
Playwright Test Updates
Soft assertions
Playwright Test v1.19 now supports soft assertions. Failed soft assertions do not terminate test execution, but mark the test as failed. Read more in our documentation.
Custom error messages
You can now specify a custom error message as a second argument to the
expect
andexpect.soft
functions, for example:The error would look like this:
Parallel mode in file
By default, tests in a single file are run in order. If you have many independent tests in a single file, you can now
run them in parallel with
method: test.describe.configure
:It is unlikely that this change will affect you, no action is required if your tests keep running as they did.
We've noticed that in rare cases, the set of tests to be executed was configured in the global setup by means of the environment variables. We also noticed some applications that were post processing the reporters' output in the global teardown. If you are doing one of the two, learn more
Locator Updates
Locator now supports a
has
option that makes sure it contains another locator inside:The snippet above will select article that has highlight in it and will press the button in it.
Read more in locator documentation
Other Updates
method: Locator.page
method: Page.screenshot
andmethod: Locator.screenshot
now automatically hides blinking careturl
intestConfig.webServer
to ensure your web server is ready before running the testsproperty: TestInfo.errors
andproperty: TestResult.errors
that contain all failed assertions and soft assertions.Browser Versions
This version was also tested against the following stable channels:
v1.18.1
Compare Source
Highlights
This patch includes improvements to the TypeScript support and the following bug fixes:
https://github.com/microsoft/playwright/issues/11550 - [REGRESSION]: Errors inside route handler does not lead to unhandled rejections anymorehttps://github.com/microsoft/playwright/issues/115522 - [BUG] Could not resolve "C:\repo\framework\utils" in file C:\repo\tests\test.ts.
Browser Versions
This version was also tested against the following stable channels:
v1.18.0
Compare Source
Locator Improvements
locator.dragTo(locator)
][locator.dragTo(locator)]expect(locator).toBeChecked({ checked })
][expect(locator).toBeChecked({ checked })]Testing API improvements
expect(response).toBeOK()
][expect(response).toBeOK()]testInfo.attach()
][testInfo.attach()]test.info()
][test.info()]Improved TypeScript Support
tsconfig.json
'sbaseUrl
andpaths
, so you can use aliasesPW_EXPERIMENTAL_TS_ESM
that allows importing ESM modules in your TS code, without the need for the compile step. Don't forget the.js
suffix when you are importing your esm modules. Run your tests as follows:Create Playwright
The
npm init playwright
command is now generally available for your use:This will scaffold everything needed to get started with Playwright Test: configuration file, optionally add examples, a GitHub Action workflow and a first test
example.spec.ts
.New APIs & changes
testCase.repeatEachIndex
][testCase.repeatEachIndex] APIacceptDownloads
][acceptDownloads] option now defaults totrue
Breaking change: custom config options
Custom config options are a convenient way to parametrize projects with different values. Learn more in the parametrization guide.
Previously, any fixture introduced through [
test.extend
][test.extend] could be overridden in the [testProject.use
][testProject.use] config section. For example,The proper way to make a fixture parametrized in the config file is to specify
option: true
when defining the fixture. For example,Browser Versions
This version was also tested against the following stable channels:
(
1.18.0-beta-1642620709000
)v1.17.2
Compare Source
Bugfixes
#11274 - fix: pin colors to 1.4.0
#11228 - fix(click): don't fail on stale context while click
popperjs/popper-core
v2.11.2
Compare Source
v2.11.1
Compare Source
Bug Fixes
Round computed offsets after all the modifiers math is executed (#1418)
Fix regression with detection of clipping boundaries (#1478)
reduxjs/redux-toolkit
v1.8.0
Compare Source
This release adds the new "listener" middleware, updates
configureStore
's types to better handle type inference from middleware that overridedispatch
return values, and updates our TS support matrix to drop support for TS < 4.1.Changelog
New "Listener" Side Effects Middleware
RTK has integrated the thunk middleware since the beginning. However, thunks are imperative functions, and do not let you run code in response to dispatched actions. That use case has typically been covered with libraries like
redux-saga
(which handles side effects with "sagas" based on generator functions),redux-observable
(which uses RxJS observables), or custom middleware.We've added a new "listener" middleware to RTK to cover that use case. The listener middleware is created using
createListenerMiddleware()
, and lets you define "listener" entries that contain an "effect" callback with additional logic and a way to specify when that callback should run based on dispatched actions or state changes.Conceptually, you can think of this as being similar to React's
useEffect
hook, except that it runs logic in response to Redux store updates instead of component props/state updates.The listener middleware is intended to be a lightweight alternative to more widely used Redux async middleware like sagas and observables. While similar to thunks in level of complexity and concept, it can replicate some common saga usage patterns. We believe that the listener middleware can be used to replace most of the remaining use cases for sagas, but with a fraction of the bundle size and a much simpler API.
Listener effect callbacks have access to
dispatch
andgetState
, similar to thunks. The listener also receives a set of async workflow functions liketake
,condition
,pause
,fork
, andunsubscribe
, which allow writing more complex async logic.Listeners can be defined statically by calling
listenerMiddleware.startListening()
during setup, or added and removed dynamically at runtime with specialdispatch(addListener())
anddispatch(removeListener())
actions.The API reference is available at:
https://redux-toolkit.js.org/api/createListenerMiddleware
Huge thanks to @FaberVitale for major contributions in refining the middleware API and implementing key functionality.
Basic usage of the listener middleware looks like:
You can use it to write more complex async workflows, including pausing the effect callback until a condition check resolves, and forking "child tasks" to do additional work:
configureStore
Middleware Type ImprovementsMiddleware can override the default return value of
dispatch
.configureStore
tries to extract any declareddispatch
type overrides from themiddleware
array, and uses that to alter the type ofstore.dispatch
.We identified some cases where the type inference wasn't working well enough, and rewrote the type behavior to be more correct.
TypeScript Support Matrix Updates
RTK now requires TS 4.1 or greater to work correctly, and we've dropped 4.0 and earlier from our support matrix.
Other Changes
The internal logic for the serializability middleware has been reorganized to allow skipping checks against actions, while still checking values in the state.
What's Changed
Since most of the implementation work on the middleware was done over the last few months, this list only contains the most recent PRs since 1.7.2. For details on the original use case discussions and the evolution of the middleware API over time, see:
PRs since 1.7.2:
Full Changelog: reduxjs/redux-toolkit@v1.7.2...v1.8.0
v1.7.2
Compare Source
This release fixes a TS types bug with RTK Query generated selectors, makes the RTKQ structural sharing behavior configurable, adds an option to have the serializability middleware ignore all actions, and has several minor bugfixes and enhancements to RTK Query.
Changelog
RTK Query Selector TS Types Fix
Several users had reported that as of 1.7.0 selectors generated via
apiSlice.endpoint.select()
were failing to compile when used, with TS errors that looked likeType '{}' is missing the following properties from type 'CombinedState<>
.We've fixed the issue, and selectors should now compile correctly when used with TS.
Additional Configuration Options
RTK Query implements a technique called "structural sharing" to preserve existing object references if possible when data for an endpoint is re-fetched. RTKQ recurses over both data structures, and if the contents appear to be the same, keeps the existing values. That helps avoid potential unnecessary re-renders in the UI, because otherwise the entire re-fetched result would be new obj
Configuration
📅 Schedule: "before 3am on Monday" (UTC).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by WhiteSource Renovate. View repository job log here.