Page 1 of 1

Servoy 8.3.1 Release Candidate

PostPosted: Fri Jun 29, 2018 3:03 pm
by jcompagner
We are pleased to announce the availability of Servoy 8.3.1 release candidate (releasenumber 3204)

This version is available through the jar or exe
The update site is: http://download.servoy.com/developer/8x ... candidate/


issues fixed see our wiki: 8.3.1 RC release notes

There are a few specific changes and a special addition for parsing javascript, so please read the above release notes and try it out.

We will release updated web packages shortly, many of those packages will be 8.3.1 only.

Release notes about the previous 8.3 release

edit:

packages released:

Bootstrap 1.4.0
Servoy Extra 1.6.1
12Grid 1.1.2

Re: Servoy 8.3.1 Release Candidate

PostPosted: Fri Jul 06, 2018 11:18 am
by robrecht
Hi Johan,

Regarding the shallow javascript parsing; what if you activate this option and don't have all methods documented with @return
Does this only affect the building speed (which might not increase)
And is there a way through solutionmodel to document all methods missing this @return ?

Thanks
Robrecht

Re: Servoy 8.3.1 Release Candidate

PostPosted: Fri Jul 06, 2018 12:07 pm
by jcompagner
then it still will increase,
but you will get more warnings and code completion doesn't fully work
Because if you call something that does return something but it is not documented then the we don't see any return value so we don't see the properties of or functions that object has.

Soluton model is something client, this is purely developer, you could potentially use servoyDeveloper.save() but i don't see how that would really help or speed things up.

We are really interested in the corner cases where there is documentation but that somehow now fails. or fails sometimes (that really shouldn't happen anymore)

Re: Servoy 8.3.1 Release Candidate

PostPosted: Fri Jul 06, 2018 12:39 pm
by robrecht
I was thinking to use solutionModel to get all methods and check if there is a @return present ?
My guess is that 90% of all methods in our solutions don't have this JSDoc

Re: Servoy 8.3.1 Release Candidate

PostPosted: Fri Jul 06, 2018 1:27 pm
by jcompagner
and then do what?
First of all it can be a method that really doesn't return, so that is fully valid.

i think it is way easier to just turn it on and follow the warnings.

Re: Servoy 8.3.1 Release Candidate

PostPosted: Fri Jul 06, 2018 2:38 pm
by robrecht
Ok thanks

Re: Servoy 8.3.1 Release Candidate

PostPosted: Tue Jul 10, 2018 1:07 pm
by Ruben79
When shallow javascript parsing is enabled, constructor functions that are created by their prototype in an IIFE don't have that code completion:

2018-07-10_1259.png
Constructor scope
2018-07-10_1259.png (53.77 KiB) Viewed 11082 times

2018-07-10_1259_001.png
Another scope
2018-07-10_1259_001.png (16.1 KiB) Viewed 11082 times


anotherFunction is not visible in another scope than the one the constructor is in.

Re: Servoy 8.3.1 Release Candidate

PostPosted: Wed Jul 11, 2018 8:45 am
by jcompagner
try this:

Code: Select all
var init = (
     /**
      * @constructor
      */
      function() { xxxx.prototype.xxxx = }()


because you need to mark the function that is doing the "constructor" prototyping as something that needs to be parsed.

Re: Servoy 8.3.1 Release Candidate

PostPosted: Thu Jul 12, 2018 12:44 pm
by Ruben79
Yes, that works. Thanks Johan!