Changelog
  • All
  • New features
  • Impactful changes
  • API
  • Java
  • Windows
  • Python
  • Node
  • CLI
  • UI Elements
Unread

Box Node SDK v1.34.0 released

Feature SDKs Node GitHub

Box Node SDK v1.34.0 released

  • Add zip functionality (#525) 2f89357
  • Add proxy support for HTTP, HTTPS, SOCKS and PAC protocols (#529) b08cc24

https://github.com/box/box-node-sdk/compare/v1.33.0...v1.34.0

Unread

Updates to Search Relevance & Performance

Feature API

Updates to Search Relevance & Performance

In January, updates were released to Box's search tokenizer, improving the relevancy of search results and performance. This change does not effect how metadata is tokenized.

Notable changes to the API-initiated searches include:

  • The ability to use "stop words", for example "the", "is" "at", "which", and "on".
  • Improved Japanese text tokenization and improved search results.

See the full-text search documentation for more information on how to search using Box's API.

Unread

New Zip Download APIs available

Feature API

New Zip Download APIs available

A new collection of APIs are now available that allows developers to create a Zip file containing a specified list of files and folders. We've updated the reference documentation for this Zip Download API. SDK support for these new endpoints is currently in development and scheduled to be released in the next 3 months.

Unread

Box Java SDK v2.50.0 released

Feature SDKs Java GitHub

Box Java SDK v2.50.0 released

v2.50.0

  1. Add retries on request creation errors (#828)
Unread

Box Windows SDK v3.24.0 released

Feature SDKs Windows GitHub
Unread

Box Java SDK v2.49.0 released

Feature SDKs Java GitHub

Box Java SDK v2.49.0 released

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

Change to enterprise events for content access

Feature API

Change to enterprise events for content access

Starting today, the enterprise event stream will begin producing new content access events.

A new CONTENT_ACCESS event is triggered when a file was accessed by an authorized user or programmatically by a Box application.

See the enterprise events documentation for more information on other event types.

Unread

Changes to Metadata Query API syntax

Feature Impactful API

Changes to Metadata Query API syntax

The Metadata Query API has been updated to require explicitly defined response fields.

curl -X POST https://api.box.com/2.0/metadata_queries/execute_read \
      -H 'Authorization: Bearer <ACCESS_TOKEN>" '
      -H 'Content-Type: application/json'
      -d '{
        "from": "enterprise_123456.customerInfo",
        "query": "tav >= :value",
        "query_params": {
          "value": 200000
        },
        "fields": [
          "name",
          "metadata.enterprise_123456.customerInfo.tav"
       ],
        "ancestor_folder_id": "0"
      }'

Additionally, the response format now returns a list of items rather than a list of query results. Any metadata is now nested within the item, rather than listed side-by-side with the item. Only fields specified in the field array - as well as any base fields - are returned in the response.

{
  "entries": [{
    "id": "394384323",
    "type": "file",
    "etag": 1,
    "name": "Contract.pdf",
    "metadata": {
      "enterprise_123456": {
        "customerInfo": {
          "$parent": "folder_12345,",
          "$scope": "enterprise_123456",
          "$template": "customerInfo",
          "$version": 1,
          "tav": 1000000
        }
      }
    }
  }]
}

Legacy syntax

For reference, the API would previously return all standard fields for an item as well as the matched metadata.

curl -X POST https://api.box.com/2.0/metadata_queries/execute_read \
      -H 'Authorization: Bearer <ACCESS_TOKEN>" '
      -H 'Content-Type: application/json'
      -d '{
        "from": "enterprise_123456.customerInfo",
        "query": "tav >= :value",
        "query_params": {
          "value": 200000
        },
        "ancestor_folder_id": "0"
      }'

The response body previously returned the items as a list of entries, each containing an item and a metadata instance.

{
  "entries":[
    {
      "item":{
        "type":"file",
        "id":"394384323",
        "name": "Contract.pdf",
        "file_version":{
          "type":"file_version",
          "id":"33482348",
          "sha1":"69888bb1bff455d1b2f8afea75ed1ff0b4879bf6"
        },
        ...
      },
      "metadata":{
        "enterprise_123456":{
          "customerInfo":{
            "tav": 1000000,
            "$id": "01234500-12f1-1234-aa12-b1d234cb567e",
            "$parent": "folder_12345,",
            "$scope": "enterprise_123456",
            "$template": "customerInfo",
            "$type": "customerInfo-6bcba49f-ca6d-4d2a-a758-57fe6edf44d0",
            "$typeVersion": 2,
            "$version": 1,
            "$canEdit": true
          }
        }
      }
    },
    ...
  ],
  "limit": 20,
  "next_marker":"AAAAAmVYB1FWec8GH6yWu2nwmanfMh07IyYInaa7DZDYjgO1H4KoLW29vPlLY173OKsci6h6xGh61gG73gnaxoS+o0BbI1/h6le6cikjlupVhASwJ2Cj0tOD9wlnrUMHHw3/ISf+uuACzrOMhN6d5fYrbidPzS6MdhJOejuYlvsg4tcBYzjauP3+VU51p77HFAIuObnJT0ff"
}

This legacy syntax will remain available for any existing Metadata Query API users only. The legacy syntax will be turned off When all existing customers have been migrated over to the new syntax.

Unread

Box Node SDK v1.33.0 released

Feature SDKs Node GitHub

Box Node SDK v1.33.0 released

  • Add path parameter sanitization (#505) 46b780a
  • Add support for all streams for uploading files (#519) 93a27ec

https://github.com/box/box-node-sdk/compare/v1.32.0...v1.33.0

Unread

Box Java SDK v2.48.0 released

Feature SDKs Java GitHub

Box Java SDK v2.48.0 released

v2.48.0

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