Servoy 8.3.1 Release Candidate

Release notes for Servoy betas

Servoy 8.3.1 Release Candidate

Postby jcompagner » Fri Jun 29, 2018 3:03 pm

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
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8117
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Servoy 8.3.1 Release Candidate

Postby robrecht » Fri Jul 06, 2018 11:18 am

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
robrecht
 
Posts: 96
Joined: Wed Aug 01, 2012 4:30 pm

Re: Servoy 8.3.1 Release Candidate

Postby jcompagner » Fri Jul 06, 2018 12:07 pm

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)
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8117
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Servoy 8.3.1 Release Candidate

Postby robrecht » Fri Jul 06, 2018 12:39 pm

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
robrecht
 
Posts: 96
Joined: Wed Aug 01, 2012 4:30 pm

Re: Servoy 8.3.1 Release Candidate

Postby jcompagner » Fri Jul 06, 2018 1:27 pm

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.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8117
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Servoy 8.3.1 Release Candidate

Postby robrecht » Fri Jul 06, 2018 2:38 pm

Ok thanks
robrecht
 
Posts: 96
Joined: Wed Aug 01, 2012 4:30 pm

Re: Servoy 8.3.1 Release Candidate

Postby Ruben79 » Tue Jul 10, 2018 1:07 pm

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 1103 times

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


anotherFunction is not visible in another scope than the one the constructor is in.
Ruben de Jong
Stb Software Development
SAN Partner

Stb Software Development - http://www.stb.nl
User avatar
Ruben79
 
Posts: 85
Joined: Wed Apr 18, 2007 12:43 pm

Re: Servoy 8.3.1 Release Candidate

Postby jcompagner » Wed Jul 11, 2018 8:45 am

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.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8117
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Servoy 8.3.1 Release Candidate

Postby Ruben79 » Thu Jul 12, 2018 12:44 pm

Yes, that works. Thanks Johan!
Ruben de Jong
Stb Software Development
SAN Partner

Stb Software Development - http://www.stb.nl
User avatar
Ruben79
 
Posts: 85
Joined: Wed Apr 18, 2007 12:43 pm


Return to Latest Releases

Who is online

Users browsing this forum: No registered users and 1 guest

cron