Skip to content

wffweb-12.0.3

Closed Feb 12, 2025 100% complete

Planned release changes

Major improvements

Performance improvements

Reduced the size of payload sending from the server to the client by implementing version 3 of Wff BM Bytes tag data compression algo. This should deliver data faster than before.

Major bug fixes

Major bug fix related to uri navigation

Bug: set uri from the server side using browserPage.s…

Planned release changes

Major improvements

Performance improvements

Reduced the size of payload sending from the server to the client by implementing version 3 of Wff BM Bytes tag data compression algo. This should deliver data faster than before.

Major bug fixes

Major bug fix related to uri navigation

Bug: set uri from the server side using browserPage.setURI then click on back button on browser, it doesn't invoke the whenURI event. This bug is fixed now.

The workaround to fix this issue till wffweb-12.0.2 is to call wffGlobal.getAndUpdateLocation(); inside the wffGlobalListeners.onSetURI function implementation in the project.

Features

More finder methods findOneAttributeByFilter, findAttributesByFilter etc.. in TagRepository.

Implemented more feature methods in WffBMObject & WffBMArray to get values in different datatypes.
They are:

  • getValueAsBigDecimal
  • getValueAsBigInteger
  • getValueAsInteger
  • getValueAsLong
  • getValueAsDouble
  • getValueAsFloat
  • getValueAsBoolean
  • getValueAsString

Implemented overloading put(... methods in WffBMObject.
They are:

  • put(String key, Number value)
  • put(String key, Boolean value)
  • put(String key, WffBMObject value)
  • put(String key, WffBMArray value)
  • put(String key, WffBMByteArray value)

Implemented other put...(... methods in WffBMObject.
They are:

  • putNull(String key)
  • putUndefined(String key)
  • putRegex(String key, String regex)
  • putString(String key, String string)
  • putFunction(String key, String function)

Implemented method similar in WffBMObject and WffBMArray to check if two objects contents are equal.

Implemented toStream method in WffBMNumberArray.

Improvements

In AbstractHtml, validating the appending/prepending children only if the debug mode is turned on by WffConfiguration.setDebugMode(true). If it is turned off it will save some memory and CPU consumption so it is turned off by default.

Java code improvements

Annotated serialVersionUID with @Serial in appropriate places.

Test cases

Test cases are added for all new features.

This milestone is closed.

No open issues remain. View closed issues or see open milestones in this repository.