Util lib icon

Util lib

Essential tools for your XP project development

The UTIL library is a library built and hosted by Enonic, which includes a set of JavaScript utility functions which may speed up your XP App development process significantly.

Releases

  1. 3.1.1

    • Update of Gradle Wrapper
    • Compatibility:

      • 7.1.0
  2. 3.0.0

    • Fixed transitive lib dependencies
    • Compatibility:

      • 7.1.0
  3. 2.3.0

    • Documentation
    • Exists function now uses content.exists
    • Compatibility:

      • 7.1.0
  4. 2.2.1

    • Added precompilation of lib-context
    • Compatibility:

      • 7.0.0
  5. 2.2.0

    • Implemented getSites method
    • Compatibility:

      • 7.0.0
  6. 2.1.0

    • Implemented getAncestors method
    • Implemented getChildren method
    • Compatibility:

      • 7.0.0
  7. 2.0.0

    • Compatibility with XP7
    • Compatibility:

      • 7.0.0
  8. 1.3.1

    • Properly expose the new object functions via libUtil.object
    • Updated Gradle build-file
    • Compatibility:

      • 6.3.1
  9. 1.3.0

    • Added value.isObject
    • Added value.isString
    • Added object.hasProperty
    • Added object.dlv (safely use deep.nested.properties in JSON)
    • Compatibility:

      • 6.3.1
  10. 1.2.2

    • Fixed library build.
    • Compatibility:

      • 6.3.1
  11. 1.2.1

    • Fixed library dependencies
    • Compatibility:

      • 6.3.1
  12. 1.2.0

    • Introducing the new "value.js" function library that adds handy functions like isSet, isNotSet, valueOr, valueOrEmptyString and ifSetPassToFunction.
    • Compatibility:

      • 6.3.1
  13. 1.1.3

    • Add dependencies for lib-content and lib-portal as they are used.
    • Compatibility:

      • 6.3.1
  14. 1.1.2

    • New function: data - isSet() to check if values exists
    • Improved documentation
    • Upgrade to Gradle 3.x
    • Compatibility:

      • 6.3.1
  15. 1.1.1

    • Fixed gradle.properties comments
    • Removed getSiteConfig since this exists in portal lib now
    • Compatibility:

      • 6.3.1
  16. 1.1.0

    • Added getSiteConfig function
    • Renamed util.js to index.js for shorter include paths
    • Group xp libs in libs variable
    • Upgrade gradle wrapper from 2.2 to 2.9
    • Compatibility:

      • 6.3.1
  17. 1.0.0

    • Initial release
    • Compatibility:

      • 6.0.0