Install
Works with Drupal: ^11.1Using 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 callsSutram.kits.nav(adapter). - The libraries
sutram/page,sutram/userandsutram/messages: Sutram's
page, user and messages kits. sutram_demo_messages: Drupal's status messages, after a page load or an
AJAX request and fromDrupal.Message, as themessages statuscommand
andmessage.shownevents. 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) andsutram_demo_lists:
Views listings on the page aslisting status,listing rowsand
listing go,
with paging, table sorts and exposed filters. scripts/update-sutram.shcopies every kit besidesutram.jsand sets
the version of each kit's library.
Changed
form saveis nowform submit, the forms kit's name on every site. It
still clicks the form's Save button.sutram_demo_formis 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 listcalls the columnlabel(wasediting);
form statusalso lists the required fields still empty (missing);
form setnames the fields an answer adds or removes;form getalso
returns the field's type, options and format; results say "Not sent yet"
where they said "Not saved yet";form fieldsno longer lists fields that
cannot be filled yet.sutram_demo_navis now only an adapter for the nav kit. The commands
answer as before.nav menuno longer lists the menu names in its input
schema; an unknown menu fails with the list of menus, and Tab completes
them.sutram_demo_pageandsutram_demo_userare now adapters for the page and
user kits.page statusanduser statusanswer as before.user login
no longer returns the login URL, and its text no longer mentions
user.changed, which the submodule still emits.