Skip to content

feat(blog): add introduction slot and prepare 4.6.0 - #289

Merged
olliethedev merged 6 commits into
mainfrom
feat/blog-introduction-slot
Oct 19, 2026
Merged

olliethedev merged 6 commits into
mainfrom
feat/blog-introduction-slot

Conversation

@olliethedev

@olliethedev olliethedev commented Oct 19, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Blog consumers can insert contextual content after the first top-level paragraph through postIntroductionSlot. Markdown stays in one document, so reference links and footnotes keep working. The slot is omitted when no body paragraph exists, and changing its props preserves component state and keyboard focus.

Prepare @btst/stack and @btst/codegen 4.6.0, with the generator, playground examples and installation docs pointing to the same release. BioMogging PR #317 will upgrade to this published version and remove its temporary patch before deployment.

The initializer also retains the native Tailwind Turbopack loader when it generates Next.js configuration for an application that declares @tailwindcss/turbopack. This fixes the release-blocking build failure with the current Next.js starter.

Evidence

  • The full initialization harness passes locally against Next.js 16.4.2, including strict dependency installation, legacy migration, repeat-run stability and production compilation. 98 focused CLI tests, CLI typecheck and repository lint pass after the loader fix.
  • Three renderer regressions cover placement, references/footnotes, paragraph-free documents, changed props, preserved state and focus.
  • Package build, workspace typecheck, lint and regenerated registry pass locally. Eight packed-consumer harness tests and three package-installer tests pass.
  • The packed npm core fixture passes strict install, dependency-tree validation, typecheck and production bundling. Its React/React DOM pair is updated to 19.3.1 because npm now resolves an optional native driver peer requiring React 19.3; strict peer checking remains enabled. Workspace tests still exercise React 19.2.7.

Merge Danger

Door: two-way for source changes; published npm versions are immutable.

Blast Radius: Markdown and generated installations.

The renderer API is optional. Release through the existing exact-commit CI/deployment gate, then verify package versions, source commit and integrity before the BioMogging upgrade.

@vercel

vercel Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
better-stack-docs Ready Ready Preview Oct 19, 2026 4:25pm UTC
better-stack-playground Ready Ready Preview Oct 19, 2026 4:25pm UTC

Request Review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-19T16:26:07.685530Z 308b163 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: fcf3e534e7

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@olliethedev olliethedev changed the title feat(blog): add an introduction slot without splitting Markdown feat(blog): add introduction slot and prepare 4.6.0 Oct 19, 2026
@olliethedev

Copy link
Copy Markdown
Collaborator Author

@codex review

@olliethedev

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep it up!

Reviewed commit: 9a30c90948

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@olliethedev

Copy link
Copy Markdown
Collaborator Author

@codex review

Please review final head 308b163bc9acc03635b8737d979bd77b654c19c8, including the release-blocking Next.js initialization fix. The current starter declares @tailwindcss/turbopack and configures its CSS loader in next.config.ts; generating chat/media configuration previously discarded that loader. The new config retains it when the application declares the dependency.

The complete local init harness now passes against Next.js 16.4.2, including strict peer installation, migration, repeat-run stability and production build. The 98 focused CLI tests, typecheck and lint also pass. The previously reviewed introduction-slot implementation is unchanged.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep them coming!

Reviewed commit: 308b163bc9

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@olliethedev
olliethedev merged commit 63f08c6 into main Oct 19, 2026
14 checks passed

This branch was successfully deployed

2 active deployments
Preview – better-stack-docs — 308b163b Deployed Oct 19, 2026 by vercel[bot]
Preview – better-stack-playground — 308b163b Deployed Oct 19, 2026 by vercel[bot]
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