diff --git a/README.md b/README.md
index 4c4b87a7e..901a93c04 100644
--- a/README.md
+++ b/README.md
@@ -54,7 +54,7 @@ To utilize GitLab4J™ API in your Java project, simply add the following de
```java
dependencies {
...
- compile group: 'org.gitlab4j', name: 'gitlab4j-api', version: '4.19.0'
+ compile group: 'org.gitlab4j', name: 'gitlab4j-api', version: '5.0.0'
}
```
@@ -65,7 +65,7 @@ dependencies {
org.gitlab4j
gitlab4j-api
- 4.19.0
+ 5.0.0
```
diff --git a/pom.xml b/pom.xml
index e8a04ac7c..6d3f6ee9c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -7,7 +7,7 @@
org.gitlab4j
gitlab4j-api
jar
- 4.20.0-SNAPSHOT
+ 5.0.0
GitLab4J-API - GitLab API Java Client
GitLab4J-API (gitlab4j-api) provides a full featured Java client library for working with GitLab repositories and servers via the GitLab REST API.
https://github.com/gitlab4j/gitlab4j-api
@@ -80,7 +80,7 @@
git@github.com:gitlab4j/gitlab4j-api.git
scm:git:git@github.com:gitlab4j/gitlab4j-api.git
scm:git:git@github.com:gitlab4j/gitlab4j-api.git
- head
+ gitlab4j-api-5.0.0
diff --git a/src/main/java/org/gitlab4j/api/GroupApi.java b/src/main/java/org/gitlab4j/api/GroupApi.java
index a4a179aa2..c54bb5dcf 100644
--- a/src/main/java/org/gitlab4j/api/GroupApi.java
+++ b/src/main/java/org/gitlab4j/api/GroupApi.java
@@ -641,7 +641,7 @@ public Group updateGroup(Object groupIdOrPath, String name, String path, String
* @param sharedRunnersMinutesLimit (optional) - (admin-only) Pipeline minutes quota for this group
* @return the created Group instance
* @throws GitLabApiException if any exception occurs
- * @deprecated Will be removed in version 5.0, replaced by {@link #addGroup(String, String, String, Visibility,
+ * @deprecated Will be removed in version 6.0, replaced by {@link #addGroup(String, String, String, Visibility,
* Boolean, Boolean, Long)}
*/
@Deprecated
@@ -682,7 +682,7 @@ public Group addGroup(String name, String path, String description, Boolean memb
* @param sharedRunnersMinutesLimit (optional) - (admin-only) Pipeline minutes quota for this group
* @return the updated Group instance
* @throws GitLabApiException if any exception occurs
- * @deprecated Will be removed in version 5.0, replaced by {@link #updateGroup(Object, String, String, String,
+ * @deprecated Will be removed in version 6.0, replaced by {@link #updateGroup(Object, String, String, String,
* Visibility, Boolean, Boolean, Long)}
*/
@Deprecated
@@ -873,7 +873,7 @@ public List getAllMembers(Object groupIdOrPath) throws GitLabApiExceptio
* @return a list of group members viewable by the authenticated user, including inherited members
* through ancestor groups in the specified page range
* @throws GitLabApiException if any exception occurs
- * @deprecated Will be removed in version 5.0
+ * @deprecated Will be removed in version 6.0
*/
@Deprecated
public List getAllMembers(Object groupIdOrPath, int page, int perPage) throws GitLabApiException {
diff --git a/src/main/java/org/gitlab4j/api/LabelsApi.java b/src/main/java/org/gitlab4j/api/LabelsApi.java
index d9a4f045d..b8ba967f5 100644
--- a/src/main/java/org/gitlab4j/api/LabelsApi.java
+++ b/src/main/java/org/gitlab4j/api/LabelsApi.java
@@ -355,7 +355,7 @@ public List getLabels(Object projectIdOrPath) throws GitLabApiException {
* @param perPage the number of items per page
* @return a list of project's labels in the specified range
* @throws GitLabApiException if any exception occurs
- * @deprecated Will be removed in the next major release (5.0.0)
+ * @deprecated Will be removed in the next major release (6.0.0)
*/
@Deprecated
public List getLabels(Object projectIdOrPath, int page, int perPage) throws GitLabApiException {
diff --git a/src/main/java/org/gitlab4j/api/ProjectApi.java b/src/main/java/org/gitlab4j/api/ProjectApi.java
index 4e3f27bfc..641c7f454 100644
--- a/src/main/java/org/gitlab4j/api/ProjectApi.java
+++ b/src/main/java/org/gitlab4j/api/ProjectApi.java
@@ -196,7 +196,7 @@ public Stream getProjectsStream() throws GitLabApiException {
* @param statistics include project statistics
* @return a list of projects accessible by the authenticated user and matching the supplied parameters
* @throws GitLabApiException if any exception occurs
- * @deprecated Will be removed in version 5.0, replaced by {@link #getProjects(Boolean, Visibility,
+ * @deprecated Will be removed in version 6.0, replaced by {@link #getProjects(Boolean, Visibility,
* Constants.ProjectOrderBy, Constants.SortOrder, String, Boolean, Boolean, Boolean, Boolean, Boolean)}
*/
@Deprecated
@@ -1510,7 +1510,7 @@ public List getAllMembers(Object projectIdOrPath) throws GitLabApiExcept
* @param perPage the number of Member instances per page
* @return the project members viewable by the authenticated user, including inherited members through ancestor groups
* @throws GitLabApiException if any exception occurs
- * @deprecated Will be removed in version 5.0
+ * @deprecated Will be removed in version 6.0
*/
@Deprecated
public List getAllMembers(Object projectIdOrPath, int page, int perPage) throws GitLabApiException {
@@ -2203,7 +2203,7 @@ public ProjectHook modifyHook(ProjectHook hook) throws GitLabApiException {
* @param projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance, required
* @return a list of project's issues
* @throws GitLabApiException if any exception occurs
- * @deprecated Will be removed in version 5.0, replaced by {@link IssuesApi#getIssues(Object)}
+ * @deprecated Will be removed in version 6.0, replaced by {@link IssuesApi#getIssues(Object)}
*/
@Deprecated
public List getIssues(Object projectIdOrPath) throws GitLabApiException {
@@ -2220,7 +2220,7 @@ public List getIssues(Object projectIdOrPath) throws GitLabApiException {
* @param perPage the number of issues per page
* @return the list of issues in the specified range
* @throws GitLabApiException if any exception occurs
- * @deprecated Will be removed in version 5.0, replaced by {@link IssuesApi#getIssues(Object, int, int)}
+ * @deprecated Will be removed in version 6.0, replaced by {@link IssuesApi#getIssues(Object, int, int)}
*/
@Deprecated
public List getIssues(Object projectIdOrPath, int page, int perPage) throws GitLabApiException {
@@ -2237,7 +2237,7 @@ public List getIssues(Object projectIdOrPath, int page, int perPage) thro
* @param itemsPerPage the number of issues per page
* @return the list of issues in the specified range
* @throws GitLabApiException if any exception occurs
- * @deprecated Will be removed in version 5.0, replaced by {@link IssuesApi#getIssues(Object, int)}
+ * @deprecated Will be removed in version 6.0, replaced by {@link IssuesApi#getIssues(Object, int)}
*/
@Deprecated
public Pager getIssues(Object projectIdOrPath, int itemsPerPage) throws GitLabApiException {
@@ -2252,7 +2252,7 @@ public Pager getIssues(Object projectIdOrPath, int itemsPerPage) throws G
* @param projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance, required
* @return a Stream of the project's issues
* @throws GitLabApiException if any exception occurs
- * @deprecated Will be removed in version 5.0, replaced by {@link IssuesApi#getIssues(Object)}
+ * @deprecated Will be removed in version 6.0, replaced by {@link IssuesApi#getIssues(Object)}
*/
@Deprecated
public Stream getIssuesStream(Object projectIdOrPath) throws GitLabApiException {
@@ -2268,7 +2268,7 @@ public Stream getIssuesStream(Object projectIdOrPath) throws GitLabApiExc
* @param issueId the internal ID of a project's issue
* @return the specified Issue instance
* @throws GitLabApiException if any exception occurs
- * @deprecated Will be removed in version 5.0, replaced by {@link IssuesApi#getIssue(Object, Long)}
+ * @deprecated Will be removed in version 6.0, replaced by {@link IssuesApi#getIssue(Object, Long)}
*/
@Deprecated
public Issue getIssue(Object projectIdOrPath, Long issueId) throws GitLabApiException {
@@ -2284,7 +2284,7 @@ public Issue getIssue(Object projectIdOrPath, Long issueId) throws GitLabApiExce
* @param projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance, required
* @param issueId the internal ID of a project's issue
* @throws GitLabApiException if any exception occurs
- * @deprecated Will be removed in version 5.0, replaced by {@link IssuesApi#deleteIssue(Object, Long)}
+ * @deprecated Will be removed in version 6.0, replaced by {@link IssuesApi#deleteIssue(Object, Long)}
*/
@Deprecated
public void deleteIssue(Object projectIdOrPath, Long issueId) throws GitLabApiException {
diff --git a/src/main/java/org/gitlab4j/api/RepositoryFileApi.java b/src/main/java/org/gitlab4j/api/RepositoryFileApi.java
index 19795c9fc..4fd5e6e3b 100644
--- a/src/main/java/org/gitlab4j/api/RepositoryFileApi.java
+++ b/src/main/java/org/gitlab4j/api/RepositoryFileApi.java
@@ -133,7 +133,7 @@ public RepositoryFile getFile(Object projectIdOrPath, String filePath, String re
* @param ref (required) - The name of branch, tag or commit
* @return a RepositoryFile instance with the file info and file content
* @throws GitLabApiException if any exception occurs
- * @deprecated Will be removed in version 5.0, replaced by {@link #getFile(Object, String, String)}
+ * @deprecated Will be removed in version 6.0, replaced by {@link #getFile(Object, String, String)}
*/
@Deprecated
public RepositoryFile getFile(String filePath, Long projectId, String ref) throws GitLabApiException {
@@ -181,7 +181,7 @@ public RepositoryFile getFile(Object projectIdOrPath, String filePath, String re
* @param ref (required) - The name of branch, tag or commit
* @return a RepositoryFile instance with the file info
* @throws GitLabApiException if any exception occurs
- * @deprecated Will be removed in version 5.0
+ * @deprecated Will be removed in version 6.0
*/
@Deprecated
protected RepositoryFile getFileV3(String filePath, Long projectId, String ref) throws GitLabApiException {
@@ -242,7 +242,7 @@ public RepositoryFile createFile(Object projectIdOrPath, RepositoryFile file, St
* @param commitMessage the commit message
* @return a RepositoryFile instance with the created file info
* @throws GitLabApiException if any exception occurs
- * @deprecated Will be removed in version 5.0, replaced by {@link #createFile(Object, RepositoryFile, String, String)}
+ * @deprecated Will be removed in version 6.0, replaced by {@link #createFile(Object, RepositoryFile, String, String)}
*/
@Deprecated
public RepositoryFile createFile(RepositoryFile file, Long projectId, String branchName, String commitMessage) throws GitLabApiException {
@@ -299,7 +299,7 @@ public RepositoryFile updateFile(Object projectIdOrPath, RepositoryFile file, St
* @param commitMessage the commit message
* @return a RepositoryFile instance with the updated file info
* @throws GitLabApiException if any exception occurs
- * @deprecated Will be removed in version 5.0, replaced by {@link #updateFile(Object, RepositoryFile, String, String)}
+ * @deprecated Will be removed in version 6.0, replaced by {@link #updateFile(Object, RepositoryFile, String, String)}
*/
@Deprecated
public RepositoryFile updateFile(RepositoryFile file, Long projectId, String branchName, String commitMessage) throws GitLabApiException {
@@ -355,7 +355,7 @@ public void deleteFile(Object projectIdOrPath, String filePath, String branchNam
* @param branchName the name of branch
* @param commitMessage the commit message
* @throws GitLabApiException if any exception occurs
- * @deprecated Will be removed in version 5.0, replaced by {@link #deleteFile(Object, String, String, String)}
+ * @deprecated Will be removed in version 6.0, replaced by {@link #deleteFile(Object, String, String, String)}
*/
@Deprecated
public void deleteFile(String filePath, Long projectId, String branchName, String commitMessage) throws GitLabApiException {
diff --git a/src/main/java/org/gitlab4j/api/UserApi.java b/src/main/java/org/gitlab4j/api/UserApi.java
index 837cb1018..ce52527c8 100644
--- a/src/main/java/org/gitlab4j/api/UserApi.java
+++ b/src/main/java/org/gitlab4j/api/UserApi.java
@@ -511,7 +511,7 @@ public Stream findUsersStream(String emailOrUsername) throws GitLabApiExce
* @param projectsLimit the maximum number of project
* @return created User instance
* @throws GitLabApiException if any exception occurs
- * @deprecated Will be removed in version 5.0, replaced by {@link #createUser(User, CharSequence, boolean)}
+ * @deprecated Will be removed in version 6.0, replaced by {@link #createUser(User, CharSequence, boolean)}
*/
@Deprecated
public User createUser(User user, CharSequence password, Integer projectsLimit) throws GitLabApiException {
@@ -624,7 +624,7 @@ public User updateUser(User user, CharSequence password) throws GitLabApiExcepti
* @param projectsLimit the maximum number of project
* @return the modified User instance
* @throws GitLabApiException if any exception occurs
- * @deprecated Will be removed in version 5.0, replaced by {@link #updateUser(User, CharSequence)}
+ * @deprecated Will be removed in version 6.0, replaced by {@link #updateUser(User, CharSequence)}
*/
@Deprecated
public User modifyUser(User user, CharSequence password, Integer projectsLimit) throws GitLabApiException {