---
title: "2021.1 release notes"
canonical_url: "https://www.nutrient.io/guides/web/release-notes/2021-1/"
md_url: "https://www.nutrient.io/guides/web/release-notes/2021-1.md"
last_updated: "2026-05-19T18:11:34.027Z"
description: "Navigate changes in PSPDFKit for Web 2021.1 and optimize your configuration for new features like the Export PDF button. Update your migration strategy now!"
---

# Upgrade to PSPDFKit for Web 2021.1 with ease

[PSPDFKit for Web 2021.1](https://www.nutrient.io/blog/pspdfkit-web-2021-1-collaboration-permissions/) comes with a few improvements that might require an ad hoc migration.

### Notable changes

- (#25320) This release removes the `NutrientViewer.Configuration#disableIndexedDBCaching` option. The reason for this is browsers dropped plans to ship this caching strategy, and instead, the caching of WebAssembly modules will follow regular HTTP cache rules.

  Now, there’s no longer a way to enable IndexedDB caching, so `disableIndexedDBCaching` isn’t necessary and doesn’t have any effect.

  This flag will be entirely removed in a future release of PSPDFKit for Web, so it’s recommended to remove it from the `NutrientViewer.Configuration` object when creating a PSPDFKit instance.

  For more information about WebAssembly modules caching, refer to the [MDN page](https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API), [this Mozilla bug entry](https://bugzilla.mozilla.org/show_bug.cgi?id=1469395), and [this WebAssembly spec issue](https://github.com/WebAssembly/spec/issues/821).

- (#26594) This release ships with a new toolbar button, Export PDF. If you don’t want to use it, remove the `export-pdf` button type from the default toolbar items when loading PSPDFKit:

  ```js

  const toolbarItems = NutrientViewer.defaultToolbarItems.filter(it => {
    return it.type!== "export-pdf";
  });

  NutrientViewer.load({...configuration, toolbarItems });
  ```

- (#25309) This release slightly changes the behavior of specifying a range of pages to search within when using the [`NutrientViewer.Instance#search()`](https://www.nutrient.io/api/web/classes/NutrientViewer.Instance.html#search) API. Previously, specifying both `startPageIndex` and `endPageIndex` made search results include matches from the start page index up until the end page index, without including those from the last page. Now, search results also include those from the end page index that’s specified.

To keep the previous behavior, you’ll instead need to call `NutrientViewer.Instance#search`, passing `endPageIndex - 1` as the `endPageIndex` property value.

- (#27856) You’ll no longer be allowed to change the `rootId` of a comment once it has been created. If you were updating the `rootId` before, make sure you create a new comment instead.

- (#27443) This release prevents setting `NutrientViewer.ViewState#interactionMode` to a value that enables annotation creation with the UI when in read-only mode (`NutrientViewer.ViewState#readOnly` is `true`). The new interaction mode set via `Instance#setViewState` is set as `null` in this case, and a warning is emitted to the console.

If you use PSPDFKit Server, make sure you read the [2021.1 server migration guide](https://www.nutrient.io/guides/product-archives-and-deprecated-solutions.md).

For a full list of changes, check out the [changelog](https://www.nutrient.io/guides/web/changelog.md#2021.1).
---

## Related pages

- [1 0](/guides/web/release-notes/1-0.md)
- [1 10](/guides/web/release-notes/1-10.md)
- [1 1](/guides/web/release-notes/1-1.md)
- [1 12](/guides/web/release-notes/1-12.md)
- [1 11](/guides/web/release-notes/1-11.md)
- [1 13 1](/guides/web/release-notes/1-13-1.md)
- [1 15](/guides/web/release-notes/1-15.md)
- [1 3](/guides/web/release-notes/1-3.md)
- [1 2](/guides/web/release-notes/1-2.md)
- [1 13](/guides/web/release-notes/1-13.md)
- [1 4](/guides/web/release-notes/1-4.md)
- [1 14](/guides/web/release-notes/1-14.md)
- [1 6](/guides/web/release-notes/1-6.md)
- [1 7](/guides/web/release-notes/1-7.md)
- [1 5](/guides/web/release-notes/1-5.md)
- [1 8](/guides/web/release-notes/1-8.md)
- [1 9](/guides/web/release-notes/1-9.md)
- [Explore new features in PSPDFKit for Web 2017.9](/guides/web/release-notes/2017-9.md)
- [2017 3](/guides/web/release-notes/2017-3.md)
- [Upgrade annotations in PSPDFKit Web 2017.8](/guides/web/release-notes/2017-8.md)
- [Update your PSPDFKit for Web to version 2017.7](/guides/web/release-notes/2017-7.md)
- [New features in the 2018.1 migration guide](/guides/web/release-notes/2018-1.md)
- [2017 6](/guides/web/release-notes/2017-6.md)
- [PSPDFKit for Web 2018.2 migration insights](/guides/web/release-notes/2018-2.md)
- [Explore PSPDFKit for Web 2018.4 features](/guides/web/release-notes/2018-4.md)
- [Explore PSPDFKit for Web 2018.6 enhancements](/guides/web/release-notes/2018-6.md)
- [Explore the new features in PSPDFKit 2018.7](/guides/web/release-notes/2018-7.md)
- [Explore new features in PSPDFKit 2018.5](/guides/web/release-notes/2018-5.md)
- [Discover the new features in PSPDFKit for Web 2018.3](/guides/web/release-notes/2018-3.md)
- [Key updates in PSPDFKit for Web 2019.1](/guides/web/release-notes/2019-1.md)
- [PSPDFKit for Web 2019.3 migration highlights](/guides/web/release-notes/2019-3.md)
- [2019 2](/guides/web/release-notes/2019-2.md)
- [Upgrade to PSPDFKit Web 2020.3 seamlessly](/guides/web/release-notes/2020-3.md)
- [Essential updates in PSPDFKit for Web 2019.4](/guides/web/release-notes/2019-4.md)
- [PSPDFKit for Web 2019.5 migration insights](/guides/web/release-notes/2019-5.md)
- [Seamless migration to PSPDFKit for Web 2020.2](/guides/web/release-notes/2020-2.md)
- [Key changes in PSPDFKit for Web 2020.1](/guides/web/release-notes/2020-1.md)
- [Unified CRUD API enhancements for easy migration](/guides/web/release-notes/2020-5.md)
- [2021 3](/guides/web/release-notes/2021-3.md)
- [PSPDFKit Web and Server 2020.4 migration update](/guides/web/release-notes/2020-4.md)
- [Seamlessly migrate to PSPDFKit for Web 2021.2](/guides/web/release-notes/2021-2.md)
- [Migration guide for PSPDFKit 2021.5](/guides/web/release-notes/2021-5.md)
- [PSPDFKit 2021.4 migration guide for seamless updates](/guides/web/release-notes/2021-4.md)
- [2021 6](/guides/web/release-notes/2021-6.md)
- [PSPDFKit Web 2020.6 migration insights](/guides/web/release-notes/2020-6.md)
- [Key updates in PSPDFKit for Web 2023.3](/guides/web/release-notes/2023-3.md)
- [Enhancements in PSPDFKit for Web 2022.2](/guides/web/release-notes/2022-2.md)
- [PSPDFKit for Web 2022.4 migration overview](/guides/web/release-notes/2022-4.md)
- [PSPDFKit 2022.1.1 migration changes](/guides/web/release-notes/2022-1.md)
- [Explore key updates in PSPDFKit for Web 2023.4](/guides/web/release-notes/2023-4.md)
- [Explore the new features of PSPDFKit for Web 2022.3](/guides/web/release-notes/2022-3.md)
- [PSPDFKit 2023.2 migration and updates](/guides/web/release-notes/2023-2.md)
- [Key improvements in PSPDFKit for Web 2022.5](/guides/web/release-notes/2022-5.md)
- [2024 2](/guides/web/release-notes/2024-2.md)
- [Discover the key updates in PSPDFKit for Web 2023.1](/guides/web/release-notes/2023-1.md)
- [Upgrading Nutrient Web SDK](/guides/web/release-notes/upgrading.md)
- [Essential Nutrient Web SDK 2024.1 migration tips](/guides/web/release-notes/2024-1.md)
- [2024 8](/guides/web/release-notes/2024-8.md)
- [2024 3](/guides/web/release-notes/2024-3.md)
- [2024 4](/guides/web/release-notes/2024-4.md)
- [2024 5](/guides/web/release-notes/2024-5.md)
- [2024 7](/guides/web/release-notes/2024-7.md)
- [Key updates in PSPDFKit for Web 2023.5](/guides/web/release-notes/2023-5.md)

