Skip to content

Comments

Remove deprecations for upcoming major release#153

Open
Phocacius wants to merge 3 commits intodevelopfrom
work/deprecations
Open

Remove deprecations for upcoming major release#153
Phocacius wants to merge 3 commits intodevelopfrom
work/deprecations

Conversation

@Phocacius
Copy link
Member

for full changelog, see PR in mapbender core: mapbender/mapbender#1826

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes deprecated code and legacy compatibility layers in preparation for a major release, as part of broader changes described in mapbender/mapbender#1826. The changes clean up technical debt by eliminating deprecated methods, classes, dead code, and outdated documentation references.

Changes:

  • Removed deprecated PHP classes (FeatureTypeService, DataStoreService) and methods (hasId, featureTypeFactory, getFeatureTypeByName, getFeatureTypeDeclarations, getSchemaLayer)
  • Removed dead code and legacy compatibility checks (DataTables version check for < 2.0, commented-out resolution filtering code)
  • Removed legacy SCSS styles and external documentation references to vis-ui.js

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/Mapbender/DigitizerBundle/Resources/public/MbDigitizer.js Removed commented-out TODO code block and deprecated getSchemaLayer method
src/Mapbender/DataSourceBundle/Entity/DataItem.php Removed deprecated hasId() method
src/Mapbender/DataSourceBundle/Component/RepositoryRegistry.php Removed three deprecated alias methods for DataStore/FeatureType operations
src/Mapbender/DataSourceBundle/Component/FeatureTypeService.php Deleted deprecated service class (full file deletion)
src/Mapbender/DataSourceBundle/Component/DataStoreService.php Deleted deprecated service class (full file deletion)
src/Mapbender/DataManagerBundle/Resources/styles/dataManager.element.scss Removed legacy SCSS styles marked for removal in Mapbender 5
src/Mapbender/DataManagerBundle/Resources/public/TableRenderer.js Removed DataTables version check for versions < 2.0
src/Mapbender/DataManagerBundle/Resources/public/FormUtil.js Removed external documentation references to vis-ui.js
src/Mapbender/DataManagerBundle/Resources/public/FormRenderer.js Removed external documentation references to vis-ui.js

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@astroidex astroidex added this to the 3.0.0 milestone Feb 20, 2026
@astroidex
Copy link
Member

Digitizer does not load with error.

Element 6583 failed to initialize: can't access property "ext", $.fn.dataTable is undefined 
Object { init: "MbDigitizer", configuration: {…} }

@Phocacius
Copy link
Member Author

The digitizer develop branch requires DataTables 2 now. Use composer update mapbender/* (that'll install the newest data tables version), then manually check out the deprecation branches again.

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.

2 participants