Release v0.4.1 #8

Merged
Mike Bros merged 1 commit from release/0.4.1 into main 2026-02-28 14:32:24 +00:00
Collaborator

Release v0.4.1

Changes

  • OP#1855: Fix Alpine.js syntax error in icon detail modal for non-FA libraries (Critical)
  • OP#1856: Investigate icon rendering failures for Remix Icons (resolved by OP#1855)

What was wrong

icon_detail.templ:72 generated broken JavaScript when data.Unicode was empty:

get cssContent() { return '\'; }  // unterminated string literal

This killed the entire Alpine component for ALL non-FontAwesome libraries (Remix, Lucide, Tabler, Boxicons, Iconoir, Bootstrap). Modal couldn't close, HTML/CSS rows blank, copy broken.

What changed

  • Added cssContentValue() helper that returns empty string for empty Unicode, and properly double-escapes the backslash for non-empty Unicode
  • Updated tag placeholder text from "coming in v0.4.0" to "coming soon"
  • Added regression tests for empty Unicode and backslash escaping
  • VERSION bumped to 0.4.1

Checklist

  • All version tasks closed in OpenProject
  • Tests passing (go test ./... — 6 packages, including 2 new regression tests)
  • go vet clean
  • go build ./cmd/fontshelf compiles
  • VERSION file bumped to 0.4.1

References

Version: 0.4.1 — Modal & Rendering Fixes

## Release v0.4.1 ### Changes - OP#1855: Fix Alpine.js syntax error in icon detail modal for non-FA libraries (Critical) - OP#1856: Investigate icon rendering failures for Remix Icons (resolved by OP#1855) ### What was wrong `icon_detail.templ:72` generated broken JavaScript when `data.Unicode` was empty: ```javascript get cssContent() { return '\'; } // unterminated string literal ``` This killed the entire Alpine component for ALL non-FontAwesome libraries (Remix, Lucide, Tabler, Boxicons, Iconoir, Bootstrap). Modal couldn't close, HTML/CSS rows blank, copy broken. ### What changed - Added `cssContentValue()` helper that returns empty string for empty Unicode, and properly double-escapes the backslash for non-empty Unicode - Updated tag placeholder text from "coming in v0.4.0" to "coming soon" - Added regression tests for empty Unicode and backslash escaping - VERSION bumped to 0.4.1 ### Checklist - [x] All version tasks closed in OpenProject - [x] Tests passing (`go test ./...` — 6 packages, including 2 new regression tests) - [x] `go vet` clean - [x] `go build ./cmd/fontshelf` compiles - [x] VERSION file bumped to 0.4.1 ### References Version: 0.4.1 — Modal & Rendering Fixes
chore(release): bump version to 0.4.1
All checks were successful
CI / build (pull_request) Successful in 1m40s
6405aee19f
Refs OP#1855

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
mike/fontshelf!8
No description provided.