Skip to main content
Home  ›  Blog

2sxc 12.06 LTS Released for Dnn and Oqtane

2sxc 12 is finally LTS - enjoy!

What does LTS mean for 2sxc?

LTS stands for Long-Term-Support. Since 2sxc is open source, there is no real support plan (unless you're an enterprise customer), so here's what you need to know:

  1. We've tested this version extensively, so it should be very, very stable.
  2. If important issues to pop up, we will fix them as a patch release, without adding more features. This means that if you already have an LTS and the bugfix affects you, you don't need to worry about other changes which could cause new bugs.

What's new in 2sxc 12.06 LTS?

2sxc 12.06 is the same as 12.05. A lot was released in 12.05, which is documented in this blog post

But if you're reading this, you are probably an LTS-only user and would like to know more about the big changes from version 11.

Here's what didn't change since v11 LTS

All known public APIs work and from our experience you can easily upgrade with little to worry about. As always make a backup first, and on large critical sites do a test-upgrade first. 

#1 - Formulas

The entire edit-UI can now leverage JavaScript based formulas to show/hide fields, calculate automatic values and much more. This is really, really powerful. Read about it in our Formulas release blog or in the formulas docs. You'll see that all the 2sxc dialogs (like View settings) use this, and all our new app templates do this as well. 

#2 - turnOn

turnOn is a special helper to boot / turn-on JavaScript when everything is ready. This is especially important for scripts which should run after certain DOM parts are loaded or other libraries have been loaded or initialized. 

A core reason we invented this is also because we're moving away from jQuery and want to be ready for CSP, which in high-security scenarios forbids inline JavaScript from executing to protect against XSS. Read more in the turnOn blog or in the turnOn docs.

#3 - Hybrid - runs on Dnn and Oqtane

Many of the changes we implemented were under the hood to make sure 2sxc runs on Dnn and Oqtane providing you the same functionality on both platforms. This meant some serious work like:

#4 - Global Cascading Settings and Resources

2sxc 12 introduced global Settings and Resources which can be overwritten at any level like at the Site or App level. This introduces many new features and possibilities. 

In combination with the new DynamicStack you can also overlay multiple entities together to get the best possible value you need for a specific scenario. 

#5 - Link.Image(...)

Most images should usually adhere to a specific convention - like a certain size based on the layout etc. This now uses the global settings to automatically create them as needed. Read more about Image Resizing and discover how it's done in the Razor Tutorials as well as in the latest Apps.

#6 New Input Types

New input types include number-dropdown, custom-json and more. Read about it here.

 #7 Massively Improved Content Templates

We've updated the default content templates, added features, made them easier to customize, prepared for Bootstrap5 and reduced the code by ca. 70%. You'll love em - check out the release blog

#8 Massively Improved Hybrid Best-Practice App Templates

We've reworked / refactored 20 of our most used apps to be best-practices as it should be done in v12 and newer. This is great for quickly building rich solutions (on Dnn and Oqtane) and provide guidance for creating your own stuff. Check out the App Catalog to try them. 

#9 New Razor Tutorials

We've also updated our Tutorials to be Hybrid and show the latest, greatest way to do things. Discover them online here or install them in Dnn or Oqtane from here

Try it now

These are just the main highlights. It's hard to list everything we did, as Petar, Tonci and I worked almost full-time for half a year to make this happen. Enjoy - and please spread the word, and give us some friendly feedback and bug-reports 😉.

Get it now from Github releases.

Love from Switzerland and Croatia,
iJungleboy


Daniel Mettler grew up in the jungles of Indonesia and is founder and CEO of 2sic internet solutions in Switzerland and Liechtenstein, an 20-head web specialist with over 800 DNN projects since 1999. He is also chief architect of 2sxc (see github), an open source module for creating attractive content and DNN Apps.

Read more posts by Daniel Mettler