v4.1.0 #724
Stephen J. Lu (StephenJLu)
announced in
Announcements
v4.1.0
#724
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Striae Release Notes - v4.1.0
Release Date: March 19, 2026
Period: March 18 - March 19, 2026
Total Commits: 16 (non-merge since v4.0.3)
Minor Release - Customized PDF Formats, Badge/ID Support, and Audit Viewer Refactor
Summary
v4.1.0 introduces a server-side custom PDF format routing system that selects a report format based on the verified user email, with initial support for variable formats. User profiles now include a Badge/ID field surfaced throughout the audit system, confirmations, and PDF reports. The audit module received a multi-phase refactor including a centralized utility module and an improved viewer. UX polish was applied to modal and toast interaction states.
Detailed Changes
Customized PDF Formats and Variable Report Format Routing
functions/api/pdf/[[path]].ts): the format is selected based on the user's verified Firebase email against aPRIMERSHEAR_EMAILSenvironment secret — email addresses are never exposed in the client bundle.PRIMERSHEAR_EMAILSPages secret (comma-separated, optional) toworker-configuration.d.tsand thedeploy-pages-secrets.shdeployment flow.primershear.emails— an untracked local file (one address per line) — as the source-of-truth for the email list.scripts/deploy-primershear-emails.sh: readsprimershear.emails, updates.env, deploys thePRIMERSHEAR_EMAILSsecret to both Pages environments, and redeploys Pages in one step. Exposed asnpm run deploy-primershear.PDFGenerationDatawithuserFirstName,userLastName, anduserBadgeIdfields; the primershear header rendersFirst Last, BadgeID.fileslist: addedapp/routes.ts,load-context.ts, andprimershear.emails.example.Badge/ID Field
badgeIdto the user data model and user worker storage/retrieval.badgeIdin the audit service, audit log entries, and the audit viewer.Audit Module Refactor
UX — Modal and Toast Interaction
cursor: defaulton modal and toast elements to prevent incorrect pointer cursors on non-interactive surfaces.Compatibility
Release Statistics
v4.0.3..v4.1.0npm run build)npm run typecheck)npm run lint)Closing Note
v4.1.0 introduces flexible PDF report formatting based on user email, enhanced user profiles with Badge/ID support, and a cleaner audit module structure, along with some important UX improvements to modals and toasts. The new deployment script for the Primer Shear email list makes it easy to manage report format access without touching source code.
This discussion was created from the release v4.1.0.
Beta Was this translation helpful? Give feedback.
All reactions