Skip to content

Feature/prerender#10

Merged
devnomadic merged 5 commits into
mainfrom
feature/prerender
Oct 28, 2025
Merged

Feature/prerender#10
devnomadic merged 5 commits into
mainfrom
feature/prerender

Conversation

@devnomadic

Copy link
Copy Markdown
Owner

This pull request introduces support for Blazor WebAssembly prerendering and improves build information handling in the application. It also updates dependency review workflow settings and refactors service registration for better prerendering compatibility. The most important changes are grouped below.

Blazor prerendering support and build info improvements:

  • Added the BlazorWasmPreRendering.Build package to Albatross.csproj to enable prerendering support.
  • Refactored Layout/MainLayout.razor to use the new Generated.BuildConstants for build timestamp and build ID, extracting and displaying a short version of each for build info. Also added @using Generated to access the generated constants. [1] [2]

Service registration refactor for prerendering:

  • Moved service registrations (such as HttpClient and AbuseIPDBService) into a static local function ConfigureServices in Program.cs to support prerendering scenarios.

Dependency review workflow update:

  • Updated .github/workflows/dependency-review.yml to allow dependencies with undetected licenses for certain Microsoft packages, preventing false positives in license checks.

- Added support for allowing dependencies with specific licenses in the dependency review action.
- Included a new package reference for BlazorWasmPreRendering.Build.
- Updated BuildInfo format in MainLayout.razor to include GitHub release style versioning.
- Refactored service registration in Program.cs for better organization and prerendering support.
@github-actions

github-actions Bot commented Oct 28, 2025

Copy link
Copy Markdown

🚀 PR Status Dashboard

📊 Workflow Status

CI: success (view)
Deploy: success (view)

🌐 Preview Environments

SPA Preview: https://feature-prerender.albatross-5kt.pages.dev
Worker Preview: https://abuseipdb-preview.devnomadic.workers.dev

📝 PR Details

Branch: feature/prerender
Commit: 4f577b60
Author: @devnomadic
Target: main
Last Updated: 2025-10-28T04:02:11.915Z


This comment is automatically updated by the PR Update workflow

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 28, 2025

Copy link
Copy Markdown

Deploying albatross with  Cloudflare Pages  Cloudflare Pages

Latest commit: 4f577b6
Status: ✅  Deploy successful!
Preview URL: https://8651b29d.albatross-5kt.pages.dev
Branch Preview URL: https://feature-prerender.albatross-5kt.pages.dev

View logs

@devnomadic devnomadic merged commit 4f5b999 into main Oct 28, 2025
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant