Skip to content

Commit 6614e30

Browse files
committed
Bumped version to 4.9.6
1 parent d0d2cf0 commit 6614e30

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ To utilize the GitLab API for Java in your project, simply add the following dep
1111
```java
1212
dependencies {
1313
...
14-
compile group: 'org.gitlab4j', name: 'gitlab4j-api', version: '4.9.5'
14+
compile group: 'org.gitlab4j', name: 'gitlab4j-api', version: '4.9.6'
1515
}
1616
```
1717

@@ -22,7 +22,7 @@ dependencies {
2222
<dependency>
2323
<groupId>org.gitlab4j</groupId>
2424
<artifactId>gitlab4j-api</artifactId>
25-
<version>4.9.5</version>
25+
<version>4.9.6</version>
2626
</dependency>
2727
```
2828

@@ -70,6 +70,7 @@ gitLabApi.sudo("johndoe")
7070
// To turn off sudo mode
7171
gitLabApi.unsudo();
7272
```
73+
7374
---
7475
## Connecting Through a Proxy Server
7576
As of GitLab4J-API 4.8.2 support has been added for connecting to the GitLab server using an HTTP proxy server:
@@ -130,13 +131,18 @@ while (projectsPager.hasNext())) {
130131
}
131132
}
132133
```
133-
As of GitLab4J-API 4.9.2, you can also fetch all the items as a single list or get a Java 8+ Stream instance using a Pager instance:
134+
135+
As of GitLab4J-API 4.9.2, you can also fetch all the items as a single list using a Pager instance:
134136
```java
135137
// Get a Pager instance so we can load all the projects into a single list, 10 items at a time:
136138
Pager<Project> projectPager = gitlabApi.getProjectsApi().getProjects(10);
137139
List<Project> allProjects = projectPager.all();
138140
```
139141

142+
---
143+
## Java 8 Stream Support
144+
As of GitLab4J-API 4.9.2, you can also fetch all the items a Java 8+ Stream instance using a Pager instance:
145+
140146
```java
141147
// Get a Pager instance to get a Stream<Project> instance.
142148
Pager<Project> projectPager = gitlabApi.getProjectsApi().getProjects(10);
@@ -155,6 +161,7 @@ if (optionalGroup.isPresent())
155161

156162
return gitlabApi.getGroupApi().addGroup("my-group-name", "my-group-path");
157163
```
164+
158165
---
159166
## Issue Time Estimates
160167
GitLab issues allow for time tracking. The following time units are currently available:

0 commit comments

Comments
 (0)