Saltcorn 1.6.0 was quietly released to NPM and docker a few weeks ago; here is what is new:
Workflow editor: the old workflow editor was based on a mermaid diagram that was hacked to be clickable. There was no other interactivity: no ability to change the flow, to delete steps or see step content beyond the name - to put it plainly, it was just no good. The Saltcorn 1.6.0 workflow editor changes all that with a fresh interactive interface based on
xyflow (also known as react-flow). Nodes can now be connected by dragging, rearranged, and opened in a side drawer for quick editing while still seeing the rest of the workflow
Security: Like many other open source projects we received an increased volume of security reports found by AI, and we initiated our own AI scans for vulnerabilities. Most of these vulnerability patches have also been backported to Saltcorn 1.5.x.
Builder updates: the drag and drop builder for views and pages also received updates to remove some jankiness. Drag and drop is now much smoother, with in the main canvas in the layers. There is now a device seelctor, with the ability to change some element settings on a per-device basis. The builder also syncs with the server when switching browser tabs, to avoid the overwrite of view data from a stale tab.
Edit with AI: If the copilot module is installed and the large-language-models module is configured, "Edit with AI" buttons now appear in both the builder and when writing scripts. This allows you to use a connected AI model to build a builder layout and a script, respectively.
Multi-node setups now pick their own leader. This makes it much easier to run multi-server applications.
Documentation: More configuration fields are covered by in-app documentation and the module store has a "detailed contents" description for many modules.
Many other improvements and bugfixes are listed in the
Changelog
The copilot has been a major focus of work concurrently with the development of 1.6.0. The copilot uses LLM AIs to help build Saltcorn applications. There are now two interfaces to the copilot: an agentic chat interface, where you write what you would like the copilot to do. This agent has a number of tools at its disposal, which it can use to implement your request. The Agent Copilot is good for making small changes to existing apps.
The other interface is an agentic loop builder called the AppConstructor. This is intended to build much larger applications or to add substantial extensions to existing applications.
The Saltcorn 1.7.x reelease will focus on code reliability and work is already underway in modernising the codebase.