-
Notifications
You must be signed in to change notification settings - Fork 15
What's new in Version 1.2
-
The code has been refactored to separate out OSGi dependencies from core functionality. This is intended to make it easier to leverage JAGGR functionality in non-OSGi environments. We expect to provide a non-OSGi sample application, packaged as a WAR application, in a future release.
Core JAGGR functionality can now be found in the jaggr-core project, while OSGi specific functionality can be found in the jaggr-service project.
-
Add module builder for LESS stylesheets.
-
The
exportNames
loader extension config param and URL query arg have been removed. Module names are now always exported. -
Use of
optimize=none
loader extension config property no longer disables some JAGGR features such as require list expansion and module name exporting. -
Remove overloading of
modules
query arg. Themodules
query arg is now used only for loader generated URLs. Application generated URLs now use thescripts
,deps
andpreloads
query args. -
Reduce the occurrence of request splitting by using advanced encoding techniques to specify module names and features states in request URLs.
-
Provide request decoder module for client-side diagnostic purposes.
-
Enhance extensibility by adding com.ibm.jaggr.service.serviceprovider extension point for third-party extensions that wish to register OSGi services used by JAGGR
-
Add the com.ibm.jaggr.core.config.IConfigScopeModifier service provider interface to allow third-party developers to extend the config scope used to evaluate the Server-side AMD config. This enables the addition of functions and properties that can be referenced by the config JavaScript.
-
Add the getBundleVersionsHash() config scope function which returns an MD5 hash of bundle header values for the specified bundles. This function may be used by the Server-side AMD config JavaScript to assign a value to the
cacheBust
config property which will be updated whenever the bundle header values in any of the specified bundles changes. The function also serves as an example on how to use the com.ibm.jaggr.service.serviceprovider extension point and the com.ibm.jaggr.core.config.IConfigScopeModifier service provider interface to extend the config scope. -
The inlineableImageTypes config property can now be specified as a property map of file-extension/mime-type pairs, so that mime types which are not known by the JVM can be supported. The original value type of a comma delimited list of mime types is still supported.
-
Performance improvements (especially for dependency scanning) through the use of the nio (Native I/O) package on Java 7 platforms.
-
Fix alias resolution to more closely resemble the behavior of the Dojo loader.
-
Variable substitution of the form
${varname}
using Java system properties and/or services that implement the com.ibm.jaggr.core.IVariableResolver interface are now supported for all servlet and extension init params. -
Add the
alias
andresource-id
init params which allow defining of paths to aggregated and non-aggregated resources within the aggregator servlet's URL namespace. -
Add the
getProperty
function to the server-side AMD Config JavaScript scope. This function can be invoked by the config JavaScript to get the values of properties provided by Java system properties and/or services that implement the com.ibm.jaggr.core.IVariableResolver -
Various bug fixes.