Skip to content

Commit

Permalink
prepare 2.49.1 hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
rbri committed Apr 11, 2021
1 parent 6affe77 commit 36db119
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 10 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# HtmlUnit

Version 2.49.0 / April 11, 2021
Version 2.49.1 / April 11, 2021

:heart: [Sponsor](https:/sponsors/rbri)

Expand All @@ -25,7 +25,7 @@ For maven, you would add:
<dependency>
<groupId>net.sourceforge.htmlunit</groupId>
<artifactId>htmlunit</artifactId>
<version>2.49.0</version>
<version>2.49.1</version>
</dependency>

Overview
Expand Down Expand Up @@ -91,7 +91,7 @@ License
This project is licensed under the Apache 2.0 License


[1]: https://sourceforge.net/projects/htmlunit/files/htmlunit/2.49.0/ "HtmlUnit on sourceforge"
[1]: https://sourceforge.net/projects/htmlunit/files/htmlunit/2.49.1/ "HtmlUnit on sourceforge"
[2]: https://jenkins.wetator.org/job/HtmlUnit%20-%20Headless/ "HtmlUnit CI"
[3]: https://twitter.com/HtmlUnit "https://twitter.com/HtmlUnit"
[4]: https://htmlunit.sourceforge.io/ "https://htmlunit.sourceforge.io/"
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>net.sourceforge.htmlunit</groupId>
<artifactId>htmlunit</artifactId>
<version>2.50.0-SNAPSHOT</version>
<version>2.49.1</version>
<name>HtmlUnit</name>
<organization>
<name>Gargoyle Software Inc.</name>
Expand Down
11 changes: 9 additions & 2 deletions src/changes/changes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,18 @@
</properties>

<body>
<release version="2.49.1" date="April 11, 2021" description="Hotfix">
<action type="fix" dev="rbri">
Clicking an anchor was always calling the attachment handler (if set). This was a regression from anchor
download attribute support.
</action>
</release>

<release version="2.49.0" date="April 11, 2021" description="Bugfixes, Firefox 87">
<action type="fix">
<action type="fix" dev="rbri">
Fix :required and :optional pseudo classes to work with all html elements supporting the 'required' attribute.
</action>
<action type="fix">
<action type="fix" dev="rbri">
HtmlDetails.asNormalizedText() and HtmlDetails.asVisibleText() fixed.
</action>
<action type="add" dev="rbri" due-to="Uberto Barbini">
Expand Down
4 changes: 2 additions & 2 deletions src/site/xdoc/filedownload-howto.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<p>
HtmlUnit handles all unknown content similar to known content - the content is wrapped in an page object and the page is placed inside the window.
For all unknown content HtmlUnit uses the UnexpectedPage. In most cases the UnexpectedPage replaces the current (Html)page in the current window,
but in some cases a new additional window gets opend (e.g. clicking an anchor with a download attribute defined).
but in some cases a new additional window gets opened (e.g. clicking an anchor with a download attribute defined).
</p>
<p>
You can then access the plain content stream from the enclosed UnexpectedPage.
Expand Down Expand Up @@ -82,7 +82,7 @@ try (final WebClient webClient = new WebClient(BrowserVersion.FIREFOX)) {
</p>
<p>
The AttachmentHandler based download support works in addition to the default UnexpectedPage based support. This means, if your AttachmentHandler
does not handle the content, the webClient will fall back to the default solution and place an UnexpectedPage inside a new window.
does not handle the content, the webClient will fall back to the default solution and place an UnexpectedPage inside the window.
You can overwrite the method isAttachment() in your AttachmentHandler to only handle dedicated responses - the default implementation
only detects responses having a content-disposition header of type 'attachment'.
</p>
Expand Down
4 changes: 2 additions & 2 deletions src/site/xdoc/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
<dl>
<dt>Latest release <date>April 11, 2021</date></dt>
<dd>
<p><a href="https://sourceforge.net/projects/htmlunit/files/htmlunit/2.49.0/">version 2.49.0</a></p>
<p><a href="https://sourceforge.net/projects/htmlunit/files/htmlunit/2.49.1/">version 2.49.1</a></p>
</dd>

<dt>Source code</dt>
Expand Down Expand Up @@ -169,7 +169,7 @@
<dependency>
<groupId>net.sourceforge.htmlunit</groupId>
<artifactId>htmlunit</artifactId>
<version>2.49.0</version>
<version>2.49.1</version>
</dependency>]]></source>
</p>

Expand Down

0 comments on commit 36db119

Please sign in to comment.