-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tracking issue for breaking changes in 4.x #1860
Comments
Is this done now? or do you mean the extra work that actually removes the loader? |
I mean we should finish landing #2103, and then ensure that loader.js is not in In whole apps I've been testing under vite there's nothing in the AMD loader anyway. |
How is route-splitting intended to work with ember-resolver explicit modules? I've been experimenting with using the override Resolver = Resolver.withModules(compatModules); Because I had to add something like this to the route files to get them to be found: // @ts-expect-error No typedefs
import compatModules from '@embroider/virtual/compat-modules';
compatModules['my-app/routes/admin'] = Admin; |
Ah, good catch. We must lack tests for that combination of settings. |
The route splitting should be fixed on main now.. |
Opening this as a place to keep track of what is currently breaking between 3.x (stable branch) and the upcoming 4.x (main branch).
Planned breaking changes in 4.x
--mode
argument.'config-module'
code must be moved on the app-side'app-boot'
code must be moved on the app-sideserverMiddleware
hook is not supported.forbiddenVendorPath
(it's fine for people to add it, I just forbid it while testing to ensure nothing in embroider could accidentally use it)dependsOnComponents
anddependsOnModules
compatibility rules exist to force things into the AMD loader, and there won't be an AMD loader, so they need to either be removed or change their API.Currently breaking behaviors that we're working on
app.import
with customoutputPath
. We may or may not keep support for this feature.!storeConfigInMeta
Things to clean up before release
//TODO move the extra forwardslash handling out into the vite plugin
Things we may want to break but haven't yet
staticAddonTrees
andstaticAddonTestSupportTrees
set to false was intended as a more-likely-to-work initial adoption mode. But they break things at least as often as they help, because they aggressively pull files into the build that can have problems. People have have a better adoption experience if we always keep themtrue
and instead document how to identify when some small number of modules are not found at runtime.The text was updated successfully, but these errors were encountered: