Skip to content

@stagepass/loader 2.5.1

Choose a tag to compare

@stagepass-build stagepass-build released this 22 Nov 12:08
· 39 commits to master since this release
9b441eb

Loader-only patch

Published on npm as @stagepass/loader@2.5.1 on 22 November 2026 at 12:17 Europe/Berlin, directly on dist-tag latest. Source tag loader-v2.5.1 → 9b441eb7c07c712a25a56d23b4a796eb1f6c3626. npm package shasum df6b47cff8ea3a3c9aab7bfb3fbf0081522c087b, integrity sha512-7XbJc8XrxhPWl91k0g7AS/gBES1h9tshkfK0Oi7tablxX1kE7CIejdugtlVfFS+ooJu3myDc00+802hBKSEPAg==, tarball sha256 bb9f5b2d202351bbf6621c1179a2d4b5efaf8b5902aa780b85608f32fdde13f5. loader.min.js sha256 490774a35dfca9e07d1ddf0e4e975ebcd4456146ab6f7d39fc8d78056fcb1ebb (15135 bytes). CLI and Modules are not part of this package release (CLI 2.6.0 shipped the same day under its own tag). Only latest is used; there is no next or preview dist-tag.

Changed

  • localStorage and sessionStorage capability is probed lazily and memoized, on sp.can('localStorage'|'sessionStorage') or when sp.vars.client.capabilities.localStorage / .sessionStorage is read, not on every page load.

Fixed

  • Ordinary visits no longer write and delete __stagepass_test__ in localStorage or sessionStorage (os#155). Each load still reads stagepass_domain and removes that key only when the value is stale or invalid.

Privacy

  • No cookies. An ordinary visit reads stagepass_domain once and writes nothing, except removing that key when it holds a stale or invalid value. A preview session is written only when started via ?stagepass=.

Size

loader.min.js 15135 / 6690 / 5971 B (raw / gzip / brotli); 2.5.0 was 15065 / 6664 / 5958.

Verification

  • Self-hosted CI on Cerebro was green for the loader 2.5.1 work (os#156) and for the repo-guard merge that the tag points at (os#160). The published tarball is byte-identical to the accepted freeze pack. The Stagepass CDN serves /loader@2.5.1/loader.min.js as the same 15135-byte file.

A short embed such as /loader@2 is still resolved by this build as a file, so session chunks are requested at the CDN root. The CDN 302-redirects /flag.min.js, /flag-card.min.js, and /live.min.js to /loader@2/<file> as a compatibility shim. The proper loader fix is tracked as os#161 (Loader 2.5.2, Sprint 01). Prefer the full file path for an exact pin.