Servoy 6.0 beta 1

I think for now you need to scan all the [enh] tagged issues in the release notes of 6.0a1 up to this version and see if that affects your code.

No need for this, just read the Release Notes on the wiki: http://wiki.servoy.com/display/beta/New+in+this+release. It contains a complete overview of all things new and improved in Servoy 6 up to Servoy 6.0 A7 (B1 additions will be added today.)

The paragraph “Solution Development” starts of with a list of the behavior changes which you would need to review to see if they might impact your solution. Besides those, your solution should just work.

Now, additionally there are the new things that were introduced that you might want to start using, possibly replacing now deprecated API. The new items in the scripting API and also the list of items we deprecated are also listed in the Solution Development section of the release notes. (Note that deprecated doesn’t mean that it won’t work anymore, it just means that there is a better way to do things. Also note that in Servoy 6 warning markers are generated in Servoy Developer for JavaScript code that uses deprecated scripting API)

Thirdly we introduced much better designtime validation of the JavaScript code, which most likely results in loads of warnings. Note these are warnings, not errors, so your solution could work just fine. However, the new refactoring functionality and/or the improved JavaScript search, search for references and Call Hierargy all depend on the build/validation process in Servoy Developer being able to completely analyse your code. Many of the builder/validator warnings generated in Servoy Developer are indications that that process cannot resolve references to objects or properties of objects that you refer to in your code. Besides a possible bug in your code here and there, most of these warnings can be solved by properly annotating your methods with JSDoc that document that parameters and the returnType of the method.

The Script Editor section in the Release Notes on the wiki contains an extensive overview of the options you have in the JSDoc area.

Do not get scared by the shear number of warnings you might have in your solution when you first open it up in Servoy Developer in Servoy 6: documenting 1 method with JSDoc might solve many warnings throughout your code.

If you run into anything that doesn’t work like it worked in Servoy 6 and it’s not listed under the behavior changes in the release notes, please let us know, so we can either fix it, or update the release notes accordingly

Hope this helps,

Paul