Skip to content

Releases: edeustace/assets-loader

v0.12.5

30 Sep 11:22
Compare
Choose a tag to compare

v0.12.4

24 Sep 13:24
Compare
Choose a tag to compare

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

08 Jun 18:45
Compare
Choose a tag to compare

Fix #31

v0.12.2

23 May 09:38
Compare
Choose a tag to compare

Fix #29
Fix #28

v0.12.1

20 Mar 14:36
Compare
Choose a tag to compare

Fix for #25 - thanks @mguillermin

v0.12.0

11 Mar 15:31
Compare
Choose a tag to compare

Fix #21

v0.11.9

11 Mar 15:24
Compare
Choose a tag to compare

Ignore - released before merge

Deployment and missing files bug fixes

12 Feb 11:13
Compare
Choose a tag to compare

Fix windows issues

25 Jan 17:52
Compare
Choose a tag to compare

Fix windows issues: #14

Major rewrite

25 Jan 00:59
Compare
Choose a tag to compare

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.