C1 3.0 beta4 available

Topics: General, Release notes
Coordinator
Oct 13, 2011 at 8:49 AM
Edited Oct 13, 2011 at 8:54 AM

Good day everyone

 

We have published a new beta version - C1 3.0 Beta 4, and everybody is welcome to try it out. 


History log:

 

Changes from 2.1.3 beta 2


- A lot of fixes in console forms' validation logic

- MimeType configuration ( http://docs.composite.net/C1/Getting-started/Configuration/Adding-MIME-types.aspx )

- New "date-picker" control.

- Improved build-in thumbnail generation ( http://docs.composite.net/Resizing-Images )

- Meta data now can set to be not-localizable (patch by @burningice)

- Bug fixes & better stability


Changes from 2.1.1


- Url configuration / extensionless urls ( http://docs.composite.net/UrlConfiguration )

- Ability to replace non-ASCII characthers in page urls ( http://docs.composite.net/UrlFormatting )

- Visual editor image upload- Visual editor preserves script/iframe/video tags

- SqlServerDataProvider does not require MsSql SMO any more, enables SqlAzure support

- tree views are now auto expanding = less mouse clicking 

- SEO/human friendly media urls f.e. /media/18e54aa7-948e-43dd-90b0-ce44b08661cb/Partners/CompositeC1.png

- Bug fixes & performance improvements


Requirements for upgrade


1. Your site should already be running on C1 2.1.1 or older version

2. Visual Studio 2010

3. A tool for mergin code files. Recommended software is TortoiseMerge, it's free and can be download as a part of TortoiseSVN (http://tortoisesvn.net/downloads.html




Upgrade steps:


0. Remember to create a backup copy of your site. Stop the related application pool on IIS/WebMatrix before upgrading.


1. If you don't have TortoiseMerge installed, download and install it as a part of TortoiseSVN (http://tortoisesvn.net/downloads.html


2. Download & build C1 version you're going to upgrade to


C1 v3.0 beta4

http://compositec1.codeplex.com/SourceControl/changeset/changes/9387


3. Merge changes to web.config.


Use Visual Studio (or another text editor) to format your site's web.config. In VS the hotkeys are Ctrl+A, Ctrl+K-F

Download web.config versions for C1 2.1.1 and C1 3.0 beta4

http://docs.composite.net/Downloads/UpgradeFiles/3.0beta4/web6706.xml

http://docs.composite.net/Downloads/UpgradeFiles/3.0beta4/web9387.xml


Run TortoiseMerge to merge the changes. The setup is: 

"Base file" = web6706.xml (web.config from 2.1.1)

"Their file" = web9387.xml (web.config from 3.0 beta4)

"My file" = web.config from your site

 


Most of the changes likely will be merged automatically, resolve the conflicts and save the merged file


4. Perform the same steps to merge changes to file /App_Data/Composite/composite.config
Format xml in Visaul Studio Download composite.config versions for C1 2.1.1 and C1 3.0 beta4

http://docs.composite.net/Downloads/UpgradeFiles/3.0beta4/composite6706.xml

http://docs.composite.net/Downloads/UpgradeFiles/3.0beta4/composite9387.xml


Before running mergin tool edit the config file and move section "loggingConfiguration" to the bottom of the file

 

    ...
 <loggingConfiguration name="Logging Application Block" tracingEnabled="true" defaultCategory="General" logWarningsWhenNoCategoriesMatch="true"> 
   ....
 </loggingConfiguration>
</configuration>

 

Run TortoiseMerge to merge the changes. The setup is: 

"Base file" = composite6706.xml (composite.config from 2.1.1)

"Their file" = composite9387.xml (composite.config from 3.0 beta4)

"My file" = /App_Data/Composite/composite.config from your site


5. Updating files & folders.

 

Copy from the new site (and override if necessary) the following files:


\default.aspx

\App_Data\Composite\Configuration\UrlFormatting.xml

\App_Data\Composite\TreeDefinitions\UrlConfiguration.xml

\Bin\Composite.dll\Bin\Composite.Workflows.dll

\Frontend\Config\VisualEditor\common.xml (merge custom changes if needed)

\Frontend\Config\VisualEditor\Styles\core.css


Delete the following file:


\App_Data\Composite\Configuration\XmlDataProvider.config


Copy and override all the files from the following folders (note: not including subfolders)


\Composite\*.*

\Composite\localization\*.*

\Renderers\*.*


Delete and copy the following folders


\Composite\content\

\Composite\controls\

\Composite\images\

\Composite\services\

\Composite\scripts\

\Composite\schemas\

\Composite\skins\

\Composite\styles\

\Composite\transformations\

\Composite\templates\


5. [Not needed while upgrading from C1 2.1.3]. If “Composite.Community.Blog” or “Composite.News” are installed, download and replace related dlls:


 http://docs.composite.net/Downloads/Temp/2.1.3Beta2/Composite.Community.Blog.dll 

 http://docs.composite.net/Downloads/Temp/2.1.3Beta2/Composite.News.dll


6. [Not needed while upgrading from C1 2.1.3]. Upgrade steps for Composite.Contrib project: 


a) Uninstall Contrib package. 

b) download a newer package file Contribution.CompositeC1Contrib.Core/Release/Contribution.CompositeC1Contrib.Core.zip from http://c1packages.codeplex.com/SourceControl/changeset/changes/8618

c) In C1 Console find System -> Packages -> Installed packages -> Local packages, right click choose "Install local package" and choose the package you downloaded in the previous step



We hope you'll like the changes and we're looking forward to hearing your feedback

 



Best regards


Dmitry Dzygin

Developer at Composite A/S

Oct 23, 2011 at 2:48 PM

Will the upgrades from 3.0 betas to 3.0 gold be more simple? Is there a plan to make upgrades easier in general with 3.0?

Oct 23, 2011 at 4:07 PM

Upgrades are simple, if you understand the basics of diffs and the content of web.config and app_data/composite/composite.config. But otherwise you should consider paying for "Composite C1 upgrade subscription" http://www.composite.net/Products/support/Support-Upgrade-Subscription, also as way to donate to the developers if you like the product :)

Coordinator
Oct 24, 2011 at 12:03 PM

Hurray for donating to the developer!! ;-)