Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Commit 205c4d8

Browse files
committed
chore(release): release 6.0.0-beta and update the changelog
1 parent 375daf8 commit 205c4d8

File tree

3 files changed

+153
-3
lines changed

3 files changed

+153
-3
lines changed

CHANGELOG.md

Lines changed: 150 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,153 @@
1+
# 6.0.0-beta
2+
3+
Selenium 4 removes the control flow and most of these changes are based on those changes. To see the full list of changes, please refer to selenium-webdriver's [CHANGELOG](https://github.com/SeleniumHQ/selenium/blob/master/javascript/node/selenium-webdriver/CHANGES.md)
4+
5+
## Breaking changes
6+
7+
- Control flow is removed and you should use async await to run your tests.
8+
- Other control flow related items:
9+
- debugger, explore and element explorer have been removed
10+
- jasminewd is no longer a dependency
11+
- ignoreSynchronization has been deprecated and you should use `waitForAngularEnabled`
12+
- Types for selenium-webdriver are currently in the types/ directory and are not complete. We are still missing some type definitions for selenium 4.
13+
- Actions API in selenium-webdriver have changed and they will break your test. Also we have not exported it yet since the type definitions are not complete.
14+
15+
## Features
16+
17+
- ([8420cfa](https://github.com/angular/protractor/commit/8420cfa10fa5e32b037db933d40e84726a895f3c))
18+
chore(debugprint): convert debugprint to TypeScript (#5074)
19+
20+
- ([1e12445](https://github.com/angular/protractor/commit/1e124454d2926a9d2328c1a4516186f533b42b71))
21+
chore(browser): remove timing issues with restart and fork (#5085)
22+
23+
- remove .ready since forking should automatically return a browser
24+
- getNewDriver should return a promised WebDriver that can be awaited
25+
- fix interaction tests and local driver tests
26+
- update unit tests for async await due to getNewDriver fix
27+
closes #5031
28+
- ([d6bbf09](https://github.com/angular/protractor/commit/d6bbf09af0220f683ac7db51ade5cada45876776))
29+
chore(elementexplorer): remove explorer bin file (#5094)
30+
31+
closes #5092
32+
33+
- ([0c325c5](https://github.com/angular/protractor/commit/0c325c56f0aef3b0016890b074938db875ae7a62))
34+
chore(ignoreSynchornization): clean up to use waitForAngularEnabled (#5071)
35+
36+
37+
- ([591653d](https://github.com/angular/protractor/commit/591653d46b390d5b16087b5fb5b65cc680090fed))
38+
chore(debugger): remove debugger and explore methods (#5070)
39+
40+
- ([0541775](https://github.com/angular/protractor/commit/0541775980f0314fc36590eae1791f478588b619))
41+
chore(promises): remove q promises and webdriver promises (#5052)
42+
43+
- remove q promises and webdriver promises from the runner, launcher, plugins, and taskRunner
44+
- add deprecated message to element explorer.
45+
- add unhandledRejection
46+
- update browser versions used in travis tests
47+
48+
- ([7ca7df2](https://github.com/angular/protractor/commit/7ca7df2708b847b9d002bef6d1ed0fe075154aeb))
49+
chore(promises): clean up driver providers and browser control flow (#5034)
50+
51+
Driver providers and tests:
52+
53+
- Use native promises over q promises in driver providers
54+
- Remove driverProviderUseExistingWebDriver since the generation of the selenium server is already
55+
accomplished when providing a selenium address in driverProvider.ts. Also clean up docs and tests.
56+
57+
- Enabled the driverProviderLocal tests
58+
- Clean up JSDocs for q.promise
59+
Basic lib spec:
60+
61+
- Remove auto unwrap test for a WebElement. Reference PR #3471
62+
Browser:
63+
64+
- Remove control flow from waitForAngularEnabled, waitForAngular, and angularAppRoot in the
65+
Browser class.
66+
67+
## Dependencies
68+
69+
- ([93930ff](https://github.com/angular/protractor/commit/93930fff33e94942c8ff6c6c8089dcd70acd6b7b))
70+
deps(jasmine): upgrade jasmine 3.3 (#5102)
71+
72+
- ([373ba02](https://github.com/angular/protractor/commit/373ba029420a5f3f0c05bbb8f739f9fd96ac598b))
73+
deps(selenium): upgrade to selenium 4 (#5095)
74+
75+
- elements workaround for WebElement.equals
76+
- added a better unhandled rejection warning message in the launcher
77+
control flow)bal function wrappers for mocha (these wrappers went away with
78+
- fix the attach to session driver provider
79+
Typing exported from Protractor:
80+
81+
- removed ActionSequence and EventEmitter (actions is currently missing)
82+
- removed promise.Promise
83+
fulfilled, filter, whener, delayed, createFlow, controlFlow, all,
84+
Typings exported from WebDriver:
85+
86+
- removed attachToSession
87+
- removed WebDriver instance methods: touchActions, call
88+
- removed WebElement getSize and getLocation for getRect
89+
- removed redefined global vars for testing
90+
- In the typings, we are missing Options.setScriptTimeout method. This should not impact users
91+
unless they are using the driver.manage() method.
92+
Tests:
93+
94+
- fix element equals test
95+
- add missing 'await' in colorList test that is causing unhandled promise rejections.
96+
- remove control flow related tests
97+
- disable the install test. Installing from "file:../../" is not working.
98+
- fix the attach to session driver provider test to exit with a 1 if errors are encountered
99+
100+
- ([736bbf7](https://github.com/angular/protractor/commit/736bbf7df04b36d1d0fcc7383be2022aa14234b0))
101+
deps(latest): upgrade to the gulp and typescript (#5089)
102+
103+
* deps(latest): upgrade to the gulp and typescript
104+
105+
- add in @types/loglevel and @types/yargs for webdriver-manager
106+
- upgrade tslint clean up for tslint
107+
supported by gulpp 4 and remove run sequence since this feature is
108+
- remove compile to es5
109+
110+
- ([658a1fb](https://github.com/angular/protractor/commit/658a1fb3020ce6a2316113cbbb6f84e513158c82))
111+
deps(webdriver-manager): use replacement (#5088)
112+
113+
publish a beta release of use webdriver-manager-replacement until we
114+
webdriver-manager
115+
closes #5087
116+
117+
118+
# 5.4.2
119+
120+
## Features
121+
122+
- ([db1b638](https://github.com/angular/protractor/commit/db1b6381d463c7cecf11dece2bf9412fecbd6f4d))
123+
feat(saucelabs): add sauceRegion support for eu datacenters (#5083)
124+
125+
This change allows user to define the backend region from sauce via the `sauceRegion` property,
126+
e.g.
127+
128+
```js
129+
sauceUser: process.env.SAUCE_USERNAME,
130+
sauceKey: process.env.SAUCE_ACCESS_KEY,
131+
sauceRegion: 'eu',
132+
```
133+
Will run the test against `https://ondemand.eu-central-1.saucelabs.com:443/wd/hub/.`
134+
135+
```js
136+
sauceUser: process.env.SAUCE_USERNAME,
137+
sauceKey: process.env.SAUCE_ACCESS_KEY,
138+
sauceRegion: 'us',
139+
140+
// the default
141+
sauceUser: process.env.SAUCE_USERNAME,
142+
sauceKey: process.env.SAUCE_ACCESS_KEY,
143+
```
144+
Will run the test against https://ondemand.saucelabs.com:443/wd/hub/
145+
146+
## Fixes
147+
148+
- ([f5dbe13](https://github.com/angular/protractor/commit/f5dbe13ad6755ae812627d8056527e351db8b34c))
149+
fix(deps): @types/node is now a dev dependency
150+
1151
# 5.4.1
2152

3153
## Features

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
},
7777
"license": "MIT",
7878
"engines": {
79-
"node": ">=6.9.x"
79+
"node": ">=8.8.x"
8080
},
81-
"version": "5.4.1"
81+
"version": "6.0.0-beta"
8282
}

0 commit comments

Comments
 (0)