WebRocketX Change Log

Summary of what has changed in each version of WebRocketX. All newer versions are backward compatible.

Versions

Version Number Release Date Changes
1.6 4/4/2020
  • Added JSON capsule type - Allows JSON text to be included in the body of the capsule. The framework will return the JSON evaluated into an object in the successful callback parameter. It was possible, previous to this version, to send json but a "trick" would have to be used like using the "pre" tag or a "textarea" tag, and then the developer would have been responsible for evaluating the json.
  • Added disableNavigation global variable - Enables the developer to utilize WebRocketX for independent async calls only without having the browser side navigation feature enabled.
  • Bug fix - Unintelligible error message when form not found during form submission - Calling submitAsyncForm with a form name that couldn't be found was returning an error message that did not indicate the true nature of the problem. Now a precise error message is given.
  • Bug fix - Developer feedback textarea position improvement - The developer feedback text area was interfering with the dragging of modal capsules when they overlapped each other. CSS was improved to eliminate this.
1.7 11/21/2021
  • Added pageLoadTimeStampParamName global variable - Allows the developer to configure the parameter name for the CSRF token that is sent to the server. This improvement became high priority to support developers using WebRocketX against a Django backend. Django by default checks a parameter called "csrfmiddlewaretoken", with all POST requests, and will fail the request unless this parameter is sent with the correct value. Django allows the enforcement of the CSRF token to be disabled for each mapping, but this is not recommended because it leaves the web application vulnerable.
1.8 06/25/2022
  • Fixed loss of attached events when navigating back from modal - The jquery empty command was stripping custom registered events from removed and stored DOM nodes even though the nodes had references other than the node they were removed from. This problem only appeared when navigating back from a modal because the DOM node was still present in the view at time of removal.
1.9 08/11/2022
  • Added jsReturn capsule attribute - Specifies a javascript method that will be called when this page is returned to but not reloaded. Returning to a page can be trigged by using the back button or calling dtSetCapsuleById. This mechanism is useful when the developer desires part of the view to be refreshed, or any other code to be run, upon display either conditionally or unconditionally. Since the application is running in a single page, conditions can be relayed between pages as global variables.
1.9.1 08/13/2022
  • Fixed landing page capsule reinjection error - Fixed landing page refresh from resulting in back button on next injection of the same capsule that is inlined with the landing page.

    Steps to reproduce:
    Navigate to the welcome page and view the inlined capsule which is registered and displayed
    Press the browser refresh
    Click on a link that reinjects the same capsule that is inlined on the landing page
    Page will go back to the page preceding the landing page and jump out of the application

    Desired behavior:
    Fresh content for that capsule should instead be displayed without going back to the previous page

    Fix:
    Registration of landing page capsule was not setting the current capsule id as it should have. Current capsule id is now set upon registration.
1.9.2 09/01/2022
  • Fixed back navigation on untracked pages - The presence of untracked pages were causing back navigation to behave unpredicatably.
  • Fixed dtInit behavior at welcome page level - Fixed the stack initialize so that it does nothing when the user is already at the welcome page. Previously unpredictable behavior could occur when this method was used when already at the stack base.
  • Fixed vague error message when targetId not found - A more specific error message now displayed when the targetId for a capsule is not found in the DOM.
  • Enhancement. Added the option of specifying targetId for capsule type of data - Previously the developer would have to code the placement of a data capsule type. Now, the targetId is optional allowing the developer the freedom of leveraging the framework to place the layout if desired. Thanks to the community for suggesting this convenient upgrade. :)

Contact Us

 If you have questions about WebRocketX, please feel free to contact us at: