Skip to content

Latest commit

 

History

History
320 lines (229 loc) · 20.3 KB

CHANGELOG.md

File metadata and controls

320 lines (229 loc) · 20.3 KB

Changelog

Next Release

2.50.0 [2020-07-21]

  • API request creation errors are now retried with the same automatic retry logic as 429 and 5XX response errors (#828)

2.49.0 [2020-07-17]

  • Fix bug with setting the unshared at date for a shared link (#819)
  • Add zip functionality (#825)
  • Add fields parameter for metadata query (#826)

2.48.0 [2020-06-23]

  • Add ability to get groups by name with fields option (#789)
  • Add shared link downscoping (#785)
  • Deprecate the use of float for Metadata values, in preference of the underlying value (double) (#811)
  • Add iterator support for group collaborations (#813)
  • Add ability to set the filename when uploading a new version of a file (#810)
  • Add support for the classification field for Files and Folders (#809)
  • Add support for setting Tracking Codes (#766)
  • Fix issue for getIsExternallyOwned() for Files and Folders (#808)

2.47.0 [2020-04-23]

  • Add support for the uploader display name field for Files and File Versions (#791)
  • Fix path parameter sanitization (#797)

2.46.0 [2020-04-09]

  • Fix retry logic (#787)
    • Retry for 400 invalid_grant error in authentication requests (Clock Skew)
    • Honor Retry-After header, if present, by waiting for the time specified in the header before retrying
    • The concept of setting / getting "Maximum API Requests" has been deprecated in favor of "Maximum API Retries" to more clearly show the number of times a request will be retried after an error response is received.
  • Add ability to set expiration date for a collaboration (#788)
  • Add path parameter sanitization (#790)

2.45.0 [2020-04-02]

  • Add preflight check before chunked uploads (#782)
  • Check that part was successfully uploaded for large file uploads before retrying for 500 errors (#781)
  • Fix bug with premature disconnect when renaming files and weblinks (#779)
  • Add metadata to each item returned by a metadata query (#778)

2.44.1 [2020-02-13]

  • Fix formatting bug for Java Logger
  • Improve date / time parsing for responses

2.44.0 [2020-01-21]

  • Fix Authentication Request Retries

2.43.0 [2019-12-20]

  • Throw exceptions for setMetadata on Files and Folders for non-409 errors

2.42.0 [2019-12-17]

  • Added Metadata Query support
  • Added marker based pagination for get users methods

2.41.0 [2019-10-24]

  • Added enum action option for completed in Box Task class.

2.40.0 [2019-10-24]

  • General doc changes.

2.39.0 [2019-10-17]

2.38.0 [2019-09-19]

2.37.0 [2019-08-22]

  • Added support for replace in multi-select metadata for files and for folders
  • Improved getting started with JWT authentication docs that can be found here

2.36.0 [2019-08-01]

  • Added support for removing shared link and fixed an issue with setting null for shared link field on BoxItem.
  • Added support for additional fields for Box files, folders, and web links.

2.35.0 [2019-07-18]

2.34.0 [2019-06-06]

  • Added support for retrieving a string type action for tasks. Please use getActionType() going forward instead of the deprecated getAction().

2.33.0 [2019-05-23]

  • Added support for setting can_owners_invite field Thank you @Band-Aid for you pull request! Greatly Appreciated.
  • Fixed a bug where chunked upload was not populating the correct part size for upload part.

2.32.0 [2019-04-25]

2.31.0 [2019-04-11]

2.30.1 [2019-04-08]

  • Fixed a bug where the SDK could throw when parsing JSON containing dates using the Zulu timezone format

2.30.0 [2019-04-04]

  • Added action_by field to enterprise events stream.

2.29.0 [2019-04-01]

2.28.1 [2019-03-07]

  • Fixed a bug where BoxMetadataCascadePolicy.forceApply() would not return correctly.

2.28.0 [2019-02-21]

2.27.0 [2019-01-31]

  • Added support for Metadata Classification for File and Folder

2.26.0 [2019-01-17]

2.25.1 [2019-01-03]

  • Upgraded dependencies: jose4j to v0.5.5, and bouncycastle to v1.60

2.25.0 [2018-12-13]

2.24.0 [2018-11-16]

2.23.2 [2018-09-27]

  • Fixed a bug where the specified headers for batch requests were not being sent.

2.23.1 [2018-09-13]

  • Fixed a bug where too many TCP connections were being opened. Thank you @pmatte1 for implementing this fix!

2.23.0 [2018-08-23]

2.22.0 [2018-08-09]

2.21.0 [2018-07-05]

  • Added functionality to allow users to set passwords on shared links for Box files, folders, and web links.
  • Fixed wrong redirect for two links in the Getting Started and Quick Test section of the README.

2.20.2 [2018-06-28]

  • Fixed a bug where customers had issues with large file uploads because they fail to parse the Retry-After header from the commit response. Reason being headers storage/lookup was case sensitive.

2.20.1 [2018-06-04]

  • Added better exception handling for JSON parse in response exception.
  • Fixed a bug where uploadNewVersion() was returning an empty object.

2.20.0 [2018-05-24]

  • Fixed a bug where multiple As-User headers could be set.
  • Added support to test update for multiselect field on metadata

2.19.0 [2018-05-10]

2.18.0 [2018-04-30]

2.17.0 [2018-04-10]

2.16.1 [2018-03-29]

  • Added CONTENT_ACCESS to event type enum

2.16.0 [2018-03-22]

  • Added support for user tracking codes on the user object.
  • Fixed a bug where JWT authentication would fail due to improper date parsing.
  • Added support for setting custom headers on API connection. This allow for setting As-User support and suppressing notifications support.
  • Changed default JWT expiration window to reduce chances of error.

2.15.0 [2018-03-12]

2.14.1 [2018-03-01]

  • Reduced the number of API calls that the EventStream makes to fetch new events, which should help users who are running into rate limit issues.
  • Force support for TLSv1.1 or higher when available to improve the security of connections to the Box API
  • Add randomized jitter to the exponential backoff algorithm used by the SDK to improve the success rate of retried requests.

2.14.0 [2018-02-15]

  • Added support for getting and setting the can_view_path field on a collaboration object.
  • Added support for getting and setting the tags field on files and folders.

2.13.0 [2018-02-07]

  • Fixed an issue where all types of metadata values were being coerced to Strings. This change deprecates Metadata#get() in favor of type-specific methods like Metadata#getFloat() or a generic Metadata#getValue(), which returns a JsonValue object that represents any JSON type. See the file metadata or folder metadata documentation for more information.

2.12.0 [2018-02-01]

2.11.0 [2018-01-25]

2.10.0 [2018-01-11]

2.9.0 [2018-01-04]

2.8.2 [2017-10-05]

  • Added additional check for PrivateKeyInfo in BoxDeveloperEditionApiConnection

2.8.1 [2017-10-05]

2.8.0 [2017-09-07]

  • Added method for getting file representations
  • Changes to Representation object

2.7.0 [2017-08-30]

2.6.0 [2017-08-28]

2.5.0 [2017-07-28]

2.4.0 [2017-05-02]

  • Support for multiput upload. New methods in BoxFolder and BoxFile support multiput upload for better performance and reliability for large files.
  • Single file collaborations. The BoxFile class now supports sharing individual files.
  • Automatic configuration for JWT auth. The Box Developer console now lets you download a JSON file of your JWT app configuration settings. You can import this file into the Java SDK to easily configure your app.

2.3.0 [2017-01-12]

New API Endpoints:

Legal Holds Retention Policies Create Metadata Template Get All Metadata on File Get All Metadata on Folder Get Enterprise Metadata Templates Update Group Watermarking Webhooks V2 WebLinks Collections BoxGroupMembership with for Paging Enterprise Device Pins

New Features:

Transactional Authentication. Support for Box's new Transactional Auth APIs. Upload file versions with SHA1. A file's SHA1 can be passed in to BoxFile.uploadVersion(...) when uploading new versions. Get effective_access for shared links. The effective_access field is accessible through BoxSharedLink. getEffectiveAccess(). Added additional Event Types. The TASK_ASSIGNMENT_COMPLETE, TASK_ASSIGNMENT_UPDATE, TASK_CREATE, COMMENT_DELETE types are now included in the BoxEvent class.

2.1.0 [2016-02-22]

This release includes improvements to token caching for App Users and support for additional API endpoints.

New Features:

- App Users token caching. A token cache can now be specified in BoxDeveloperEditionAPIConnection. This allows for improved performance when using App Users authentication.
- Support for retrieving download URLs. The BoxFile.getDownloadURL() method allows for retrieving a direct download URL to a file.
- File thumbnails. The BoxFile.getThumbnail() method allows for downloading the [Thumbnail](https://github.com/box/box-java-sdk/blob/master/doc/files.md#get-thumbnail) for a file.

Bug Fixes:

- Getting info for a file could crash when there's no preview. Previously, an exception would be thrown if BoxFile.getInfo  (BoxFile.ALL_FIELDS) was called and the file didn't have a preview available.