#13854·cesium

Remove `@cesium/core` re-export deprecation shims in 1.150

Author: jjhembdCreated Sep 26, 2026Updated Sep 28, 2026
Labelsremove in 1.150

In https://github.com/CesiumGS/cesium/pull/13805, 150 symbols moved from @cesium/engine to @cesium/core. To avoid a breaking change, @cesium/engine re-exports each one through a deprecated compatibility shim that logs a one-time console warning and forwards to the real @cesium/core implementation. Per the deprecation policy, these shims are scheduled for removal in CesiumJS 1.150.

Delete entirely

  • packages/engine/Source/Core/Deprecated/ — all 150 generated shim files plus the shared _deprecatedCoreExport.js Proxy helper.
  • scripts/listCoreReExportShims.js
  • scripts/generateCoreReExportShims.js
  • scripts/core-reexport-shim-candidates.txt

Revert

  • gulpfile.js — in processEngineSource(), remove the deprecatedExports/readCoreReExportShimNames() block, and delete the readCoreReExportShimNames() function.
  • packages/engine/tsd-conf.json — remove "packages/engine/Source/Core/Deprecated" from source.exclude.
  • Tools/jsdoc/conf.json — remove "packages/engine/Source/Core/Deprecated" from source.exclude.
  • packages/engine/scripts/build.js — remove the !packages/engine/Source/Core/Deprecated/_deprecatedCoreExport.js exclude from sourceGlobs, and remove the combinedSourceGlobs export.

Verification

  • npx gulp buildTs (all workspaces) completes with no references to the removed names in generated .d.ts output.
  • Full test suite passes.