Releases

  • sensenet
  • sn-client-js
  • sn-client-dotnet
  • sn-webpages
  • sn-client-cli
    • 7.0.0-beta4 July 21, 2017

      New features

      TypeScript 2.4 updates

      • generated TypeScript classes take advantage of string-based enums

        New packaging steps for SnAdmin

      • SetField, AddReference, RemoveReference: new steps for setting or modifying field values during a patch or installation, without importing.

        New SnAdmin tool

      • delete: it is possible to delete a content from the repository by its path from the command line, you do not have to use the REST or C# api for that.

      Bug fixes

      • added a missing package reference for the OpenPop library
      • added a few missing string resources

      Installation

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

      Upgrade from previous versions

      Please export your custom content and perform a clean install, there is no upgrade patch for previous versions for this release.

    • 7.0.0-beta3 July 10, 2017

      New features

      • Add CORS header and preflight response in case of a JWT token auth request, so that JWT authentication works with CORS.

      Packaging

      • Allow SnAdmin install packages to be executed multiple times (depends on the decision of the package creator).
      • It is possible to create and execute packages that contain the hyphen (-) character in their name.

      Bug fixes

      • The Open in Office feature works regardless of the file extension casing (e.g. .xlsx/.XLSX).
      • Content type header is added correctly to the response, even if the content path casing is incorrect in the request.
      • OData parameter inlinecount=allpages results in executing a Lucene query (compile to SQL is not allowed in this case so that a correct full count is served to the client).
      • Add missing fieldsetting content types to aid list field management on content lists.
      • Allowed child type logic works even if there is a missing content type in the list.

      Installation

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

      Upgrade from previous versions

      If you installed a previous version, please export your custom content before you get the new version:

      1. export your custom content from the Content Repository (using the export SnAdmin tool)
      2. upgrade the NuGet package in Visual Studio (from v7.0.0 beta2 to beta3). Make sure you let nuget overwrite your local files with the new ones from the package.
      3. please remove/cleanup generated package folder(s) from your web\Admin\tools folder: most importantly install-services, so that the new package zip is extracted when you install the component again.
      4. reinstall the whole Services component. This is a clean install that creates a new db. If you want to use the same db name, use the ForcedReinstall:true switch when installing.
      5. import your custom data

        There is no in-place upgrade for this version, the new dlls would not work with the old database.

    • 7.0.0-beta2 May 17, 2017

      New features

      JWT authentication

      JSON Web Token authentication will help client developers connect to sensenet ECM and work with the content repository in a more secure and flexible way.

      Packaging improvements

      • SQL authentication is supported during installation
      • SnAdmin packages support phase-level custom assemblies that are loaded only for the phase that they are defined for.
      • New steps:
        • Edit allowed child types (on a content or content type)
        • IfComponentExists for checking component existence (soft dependency check)

      NuGet install improvements

      We modularized our NuGet packages to be more flexible: now we have two packages for our components:

      • one for web applications, containing content files and web folder material
      • a simple, dll-only package for other project types

      Bug fixes

      • Variable resolution fix in various steps (Export, Index).
      • Warning is logged on unknown action instead of throwing an error. This makes OData responses more robust.
      • Eliminated several null reference errors when there was no Site content in the system.
      • Install logic can deal with existing databases.
      • Service action generates a correct url even if the service name starts with a slash.
      • Saving the Root content is possible.
      • Removed unnecessary custom workspace type references from the User ctd that prevented saving users.

      Breaking changes

      Packaging

      Package manifest structure had to be changed to support the new component model of sensenet ECM.

      • Every manifest should contain a component Id and optionally a list of dependent components.
      • Package type definition has been simplified.
      • Old package structure is not supported anymore, manifest files have to be upgraded. See the new manifest structure in this article: SnAdmin

      Known issues

      • Open in Office feature is currently not available (issue #10).
      • Windows authentication is currently not available (issue #69).

      Installation

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

      Upgrade from previous versions

      If you installed a previous version, please export your custom content before you get the new version:

      1. export your custom content from the Content Repository (using the export SnAdmin tool)
      2. uninstall the previous NuGet package (v7.0.0 beta)
      3. install the new package (v7.0.0 beta2)
      4. reinstall the whole Services component. This is a clean install that creates a new db. If you want to use the same db name, use the ForcedReinstall:true switch when installing.
      5. import your custom data

        There is no in-place upgrade for these versions, the new dlls would not work with the old database.

    • 7.0.0-beta March 28, 2017

      Introducing Sense/Net Services 7.0.0 beta

      Sense/Net Services is the base component of the Sense/Net ECM platform that all other components will build on.

      Installation

      To get started, install the following NuGet package. Please follow the instructions in the Getting started section of the main readme.

      NuGet

      Known issues

      There are a couple of known issues with the beta release. We plan to solve these before releasing the stable version:

      • Open in Office feature is currently not available in the beta release.
      • There is a single Services NuGet package that contains both dlls and install content files. If you install the package into multiple projects, all the install files (e.g. web.config additions) will be added to all those projects. In the future we will publish two different NuGet packages: one containing only dlls and one for install files.
    • 2.5.0 October 20, 2017

      New features

      Upload functionality has been improved, now chunked upload is supported from the library. The new upload endpoints on Content level:

      • content.UploadTextAsFile(options) - Create a text file from a string variable
      • content.UploadFile(options) - Upload a file from a File instance (e.g. from form data)
      • content.UploadFromDropEvent(options) - Upload a file structure from a single Drop event

      Binary field support has been added, now you can overwrite binaries on content field level. The new endpoints per binary fields (e.g. file.Binary) are:

      • fileContent.SaveBinaryFile(file: File)
      • fileContent.SaveBinaryText(text: string)
      • fileContent.GetDownloadUrl(): string

      New Repository setting - If you’ve modified the default BinaryChunkSize, you can adjust it with the Repository’s ChunkSize setting

      Changes

      MockHttpProvider has been refactored in order to handle a request/response queue instead of defining single results. The provider will The following methods has been removed / replaced

      • setResponse(response) -> AddResponse(response)
      • setError(error) -> AddError(error)
      • lastOptions -> RequestLog

      RxAjaxHttpProvider - The unused ForceCheckCrossDomain property has been removed.

    • 2.4.1 September 26, 2017

      Changes

      • Improved repository.GetCurrentUser() realibility, the observable will be throtteled on Authentication.State change until the current user will be loaded
      • jwtService.Logout() will trigger an additional request to flush http-only cookies
    • 2.4.0 September 19, 2017

      New features

      • Improved OData ‘orderby’ options, now ordering direction can be specified for fields
    • 2.3.0 August 22, 2017

      New features

      • Extended Repository configuration with default OData parameters for default select, required select, default metadata, default inlinecount, expand and top
      • Added repository.GetCurrentUser() observable for tracking user identity changes
      • Created SavedContent< T > type where the content Id and Path is required
      • Added batch operations to Repository: CopyBatch, MoveBatch and DeleteBatch

      Changes

      • Type checking for OData select, expand and orderby options
      • repository.handleLoadContent() will accept a SavedContent for parameter (Id and Path will be required)
    • 2.2.0 August 08, 2017

      New features

      • New Query API for building strongly typed Content Queries
      • Public Query endpoints:
        • repository.CreateQuery(…) for querying the whole repository
        • content.CreateQuery(…) for querying on a subtree of a Content
        • ContentReferenceField.Search(…) and ContentListReferenceField.Search(…) for querying available content for a specific reference field (e.g. autocomplete or picker controls)

      Changes

      • Reviewed and cleaned up NPM dependencies

      Fixes

      • Type casting and content construction on Collection responses
      • Fixed ContentReference and ContentListReference dirty checking
    • 2.1.0 July 27, 2017

      New features

      • New hierarchical content comparison methods on Content instance level
        • IsParentOf()
        • IsChildOf()
        • IsAncestorOf()
        • IsDescendantOf()
      • repository.Events Observables - RxJS Observables to track repository events
        • OnContentCreated
        • OnContentCreateFailed
        • OnContentModified
        • OnContentModificationFailed
        • OnContentLoaded
        • OnContentDeleted
        • OnContentDeleteFailed
        • OnContentMoved
        • OnContentMoveFailed
        • OnCustomActionExecuted
        • OnCustomActionFailed
      • ContentSerializer feature - can be used to stringify and parse content maintaining all of its data and its origin.
        • Added content.Stringify(): string
        • Added *repository.ParseContent(): T*
      • ContentReferenceField and ContentListReferenceField handling improved
        • Allow to get the reference w/o additional request when expanded
        • Allow to lazy-load reference when not expanded
        • Automatically serialize and deserialize reference values for requests
      • Content.Reload(viewName)
        • Reload a Content instance, $expand and $select fields automatically based on the desired view
      • Content.ReloadFields(…fields)
        • Reload the specified fields / references on a Content instance

          Changes

      • repository.Load() parameter ordering has been changed to: *idOrPath:string int, odataOptions?: IODataParams, returnsType?, version?*
      • Content.Create() parameter ordering has been changed to: contentOptions: IContentOptions, newContentType, repository: BaseRepository
      • repository.HandleLoadedContent() will try to get the content type from the constructor options ‘Type’ field, if provided, and the optional contentType parameter is not provided
      • Content.GetSchema() will fall back to GenericContent’s schema instead of throwing an error when there is no available Schema for the type
      • Updated sensenet specific enums to be string-based ones. Their values will be provided by sensenet ECM and they can be used on API calls without casting or converting

        Fixes

      • Fixed content.Delete() fired a duplicated request
      • Fixed content.HasPermission() method
      • Fixed typo on ControlMapper.GetFullSchemaForContentType()

        Deprecations

      • repository.Content - Please use repository.GetODataApi() instead
      • Content.HandleLoadedContent() - Please use repository.HandleLoadedContent() instead
    • 2.0.1 July 12, 2017

      Fixes

      • RxAjaxHttpProvider - Fixed observable error for successful requests with no response body (e.g. OData DELETE)
      • Content.Children() will respect the optional OData options parameter
    • 2.0.0 July 05, 2017

      New features

      • Content lifecycle tracking with the Content API
        • Added IsDirty, IsSaved, IsValid and SavedFields properties
        • Added GetChanges() method for change detection
        • Updated Save() method to work without parameters based on the change detection and the Content state
      • Optimized the generated Schemas structure
      • Typescript 2.4.1 Support

      Breaking changes

      • All content fields will be optional during the component creation. You can use the IsValid property to check required fields.
      • DateTime field types has changed from Date to string due timezone conversion issues.
    • 2.0.0-RC.4 June 13, 2017

      Changes

      • Added ControlMapper feature
      • Implemented Retrier
    • 2.0.0-RC.2 May 16, 2017

      Breaking changes

      • Fixed typo, renamed Repository.Contents references to Repository.Content
    • 2.0.0-RC.1 May 15, 2017

      Breaking changes

      • SetSiteUrl and SetServiceToken won’t be available any longer. These settings can be specified during Repository instance instantiation
      • OData Api methods won’t be available at the Global scope, you can use them through Repository.Contents

      New Fetatures

      • Introduced Repository class as the main, configurable entry point to the sense NET API
      • JWT Token Authentication implementation
      • Improved type safety for OData Operations
    • 1.1.0-beta.1 February 15, 2017

      1.1.0-beta.1 (2017-02-15)

      Bug Fixes

      • Change the portal url setting process and the related actions (d0a4675d)
      • Siteurl related fixes (3bb9327f)
      • common: Login and logout methods are binded to the new actions in the odataapi module (c259371b)

      Features

      • Add sn generated default ts files and their tests (80e04abc)
      • Add odata service token setting and login/logout actions (b87e1f23)
    • 1.0.2 December 01, 2016

      1.0.2-beta.5 (2016-12-05)

      Bug Fixes

      • ODataAPIActionObservables’ name is changed to ODataApiActionObservables (6b2a4cdc)
      • actionobservables: Change jquery ajax calls to fetch (b7a2e490)
      • import: Add missing index.js file (762dd7d1)

      Features

      • app: Adding the sn-client-js library (98a74a23)
      • location: Related sn portal can be configured in a config file (dc91f6cd)
    • 1.1 November 23, 2016

      Introducing Sense/Net Client for .Net

      A .Net client for Sense/Net ECM that makes it easy to use the REST API of the Content Repository.

      Binaries

      If you want to reference this library in your project, please do it by installing the NuGet package.

      NuGet

    • 7.0.0-beta2 July 10, 2017

      New features

      • Add more content types, views and controls: Article, ArticleSection, HTMLContent, WebContent CTDs and TagList control.

      Bug fixes

      • EditField and MoveField apps added to make contentlist field editing possible on the UI.
      • ContextBound portlet logs the path information when a binding error occurs.
      • Add missing string resources.

      Installation

      Prerequisites: you have to install sensenet ECM Services before you can install WebPages (Services 7.0.0 beta is not enough, WebPages needs at least Services 7.0.0 beta3).

      You can install the sensenet ECM WebPages component in Visual Studio as a NuGet package. Please follow the steps in the the following article:

      Upgrade from previous versions

      There is no in-place upgrade for this version, the new dlls would not work with the old database. In the future there will be official upgrade patches for subsequent releases. Please reinstall the underlying Services component before installing this new version.

    • 7.0.0-beta1 May 18, 2017

      Introducing sensenet ECM WebPages 7.0.0 beta1

      This component is a UI layer for the sensenet ECM platform built using ASP.NET WebForms pages, portlets (webparts) and controls.

      It does not contain predefined user interfaces for end users, but there is an admin UI (the Content Explorer) that you can use to build your portal from our building blocks.

      Installation

      Prerequisites: you have to install sensenet ECM Services 7.0.0 beta2 before you can install WebPages (Services 7.0.0 beta is not enough, WebPages needs at least beta2).

      You can install the sensenet ECM WebPages component in Visual Studio as a NuGet package. Please follow the steps in the the following article:

    • 2.0.0-RC.3 May 22, 2017

      Fix

      • NPM Dependency to ‘fs-extra’ package
    • 1.0.0-RC.2 May 16, 2017

      Changes

      • NPM dependency ‘Path’ moved from devDependencies to dependencies
      • Updated the default sn.config.js template with the latest available parameters with a short description
    • 1.0.0-RC.1 May 15, 2017

      Initial release

      Features

      • init - Initializes an sn.config.js file into your NPM package, whitch you can use to configure your sn-client-js repository later
      • fetch-types - Allows you to download custom type definitions for sense NET ECM 7 repository.