|
9 | 9 | - [Architecture](#architecture)
|
10 | 10 | - [Migration](#migration)
|
11 | 11 | - [Warnings](#warnings)
|
| 12 | + - [4.1.0](#410) |
| 13 | + - [Thumbnails feature disabled by default](#thumbnails-feature-disabled-by-default) |
12 | 14 | - [4.0.0](#400)
|
13 | 15 | - [Context Extension disabled by default](#context-extension-disabled-by-default)
|
14 | 16 | - [Node 22 update](#node-22-update)
|
@@ -170,6 +172,13 @@ apiLambda --> opensearch
|
170 | 172 | name, reindex the existing index into the newly-created index, delete and re-created
|
171 | 173 | the existing index by creating a collection, and reindex back into the index.
|
172 | 174 |
|
| 175 | +### 4.1.0 |
| 176 | + |
| 177 | +#### Thumbnails feature disabled by default |
| 178 | + |
| 179 | +The thumbnails behavior is now disabled by default, and can be enabled with |
| 180 | +`ENABLE_THUMBNAILS` = `true`. |
| 181 | + |
173 | 182 | ### 4.0.0
|
174 | 183 |
|
175 | 184 | #### Context Extension disabled by default
|
@@ -417,7 +426,8 @@ Properties: . . .
|
417 | 426 | #### Granting Access for Thumbnails
|
418 | 427 |
|
419 | 428 | The new experimental endpoint `/collections/{c_id}/items/{item_id}/thumbnail` will
|
420 |
| -redirect to a URL providing a thumbnail as determined by the assets in an item. If the |
| 429 | +redirect to a URL providing a thumbnail as determined by the assets in an item. This is |
| 430 | +enabled only if `ENABLE_THUMBNAILS` is set to `true`. If the |
421 | 431 | href for this is an AWS S3 ARN, IAM permissions must be granted for the API Lambda to
|
422 | 432 | generate a pre-signed HTTP URL instead. For example:
|
423 | 433 |
|
@@ -599,6 +609,7 @@ There are some settings that should be reviewed and updated as needeed in the se
|
599 | 609 | | CORS_METHODS | Configure whether or not to send the `Access-Control-Allow-Methods` CORS header. Expects a comma-delimited string, e.g., `GET,PUT,POST`. | `GET,HEAD,PUT,PATCH,POST,DELETE` |
|
600 | 610 | | CORS_HEADERS | Configure whether or not to send the `Access-Control-Allow-Headers` CORS header. Expects a comma-delimited string, e.g., `Content-Type,Authorization`. If not specified, defaults to reflecting the headers specified in the request’s `Access-Control-Request-Headers` header. | none |
|
601 | 611 | | ENABLE_COLLECTIONS_AUTHX | Enables support for hidden `_collections` query parameter / field when set to `true`. | none |
|
| 612 | +| ENABLE_THUMBNAILS | Enables support for presigned thumnails. | none | |
602 | 613 |
|
603 | 614 | Additionally, the credential for OpenSearch must be configured, as decribed in the
|
604 | 615 | section [Populating and accessing credentials](#populating-and-accessing-credentials).
|
|
0 commit comments