Install

Works with Drupal: ^11.1

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 1.2 MB
MD5: e83498d0d402493105eba7b77093c861
SHA-1: c786f55057752381098c3691da532775d53823d9
SHA-256: 5dafb10d59b6f014579d49ba73fe6068f7ec9a881bad6ec50cd336240f4bc6ca
Download zip 1.28 MB
MD5: a95c44310449d27a4595ae3a33b90d43
SHA-1: 66d0f94abc01b395a4469a7968f7068e5ad034dc
SHA-256: f73ff78ce2722ff9f6507cabfb0fc8c29993bf75511e000885fa12f11e57791b

Release notes

1.0.0-alpha8 (2026-10-24)

The nav, page, user, messages, lists and forms commands come from Sutram's
kits, with Sutram 0.8.0 (lib/sutram is its build from npm).

Added

  • The library sutram/nav: Sutram's nav kit (lib/sutram/nav.js). A module
    that supplies menus depends on it and calls Sutram.kits.nav(adapter).
  • The libraries sutram/page, sutram/user and sutram/messages: Sutram's
    page, user and messages kits.
  • sutram_demo_messages: Drupal's status messages, after a page load or an
    AJAX request and from Drupal.Message, as the messages status command
    and message.shown events. They come from Drupal, not from the page's HTML.
  • The library sutram/forms: Sutram's forms kit (lib/sutram/forms.js).
  • The library sutram/lists (Sutram's lists kit) and sutram_demo_lists:
    Views listings on the page as listing status, listing rows and
    listing go,
    with paging, table sorts and exposed filters.
  • scripts/update-sutram.sh copies every kit beside sutram.js and sets
    the version of each kit's library.

Changed

  • form save is now form submit, the forms kit's name on every site. It
    still clicks the form's Save button.
  • sutram_demo_form is now an adapter for the forms kit: the kit names the
    commands, converts text, numbers, yes/no and lists and writes the
    messages; the submodule describes and fills Drupal's widgets and keeps
    Drupal's own types (dates, references, links, files, media). Changes you
    may notice: form list calls the column label (was editing);
    form status also lists the required fields still empty (missing);
    form set names the fields an answer adds or removes; form get also
    returns the field's type, options and format; results say "Not sent yet"
    where they said "Not saved yet"; form fields no longer lists fields that
    cannot be filled yet.
  • sutram_demo_nav is now only an adapter for the nav kit. The commands
    answer as before. nav menu no longer lists the menu names in its input
    schema; an unknown menu fails with the list of menus, and Tab completes
    them.
  • sutram_demo_page and sutram_demo_user are now adapters for the page and
    user kits. page status and user status answer as before. user login
    no longer returns the login URL, and its text no longer mentions
    user.changed, which the submodule still emits.
Created by: d34dman
Created on: 24 Oct 2026 at 21:16 UTC
Last updated: 24 Oct 2026 at 21:16 UTC
Bug fixes
New features

Other releases