Skip to content

Release Notes

ball42 edited this page Nov 20, 2026 · 1 revision

Release Notes

Downloads: https://github.com/jamf/JAWA/releases

JAWA v4.0.0 release

Upgrade notes — please read before upgrading

  • This is a major version bump because the required platform moves. JAWA 4.0 requires Ubuntu 24.04+ (or RHEL/Rocky 9.4+) and Python 3.12+ — a deliberate OS-level upgrade for existing hosts, not an in-place dependency refresh. See the platform note below and plan the OS migration (snapshot, do-release-upgrade, re-run the installer) accordingly.

  • JAWA 4.0 cannot upgrade a JAWA v2 install. The installer stops on a v2 host. Upgrade it to JAWA 3.1.1 first, then run the 4.0 installer.

  • Template webhooks you previously enabled will begin firing. A bug meant enabled and imported template webhooks silently never triggered. A template enabled before 4.0 can be unauthenticated, so anyone who knows the hook name can trigger it. Add authentication to each one in the automation's edit screen.

  • Templates require authentication. Enabling or importing a template needs Basic authentication (username and password) or an API key. JAWA generates an API key by default.

  • New webhook names are validated more strictly. # and % are no longer accepted in a new webhook name, because Jamf Pro cannot call a URL containing them. Existing automations are unaffected.

  • Minimum platform is now Ubuntu 24.04 or RHEL/Rocky 9.4+, and Python 3.12. The installer builds JAWA's virtual environment from Python 3.12: the distribution default on Ubuntu 24.04+, and the python3.12 AppStream package (installed automatically) on RHEL/Rocky 9.4+. This bump is driven by security support, not features: Python 3.9 and 3.10 have reached upstream end-of-life (October 2025 and October 2026), and the patched releases of JAWA's dependencies (requests, urllib3, pip, setuptools) now require Python 3.10+ at minimum — so a 3.9/3.10 host cannot run JAWA without known, unpatchable security advisories. Ubuntu 20.04/22.04 and RHEL/Rocky 8 and early 9 minors can no longer run a fully patched JAWA. Check python3 --version on the host before upgrading. The installer enforces this itself: it verifies the Python version before backing up or removing anything, so an unsupported host is refused with its existing install intact rather than left with a dead service. If you get to a supported platform by running do-release-upgrade on an existing JAWA server, re-run the JAWA installer afterwards — a distribution upgrade can leave nginx no longer serving JAWA, so the console goes unreachable while the jawa service itself is fine. Re-running the installer rewrites and re-enables the nginx site and restores the console.

  • An upgrade replaces the content JAWA ships inside data/: the bundled template scripts and catalog, the webhook event catalog, and the Brander assets. Your automations and settings are kept. Changes you made to a shipped file are lost, so keep your own copies outside the shipped folders (see docs/BRANDER.md for Brander images).

  • JAWA now installs Pillow 13 and qrcode (for the Brander template). Re-run the installer, or venv/bin/python -m pip install -r requirements.txt, when upgrading in place.

  • Okta automations stop running until you re-create them. Okta event hooks were registered without a working secret, so anyone could trigger them and real Okta deliveries were rejected. New Okta automations get a secret that JAWA checks on every delivery. Automations made before this have no secret, so they fail closed; delete and re-create each one. Its detail page says so.

  • Sign-in needs a pinned Jamf Pro URL. The console refuses sign-in until data/server.json has a jps_url. The installer asks for it on a new install and keeps a saved one on upgrade.

  • Idle admins sign in again after the Jamf Pro token expires (30 minutes by default), even when the console session timeout is longer. JAWA no longer keeps your Jamf Pro password in the session cookie, so it cannot renew an expired token. Restarting JAWA no longer signs everyone out: the cookie key is kept in data/.secret_key or taken from JAWA_SECRET_KEY.

  • JAWA listens on 127.0.0.1:8000 only, behind nginx. Anything that reached port 8000 directly must go through nginx, or set JAWA_BIND.

  • Scripts are stopped after 120 seconds (JAWA_SCRIPT_TIMEOUT). The run is logged and the caller gets a 504.

  • The first start rewrites JAWA's lines in the service user's crontab so timed automations run through JAWA and log to the JAWA log. Crontab lines that do not match a timed automation are left alone.

  • A corrupt automation store now shows an error page instead of looking empty, so a save can no longer overwrite automations that are still on disk.

  • New features

    • Bundled templates now work as shipped. Every bundled template runs when triggered; two were incomplete sketches that failed immediately. Enabling a template also creates the matching webhook in Jamf Pro for you and files the automation under Jamf Pro, so its trigger event is visible and editable. Templates are protected with an API key or Basic authentication.
    • Importing a template package can create its webhook in Jamf Pro too — a new Create webhook in Jamf Pro? option, on by default. Clear it to install the script locally only. Because the package name becomes part of the URL Jamf Pro calls, a name with spaces or other URL-unsafe characters is refused on that path; fix the package file, or clear the box to install locally under any name.
    • Webhook Reference page documenting the Jamf Pro webhook events with sample payloads. One event, DeviceRateLimited, is listed with its sample payload still pending.
    • Admin-configurable session timeout in Setup: 15 minutes (default), 1 hour, 4 hours, or 8 hours, with hardened session cookies. The 15-minute default remains the most secure; the longer options are convenient for workflow testing but leave an unattended signed-in console exposed for longer. Choose deliberately.
    • Smoke-test harness and CI (ruff + pytest) running on every push and pull request.
    • Documentation for writing automation scripts.
    • Script Preview and Download Script now show the real substitution tokens rather than generic placeholder text, so a downloaded script is self-documenting.
    • Resource Files listing gained Size and Type columns.
    • Tap action automations. A web clip on a managed iOS/iPadOS device can trigger a JAWA automation against that device, with a confirmation page, a per-service token and a UDID cross-check. Two templates ship on it: Return to Service (Tap Action) and Brander (Tap Action). See "Tap action automations (web clip)".
    • Tap action pages of their own for device users: organisation name instead of the console's chrome, clear in-progress, done and error states, a back-to-start button, and a per-device cooldown that admins can reset. Admins can preview the page, rotate a leaked token, give each web clip its own label and icon, and re-create a web clip profile Jamf Pro rejected.
    • Brander guide for setup, a first test and template changes: docs/BRANDER.md
    • Brander template store: upload wallrender templates, see them as cards with a preview, pick one per kind of device, check fit, and preview on a real device before sending. Delivery checks the device first, rate-limits, and only shows personal fields when both the template and the admin allow them. Adds Brander (Asset Tag Watch), a timed template.
    • Each automation's page shows what it does, when it runs, when it last ran and how that run went, and the script it runs. Send a sample event to a Jamf Pro automation from its page, choosing the device it names (Jamf Pro ID, serial number, UDID, device name) or editing the whole payload. The sample's own ids are made up, and a script that calls Jamf Pro acts on the real device with that id, so set a test device first. JAWA remembers it per automation.
    • Failure alerts: post a chat message when an automation's script fails, including timed automations (failure_alert_url in Setup).
    • Admin allow-list in Setup limits console sign-in to named Jamf Pro accounts. An empty list keeps the old behaviour and Setup warns about it.
    • Failed sign-ins are logged with the client address to data/jawa-auth.log, and the installer sets up a matching fail2ban jail.
    • A /healthz endpoint for uptime monitors.
    • Console: a Create automation page, a start-here dashboard for new installs, scannable automation cards, a log page that opens at the newest line and can filter to one automation, copy buttons for URLs and keys, visible keyboard focus, phone layout fixes, and a dark mode.
  • Bugfixes

    • Template webhooks now fire (see upgrade notes).
    • Configuration values containing &, quotes, or angle brackets — Microsoft Teams and Power Automate URLs, and some secrets — are no longer corrupted when written into a generated script.
    • Selecting a saved credential set on the template enable form now hides the server URL, client ID and client secret fields it supplies, instead of showing empty fields alongside a hint that claimed they would be auto-filled. A value typed into one of those fields was previously discarded without warning, because the saved set takes precedence. Fields a partial credential set cannot supply stay visible.
    • Enabling a template no longer stores authentication values that locked the webhook out.
    • Imported template packages are validated before installation: a .jawa.json whose script is truncated or has a syntax error is rejected with the offending line number, instead of installing a webhook that fails silently when it fires.
    • Fixed a crash on templates whose trigger event was a boolean.
    • The 401 response from an inbound webhook no longer echoes the requested hook name back.
    • Rejected path traversal in template package import, and guarded the legacy redirect routes against open redirects.
    • Resource Files page: Download and Delete are no longer adjacent, identical buttons, Delete routes through the shared confirmation screen, and hidden files no longer leak into the listing.
    • The success-page Back button no longer re-submits the action it just completed.
    • Corrected dashboard links and removed dead Extras links.
    • Uploads between 1 MB and 16 MB no longer fail with an opaque error; the server upload cap is now set explicitly.
    • Setup strips trailing slashes from Jamf Pro URLs, so generated webhook URLs no longer contain double slashes.
    • Script uploads with no #! shebang are rejected with a clear message instead of failing cryptically at trigger time.
    • The session-timeout warning now survives laptop sleep and backgrounded tabs.
    • Fixed resource file deletion, added 403/405/500 error pages, and hardened receiver edge cases including malformed form payloads.
    • The "Setup Required" error page links directly to Setup.
    • Saving Setup no longer drops settings the form does not post, such as the Tap Action brand, and a first save keeps the admin list and failure alert URL.
    • Automations with API-key authentication now set Header Authentication on their Jamf Pro webhook. Before, the webhook had no authentication and every delivery got a 401. Re-save an affected automation, or set Header Authentication on its webhook in Jamf Pro.
    • Imported templates get authentication choices, preselecting an API key, instead of always running without authentication.
    • Renaming an automation applies the name rules and the duplicate check, and an import can no longer reuse an existing automation's name or overwrite its script.
    • The Tap Action rate limit uses the real client address instead of X-Forwarded-For.
    • Creating, editing or deleting a Jamf Pro automation after the token expires no longer sends the expired token. A delete that Jamf Pro refuses keeps the JAWA record.
    • Sign-in to an unresponsive Jamf Pro server times out after 30 seconds.
    • credentials.json and webhooks.json are written owner-only (0600).
    • Removed the unlinked live-log pages, which could pin a CPU and leak tail processes.
    • A Smart Group automation that is switched off in Jamf Pro now says so on its page.
  • Removed

    • The Enrollment Pipeline template, which shipped as an incomplete outline and needs a device-assignment CSV contract that will be designed properly in a future release.
  • Repository maintenance

    • Removed dead code (legacy MongoEngine, stale stubs).
    • data/cron.json is no longer tracked in git, so a checkout can no longer overwrite real cron definitions with an empty seed file.

JAWA v3.1.1 release

  • Bugfix
  • Resolved #49
  • Repository Maintenance

JAWA v3.1.0 release

  • New features
    • enhanced UI, mobile-friendly view
    • unified installer
    • enhanced script cleanup routine
  • Bugfixes
    • improved error handling
    • sanitized user inputs to prevent XSS exploits
    • unified installer that does not overwrite nginx defaults (resolving #31)

Clone this wiki locally