Skip to content

Releases: webfirmframework/wff

wffweb-3.0.4

06 Jun 08:43

Choose a tag to compare

wffweb-3.0.4 Pre-release
Pre-release

Release changes :

This release contains some major changes and mainly for thread-safety
improvements level 3.

Major Improvements:-

Optimization for performance improvements: now the data size (sending
from server to client) is reduced with the upgrade of existing tag
manipulation data generation algorithm. An average of 40% data size
reduction may be expected but it will vary based on the tags and
attributes used in the data. If the data contains only custom tags and
custom attributes it will not make any significant size reduction (a small reduction may be expected).

wffweb-3.0.2

22 Apr 07:07

Choose a tag to compare

wffweb-3.0.2 Pre-release
Pre-release

Release changes :

This release contains some major changes and mainly for thread-safety
improvements level 2.

Bug fixes and improvements:-

Thread safety improvements: will be useful when using it as wffweb app
in a multi-threading manner.
Optimizations and performance improvements.
The maximum value of color changed to support up to #FFFFFFFF while
validating value - ticket #51
Fixed incorrect parsing in AbstractHtml.getTagFromWffBMBytes - ticket
#50
Changed default value of default constructor of UnicodeRange as
mentioned in ticket #1

New features:-

Gave support for HTML string in NoTag class and new enum TagContent
is also implemented - ticket #52
browserPage.getPayloadProcessor is implemented for receiving data as
partial bytes, it will be useful when a receiving large content from
client browser page, eg: a form submission of textarea with large
content.

wffweb-3.0.1

01 Mar 14:05

Choose a tag to compare

wffweb-3.0.1 Pre-release
Pre-release

Release changes

This release contains some major changes and mainly for thread-safety
improvements level 1. Some internal code syntax is upgraded to Java 8
version as part of code optimization.

Bug fixes and improvements:-

Thread safety improvements: will be useful when using it as wffweb app
in a multi-threading manner.
Thread safety improvements are done in lot of needful places, Style
class is also made thread-safe, now Style.getCssProperties returns an
unmodifiable Collection to avoid any thread-safety loophole.
Replaced getBytes("UTF-8") method with getBytes(StandardCharsets.UTF_8)
wherever possible for better optimization.
Fixed an existing deadlock bug while using appendChild method.

Major improvement/change for holdPush and unholdPush in BrowserPage

when holdPush/unholdPush method is called by multiple threads from the same browserPage instance, if the holdPush is called three times the unholdPush needs to be called three times to unhold the push (in previous versions one unholdPush call will unhold the push).

Optimizations and performance improvements:-

reduced the amount of sending data from server to client.
Optimized code for performance improvements

New features:-

New feature methods in CssColorName
Added beforeRender, afterRender, beforeToHtml, afterToHtml in
BrowserPage to override and use
Implemented other base64 hash methods, setEnableDeferOnWffScript,
setAutoremoveWffScript in BrowserPage
Implemented getCssPropertiesSize, isCssPropertiesEmpty in Style class
Implemented removeHeaderId, removeHeaderIds, removeAllHeaderIds in
Headers class
Basic implementation for IsMap, UseMap, Nonce class
Implemented getIdBasedJsObject(String functionName, Collection<String> onlyForTagNames), getIdBasedJsObject(String functionName),
getIdBasedJsObjectPlus(final String functionName, Collection<String> additionalTagNames) feature methods in Form class

New feature methods in JsUtil: getJsObjectForFieldsValue( Map<String, Object> jsKeyAndElementId, String alternativeFunction),
getJsObjectForFieldsValue(Set<Object> ids, String alternativeFunction), getJsObjectForFieldsValueWithAltFun(String alternativeFunction, String... ids), getJsObjectForFieldsValue(Set<Object> inputIds, Set<Object> checkboxIds), getJsObjectForFieldsValue(Set<Object> inputIds, Set<Object> checkboxIds, String alternativeFunction)

New feature methods in Form:- getIdBasedJsObject(String functionName, Collection<String> onlyForTagNames), getIdBasedJsObject(String functionName), getIdBasedJsObjectPlus(String functionName, Collection<String> additionalTagNames).

New feature methods in AbstractHtml: getFirstChild, getChildAt,
prependChildren etc...

wffweb-3.0.0

21 Feb 02:15

Choose a tag to compare

wffweb-3.0.0 Pre-release
Pre-release

New features:-

Upgraded Java version to 8
New finder methods in TagRepository

Improvements

Performance improvements & parallel processing in TagRepository

wffweb-2.1.15

30 Jan 17:59

Choose a tag to compare

Release changes :

New features:-

Some times it is required to update the attribute value state in the server but it may not be required to synch this change to the client.
Eg:- In the input type text, the value attribute's value is changed whenever the user changes its value and this value may need to be updated from the client to server but the server need not sync the value again to the client. In such case there needs a server method which doesn't synch value to the client so
Implemented setAttributeValue(boolean updateClient, String value) in needful attribute classes.
Implemented setValue(boolean updateClient, String value) in ClassAttribute, Rel and AutoComplete attribute classes. The updateClient represents whether to sync this attribute value to the client browser page.

Declared needful constants in AutoComplete

Improvements and bug fixes

Performance improvements & optimizations, some minor bug fixes and code improvements

wffweb-2.1.14

09 Dec 13:15

Choose a tag to compare

wffweb-2.1.14 Pre-release
Pre-release

This is a patch release for internal improvements.

Release changes :

New features:-

Declared needful constants in HeightCss and WidthCss

Improvements

Atomic operation improvements

wffweb-2.1.13

10 Nov 13:16

Choose a tag to compare

Release changes :

New features:-

#46
A method resetHierarchy is implemented in AbstractHtml tag. It resets
the hierarchy of this tag so that it can be used in another instance of
BrowserPage. If a tag is used under a BrowserPage instance and the same
instance of tag needs to be used in another instance of BrowserPage then
the tag needs to be reset before use otherwise there could be some
strange behaviour in the UI. To avoid compromising performance such
usage never throws any exception. NB:- Child tag cannot be reset, i.e.
this tag should not be a child of another tag.

#45
Implementation for getIdBasedJsObject in Form tag class

Implemented BrowserPageContext#exists(BrowserPage) method which checks
the existence of the given BrowserPage instance in the context.

Declared constants STYLESHEET and NOOPENER Rel attribute class

Implemented some feature methods in Form tag class related to generating
js object string.

Implemented method to load all tag classes in TagRegistry
Implemented method to load all attribute classes in AttributeRegistry

Improvements and bug fixes

Fixed bug #44
WffBMObject was unable to parse when its value is an empty array. Eg:-
when parsing bm bytes of {'key' : []} WffBMObject was throwing exception
because an empty WffBMArray is represented by no bytes.

Fixed bug #43
Due to this bug the bm bytes received from client caused parsing error
at server side
Exception:- com.webfirmframework.wffweb.WffRuntimeException: Not a valid
Wff BM Object bytes

Fixed bug #42
The method AbstractHtml#appendChildren throws exception while using
NoTag in its argument tags.

Bug fixes in UrlCss3Value css class

Improvements in JsUtil

Major minification improvements for generated JavaScript

Optimization in AbstractEventAttribute class

Improvements in handling websocket communication.

Javadoc improvements

Needful test case implementations

wffweb-2.1.12

22 Aug 13:52

Choose a tag to compare

Release changes :

New features:-

Implemented the following methods for tags
toBigHtmlString methods
toBigOutputStream methods

Improvements and bug fixes

Thread safety improvements for AbstractHtml#toHtmlString() method
Improvements for AbstractHtml#toHtmlString() method to return the modified html
string (requested ticket: #41)
Improvements for AbstractHtml#setChildren() method
Minor performance improvements

wffweb-2.1.11

16 Aug 04:04

Choose a tag to compare

wffweb-2.1.11 Pre-release
Pre-release

Release changes :

New features:-

Implemented the following methods in TagRepository

findTagsByTagName(String tagName)
findOneTagByTagName(String tagName)
findOneTagAssignableToTag(Class)
findTagsAssignableToTag(Class)
findAttributesByTagName(String)
executeJs(String)
execute(BrowserPageAction)

Implemented an alternative class SrcCssProperty for Src css property
class to avoid naming conflicts with Src attribute class.

Implemented shared data methods in AbstractHtml which is common for the
whole tag hierarchy.
setSharedData
getSharedData

Implemented AbstractHtml#getRootTag which returns the root tag (top
level tag) in the whole tag hierarchy.

Improvements and bug fixes

Security improvements
Test case updates and improvements

wffweb-2.1.10

16 Jul 03:39

Choose a tag to compare

Release changes :

This is a bug fix and improvements release.

Improvements and bug fixes

Thread safety improvements for AbstractAttribute
Fix for side effects caused by the js optimization in the previous
release.
Some improvements in handling websocket connection