Changelog¶
0.6.1 (2026-11-22)¶
- Fixed: the
assetslibrary fillsasset_vars()placeholders in one pass, so a value that holds another placeholder's text (a valve someone typed) is served as written instead of being filled again (#69, libraries). - Fixed:
owpp checkand the bundler refuse a function that changes the app's route list itself (app.routes.insert(...),app.routes[:] = ...,del app.routes[0], ...), which added routes past the sign-in guard as surely asinclude_router(#68, libraries). - Docs: Theme Designer Pro is in the Examples menu, and the docs build fails on an example the menu leaves out.
0.6.0 (2026-11-22)¶
- A tool embeds only the templates it lists, with
tool: templates: [launcher/], so a function's large page is not copied into its tool (plugin format). - The mock sends events about users and models (
owui.emit("user.deleted", {"type": "user", "id": ...})), hasdecode_token, and answers a plugin that asks a model itself:owui.model_reply, with what it was asked inowui.completions(the mock). - A new example,
theme_designer_pro, adapted from G30's Theme Designer Pro: a 1.3 MB event function broken into templates, routes behind the sign-in guard,@onhandlers, a tool and a skill, with what changed explained for its author.
0.5.0 (2026-11-22)¶
- Protocol 0.5: a plugin's files import what they use, and the bundler refuses one that does not.
owpp migratewrites the imports into a 0.3 plugin; a plugin taking 0.3-style code from git is refused untilowpp pullmoves it to a migrated commit (upgrading). - A plugin's files are ordinary Python: each imports what it uses, including its shared code (
from shared import NAME) and the libraries (from owpp.lib import PluginAdmin, plugin_mount), so it reads, lints and type-checks on its own. The bundler removes those imports, says which library a name needs ininclude:, and refuses the forms that would break once bundled (bundling). owpp createwrites plugins that import the library names they use.{{file:NAME}}is deprecated, andowpp checkwarns about it: usetemplates/andplugin_template_text(). A tool can now read the templates too, withinclude: [templates]undertool:;owpp createwrites a rich-UI tool that way.- owpp ships type stubs for
open_webui, written from the mock, so an editor resolves what a plugin imports from Open-WebUI (the mock). owpp.testing.plugin_source(path)imports a plugin's files as modules for tests of their logic, each plugin with its ownshared.pyand libraries (writing a test).owpp checkwarns about a plugin name that replaces a library name in its bundle, and aboutfrom __future__lines that differ betweenshared.pyand the files it goes in front of.- The runtime's
_plugin_ensure()is nowplugin_ensure(), imported fromowpp.lib. include: [static]brings inroutes, which it mounts its files with.
0.4.1 (2026-11-21)¶
- Project: releases follow gitflow. Changes merge into
develop; a release is started from the Actions tab, and merging it intomaintags it, publishes it and mergesmainback intodevelop.mainand the docs site are now always the latest release (contributing).
0.4.0 (2026-11-21)¶
- The live suite deploys the examples to a real Open-WebUI v0.13.4 (
-slim), with aimock as its models, and checks what the mock cannot, on every pull request (the live suite). tools/screenshots/run.py --upstarts the same Open-WebUI and leaves it running, to try a plugin by hand with no real model and nothing leaving the machine (trying things out in isolation).- The mock passes filters
__model__(plugin.inlet(..., model=), default"mock-model") and hasopen_webui.utils.misc.get_last_user_message_item(the mock). - Two filter examples:
clear_thinking_tags, an outlet adapted from Haervwe's Clear thinking tags, andvision_router, an inlet adapted from open-webui's Dynamic Vision Router. - Docs: a Testing section (writing a test, recipes for each kind of plugin, the mock, a real Open-WebUI, CI), and the owpp agent skill's testing steps.
- Manifests stay
protocol: "0.3", and bundles are the same as 0.3.1's: nothing to migrate (upgrading).
0.3.1 (2026-11-20)¶
owpp buildbundles the plugins into a folder thatowpp deploy --fromdeploys elsewhere, with no checkout or git sources (owpp build).owpp deploy --no-prune(the action'sno-prune) deploys every plugin and deletes nothing.- Docs: the home page's reading order is a short "Where to start" table.
- Python API (breaking):
owpp.deploy.Optionsis gone, split intoInstance(the instance URL, credentials and TLS) andChoices(what to deploy); useinstance_from_env()/choices_from_env()instead ofoptions_from_env(), and pass the new inputs toplugins_for(),deploy(),iframe_sandbox_warning()andrun_deploy()— the CLI and the GitHub Action are unchanged.
0.3.0 (2026-11-20)¶
- Protocol 0.3:
source: track:is nowbranch:ortag:, whichowpp migraterewrites by asking the repository (upgrading). owpp syncis nowowpp pull, and deploy's--sync(the action'ssyncinput) is now--latest(latest) (upgrading).- Docs: a page for each command, an environment variables reference, troubleshooting and FAQ pages, a "Why this" section on the home page, and changelog, contributing and license pages under Project.
0.2.1 (2026-11-19)¶
source: {plugin: true}takes a whole owpp plugin folder from git, such as one of the examples, and bundles it with the owpp reading it (a whole plugin from git).ref:can be left out of asource:untilowpp syncadds it;owpp checkandowpp deployrefuse an unpinned source.owpp test --upstreamalso runs the tests of plugins taken whole from git, with theOPEN_WEBUI_*variables removed.- Docs: an upgrading page, and one-sentence changelog entries.
0.2.0 (2026-11-19)¶
plugin.yamldeclares its format version withprotocol: "0.2"; newer versions are refused, and a missing key is read as 0.1 with a warning.owpp migrate [id ...] [--dry-run]brings manifests up to the current protocol, keeping comments and layout.- Fixed: saving a parent function's valves (
INSTALL_TOOLS,INSTALL_SKILLS,TOOL_VALVES) now applies them right away. requires: {iframe_sandbox_allow_same_origin: true}makesowpp deploywarn when the instance is missing that setting.owpp create [id]is a wizard that scaffolds any kind of plugin, local or from a pinned gitsource:, with tests and a README.owpp sync [id ...] [--dry-run]moves a git-sourced plugin's pinned commit to the latest on its branch (source: track:) and lists the files that changed.owpp deployreports version changes for each function, tool and skill, and records a git-sourced plugin's commit in the function's meta.owpp versionlists and bumps plugin versions with aCHANGELOG.mdentry, andowpp check --since <ref>fails on changes with no new version.owpp deployrefuses to go back a version unless given--force.- Docs: new Install and Getting started pages.
- Docs: the audit trail and decisions pages are gone, and their known limits moved to status and limits.
owpp deploycan sign in with a username and password, an OIDC token or trusted headers instead of an API key.- For AI agents: an
owppagent skill,owpp create --spec <file>, andllms.txton the docs site. owpp deploytakes CA and client TLS certificates (--ca-cert,--client-cert,--client-key).owpp initnow writes whatowpp createwrites with every answer left at its default.- Fixed:
owpp checkno longer reports a name as undefined when it is only used after"name" in globals().
0.1.0 (2026-11-19)¶
The first standalone release, extracted from a working deployment and published to PyPI as owpp.
- Plugin folders with a
plugin.yamlmanifest: a parent function plus an optional tool and skills. - A bundler that turns a plugin folder into one file per function and tool, with git sources pinned by full SHA.
- A runtime with which the function installs, updates and removes its tool and skills.
- Libraries:
assets,config,core,routes,jobs,chat_data,static,templatesand the vendored Shared Assets Protocol. - A
jobs:manifest section for scheduled syncs, with their interval declared inplugin.yaml. ${NAME:-default}environment templates injobs:andconfig.yaml, resolved when the plugin loads, never when bundling.plugin_token/plugin_check_token: signed, expiring tokens for routes that cannot carry a session.- A page opened with no session tries the no-input sign-ins, then sends the browser to Open-WebUI's login page.
owpp checkwarns about undocumented valves and tool methods, and--strictfails on warnings.SECURITY.mddescribes the trust model and how to report a vulnerability.- Routes need a signed-in user by default, and
access="public"opts a single mount out. - Event handlers by decorator:
@on("event.name")on aPluginEventsclass. - A function's type is read from its top-level class, and
globalapplies only to filters and actions. - The
owppCLI withlist,check,bundle,deployandinit. - A composite GitHub Action that runs
owpp. - Excalidraw can load its editor from a host you run (
EXCALIDRAW_ASSETS_URL). owpp testruns each plugin's tests against a mock Open-WebUI (owpp[test]).owpp initscaffolds a plugin with a passing test.- Six example plugins, each with unit tests whose docstrings say how to repeat them by hand.
- A documentation site, published to GitHub Pages.
- Screenshots of the examples on a real Open-WebUI, taken by
tools/screenshots/run.py. - Known limitation: the Excalidraw editor needs Open-WebUI's iframe Sandbox Allow Same Origin setting (issue #6).
access: publicon a tool or skill grants it to every signed-in user.global: falsekeeps a per-user toggle filter out of global.- The mock Open-WebUI fetches a
source:plugin's pinned files when a test gives nosources=. jobs: adopt_markerslets a sync take over the entries of an earlier sync.