Skip to content

Commit 7a2c9c7

Browse files
committed
Switch to jakarta xml stuff for simpler Java 11+ compatibility
The api remains identical, except the places where javax.xml stuff was exposed They now use the jakarta.xml names Bump all dependencies to latest versions, also build environment Added Cyclode DX SBOM
1 parent 13ebe52 commit 7a2c9c7

16 files changed

Lines changed: 215 additions & 108 deletions

Changelog.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
11
# Changelog for nextcloud api
2+
## Version 13
3+
- 2023-09-29
4+
- Release 13.0.0
5+
-- Switch to jakarta xml stuff for simpler Java 11+ compatibility
6+
-- The api remains identical, except the places where javax.xml stuff was exposed
7+
They now use the jakarta.xml names
8+
-- Bump all dependencies to latest versions, also build environment
9+
-- Added Cyclode DX SBOM
10+
11+
## Version 12
212
- 2023-09-29
313
- Release 12.0.5, added bearer authentication for non-webdav calls (Thanks to Arnout Engelen)
414
- 2022-11-29
@@ -18,6 +28,8 @@
1828
- The getQuota() method now returns an Optional<Long>, to handle the case
1929
when no quota is set at all (Allowing unlimited storage)
2030
Thanks @kriszman for the patches
31+
32+
## Version 11
2133
- 2021-10-13
2234
- Prepare 11.7.0-SNAPSHOT
2335
- Fix downloadFolder() when having special chars in folder name(s)

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,21 @@ Java api library to access nextcloud features from java applications
1111
- Management of groups
1212
- Folder management (Without access control)
1313
- List shares and create new file shares (No way to delete/update shares atm.)
14-
- Tested against nextCloud 23.0.2 server version, but should also work with older nextCloud and ownCloud systems
14+
- Tested against nextCloud 27.0.1 server version, but should also work with older nextCloud and ownCloud systems
1515

1616
## Usage
1717
- Add this dependency to your pom.xml file
1818
```
1919
<dependency>
2020
<groupId>com.github.a-schild</groupId>
2121
<artifactId>nextcloud-java-api</artifactId>
22-
<version>12.0.5</version>
22+
<version>13.0.0</version>
2323
</dependency>
2424
```
2525

26+
- The 13.x versions are now using the jakarta.xml binding stuff, to prevent problems with Java 11+
27+
No API changes have been made in v13, but at some places the XML stuff is exposed
28+
Which made it necessary to bump the major version number
2629
- Create a NextcloudConnector instance and provide your server settings and authentification
2730
- Now you can use the methods exposed to access your nextcloud instance
2831

nb-configuration.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ Any value defined here will override the pom.xml file value but is only applicab
1515
-->
1616
<netbeans.hint.license>gpl30</netbeans.hint.license>
1717
<org-netbeans-modules-javascript2-requirejs.enabled>true</org-netbeans-modules-javascript2-requirejs.enabled>
18-
<netbeans.hint.jdkPlatform>JDK_1.8</netbeans.hint.jdkPlatform>
18+
<netbeans.hint.jdkPlatform>JDK_1.8_ZULU</netbeans.hint.jdkPlatform>
1919
</properties>
2020
</project-shared-configuration>

0 commit comments

Comments
 (0)