Spire.Doc 12.1.5 removes the MonoAndroid package and the Xamarin.iOS package

2024-01-15 09:32:21

We are pleased to announce the release of Spire.Doc 12.1.5. This version removes the MonoAndroid package and the Xamarin.iOS package. It also makes a series of changes to the password functionality of documents. In addition, some known issues have also been fixed, such as partial data was lost when loading a document after creating a new Document() object and applying a LicenseKey. More details are listed below.

Here is a list of changes made in this release

Category ID Description
Adjustment - Removes MonoAndroid package and Xamarin.iOS package; netstand 2.0 package is now available for both platforms.
Adjustment - The following changes have been made to the document password function:

1. In previous versions, when dealing with password-protected documents, users were able to open and save documents with the provided password, but this also resulted in the loss of the password. The update fixes this problem. Now, after saving a document, you must re-enter the password to open it. If you want to remove the open password from the document, please use the Document.RemoveEncryption() method. This change provides more secure handling of encrypted documents.

2. New WriteProtection operation: Previous versions of the SDK did not support WriteProtection operations on Word documents, resulting in the loss of WriteProtection data when parsing the document. However, this update addresses this limitation and introduces several methods for handling WriteProtection. The following methods support handle WriteProtection efficiently:

  • Document.SetWriteProtection(string password): sets WriteProtection for the document using the specified password.
  • Document.SetWriteProtection(string password, bool recommended): sets WriteProtection for the document using the specified password and allows to enable or disable read-only recommendation.
  • Document.UnWriteProtection(): completely remove WriteProtection from the document.
  • Document.UnWriteProtection(string password): attempts to remove WriteProtection from the document using the supplied password.
  • Document.HasWriteProtection(): Checks if the document is write-protected.
These new methods allow you to easily manage the WriteProtection settings of Word documents, increasing the security and control of document editing.
Bug - Fixes the issue that some data was lost when loading a document after creating a new Document() object and applying a LicenseKey.
Bug - Fixes some issues that were related to form revisions.
Click the link to download Spire.Doc 12.1.5:
More information of Spire.Doc new release or hotfix: