Releases: edeustace/assets-loader
Releases · edeustace/assets-loader
v0.12.5
v0.12.4
Breaking change
If you use the Deployer the signature has changed to:
deploy(filename: String, lastModified: Long, contents: => InputStream, info: ContentInfo) : Either[String,DeployedElement]
- #38 - use commons.io for file reading as it closes the resources for you - thanks @rbokel
- #36 - add DeployedElement trait to allow 3rd parties to be flexible in how the resolve the url for a deployed asset. inspired by #34 by @sebastian-alfers.
v0.12.3
v0.12.2
v0.12.1
v0.12.0
v0.11.9
Deployment and missing files bug fixes
Fix windows issues
Fix windows issues: #14
Major rewrite
The public api is identical, but under the hood alot has changed.
The previous version was too attached to working with files on the file system. The rewrite focuses on using classloading as the file loading mechanism and placing generated files into a dedicated folder. This should improve extendability and readability.
- introduce Transformer trait and view all transformations in that light (concat, minify, etc)
- Source file look up is always done via Play.resource
- Generated files are always placed in the same folder target/.assets-loader-generated
- Add a tag cache so if the tag has already been generated - return that instead.
Note: deployment is not implemented yet using the new loader.