Skip to content

2.5.1

Choose a tag to compare

@csebold csebold released this 01 Apr 06:51
· 2565 commits to main since this release
2.5.1

Quilltap 2.5.1 Release Notes

Release Type: Bugfix
Date: December 27, 2025

Bug Fixes

Plugin Roleplay Templates Now Work in Chat Settings

Fixed an issue where selecting a plugin-provided roleplay template (such as "Quilltap RP") in the chat settings modal would fail with a validation error.

Problem: Plugin templates use ID formats like plugin:quilltap-rp rather than standard UUIDs. The validation layer was rejecting these IDs at both the API route and database schema levels, causing the template selection to fail silently.

Solution: Updated the roleplayTemplateId field validation to accept any string format, supporting both UUID-based templates (user-created and built-in) and plugin-prefixed templates.

Files Changed:

  • app/api/chats/[id]/route.ts — API route validation
  • lib/schemas/types.ts — MongoDB schema validation (4 fields)

Improvements

  • Modal stability during saves: The chat settings modal no longer closes unexpectedly when clicking dropdown options. Native browser select dropdowns render in a separate layer, which was triggering the click-outside detection. The modal now disables click-outside handling while a save is in progress.

  • Better error diagnostics: Improved error logging when roleplay template updates fail, now including chatId, templateId, and error type for easier debugging.

Upgrade Notes

No migration required. This is a drop-in replacement for 2.5.0.