Skip to content

Bump guardian/libs to 29.0.1#15436

Draft
akinsola-guardian wants to merge 6 commits intomainfrom
al/bump-libs-28-0-0
Draft

Bump guardian/libs to 29.0.1#15436
akinsola-guardian wants to merge 6 commits intomainfrom
al/bump-libs-28-0-0

Conversation

@akinsola-guardian
Copy link
Contributor

@akinsola-guardian akinsola-guardian commented Feb 26, 2026

What does this change?

  • Bump @guardian/libs to 29.0.1
  • Get Article* enums from local lib/articleFormat instead of @guardian/libs.
  • Update AUS consentUUID cookie lookup to prefer globalcmpUUID with ccpaUUID fallback.

Why?

Migrating Australian framework to GlobalCMP framework.

@github-actions
Copy link

github-actions bot commented Mar 4, 2026

@akinsola-guardian akinsola-guardian changed the title Al/bump libs 28 0 0 Bump @guardian/libs to 29.0.1 Mar 4, 2026
@akinsola-guardian akinsola-guardian changed the title Bump @guardian/libs to 29.0.1 Bump guardian/libs to 29.0.1 Mar 4, 2026
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates @guardian/libs to 29.0.1 and makes the minimal code changes needed in Dotcom Rendering to keep Storybook stories and CMP boot logic consistent with the upgraded dependency.

Changes:

  • Bump @guardian/libs from 27.1.0 to 29.0.1 (package.json + lockfile).
  • Update Storybook stories to source Article* enums from local lib/articleFormat instead of @guardian/libs.
  • Update AUS CMP consent UUID cookie lookup to prefer globalcmpUUID with ccpaUUID fallback.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.

Show a summary per file
File Description
pnpm-lock.yaml Updates the dependency graph to resolve @guardian/libs@29.0.1.
dotcom-rendering/package.json Bumps the @guardian/libs dependency version.
dotcom-rendering/src/components/MultiBylines.stories.tsx Switches enum imports away from @guardian/libs to local articleFormat.
dotcom-rendering/src/components/Masthead/HighlightsCard.stories.tsx Same as above for masthead story formats.
dotcom-rendering/src/client/bootCmp.ts Adjusts AUS consent UUID cookie selection logic.
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported
Comments suppressed due to low confidence (1)

pnpm-lock.yaml:2407

  • @guardian/libs@29.0.1 now declares a non-optional peer dependency on tslib ^2.8.1, but this lockfile resolves it with tslib@2.6.2 (see snapshots). This will produce an unmet peer dependency and may break installs/CI depending on peer-deps settings; consider bumping tslib in the workspace (and regenerating the lockfile) or pinning a compatible @guardian/libs version.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants