PDA

View Full Version : Module Version number



Sorcerer
October 10th, 2010, 20:19
within modules you get the line
<root version="X.X">

which I guess references the FGII version number they were created under.

is this line really only for reference or does it have some other meaning?

I regularly use old library modules as the template for new ones.

I never alter this number. It does not seem to make any difference...but I just want to check that it is not used for other reasons I am not aware of.

Moon Wizard
October 12th, 2010, 18:56
The version number is used for backward compatibility situations. However, the version number only matters in the base.xml for the ruleset definition.

I've been meaning to document these, since I've uncovered them; but I'll post here for now.

Here are the current compatibility levels.

2.7

LUA objects are removed from memory when deleted. Previously, LUA objects were not deleted, even when destroy method called.
Colon no longer appended to non-empty sender name in "onReceiveMessage" event handler.
When deleting a database node, the onChildUpdate event no longer fires for every child node prior to deletion.
Internal changes to enable lists and containers to automatically scroll to window and/or control with the focus.


2.4

Any database nodes created on the client are automatically owned by the client.
Check added to ensure window has valid data source before creating controls.


2.2

Windowlists can be set to use all modules, or use only local data. Previously, windowlists always used all module data.


Cheers,
JPG