Skip to content

Releases: dropbox/dropbox-sdk-java

v3.0.5

08 Oct 01:31
Compare
Choose a tag to compare

3.0.5 (2017-10-07)

  • Update to Latest API specs:
    • Namespace common:
      • new LanguageCode alias.
    • Namespace file_properties:
      • Updated docstrings.
    • Namespace file_requests:
      • Updated docstrings.
    • Namespace files:
      • New aliases and structs relating to shared links.
      • Move shared_link to end of parameter list for ListFolderArg.
      • Add mode to ListRevisionsArg.
    • Namespace sharing:
      • New UserFileMembershipInfo struct.
    • Namespace team_folders:
      • updated doc strings.
      • additional async example.
    • namespace team_log:
      • new TeamEventList alias.
      • new autogenerated datatypes.
    • namespace team_policies:
      • new TwoStepVerificationPolicy.

V3.0.4

20 Sep 02:10
Compare
Choose a tag to compare

3.0.4 (2017-09-19)

  • Update to Latest API specs:
    • General:
      • Numerous updates to docstrings across all namespaces.
      • Updated general route configuration to support select_admin_mode.
    • Auth, Users, TeamReports, TeamPropertyTemplates, TeamDevices, TeamGroups, TeamLinkedApps Namespaces:
      • Update route ownership.
    • Common Namespace:
      • Fix regular expression for DisplayName.
      • Rename shared_folder to namespace_id for path root header.
      • New aliases for OptionalNamePart and DisplayNameLegacy.
    • Files Namespace:
      • Clarify WriteMode documentation.
      • Add Select-Admin badge to docs, remove list from business page.
      • Support fileId for move api v2 endpoints.
      • API_V2 delete_batch should grab one ns_lock when processing one namespace instead of holding all locks at beginning.
      • Add FileId support to list_folder.
      • Added changeset support for fileops and /rollback endpoint.
      • Change default of allow_ownership_transfer to false.
      • Get double the limit in list_revisions to include deleted and truncate later in controller.
      • Add server_deleted timestamp to list_revisions.
      • Revert changes to api delta that aren't backwards compatible.
      • Add deleted_at to DeletedMetadata in list_folders, get_metadata. Add deleted_at to toplevel response,
        add include_deleted as param in list_revisions.
      • Update ownership.
      • New attributes for ListFolderArg: included_mounted_folders, limit.
      • New get_thumbnail_batch route and corresponding interfaces.
    • SharedContentLinks Namespace:
      • API changes for child exceptions.
    • SharedLinks Namespace:
      • Add max results limit of 1000 for /2/sharing/get_shared_links.
      • Update sharing route ownership.
      • Add link to list_shared_links in shared_link_already_exists error.
    • SharingFiles Namespace:
      • Add owner name as a new field to alpha sharing file metadata.
    • SharingFolders Namespace:
      • Make the internal endpoint take internal folder actions.
      • Update route ownership.
      • Added owner_display_names to SharedFolderMetadataBase.
      • Updated PermissionDeniedReason union.
    • StoneCfg Namespace:
      • Add Select-Admin badge to docs, remove list from business page.
      • Update route ownership.
    • Team Namespace:
      • Enable looking up if a team is in CDM.
      • Update route generator to pass through team endpoint ownership.
      • Update route ownership.
      • Add route member_space_limits/set_custom_quota.
      • Add route member_space_limits/remove_cusom_quota.
      • Add route member_space_limits/get_custom_quota.
      • Deprecate beta properites routes.
    • TeamFolders Namespace:
      • Update team folder APIs with some extra fields.
      • Update route ownership.
    • TeamLog Namespace:
      • Start using v2 category index.
      • Reduced strictness of pattern matching for IpAddress.
      • New FileCommentNotificationPolicy union
      • Multiple updated attribute names in unions.
      • New Structs for new team_log objects
    • TeamLogGenerated Namespace:
      • Variable scheme for team events.
      • Mark ACCOUNT_CAPTURE_NOTIFICATION_EMAILS_SENT event as under development.
      • Make sure team policies event expose their own union (for API future proofing).
      • Add device_info as data_gap for 2 event types.
      • Save group info into participants field.
      • Account capture pro-active email notifications - audit log.
      • Fix schema of member_change_membershipe_type and member_space_limits_change_status.
      • Make team_folder_change_status conform to previous_value/new_value convention.
      • Fixes the variable schema of domain verification and account capture event types.
      • Use common.Data stone type for the variable schema fields of team_activity_create_report.
      • Introduce a new struct for team name.
      • Fix comments related to sso events.
    • TeamMembers Namespace:
      • Return root ns_id on some call.
      • Update ownership.
      • Update NamePart? to be OptionalNamePart?.
    • TeamNamespaces Namespace:
      • Implement API V2 route team/namespaces/list.
    • TeamPolicies Namespace:
      • Add Office Add-In Policy to get_current_account return.
      • Add new team policies for SSO Paper, RolloutMethod and PasswordStrength.
    • Paper Namespace:
      • New "docs/create" and "docs/update" routes and corresponding interfaces.
    • File_properties Namespace:
      • New routes and structs for the file properties and templates API functionality.
    • File_requests Namespace:
      • New routes and structs for the file_requests API functionality.
    • Files_properties Namespace:
      • removed in favor of file_properties.
    • Properties Namespace:
      • removed in favor of file_properties.
    • Team_property_templates Namespace:
      • removed in favor of file_properties.
  • Add global response handlers.
  • Add PathRootErrorException and AccessErrorException corresponding to 422 and 403 status codes.
  • Add support for map data type in stone.
  • Fix upload hanging in OKHttp3 when internet is cut off.

v3.0.3

02 May 21:40
Compare
Choose a tag to compare

3.0.3 (2017-05-02)

Fix the compatibility bug that cause sharing/get_file_metadata to crash.

v3.0.2

12 Apr 01:55
Compare
Choose a tag to compare

3.0.2 (2017-04-11)

  • Update to latest API specs:
    • Auth namespace:
      • Added TokenFromOAuth1Arg, TokenFromOAuth1Result and TokenFromOAuth1Error.
      • Added token/from_oauth1 rote.
      • Added AccessError and PaperAccessError.
      • Added InvalidAccountTypeError.
    • Files namespace:
      • Added UploadSessionFinishBatchLaunch and made it new return type for upload_session/finish_batch.
      • Added Sha256HexHash alias.
      • Added content_hash to FileMetadata.
      • Added upload_api_rate_limit feature attribute to upload_session/start, upload_session/append_v2, upload_session/append, upload, upload_session/finish_batch.
      • Added duplicated_or_nested_paths to RelocationError and removed from RelocationBatchError.
      • Added properties api_group attribute and is_preview attribute to properties/*.
      • Added disable_viewer_info and enable_viewer_info to CommitInfoWithProperties.
      • Added link_metadata to SharedFileMetadata.
      • Added ViewerInfoPolicy union.
      • Added no_explicit_access to MemberSelector.
      • Deprecated change_file_member_access.
      • Added update_file_member route and UpdateFileMemberArgs struct.
    • Sharing namespace:
      • Added unsupported_link_type to SharedLinkError.
      • Added is_member to GroupInfo.
      • Added too_many_files to UnshareFolderError.
      • Added no_explicit_access to RelinquishFolderMembershipError.
      • Added viewer_info_policy, disable_viewer_info, enable_viewer_info to FolderPolicy.
      • Added team, is_inside_team_folder, path_lower to SharedLinkPolicy.
      • Added link_metadata, policy, shared_folder_id, time_invited to SharedFolderMetadata.
      • Added actions, link_settings, viewer_info_policy to ShareFolderArg and removed default values from policies in ShareFolderArg.
      • Added viewer_info_policy, link_settings to UpdateFolderPolicyArg.
    • Stone Cfg namespace:
      • Added feature route attribute.
      • Added attribute api_group, is_preview.
      • Removed attributes alpha_group, beta_group.
    • Team namespace:
      • Added group_name_already_used and group_name_invalid to GroupUpdateError.
      • Added joined_on, persistent_id to MemberProfile.
      • Added team_member_id, external_id to UserSelectorArg.
      • Added TeamMemberId, MemberExternalId, GroupExternalId, ResellerId aliases.
      • Added company_managed, system_managed to GroupManagementType.
      • Added TimeRange.
      • Added archive_in_progress to TeamFolderStatus, TeamFolderIdArg.
      • Added BaseTeamFolderError.
      • TeamFolderRenameError, TeamFolderArchiveError, BaseTeamFolderError, TeamFolderPermanentlyDeleteError now extend BaseTeamFolderError.
      • Added folder_name_reserved to TeamFolderRenameError.
      • Added GroupSelectorWithTeamGroupError.
      • GroupMemberSelectorError, GroupMembersSelectorError now extends GroupSelectorWithTeamGroupError.
      • Removed alpha from alpha/groups/*.
      • GroupDeleteError, GroupUpdateError, GroupMembersAddError now extends GroupSelectorWithTeamGroupError.
      • Added members_not_in_team, users_not_found to GroupMembersAddError.
      • Added joined_on to TeamMemberProfile.
      • Added member_persistent_id, duplicate_member_persistent_id, persistent_id_disabled, new_persistent_id, persistent_id_disabled, persistent_id_used_by_other_user to MemberSelectorError.

v3.0.1

30 Mar 01:19
Compare
Choose a tag to compare

3.0.1 (2017-03-29)

  • Add OpenWith support for official partners.

v3.0.0

17 Mar 22:57
Compare
Choose a tag to compare

3.0.0 (2017-03-17)

  • Breaking changes:
    • static INSTANCE is removed from OkHttp3Requestor and OkHttpRequestor
    • copyBatch/moveBatch now takes RelocationBatchArg instead of List
  • Update to latest API specs:
    • Auth namespace:
      • Added user_suspended to AuthError.
    • Files namespace:
      • Added PathRootError.
      • Added invalid_path_root to LookupError.
      • Added autorename to CreateFolderArg.
      • Added DeleteBatchArg, DeleteBatchResultEntry, DeleteResult, DeleteBatchResult, DeleteBatchError, DeleteBatchJobStatus and DeleteBatchLaunch.
      • Added delete_batch and delete_batch/check routes.
      • Added RelocationPath.
      • Added to allow_shared_folder and autorename to RelocationArg.
      • Added RelocationBatchArg, RelocationBatchResult, RelocationBatchJobStatus, RelocationResult,RelocationBatchError and RelocationBatchLaunch.
      • Added copy_batch and copy_batch/check routes.
      • Added move_batch and move_batch/check routes.
    • Sharing namespace:
      • Changed PathOrId validation pattern.
      • Changed path in ShareFolderArg from type files.Path to files.WritePath.
      • Added contains_app_folder, contains_team_folder and invalid_path_root to ShareFolderArg.
    • Stone Cfg namespace:
      • Changed validation pattern for owner in Route.
      • Added feature route attribute.
    • Team namespace:
      • Added team_license_limit to MembersRecoverError.
      • Removed beta_group attribute from members/recover.
  • Fix the bug that when InputStream throws IOException, DbxUploader#uploadAndFinish() throws NetworkIOException

v2.1.2

05 Oct 01:56
Compare
Choose a tag to compare

2.1.2 (2016-10-04)

  • Fix "Bad JSON: expected field ..." deserialization bug in union deserializer when union member is an enumerate subtype.
  • Stop decoding PEM format root cert at run time in order to make apps boot faster.
  • Dropbox Java SDK generator is now open sourced!
  • Update to latest API specs:
    • Auth:
      • Added user_suspended to AuthError.
    • Files:
      • Added traverse_only and no_access to FolderSharingInfo.
      • Added PathRootError.
      • Added invalid_path_root to LookupError.
      • Added autorename to CreateFolderArg.
      • Added DeleteBatchArg, DeleteBatchResultEntry, DeleteResult, DeleteBatchResult, DeleteBatchError and DeleteBatchJobStatus.
      • Added delete_batch and delete_batch/check routes.
      • Added RelocationPath.
      • Added to allow_shared_folder and autorename to RelocationArg.
      • Added RelocationBatchArg, RelocationBatchResult, RelocationBatchJobStatus, RelocationResult and RelocationBatchError.
      • Added copy_batch and copy_batch/check routes.
      • Added move_batch and move_batch/check routes.
    • Sharing:
      • Added create_link to FileAction.
      • Added time_invited to SharedFileMetadata.
      • Added access_error to FileMemberActionError.
      • Changed PathOrId validation pattern.
      • Changed path in ShareFolderArg from type files.Path to files.WritePath.
      • Added contains_app_folder, contains_team_folder and invalid_path_root to ShareFolderArg.
    • User:
      • Added abbreviated_name to Name.
    • Team:
      • Added team_license_limit to MembersRecoverError.
      • Removed beta_group attribute from members/recover.
    • Stone Cfg:
      • Changed validation pattern for owner in Route.

v2.1.1

01 Aug 21:36
Compare
Choose a tag to compare

2.1.1 (2016-08-01)

  • Fix "Required field ... missing" deserialization bug caused by certain backwards-compatible response changes from the server.

v2.1.0

30 Jul 00:32
Compare
Choose a tag to compare

2.1.0 (2016-07-29)

  • Update to latest API specs:
    • Files
      • Add uploadSessionFinishBatch(..) endpoint for batch uploads.
    • Sharing:
      • Add changeFileMemberAccess(..) for changing a member's access to a shared file.
      • Add INVITE_VIEWER_NO_COMMENT and SHARE_LINK to FolderAction.
      • Add MemberAction.MAKE_VIEWER_NO_COMMENT.
      • Add preview URL to SharedFolderMetadata.
      • Add parent folder access information to MemberAccessLevelResult.
      • Add AddFolderMemberError.TOO_MANY_INVITEES.
      • Add AddMemberSelectorError.AUTOMATIC_GROUP.
      • Add MountFolderError.INSUFFICIENT_QUOTA.
    • Team:
      • Add TeamMemberStatus.Tag.REMOVED.
      • Add ability to update group management type for a group.
      • Add ability to include removed members when listing members of a team.
      • Add membersRecover(..) endpoint for recovering team members.
  • Fix OkHttpRequestor/OkHttp3Requestor to support interceptors that consume request bodies, like Stetho.
    • Fix does not apply to streaming uploads.
  • Fix OkHttpRequestor/OkHttp3Requestor to properly handle streaming uploads.
    • The requestors no longer buffer entire request body in memory for streams.
  • Add configureRequest(..) method for simpler subclassing of OkHttpRequestor and OkHttp3Requestor.
  • Fix BadRequest error when adding custom state to a DbxWebAuth.Request object.
  • Remove final modifier from DbxClientV2 and DbxTeamClientV2 class declarations for easier mocking in tests.

2.0.6

20 Jun 23:29
Compare
Choose a tag to compare

2.0.6 (2016-06-20)

  • Update to latest API specs:
    • Files (DbxUserFilesRequests)
      • Add file properties endpoints.
    • Sharing (DbxUserSharingRequests)
      • Add endpoints for sharing files and managing shared file membership.
      • Change return type of removeFolderMember(..) endpoint to always be an async Job ID (LaunchEmptyResult.isAsyncJobId() will be true).
      • Add checkRemoveMemberJobStatus(..) for checking asynchronous removeFolderMember(..) requests.
        • Returns additional information compared to checkJobStatus(..)
      • Change return type of updateFolderMember(..) to return a MemberAccessLevelResult instead of void.
      • Add NO_EXPLICIT_ACCESS to UpdateFolderMemberError.
  • Fix Android Fake ID exploit where app certificate chains aren't properly validated.