Skip to content

Add Hapi.js middleware - #2

Merged
marcin-prerender merged 8 commits into
mainfrom
add-prerender-hapi
May 19, 2026
Merged

Add Hapi.js middleware#2
marcin-prerender merged 8 commits into
mainfrom
add-prerender-hapi

Conversation

@Lasalot

Copy link
Copy Markdown
Collaborator

Initial implementation of the Prerender.io integration for hapi.

Comment threadindex.js Outdated
Comment threadtest/smoke.test.js
Comment threadindex.js
Comment threadpackage.json
Comment on lines +20 to +21
"url": "git://github.com/prerender/integrations",
"directory": "prerender-hapi"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mmm shouldn't it be prerender/hapi?

Comment threadindex.js
Comment threadindex.js
Comment threadindex.js
Comment threadindex.js
giovanniRodighieroand others added 6 commits April 29, 2026 15:50
Adds fail-fast: false and npm cache for parity with koa workflow.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Lets the backend correlate requests with a specific integration version
and uniquely identify each request for support triage.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Asserts the outgoing wire-protocol shape (URL composition, required and
optional headers, X-Prerender-Int-Type value, Int-Version semver,
Request-Id UUID format and per-request uniqueness, query-string
preservation) — surfaces that the existing smoke tests don't cover.
Mock server lives at prerender/integration-contract and is fetched in
CI before tests run.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@marcin-prerender
marcin-prerender merged commit 0dd4eb2 into mainMay 19, 2026
3 checks passed
Sign up for freeto 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.

3 participants

@Lasalot@giovanniRodighiero@marcin-prerender