Skip to content

Releases: Skyscanner/backpack

42.1.0

19 Mar 02:30
c0a717f

Choose a tag to compare

What’s Changed

Added

Fixed

42.0.0

16 Mar 08:06
97eb890

Choose a tag to compare

What's Changed

💥 Breaking

🧠 Migration guideline

Backpack v42 offers Claude skill to do the migration: https://github.com/Skyscanner/backpack/blob/main/.claude/skills/backpack-v42-migration/SKILL.md 🥳 But if you found any issues when using the Claude skill, you can check the below migration details manually.

Autosuggest default alignment

BpkAutosuggestV2 becomes the default BpkAutosuggest.

Migration depends on your current usage:

  1. If you are using V2 → rename to default and update the API.
import BpkAutosuggest from '@skyscanner/backpack-web/bpk-component-autosuggest';
  1. If you are using V1, we recommend you update to V2 directly, If you have to use V1 for special reasons, you need to use BpkAutosuggestLegacy.
import { BpkAutosuggestLegacy } from '@skyscanner/backpack-web/bpk-component-autosuggest';

Migration guide: https://github.com/Skyscanner/backpack/blob/523cf172542425cce39c19a063ae6ab741269268/packages/bpk-component-autosuggest/docs/migrating-from-v1-to-v2.md

Button deep import removal (v2 export)

The supported public API remains:

import BpkButton, { BUTTON_TYPES, SIZE_TYPES } from '@skyscanner/backpack-web/bpk-component-button';

In v41, the default export already resolves to BpkButtonV2. Teams can migrate to this supported default import pattern before adopting v42.
In v42, any deep import via internal src/... paths (e.g. BpkButtonV2 internal folder imports) will no longer work.

Button docs (README): https://github.com/Skyscanner/backpack/blob/f0b245809cdffbb7eeb98977164f8bb6bdd420c7/packages/bpk-component-button/README.md

Warning Important adoption note (Global Components dependency)

If your application consumes Global Components that include Autosuggest, you must upgrade:
• Backpack v42
• Global Components v16

⚠️ These two packages must be upgraded together in the same PR.
⚠️ Global Components must be upgraded on both server and client to avoid runtime mismatch.

Full Changelog: 41.19.0...42.0.0

41.19.0

16 Mar 07:22
73b4732

Choose a tag to compare

What's Changed

Full Changelog: 41.18.0...41.19.0

v42.0.0-beta.0

12 Mar 08:19
6100341

Choose a tag to compare

This is the test version of 42.

DO NOT USE IT IN YOUR PRODUCTION.

41.18.0

05 Mar 09:05
2657714

Choose a tag to compare

What’s Changed

Added

Dependency updates

41.17.0

26 Feb 07:55
e91c5dd

Choose a tag to compare

What’s Changed

Added

Fixed

  • [Clov-1296][bpk-component-layout] disable chakra preflight and global css to fix the font style overriding (#4249) Faye (@Faye-Xiao)

41.16.0

26 Feb 03:25
c4ca385

Choose a tag to compare

What’s Changed

Added

  • [IRN-6440][Bpk-card-list]Fix bug introduced by adding a negative margin when there is no title prop on carousel (#4234) grc-ong

41.15.2

25 Feb 10:31
02bfca2

Choose a tag to compare

What’s Changed

Fixed

41.15.1

25 Feb 07:34
377a80a

Choose a tag to compare

What’s Changed

Fixed

41.15.0

24 Feb 06:42
fe58c27

Choose a tag to compare

What’s Changed

Added