Skip to content

Releases: box/box-java-sdk

v4.0.1

06 Mar 10:38
c1dcc9a
Compare
Choose a tag to compare

Bug Fixes:

  • OAUTH_SUFFIX gets appended twice to baseAuthorizationURL (#1148) (3164770), closes #1147
  • Wrong progress reported to ProgressListener by AbstractBoxMultipartRequest (#1151) (947ded3), closes #1149

v4.0.0

18 Jan 09:05
3d29753
Compare
Choose a tag to compare

The most important change this release includes is the replacement of the HTTP library from a native one to
OkHttp which allows SDK to

  • Support the HTTP2 version of the HTTP protocol.
  • Support proxies that do not use only basic authentication method. For details on creating custom proxy authenticators and an example of
    NTLM proxy authentication.

Breaking Changes

  • BatchAPIRequest – is no longer supported by the SDK
  • BoxAPIConnection#DEFAULT_MAX_ATTEMPTS is replaced with BoxAPIConnection#DEFAULT_MAX_RETRIES
  • BoxRedirectResponse – was removed and will not be replaced
  • BoxEvent.Type is replaced with EventType
  • Removing deprecated methods from BoxFile, BoxFileVersionRetention, BoxFolder, BoxGroup, BoxGroupMembership,BoxItem, BoxRetentionPolicy, BoxTask, BoxUser, BoxWebLink, EventLog, Metadata and MetadataTemplate.

Migration details can be found here.

New Features and Enhancements:

v3.8.2

04 Jan 11:02
6110fac
Compare
Choose a tag to compare

Bug Fixes:

  • Fixed restoring state without refresh token. (#1139) (3544709)

v3.8.1

19 Dec 19:14
cf7836d
Compare
Choose a tag to compare

Bug Fixes:

  • Restoring state from previous SDK version works. (#1134) (b6d97dd)

v3.8.0

16 Nov 07:47
ca540bc
Compare
Choose a tag to compare

New Features and Enhancements:

Bug Fixes:

  • NullPointerException when using BoxSignRequestPrefillTag (#1121) (73fd5b6), closes #1120
  • Regenerate JWT ID and retry auth request when JTI claim is rejected (#1110) (420da0f)

Dependency Upgrades:

v3.7.1

30 Sep 09:46
6f527b8
Compare
Choose a tag to compare

Bug Fixes:

  • Better logging when JSON cannot be parsed (#1106) (5e66ef8)

v3.7.0

21 Sep 12:02
f513662
Compare
Choose a tag to compare

New Features and Enhancements:

  • Add is_accessible_via_shared_link field to File and Folder (#1103) (45e9906)

Bug Fixes:

  • BoxCollaboration.getItem() returns BoxItem.Info not BoxFolder.Info (#1102) (135850d), closes #1101 #1100. BoxCollaboration.getItem() used to return BoxFolder.Info. However, if collaboration was added on a file it would still return BoxFolder.Info which will end with throwing BoxAPIException when doing any API call. If you are getting collaboration item it is best to store it as BoxItem.Info or check its type and store it as BoxFile.Info or BoxFolder.Info.
  • Add missing constructor to BoxNotificationEmail class (#1098) (2534f34)

v3.6.0

07 Sep 11:24
14c91fc
Compare
Choose a tag to compare

New Features and Enhancements:

  • Add support for modifiable retention policies & enable deleting retention policy assignment (#1093) (30e2fcb)

Bug Fixes:

  • Stop sending not specified optional fields when creating a user (#1095) (b7d894d)

v3.5.0

26 Aug 15:40
001c2d4
Compare
Choose a tag to compare

New Features and Enhancements:

  • Add content-type sign request and response (#1087) (49411aa)
  • Add notification_email to BoxUser (#1088) (5477223)
  • Add redirect_url and declined_redirect_url to sign request response (#1089) (3921fe1)

Bug Fixes:

  • Fixed canceling sign request fails because of empty body (#1085) (32b8e79)

v3.4.0

11 Aug 06:17
7b25df2
Compare
Choose a tag to compare

New Features and Enhancements:

  • Added pagination for getting items in trash with new BoxTrash#items API (#1072) (9cd411d)

Bug Fixes:

  • buffered body write and fixed SDK logging (#1079) (bc35ef3)