8 Aug 2011 9:52 PM #1
List of removed/deprecated classes and methods
we want to migrate our applications based on ExtJS 3.2.1 to ExtJS4.x. We have many of ExtJS classes extended, but it seems that some of them have been removed from ExtJS 4. Is there any list of removed or deprecated classes and methods? And optionally is there any list of replacements of removed/deprecated classes or methods?
Some of our extended classes:
9 Aug 2011 4:31 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
- Ext.tree.TreeNodeUI, Ext.data.NodeInterface
- Ext.tree.DefaultSelectionModel, Ext.selection.*
- Ext.grid.GridView, Ext.grid.View
- Ext.grid.GroupingView, Ext.grid.feature.Grouping (Ext.grid.feature.GroupingSummary)
- Ext.grid.RowSelectionModel, Ext.selection.RowModel
- Ext.grid.CheckboxSelectionModel. Ext.selection.CheckboxModel
Guess you haven't poked around the API huh?
http://docs.sencha.com/ext-js/4-0/Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
2 Nov 2011 12:17 PM #3
It would be nice if you guys, rather than make condescending little comments like "guess you haven't poked around the API", would instead focus some time posting the full list of things you yanked out of the API. I'm trying upgrade a very large application from 3 and 4. Discovering these non-deprecated/annihilated functions/classes via Firebug is VERY time consuming.
2 Nov 2011 6:34 PM #4
Sorry about that comment -- I fully agree that the changes you're asking about are not as discoverable as they could be. We did provide a compatibility layer that was meant to be somewhat of a self-documenting list of API changes that also provides contextual help with what you need to change. Here's a link to the blog post about it, in case you missed it, that links to all of the relevant resources including the most recent compatibility layer files.
People who have extended a lot of the basic Ext classes will generally have a harder time migrating for this exact reason. Hopefully you'll get it worked out (and the list of class mappings Mitchell provided is definitely valid) but if you still have any issues please post to the migration-specific forum thread as it's monitored specifically for questions like these and we'll do our best to assist.