Scrivito 1.10.0 Release Notes

More options for creating, copying and moving pages

For making the life of editors even easier when creating pages, we've added several items to the page menu and made the wording more consistent. There are three new menu commands:

The Add subpage command lets you add a subpage to the current page, provided that the current page is part of the page hierarchy (i.e. that it has a path).
After issuing the well-known Copy or move page command for the current page, you can now also paste or move this page as a subpage, either directly underneath the current page (paste) or elsewhere (paste or move). For this, the corresponding new menu items Paste as subpage and Move here as subpage are available, again provided that the target page has a path.

Further improvements and bugfixes

  • More flexible attribute defaults
    When a user creates a page or a widget in place, its attributes can be initialized. If, for example, the author attribute of a new page should be prefilled with the user's name, you can achieve this by defining the default_for callback of the underlying page model class accordingly. Next to the current user, Scrivito now also passes the page the user is viewing to the callback. This enables you to assign attribute defaults based on properties of the current page, e.g. its model class or its location in the page hierarchy.

  • Updating binaries from temporary files
    Using Ruby, it is now possible to upload remote binaries to CMS objects directly, i.e. without first downloading them to regular files. For this, a Tempfile is now accepted when updating a CMS object:

    # Download an image to a local Tempfile
    require 'open-uri'
    tempfile = open('https://upload.wikimedia.org/wikipedia/commons/c/ce/Example_image.png')
    
    # Upload the temporary file to Scrivito
    @obj.update(blob: tempfile)

    See the Binary#upload class method for details and examples.

  • Fixed reloading of strings and enumeration values
    Scrivito's in-place editors let you edit content directly on a page or in the properties dialog of a page or widget. As a developer, you can have the contents of some of those editors reloaded after editing to always reflect their current values. Applying this to the string and enum editors caused a JavaScript “Unhandled rejection error”, which has been fixed.

  • More consistent autoloading for better compatibility
    A bug with Rails' eager loading has been fixed. Previously, the Scrivito SDK used a mix of plain Ruby autoload and Rails autoload_paths to load its code. Now scrivito_sdk relies solely on Rails autoload_paths, which makes the SDK compatible with sidekiq.

  • Improved link and linklist in-place editors
    The editors for link and linklist attributes now properly handle double quotes in link titles and link URLs.

  • Image editor available again in editing mode
    If an image object is selected from the changes list in editing mode, the built-in image editor is now available again in the image's resource dialog. The same applies to the image's details dialog opened, for example, via the Content Browser.

More great blog posts from Andreas Viebke

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.59.1 RC 1 Released

    Bugfix Release Fixed compatibility issue with React 18 > A compatibility issue that could cause a runtime error in applications using React 18 has been fixed. We apologize for any inconvenience this issue may have caused! Thank you for using Scrivito!

  • Scrivito for Rails SDK 1.20.0 RC 1 has been released

    Added support for Ruby on Rails 8.1 The Scrivito for Rails SDK now supports Ruby on Rails 8.1. It requires Ruby 3.2 or later. Earlier Rails versions are no longer supported by Scrivito. For instructions and details on updating your application to Rails 7.2, see: Ruby on Rails Guides – Upgrading...

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.59.0 Released

    Improvements Anonymous data classes > If your application needs to load and cache (and maybe even create, update or delete) some internal backend data not be exposed to editors or high-level developers, you can now provide nameless data classes. > If no name is passed to provideDataClass, the...

  • Team Notifications in the Editorial Cycle

    Latest updates to edit.scrivito.com

    We recently announced email notifications in the editorial cycle, but these could only be addressed to individual reviewers, not teams. From now on, you can still request a publish from individual users, but alternatively or additionally from entire teams. For this, the “request publication”...

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.58.0 Released

    Improvements Using Scrivito extensions for rendering individual properties > For extended customizability, individual attributes specified via the properties option in the editing configuration of an object class (for having them shown on the “General” tab) can now be rendered by a Scrivito...

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.57.0 Released

    Improvements Widgets being edited in the sidebar are highlighted Opening the sidebar for editing a widget’s properties now highlights the selected widget. This makes it easier to identify the widget you are currently working on. Dimension picker for string values For string attribute values the...

  • What's New: Intelligent Image Analysis

    Latest updates to edit.scrivito.com

    Intelligent Image Analysis Available now for AI integration customers Managing digital assets has never been easier. Today, we’re excited to announce the launch of AI-powered image tagging in JustRelate’s Web Builder – a game-changing feature that automatically analyzes your images and generates...

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.56.0 Released

    Improvements Localized “Click to edit” placeholder The “Click to edit” placeholder is now displayed in the editor’s selected language. Color picker supports transparency The color picker editor now lets editors choose transparent and semi-transparent colors directly in the Web Builder, making it...

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.55.0 Released

    Improvements Color picker for string values representing a color > As a developer, you can now offer a color picker for string values representing a color to editors. Picking a color graphically directly via the Web Builder’s user interface is a lot more convenient than having to switch tools for...

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.54.1 Released

    Bugfix Release Fixed TypeScript errors > This release fixes TypeScript errors related to the InPlaceEditAsPageContent component, ensuring proper typing and a better development experience. We apologize for any inconvenience this issue may have caused! Thank you again for using Scrivito!