Skip to main content

Batoi navigation

Batoi Press Docs

Updates

Understand Batoi Press update checks, stable manifests, checksums, backups, and rollback expectations.

Version 4.0.10 Active public source Reviewed Oct 4, 2026 Next review Oct 21, 2026

Owner: Batoi Engineering Reviewed by: Batoi Press Maintainers Source revision: 72bd58f

Browse Batoi Press Documentation Updates

Updates

Batoi Press checks a public stable manifest to determine whether a newer stable version is available. The admin update screen separates routine version checks from higher-risk actions such as package staging, applying updates, and restoring backups.

Batoi Press update workflow A diagram showing update check, checksum verification, backup, package apply, health check, and rollback. Check manifest Download package Verify checksum Backup site Apply files Health check Rollback path if health checks fail

Stable Manifest

The stable manifest is published at:

https://www.batoi.com/pub/press/latest.json

The manifest includes version, release date, package URL, checksum, minimum PHP version, GitHub tag, version notes URL, and Ed25519 trust metadata for signed release enforcement.

Update Safety

Upgrade to Latest

To get this action on an earlier installation, back up the site and stage and apply the signed 4.0.10 ZIP in **Admin > Updates**. PHP 8.3 or newer is required.

On 4.0.10 or later, **Upgrade to Latest** checks the signed stable index, downloads a newer compatible ZIP directly to the server, and verifies both before installation. Press creates a rollback backup, enters maintenance mode during file replacement, and runs health checks. If guarded installation fails, Press restores the backup and reports the result in Updates. It leaves matching or newer installations in place.

This action requires PHP cURL, Sodium, ZipArchive, writable temporary storage, and direct HTTPS access to the index and ZIP. Use **Check for Updates** to check without installing, or **Stage package** to upload a signed ZIP manually. See update recovery if the host cannot complete the upgrade.

Upgrading To 4.0.9

Back up the installation, then stage and apply the signed 4.0.9 ZIP in Admin Updates. PHP 8.3 or newer is required. No database migration is needed.

Staging shows web PHP upload limits and distinguishes file-size, request-size, incomplete-upload, and storage failures. Check the displayed limits and private staging storage if an upload fails. ZIP signature verification remains required. A successful apply returns to Updates with a confirmation; old apply links also return there.

After updating, confirm the installed version, test a theme template save on your host, and check landing-page alignment on desktop and mobile. Versatile remains 3.3.0.

Upgrading To 4.0.8

Back up the installation and apply the signed 4.0.8 ZIP through Admin Updates. PHP 8.3 or newer is required. The updater retains existing content, configuration, hosting rules, and custom themes. Explicit asset cache settings and authored search metadata remain in effect.

After updating, check the configured site URL, homepage and host redirects, sitemap and robots files, response headers, and the first and subsequent carousel images. Follow hosting guidance if your host already provides compression or serves a static robots file. Versatile remains 3.3.0.

Upgrading To 4.0.6

Back up the installation, including private data and its encryption key, then apply the signed 4.0.6 ZIP through Admin Updates. PHP 8.3 or newer is required. This release supersedes 4.0.5.

If a permission error prevents PHP from starting, correct ownership and file permissions on the host first. The updater cannot repair permissions until it runs. After applying, check the editor and Social Publishing on the deployed filesystem. See update recovery for rollback.

Upgrading To 4.0.4

Back up the installation and apply the signed 4.0.4 ZIP through Admin Updates. PHP 8.3 or newer is required. Keep the encryption key with the private data backup and review update recovery before applying.

If you enable Social Publishing, check web PHP capabilities, verify the intended destination, and test a send on the actual provider account. Versatile remains 3.3.0.

Upgrading To 4.0.3

Back up the installation and apply the signed 4.0.3 ZIP through Admin Updates. PHP 8.3 or newer is required. Review updater recovery if you are upgrading with an older updater or have customized a bundled theme.

The theme inspection report now explains how to convert static Exchange templates. Follow the conversion guide to verify and preview a converted package before activation. The bundled Versatile theme remains 3.3.0.

Upgrading To 4.0.2

Back up the full installation and apply the signed 4.0.2 ZIP through Admin Updates. PHP 8.3 or newer is required. Review updater recovery before upgrading from an older updater, especially if you have customized a bundled theme.

After applying, check that the toolbar does not cover content in rich or source editing, including on mobile and in focus mode. Versatile remains 3.3.0. The preview features introduced in 4.0.1 retain the same setup requirements.

Upgrading To 4.0.1

PHP 8.3+ is required for web requests and any CLI worker. Back up the complete installation, business data, and encryption keys before staging the signed batoi-press-4.0.1.zip through Admin Updates. A runtime update backup does not cover all business data.

The current updater preserves customized bundled themes using verified installed-release history, or conservative preservation when history is unavailable. These safeguards must exist in the updater executing the upgrade. If your installed updater predates them, follow theme preservation recovery before applying the full package. Keep custom themes and hosting configuration in your backup.

After applying, check page/post save and recovery, source conflicts, image insertion and alt text, local fonts, dates, gallery viewers, navigation, and theme appearance. Confirm preserved-theme and URL-repair notices and verify the public site before reopening traffic.

Stripe Checkout store and portable UIF Theme Kit are previews. Commerce starts disabled and needs real merchant sandbox acceptance before use. Owner-only MCP/API theme drafts cannot install or activate themes. Recovery and theme drafts require host encryption support; merchant secrets and AI provider credentials are not supplied. Versatile remains 3.3.0 and its contract remains 1.0.0.

Upgrading To 4.0.0

This is a major release. **Switch both web PHP and any CLI worker to PHP 8.3 or newer before applying it.** Use Hosting Health to review capabilities; CLI extension availability does not prove the web runtime has them.

  1. Back up the full installation, private configuration/content, encryption keys, installed plugins and their private state. Keep the previous runtime and a tested restoration path.
  2. Review default-theme customizations: bundled files are replaced. Versatile remains 3.3.0, now with theme contract 1.0.0; UIF remains 3.0.0. Check custom-theme compatibility and required partials.
  3. For a 1.8.0 installation, first follow updater recovery. Otherwise stage, review, and apply the signed batoi-press-4.0.0.zip through **Admin > Updates**. ZIP and Sodium are required for signed automatic updates. Never bypass signature checks if an extension is unavailable.
  4. Confirm login, public pages, menus, mobile keyboard navigation, rich content, uploads, contact delivery, and update diagnostics. Verify private configuration, sessions, submissions, queues, logs, and backups cannot be fetched over HTTP.
  5. Enable optional Plugins, Forms, or webhook delivery only after owner review. Configure encryption and delivery credentials, then test with non-sensitive data. Process the queue explicitly; public visits do not deliver queued jobs. External OAuth, mail, and webhook services need their own deployment tests.

The updater preserves content, site configuration except release-version metadata, site modules, and hosting rules. Do not extract starter content/configuration over a live installation. No SQL migration is needed. Apply rechecks signatures and checksums and bounds ZIP extraction. Package rollback is not a substitute for restoring private plugin state or effects produced by native code.

The following sections describe earlier releases; their PHP 8.1 requirements do not apply to 4.0.0.

Upgrading To 3.2.3

Back up first, then stage, review, and apply the signed batoi-press-3.2.3.zip through **Admin > Updates**. Do not extract starter configuration or content over an installed site. PHP remains 8.1 or newer; Versatile remains 3.3.0 and UIF remains 3.0.0. No database migration is required. Sodium must be enabled in web PHP.

Before updating a site with CAPTCHA, verify that the site and secret keys form a valid **reCAPTCHA v2 checkbox** pair. An existing site-key-only configuration now rejects verification instead of bypassing protection. Complete the configuration or intentionally remove both keys. Custom v3 forms require their own server-side action/score verification and CSP.

After updating, test contact delivery, CAPTCHA success and rejection, browser CSP diagnostics, and a failed-delivery response. Visitors should receive a neutral message and request reference, not provider details. Generated policies add scoped reCAPTCHA permissions when configured; custom policies and host-level headers require separate review. The release does not enable missing extensions or resolve unrelated WAF rules.

Configuration, content, and public .htaccess are preserved. Bundled default-theme files may replace local customizations; review your backup before applying.

Upgrading To 3.2.2

This patch corrects the generated report-only CSP header. Back up first, then stage, review, and apply the signed batoi-press-3.2.2.zip through **Admin > Updates**. Do not extract starter configuration or content over an installed site. PHP remains 8.1 or newer, Versatile remains 3.3.0, and UIF remains 3.0.0; no database or content migration is required.

Configuration, content, and public .htaccess are preserved. Bundled default-theme files replace corresponding local customizations; separate custom themes absent from the package remain untouched. PHP Sodium remains required in the web runtime.

After upgrading, inspect actual response headers and browser warnings. Generated report-only policies should omit upgrade-insecure-requests; enforced HTTPS policies retain it. Explicit custom CSP and host-level headers require separate review. Do not enable enforcement merely to silence a warning. See Content Security Policy.

Upgrading To 3.2.1

This patch improves template-save diagnostics and recovery. Back up first, then stage, review, and apply the signed batoi-press-3.2.1.zip through **Admin > Updates**. Do not extract starter configuration or content over an existing site. PHP remains 8.1 or newer; Versatile remains 3.3.0 and UIF remains 3.0.0. No database or content migration is required.

Site configuration, content, and public .htaccess remain preserved. Bundled default-theme files still replace matching local customizations; review your backup before upgrading. Sodium must be enabled in the **web-server PHP runtime**, not only command-line PHP. The patch does not bypass signature verification or remedy missing extensions.

After updating, verify a successful template save and recoverable failed-save behavior on your own host. A 405 indicates an incorrect method; a redirect or HTML response is not confirmation of a save. Keep unsaved source and correlate the request ID and timestamp with host logs if failures persist. See Template Save Recovery.

Upgrading To 3.2

Batoi Press 3.2.0 is a backward-compatible reliability and media-performance release. PHP remains 8.1 or newer; Batoi Versatile remains 3.3.0 and UIF remains 3.0.0. No database or content migration is required.

Back up the installation, test a non-production copy, and upload the signed release ZIP through **Admin > Updates**. Stage, review, and apply; do not extract starter configuration or content over an installed site. Sodium signature verification remains required.

The package includes public_html/.htaccess for fresh installs but omits it from upgrade targets, preserving existing hosting rules even when an older updater applies this release. Review future security and rewrite changes manually with your host. Bundled default-theme files still replace local customizations; separate custom themes remain untouched.

After updating, check template save/recovery, media delivery, hero placement, image dimensions, pagination, login, and **Hosting Health**. Review custom CSS before enabling lazy loading or preload. Optional image conversion skips unsupported encoders and unsuitable images. Avoid duplicate PHP and hosting compression; verify actual response headers.

This release does not establish the cause of every hosting-specific HTTP 500 or template-save failure. If **Check for Updates** fails, capture the installed version, web-server PHP version, failing request timestamp, and relevant PHP/Apache log entry. Do not disable TLS, signature verification, or security filters as a workaround.

Upgrading To 3.1

Batoi Press 3.1.0 is a backward-compatible feature and reliability release with Batoi Versatile 3.3.0 and Batoi UIF 3.0.0. PHP 8.1 or newer is still required; no SQL migration is needed.

Back up the complete installation and test a non-production copy. Download the signed release ZIP from Batoi Press Downloads, not GitHub's automatically generated source archive. In **Admin > Updates**, upload, stage, review diagnostics, and apply. Never extract starter content or configuration over an installed site.

The updater replaces bundled default-theme files listed in the package, including local edits. Back up those customizations and merge them carefully afterward. Separate custom themes not listed in the package are untouched; adopt the new social tags, footer icons, and blog-loading behavior in those themes explicitly.

After upgrading, check login, public pages, Trash and draft restore, social-sharing tags, footer links, pagination, and update diagnostics. Apply and rollback invalidate OPcache where supported. Use the recorded update backup if rollback is needed, preserving newer content and credential revocations.

Signed-package verification requires PHP Sodium. Remote checks still work with allow_url_fopen disabled when PHP cURL is available. On macOS web workers, the crash-avoidance transport additionally needs direct DNS lookup and a final HTTPS manifest URL without redirects; it does not bypass configured proxies or disable TLS/signature verification. Use diagnostics to distinguish hosting limitations from package-validation errors.

Upgrading To 3.0

Batoi Press 3.0.0 changes API and MCP publication and public-impact edits to administrator-reviewed proposals. Update clients to handle pending responses and confirm applied status. Review the Connections and proposed-change guidance before upgrading an integrated installation.

Back up the complete installation, including content, configuration, and private runtime state, and test on a non-production copy. Upload the signed ZIP in **Admin > Updates**, stage it, review diagnostics, and apply. Do not extract the full fresh-install archive over an existing site: it includes starter configuration and content. No SQL migration is required.

After updating, verify login, existing pages, menus, Connections, permitted client reads, refused unauthorized actions, and proposal approval/rejection. External OAuth providers and hosted clients require separate verification; release status does not certify every integration.

Package Checks

  • Create a ZIP backup of config, content, theme, and app customizations.
  • Verify package checksum when a SHA-256 value is provided.
  • Require Ed25519-signed release indexes and signed package manifests for Batoi Press 2.0 and later.
  • Verify the release public key identified by the manifest key_id.
  • Use PHP cURL for remote update checks when allow_url_fopen is disabled. If cURL is unavailable and allow_url_fopen is enabled, fall back to verified HTTPS streams with TLS peer and host verification enabled.
  • Validate uploaded ZIP packages before moving them into update staging.
  • Diagnose HTML release pages, non-ZIP uploads, empty or incomplete archives, corrupt ZIPs, and missing ZipArchive support separately.
  • Reject ZIP packages with unsafe entry paths before extraction.
  • Extract a package into a staging directory.
  • Require a release manifest inside the staged package.
  • Apply only manifest-listed files to allowed runtime paths.
  • Enable maintenance mode while applying staged files.
  • Clear cache and run post-update health checks after replacement.
  • Automatically restore from the pre-update backup when guarded apply or health checks fail.
  • Restore files from a selected backup ZIP when needed.

The admin update screen displays version status, manifest URL, package staging, staged packages, backup creation, and rollback backups as separate operational sections. Restore actions should be treated as danger-zone operations because they replace live files.

Package Manifest

Release packages must include release.json, batoi-press-release.json, or manifest.json at the package root.

The package manifest must list installable files:

{
  "version": "4.0.10",
  "files": [
    {
      "path": "radpress/core/App.php",
      "sha256": "..."
    }
  ]
}

Use source and target when the package path differs from the live install path. Batoi Press 2.0 and later packages must include a signed manifest in addition to ZIP and per-file SHA-256 verification. Standard root archives and one-folder desktop ZIP wrappers are supported; ambiguous package layouts and unsafe target collisions should be rejected.

Release Signing

Batoi Press 2.0 and later require signed release metadata:

https://www.batoi.com/pub/press/latest.json.sig
https://www.batoi.com/pub/press/release-public-keys.json

Current public key id:

batoi-press-release-2026-01

Allowed update targets are intentionally constrained to runtime files such as public entrypoints, assets, admin code, core code, docs, helpers, security, theme files, update code, UIF/AIF scaffolding, and radpress/config/update.json.

Batoi Press 4.0.10 keeps the Batoi UIF 3.0.0 bundle and includes Batoi Versatile 3.3.0. Release verification must confirm package signatures, checksums, update-path normalization, UIF compatibility aliases, and representative content, product, import, appearance, and integration workflows before publication.

For an installed site, verify the reported version and review update diagnostics in Admin Updates. Keep signature verification enabled throughout staging and application.

Public Package Location

Release packages are published under:

https://www.batoi.com/pub/press/releases/