Skip to content

Commit 15b60e4

Browse files
committed
Updating .NET assembly versions and CHANGELOG for impending 2.40.0 release
1 parent 532147a commit 15b60e4

File tree

5 files changed

+79
-8
lines changed

5 files changed

+79
-8
lines changed

dotnet/CHANGELOG

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,74 @@
1+
v2.40.0
2+
=======
3+
* Issue #1175: Implemented ByIdOrName in .NET support package.
4+
* Issue #3283: Escaping backslashes when writing Firefox preferences to
5+
profile in .NET
6+
* Issue #3719: No longer redirecting console output for Firefox. This
7+
information was largely unused by anyone, and the implementation had a
8+
chance to produce deadlocks when reading from the console output stream for
9+
stdout and stderr.
10+
* Issue #4248: Added exception handling in .NET WebDriverBackedSelenium.
11+
* Issue #5692: Fixed when cookie expiration date received by .NET exceeds
12+
maximum DateTime value. When receiving a cookie via the JSON wire protocol,
13+
the expiration date is represented as the number of seconds after
14+
12:00:00 AM January 1, 1970 GMT. When a number greater than or equal
15+
253402300800, this is larger than the maximum value of .NET's DateTime
16+
value. This change catches the ArgumentOutOfRangeException and forcibly sets
17+
the expiration to DateTime.MaxValue (12:59:59 PM December 31, 9999 GMT).
18+
* Issue #5755: Exposing property on .NET PhantomJSDriverService to specify IP
19+
address on which to listen for connections. When specifying a port on which
20+
PhantomJS should listen for WebDriver commands, the user has the option to
21+
also specify an IP address to which to bind to listen. This commit exposes
22+
that ability. It also exposes the ability to specify a Selenium Grid hub
23+
with which this instance of PhantomJS should register as a node.
24+
* Issue #6699: Exposing process ID of service executable in .NET DriverService
25+
class. This allows the user to attempt to add the process to a Windows job
26+
object if they so desire, which will automatically kill child processes when
27+
the parent process is exited. Note that job objects are subject to security
28+
restrictions when used on Windows Vista or later.
29+
* Issue #6860: Updating .NET SafariDriver browser launch code. The initial
30+
start page from the temp directory that launches the WebSocket is loaded in
31+
Safari via a command line parameter. If the path contains a space, the load
32+
will fail. This is fixed by surrounding the temp file name with quotes.
33+
* Issue #6870: Updated FirefoxDriver constructor for ICapabilities. This
34+
allows the user to pass an ICapabilities object to the Firefox driver
35+
constructor and have specific capabilities used in driver instantiation.
36+
* Issue #6935: Changing .NET random temp file generation to be truly random.
37+
The .NET bindings now use GUIDs as part of the file names for files and
38+
directories created in the temp directory. This is to work around potential
39+
collisions in random number generation encountered when using the .NET
40+
Random class, particularly in different processes. GUIDs are used as their
41+
generation in the .NET Framework is optimized for performance.
42+
* Updated .NET bindings to use webdriver.json for default Firefox profile.
43+
Other language bindings have been using a common JSON file containing the
44+
default profile setting for the anonymous Firefox profile used by the
45+
Firefox driver. The .NET bindings now do the same.
46+
* Now provide an option to hide command prompt window for driver service
47+
executables (IEDriverServer.exe, chromedriver.exe, etc.) in .NET bindings.
48+
* Modified to allow user to specify name of driver service executable in .NET.
49+
We now give an overload to CreateDefaultService for ChromeDriverService,
50+
PhantomJSDriverService, and InternetExplorerDriverService to allow the
51+
user to specify the name of the service exectuable. This is particularly
52+
useful for non-Windows platforms where the executable does not end with
53+
'.exe'. It also allows the user to rename the executable to a name of
54+
their choosing and still be able to use it from the .NET bindings.
55+
* Added a type safe option for IE to use ForceUseShellWindowsApi.
56+
* Updated .NET ChromeOptions to include latest options for Chrome. Also fixed
57+
the AddAdditionalCapability method to correctly add additional options to
58+
the chromeOptions object passed to chromedriver.exe, instead of to the top-
59+
level of the capabilities object. Adding new top-level capabilities is
60+
handled by a new overload of AddAdditionalCapability that contains a boolean
61+
argument to indicate that the capability should be added to the root of the
62+
capabilities object. This handles the 80% case where new "experimental"
63+
options are added by the chromedriver team.
64+
* Implemented FindsBySequence attribute for .NET PageFactory. This new
65+
attribute allows the user to mark a field or property in a page object such
66+
that any FindsBy attributes set on the member are used in sequence, as
67+
specified by the Priority property. Note that when not specifying a Priority
68+
value, or specifying multiple FindsBy attributes with the same Priority
69+
value, the behavior is undefined.
70+
* Fixed cleaning up leftover temp directory when using SafariDriver.
71+
172
v2.39.0
273
=======
374
* Deprecated .NET AndroidDriver class. Going forward, the recommended approach

dotnet/src/core/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@
2121
// Minor Version
2222
// Build Number
2323
// Revision
24-
[assembly: AssemblyVersion("2.39.0.0")]
25-
[assembly: AssemblyFileVersion("2.39.0.0")]
24+
[assembly: AssemblyVersion("2.40.0.0")]
25+
[assembly: AssemblyFileVersion("2.40.0.0")]

dotnet/src/support/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,5 @@
5050
// Minor Version
5151
// Build Number
5252
// Revision
53-
[assembly: AssemblyVersion("2.39.0.0")]
54-
[assembly: AssemblyFileVersion("2.39.0.0")]
53+
[assembly: AssemblyVersion("2.40.0.0")]
54+
[assembly: AssemblyFileVersion("2.40.0.0")]

dotnet/src/webdriver/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,5 @@
4949
// Minor Version
5050
// Build Number
5151
// Revision
52-
[assembly: AssemblyVersion("2.39.0.0")]
53-
[assembly: AssemblyFileVersion("2.39.0.0")]
52+
[assembly: AssemblyVersion("2.40.0.0")]
53+
[assembly: AssemblyFileVersion("2.40.0.0")]

dotnet/src/webdriverbackedselenium/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,5 @@
5050
// Minor Version
5151
// Build Number
5252
// Revision
53-
[assembly: AssemblyVersion("2.39.0.0")]
54-
[assembly: AssemblyFileVersion("2.39.0.0")]
53+
[assembly: AssemblyVersion("2.40.0.0")]
54+
[assembly: AssemblyFileVersion("2.40.0.0")]

0 commit comments

Comments
 (0)