Child pages
  • 2019.12 Whats new

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

We improved the Content Security Policy to only work for browsers that support CSP level 3, we will allow for CSS and FONT * (all urls) by default, this can be changed in the admin page that has now 5 properties for this (to fully disable it, or to adjust the various directives to make it more narrow)

Also partially already in 2019.09 is that the typing of Components is a bit different now. Not everything is a RuntimeComponent anymore, because RuntimeWebComponent (introduced in 2019.09) are not RuntimeComponents because that is the base class for all our legacy components like RuntimeButton.

Currently we have:


Component -> RuntimeComponent  -> RuntimLabel/RuntimeButton/XxxxxYyyy
                    -> RuntimeWebComponent -> subs with <xxxx> as a type

So Component is the base type of everything and that has 2 sub types RuntimeComponent describing the whole legacy hierarchy and RuntimeWebComponent all the new Servoy Package Components.

So this: code: if (comp instanceof RuntimeComponent) will be false for WebComponents..

New Features

  • Support for changing style classes on containers in responsive forms.  There is now api under forms.[responsiveform].containers.[containername] like add and remove styleclasses (SVY-14219)
  • utils.parseDate() has now a 3  argument method so you can use this for working better with dates in servoy for the current users timezone.  See for more info: Working with dates (SVY-14426)
  • NGDesktop export has more support for branding stuff by using an actual cloud building service, currently only working for Windows, OSX and Linux use still the pre build files so don't have all the options
  • NGDesktop support for selecting a directory, watching a whole folder and setting default size/location and remembering the user values for restart, set/get clipboard
  • OAuth plugin many improvements and nicer api for using it.
  • ProfilerView, support for filtering and better reporting of sql timings so you can more quickly see the sql times for certain method calls.
  • Better code completion and support for a common RuntimeComponent that handles both legacy and web components (SVY-14210)
  • NGClientUtils extension has now support for catching the back button  and getting the current hash of the state you go back to (SVY-14176) and directly print a pdf (SVY-13926).

...