> For the complete documentation index, see [llms.txt](https://docs.appmixer.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.appmixer.com/changelog/version-6/6/6.5/6.5.4.md).

# 6.5.4

2026-09-07

## Bug Fixes

* **Fixed an integration template being unable to publish when its components had no account connected** — Since 6.5, publishing an integration template jumped to *"Fix these issues first."* with `Not authenticated.` listed against every component that had no account, which is the normal state of a template: the account is not the author's to connect, and the end user connects it at instantiation through a Wizard field or through auto-connect when exactly one account is available. A missing account is now treated as a condition the Wizard covers rather than as a blocking error, and the canvas badges follow the same rule. A property that is genuinely unset and not exposed by the Wizard still blocks publishing.
* **Fixed a flow being created without a descriptor and left permanently wedged** — `PUT /flows/{flowId}` doubles as a create, and nothing required the payload of a create to carry the flow descriptor. A partial payload sent for an id that no longer existed — a rename, or a `sharedWith` change — wrote a flow document with no descriptor at all and only then failed with a 500. From that point the flow was stuck: every later metadata-only save failed the same way while still persisting the change (seen in the field as a series of renames each audited as a failure), and starting the flow died with a type error raised from the cleanup handler, which discarded the real error and skipped the rollback to *stopped*. A create that omits the descriptor is now rejected with a `400` and nothing is written, while a partial update of an existing flow is unchanged. Flow documents already written this way read as empty flows rather than raising errors, so no data migration is needed.
* **Fixed the `node_modules` update logging and repeating forever** — After the 6.5.1 deploy, `Updating node_modules version for %s` appeared on every load of the same plugin. The stored Node.js version was advanced only while processing a `node_modules` file, so a plugin or service that ships none never had its version recorded and re-ran the whole update path indefinitely. The version is now recorded once after all paths are processed, scoped to the levels actually loaded. The log lines themselves were also malformed — the identifier was never substituted into the message and the old and new Node.js versions were dropped, which was exactly what was needed to tell a legitimate reinstall from a spurious one.
* **Copilot no longer fails to save a large flow** — Building a larger flow frequently ended with a `JSON parsing failed` error, because the model miscounts the long run of closing braces that a deeply nested flow descriptor ends in. The descriptor is now passed as a flat list of components carrying path-and-value records, which lets the tool schema be strict and makes a malformed descriptor impossible to produce; the nesting is rebuilt on the server. The previous nested form is still accepted.
* **The Copilot chat input grows with what is typed** — The composer was a fixed two-row box, so a prompt longer than two lines scrolled out of sight while it was being written and could not be resized by hand. It now grows with its content up to about eight rows and scrolls beyond that, and collapses again once the prompt is sent. Send and Stop are now icon buttons matching the other chat surface, and both are reachable from the keyboard.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.appmixer.com/changelog/version-6/6/6.5/6.5.4.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
