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

chore(release): version bump and update changelog #3942

Merged
merged 1 commit into from
Jan 9, 2017

Conversation

cnishina
Copy link
Member

@cnishina cnishina commented Jan 6, 2017

No description provided.

See the [selenium-webdriver changelog](https://github.com/SeleniumHQ/selenium/blob/master/javascript/node/selenium-webdriver/CHANGES.md). Some of the breaking change highlights are summarized below:

- Minimum node version 6.9.x for selenium-webdriver dependency.
- Jasmine typescript users will need to include the `@types/jasmine`. This
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TypeScript capitalization

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.

This version includes big changes around upgrading to selenium-webdriver 3.0.x.
See the [selenium-webdriver changelog](https://github.com/SeleniumHQ/selenium/blob/master/javascript/node/selenium-webdriver/CHANGES.md). Some of the breaking change highlights are summarized below:

- Minimum node version 6.9.x for selenium-webdriver dependency.
Copy link
Member

@juliemr juliemr Jan 6, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just "minimum supported node version is now 6.9.x"

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.

- Methods removed: `WebDriver.prototype.isElementPresent`,
`WebElement.prototype.getRawId`, `WebElement.prototype.getInnerHtml`, and
`WebElement.prototype.getOuterHtml`.
- Selenium-webdriver `ErrorCodes` have been deprecated.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deprecated or removed?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed.

## Features

- ([ec93c4a](https://github.com/angular/protractor/commit/ec93c4ab882991410ad9d3f52d87c0f5ec947641))
chore(cli): **breaking change** throw errors on unknown flags (#3921)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe clarify 'unknown CLI flags'?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.

For the 5.0.0 release, we are still using the selenium standalone server 2.53.1
and recommend using Firefox 47.

## Features
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should have a ## Breaking Changes section like we've done in the past. You can include everything that's a breaking change from features/deps here (and not include it in the other categories, or include just the title, I don't care)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some of the stuff from the quick list above should probably be formalized and moved to the breaking changes section.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.


closes #1742
- ([604fdbf](https://github.com/angular/protractor/commit/604fdbf064cc2785a2e745747beeaeb45d27f8ed))
cleanup(config): **breaking change** Remove redundant sauceProxy config (#3868)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this a breaking change? The commit message doesn't list it as such.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It removes the sauceProxy config field, and uses webDriverProxy when creating the SauceLabs client.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added additional note about webDriverProxy

chore(dependency): switch to webdriver-manager 11.1.0 and remove
`--versions.chrome 2.26` from circle.yml (#3865)
- ([397bf65](https://github.com/angular/protractor/commit/397bf65e088b640cf3612f9da678180f49939b84))
deps(update): move @types/jasmine to devDependencies (#3795)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one should get listed as a breaking change, and have the solution (add @types to your deps) clearly listed.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.

- Removed method `WebElement.prototype.getRawId`
- Removed `getInnerHtml` and `getOutterHtml`

- Dependency required for upgrade: use `jasminewd2@0.1.0-beta.0`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is now 0.1.0

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.


- Updated debug commons for breakpoint updated to selenium-webdriver
`lib/http` line 432.
- Debugger currently does not work. So `elementExplorer` for this current
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this line now :)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed debugger / disabled tests comment

- ([a3e8b43](https://github.com/angular/protractor/commit/a3e8b4319d3e8b049e55e5c3c64a7fdb5a132ddf))
deps(selenium-webdriver): upgrade to selenium 3 (#3781)

Note: with the upgrade, there might have breaking changes. Please see the
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'there might have been'. Might be redundant since we do list methods that got removed.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cleaned up.

Copy link
Contributor

@heathkit heathkit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, pending Julie's changes (esp adding the ##Breaking Changes section)

@cnishina cnishina force-pushed the 5_release branch 3 times, most recently from 27b4f22 to 35e4d9f Compare January 9, 2017 20:21

- Minimum node version is now 6.9.x.
- When testing with Firefox 47, use the capability option `marionette: false`
to use the legacy Firefox driver.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's add an explicit:

After:

capabilities: {
  browserName: 'firefox',
  marionette: false
}

to use the legacy Firefox driver.
- We moved `@types/jasmine` to a devDependency. This means that Jasmine
TypeScript users will need to include the `@types/jasmine` as a project
dependency. This is to avoid conflicts for users that prefer mocha typings.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After:

dependencies: {
  '@types/jasmine': '^2.4.0'
}

dependency. This is to avoid conflicts for users that prefer mocha typings.
- Selenium-webdriver methods removed: `WebDriver.prototype.isElementPresent`,
`WebElement.prototype.getRawId`, `WebElement.prototype.getInnerHtml`, and
`WebElement.prototype.getOuterHtml`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Before:

let i = element(locator).getInnerHtml();

After:

let i = browser..executeScript("return arguments[0].innerHTML;", element(locator));

default to using all app hooks, and ng1 apps now check several places, notably
the element the app bootstraps to.
- `sauceProxy` configuration field has been removed. Use `webDriverProxy`
instead.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add before/after here too.

@juliemr
Copy link
Member

juliemr commented Jan 9, 2017

LGTM.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants