How to upgrade Sencha ExtJS6 to ExtJS7 - extjs

How can one upgrade Sencha ExtJS v6.2.0.103 to ExtJS v7. I do see Upgrade Guide but it does not mention anything
https://docs.sencha.com/extjs/7.0.0/guides/whats_new/api_diffs/700_classic_diff.html

Sencha's upgrade page could be better...
Here's a user who figured it out
https://www.sencha.com/forum/showthread.php?323886-How-to-upgrade-your-workspace-to-latest-Cmd-and-ExtJS

If you are using Sencha's npm (ExtGen) tooling, you can upgrade your existing application using the ext-movetolatest utility. This will take of the necessary configuration updates to package.json, webpack.config.js, app.json, etc.
You can migrate your project from a standard ExtJS + Sencha Cmd application to an ExtGen application using ext-gen migrate

Related

Why is framework version 7.3 not available for download on the Sencha Support Site?

Last week, I downloaded Sencha Architect version 4.2.9. It installed Sencha Cmd version 7.3 and version 7.3 of the ExtJS framework as a part of the installation process. However, 7.3 is not available as a separate download on the Support site as it would typically be. Why is that?
Current download is only 7.2.0.66 - If you got 7.3 I'd say that was an accidental leak of 7.3 if you got it...
I'm only getting
both support portal and npm are only supplying 7.2 series
Would love a copy of 4.2.9 if you have one... I can't seem to get that either.
Ext JS 73 is now available on support portal.

How to I update my React version in the ASP.NET Core React/Redux template project?

I've started learning React with Redux and part of my development has seen me want to use the Material UI to make my application more interesting. I created my project in Visual Studio 2017 using the React with Redux template for ASP.NET Core.
I followed the documentation presented at the MatrialUI site and opted to use the CDN option for delivery of the MaterialUI library.
I started creating a few elements and was quickly confronted with the message that I needed to upgrade my react installation to use the Toolbar.
My question is, when we use the Visual Studio React/Redux ASP.NET Core template, how do I update my react installation? Is that carried out via NPM? I can't see any nuget packages relating to React.
Many thanks
Hey not sure if you found an answer yet but here is my take:
I tried using npm update inside the "ClientApp" folder, but that didn't seem to work. Something that did work though was manually updating each package. So open up a separate terminal -> cd into the ClientApp directory and then
npm i <package name>#<newest version>
so an example would be
npm i react#16.8.6
Some packages you will definitely need to update are React, React-DOM and rimraf. But you might choose to just update all of them while you're at it. When you're using ASP.NET Core try and go for the 2.2 version, which at least already has Bootstrap 4 installed.
Another tip: With Visual Studio, if you hover over the package names in the package.json file inside, it will show you the latest version. That's gonna make it a bit easier to find out what version you want to update to.
Hope that helped! And if anyone has a better solution please let me know.

ExtJS Sencha Build getting ext SDK from remote/CDN location

I use ExtJS 5 and build my application using Sencha Cmd.
I have Sencha app generated inside my maven based webapp.
I would like to host the SDK on some CDN and still be able to use Sencha Cmd "sencha app build" etc. Is this possible? I need to trip down the size of my webapp.
Please guide.
Do not upload this folder to source control at all.
Instead, put a readme file to tell fellow developers (who will want to build the dev version of the app) how to install Sencha ExtJS and re-generate this ext folder on their side using this command:
cd <path_to_your_app_root>
sencha app upgrade <path_to_extjs_root_folder>
Other project stackholders (Testers, management, ...) should use the production version of the app.

How to know the version of sencha from the code

I got an existing old application and I am trying to customize the same. Since it is an old application built in Ext JS/Sencha, the version of Ext js i see from my web console is 1.1.1.
Ext.version gives 1.1.1 as the result. So how will i know which version of sencha it is ? like sencha 2.3.1 is the latest.
I am new to sencha and hence i am not sure about how to check the version and also how the Ext js version is related to sencha version.
I hope the latest Extjs version is 4.x series and sencha is 2.3.1.
So for my existing application , Ext js version is 1.1.1 and i need to know the sencha version of the same.
Please help.
Sencha is the company behind ExtJS and Sencha Touch. There is no version number for sencha.
If you are working with ExtJS (the desktop framework) the latest version is 4.2.2 and for Sencha Touch (the mobile version of the framework) the latest version is 2.3.1.
The latest version numbers are availible here: http://docs.sencha.com
Ext.version
is always the right attempt to get the version number, no matter if Sencha touch or ExtJS.
For the core you can try the following from the JS console:
Ext.versions.core.version
For other components just replace the word "core" in the previous command with the component name. e.g to get the "extjs" version you would type :
Ext.versions.extjs.version

Sencha Command Issue

Good Evening, I have a problem and have not found a solution to the CMD Sencha, Sencha SDK Tools installed and Sencha Command and am trying to develop with Sencha Touch but when I attempt to "sencha app build production" but a problem occurs:
And I tried a lot and have not found a solution yet
Do you have ruby installed on your system? If you do then the error probably has to do with your version of ruby. Make sure you are using version 1.9.3
Take a look in this link:
Error building application in Sencha Architect
It´s works for me ! Note: You have to restart the windows !

Resources