Intermediate Reading #release #breaking-changes #deprecation

Reading Release Announcements

5 exercises on new-version blog posts — a framework major release and an API sunset. Read for breaking changes, deprecations, migration notes, and exactly what you must do and by when.

Reading release announcements effectively
  • Breaking change vs. deprecationremoved = broken now; deprecated = works now, gone later
  • Required vs. recommended“requires/must” is mandatory; “we recommend” is advisory
  • Sunset timelines — match the capability you need to the date it disappears, not the final shutdown
  • Scope — check exactly which versions an announcement affects
  • Codemods & guides — note the tools and links offered to do the migration
0 / 5 completed
1 / 5
Passage: Release: Announcing Webframe 5.0
Title: Announcing Webframe 5.0

We are excited to announce Webframe 5.0, our biggest release yet. This is a major
version, which means it contains breaking changes. Please read the migration notes
before upgrading.

Highlights:
  - Up to 40% faster cold starts thanks to a rewritten module loader.
  - First-class TypeScript support out of the box.
  - A new streaming renderer (opt-in for now).

Breaking changes:
  - Node 16 is no longer supported. Webframe 5.0 requires Node 18 or later. If you are
    on Node 16, upgrade your runtime first.
  - The legacy webframe.config.js format has been removed. You must migrate to the new
    webframe.config.ts (or .mjs) format. A codemod is provided: run
    npx webframe-codemod config to convert your file automatically.
  - getServerData() has been renamed to loadServerData() for consistency. The old name
    still works in 5.0 but is DEPRECATED and will be removed in 6.0.

Deprecations (still work, but plan to migrate):
  - The <Image legacy /> prop is deprecated. Switch to the new responsive <Image>
    behaviour, which is now the default.

Migration: For most apps the codemod handles the bulk of the work. Run it, then run
your test suite. The full guide is at webframe.dev/migrate/5.

We recommend upgrading on a branch and running your end-to-end tests before merging.
According to the announcement, what must you do if your app is running on Node 16?