Skip to content

WeGA-WebApp-lib release 1.3.0

Compare
Choose a tag to compare
@peterstadler peterstadler released this 25 Aug 18:56
v1.3.0

These are the WeGA-WebApp library modules accompanying the release 3.5.0 of the WeGA-WebApp.

It features common functions for manipulating strings and dates with XQuery as well as additions to eXist-db's templating module and some caching functions for XML documents and node sets.

It is designed to work standalone for other projects to pick up.

Major changes

  • checked and updated functions and notations to be compatible with the current eXistdb v5-RC8
  • the function signature for app-shared:each() has changed:
    • The optional callback function now has to support exactly two parameters ($node as node(), $model as map(*))
    • and the namespace of the callback function has to be provided explicitly
  • the function signature for date:printDate() has changed:
    • the last parameter is now expected to be a function reference taking one argument. (The new argument provides the language key for the function to return the proper picture string.)

License

This piece of software is available under an MIT license.