@@ -11,7 +11,7 @@ To utilize the GitLab API for Java in your project, simply add the following dep
1111``` java
1212dependencies {
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
7171gitLabApi. unsudo();
7272```
73+
7374---
7475## Connecting Through a Proxy Server
7576As 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:
136138Pager<Project > projectPager = gitlabApi. getProjectsApi(). getProjects(10 );
137139List<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.
142148Pager<Project > projectPager = gitlabApi. getProjectsApi(). getProjects(10 );
@@ -155,6 +161,7 @@ if (optionalGroup.isPresent())
155161
156162return gitlabApi. getGroupApi(). addGroup(" my-group-name" , " my-group-path" );
157163```
164+
158165---
159166## Issue Time Estimates
160167GitLab issues allow for time tracking. The following time units are currently available:
0 commit comments