Skip to content

Rework upgrading doc to include WarpDrive migration guide - #2246

Draft
BlueCutOfficial wants to merge 1 commit into
ember-learn:masterfrom
BlueCutOfficial:warp-drive-migration
Draft

BlueCutOfficial wants to merge 1 commit into
ember-learn:masterfrom
BlueCutOfficial:warp-drive-migration

Conversation

@BlueCutOfficial

@BlueCutOfficial BlueCutOfficial commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

This PR corresponds to the 1/3 part of the issue #2247 about writing a WarpDrive documentation for the Ember Guides: the Migration Guide.

The audience for the Migration Guide is developers who use EmberData in their app and want to go through the key steps to migrate to WarpDrive.

This PR:

  • Reworks the index of the Upgrading guides so it's less focus on Octane edition and different type of upgrades are easier to integrate.
  • Moves the information about upgrading the Ember version to a dedicate "Version Upgrading Guide".
  • Moves the information about upgrading to Octane to a dedicate "Octane Upgrading Guide".
  • Creates a placeholder for a "Polaris Upgrading Guide" on the same model as Octane, to be consistent with the current state of Ember and include information about GJS and Vite.
  • Creates the “Warp Drive Guide” based on the example of Super Rentals.

@netlify

netlify Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

👷 Deploy request for ember-guides pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit a19aff9

@BlueCutOfficial
BlueCutOfficial force-pushed the warp-drive-migration branch 2 times, most recently from 6fb4407 to efe7945 Compare October 21, 2026 15:37
@NullVoxPopuli-ai-agent

Copy link
Copy Markdown

Thank you, @BlueCutOfficial, for this guide and for your Mainmatter posts (part 1, part 2).
Your Super Rentals walkthrough was the map for the tutorial work below.

One change is coming that touches this PR.
We are moving the Ember defaults and guides to PolarisMode (useRecommendedStore), because:

  • ember-source main deprecates computed macros and mixins.
  • @warp-drive/legacy uses them, so apps that raise on deprecations fail at boot.

These PRs move the defaults:

Your steps up to store.request and the JsonSuffixHandler stay the same.
The difference is the end point: a schema with withDefaults from @warp-drive/core/reactive and useRecommendedStore, in place of useLegacyStore and Model.
Chapter 11 in #296 shows that end state for Super Rentals, if it helps for the last steps of this guide.

@BlueCutOfficial

Copy link
Copy Markdown
Contributor Author

Thanks for the info! I need to process this a bit because the point of the migration guide is to help people using EmberData to go to WarpDrive independently of the version of Ember they use. Let's assume you have an Ember 3.28 application and you want to move to WarpDrive before managing the Ember upgrade, I am not sure if that's compatible with PolarisMode or if the LegacyMode remains a valid migration step for most people 🤔

@NullVoxPopuli

NullVoxPopuli commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

it totally is a valid migration step!

(the updated ember blueprints can no longer use it though, because ember is deprecating the things the compat stuff / @wwarp-drive/legacy uses)

@BlueCutOfficial

BlueCutOfficial commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor Author

Hey @NullVoxPopuli, I've been looking into this a little bit and I am not sure if I am confident telling people to use the recommended store just yet 🤔 My understanding is that the relationships are not stable when you want to use ReactiveResource? I don't know how are WarpDrive's team plans going, but it sounds like the recommendation at the moment is to deal with relationships with the legacy support.

If you have more info on your side about how the "new way of doing things" is nowadays and what can or cannot be done, I'd like to hear about it. The only case I've been dealing with so far is very trivial, I extracted part of the Rental properties into a City schema just for the sake of dealing with a relationship. I was able to make it work, but I don’t know how reliable this is given all the warnings I am reading in the docs and code.

(Also I saw a PR where you fixed the legacy packages regarding the boot failing you're talking, shouldn't that be released, and if so why not continuing to use the legacy packages a bit longer?)

@NullVoxPopuli

NullVoxPopuli commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Legacy compat is no longer usable without triggering deprecations (we are continuing to deprecate everything legacy depends on, basically)

I'm confident the warp drive team will fill any remaining gaps

@gitKrystan

Copy link
Copy Markdown
Contributor

@runspired has WIP on Polaris-mode relationships. You might coordinate to dogfood them here to help them ship faster.

@runspired

Copy link
Copy Markdown
Contributor

just an aside: it should be possible to use legacy-mode without triggering deprecations today if done via ReactiveResource instead of via Model.

@BlueCutOfficial

Copy link
Copy Markdown
Contributor Author

Thanks @gitKrystan, @runspired! The PR is not ready to open yet, I need to look into following the contribution guidelines, but if one of you have time to take a first look at the content for guides/release/upgrading/warp-drive/*.md that would be great 🙏 I just want to be sure there's no mistake in the explanation and that the path is ok.

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.

5 participants