Skip to content

sensenet Services 7.6

Compare
Choose a tag to compare
@tusmester tusmester released this 22 Feb 10:24
· 938 commits to master since this release

This release contains new features and major architectural changes. Please take a look at the change log below.

New features

  • AccessToken: a new C# API for generating security tokens for users. The feature is integrated into our authentication pipeline so it is possible to use it for authentication by 3rd party players.
  • WOPI: we started working on a feature that will let users open and edit Office documents in the browser. In this release we added the API for viewing documents. Editing and the full UI solution will come later.

Architectural changes

Introducing data provider extensions

Previously any feature that required unique storage and data operations needed to be integrated to the core data provider of sensenet. Starting with this release it is possible to add a new feature involving storage and db operations outside of the main db provider. This architecture will let us provide a lot more simple and clean data provider layer in the future.

The changes above are mainly under the hood, but developers who created a custom data provider may encounter build errors, because the surface of the db provider interface has changed a little. The required changes are really minor things, please contact us if you do not know how to upgrade your code.

Package changes to support .Net Standard

Converted projects

In this release we finally converted two of our main projects to .Net Standard: the Storage and ContentRepository projects are now compatible with modern .Net environments. We are working on a fully deployable solution that will let developers access the repository in a .Net Core environment.

Legacy packages

During the .Net Standard conversion we had to move a couple of legacy features to separate packages. This is because they use old APIs that are not available in a modern environment. If your project uses these features, please install the corresponding NuGet packages:

Installation

To get started please follow the instructions in the Install sensenet from NuGet article.

Upgrade from previous versions

If you already have sensenet installed and want an in-place upgrade instead of re-creating the database, you have to do the following:

  • upgrade your database using the upgrade patch (see the attachment above in the Assets section) in your dev, test and live environments to be up to date.

Before executing the patch please make sure you have the latest version of the System.Data.SqlClient NuGet package installed in your application and there is no assembly binding in your config files pointing to a previous version of this library.