Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[theia-dev] Theia 1.77: runtime packages switch to ES modules

Hi everyone,

Theia 1.77 switches the runtime packages (packages/*) from CommonJS to ES modules.
Most applications and extensions will keep working without changes, but please check your code against the migration guide, especially direct imports of shared libraries like
inversify, constructor injection without @inject, and esbuild customizations: https://github.com/eclipse-theia/theia/blob/master/doc/Migration.md#v1770

The change is included in the "next" builds from 1.77.0-next.101 on (e.g. https://www.npmjs.com/package/@theia/core/v/1.77.0-next.101), so you can already try it.
Please report problems and questions in this discussion: https://github.com/eclipse-theia/theia/discussions/18312

Open pull requests: the change touches almost every file in packages/*, so most open PRs will have conflicts and need a rebase.
See also the discussion entry for more information on how to deal with that.

Thanks,
Nina

Nina Doschek, MSc

Senior Software Architect
EclipseSource Austria


EclipseSource Services GmbH
Schwindgasse 20 / 2-3
1040 Wien

General Manager: Dr. Philip Langer
Registered Office: Schwindgasse 20/2-3, 1040 Wien; Handelsgericht Wien, FN 421413a

Back to the top