Skip to content

Commit d4fd4f7

Browse files
committed
Updated ReleaseNotes according to PR#163
1 parent ea311c6 commit d4fd4f7

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

ReleaseNotes.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,33 @@
3434

3535
### API Changes
3636

37+
[Changing getLocalContext(), setLocalContext()][pull-163]
38+
39+
The protected method `getLocalContext()` now returns
40+
`HttpContext` instead of `BasicHttpContext`.
41+
So the API has changed from the following:
42+
43+
```java
44+
public class JenkinsServer {
45+
protected BasicHttpContext getLocalContext();
46+
protected void setLocalContext(BasicHttpContext localContext);
47+
.
48+
}
49+
```
50+
51+
into this:
52+
53+
```java
54+
public class JenkinsServer {
55+
protected HttpContext getLocalContext();
56+
protected void setLocalContext(HttpContext localContext);
57+
.
58+
}
59+
```
60+
61+
Apart from that the visibility of the class `PreemptiveAuth` has been changed
62+
from package private to public.
63+
3764
[Get Jenkins Version from http header][issue-90]
3865

3966
```java
@@ -481,5 +508,6 @@ TestReport testReport = mavenJob.getLastSuccessfulBuild().getTestReport();
481508
[pull-123]: https://github.com/jenkinsci/java-client-api/pull/123
482509
[pull-149]: https://github.com/jenkinsci/java-client-api/pull/149
483510
[pull-158]: https://github.com/jenkinsci/java-client-api/pull/158
511+
[pull-163]: https://github.com/jenkinsci/java-client-api/pull/163
484512
[jissue-35002]: https://issues.jenkins-ci.org/browse/JENKINS-35002
485513
[jissue-35108]: https://issues.jenkins-ci.org/browse/JENKINS-35108

0 commit comments

Comments
 (0)