- Fix issue with test case autoloading while having the full test-suite under
.gitattributes export-ignore
.
- [#3] Add build name patterns for easy use with complex server environments. Thanks to @pthurmond.
- [#1] Implement
getDefaultDriver
onFactoryManager
for Laravel 4.2 compatibility. Thanks to @barryvdh.
- Change
Asset::prepareFilters
code to avoid name resolution conflicts under some situations.
- Fix
Manifest::all()
to return an array instead of aIlluminate\Support\Collection
object. This fixesFileSystemCleaner
operations and the--tidy-up
command which were usingarray_keys
on that method output.
- Fix
Asset::prepareFilters()
method to work properly.
- Change
composer.json
dependencies to make it compatible with Laravel 4.1. - Change deprecated
FileSystem::getRemote()
calls toFileSystem::get()
. - Fix test suite.
- Split the collections and aliases into their own configuration files.
- Filter method chaining with syntactical sugar by prefixing with
and
, e.g.,andWhenProductionBuild()
.
- Added logging when assets, directories, and filters are not found or fail to load.
- Allow logging to be enabled or disabled via configuration.
- Warn users when cURL is being used to detect an assets group.
- Allow an array of filters to be applied to an asset.
- Added
whenProductionBuild
andwhenDevelopmentBuild
as filter requirements. CssMin
andJsMin
are only applied on a production build and not on the production environment.- Added
raw
method as an alias toexclude
. - Entire directory or collection can be set as raw so original path is used instead of assets being built.
- Development builds only happen for a collection that is used on the loaded request.
- Added
rawOnEnvironment
to serve the asset raw on a given environment or environments.
- Collections are displayed with
basset_javascripts()
andbasset_stylesheets()
. - Simplified the asset finding process.
- Can no longer prefix paths with
path:
for an absolute path, use a relative path from public directory instead. - Requirements can be applied to filters to prevent application if certain conditions are not met.
- Filters can find any missing constructor arguments such as the path to Node, Ruby, etc.
- Default
application
collection is bundled. basset:compile
command is nowbasset:build
.- Old collection builds are cleaned automatically but can be cleaned manually with
basset --tidy-up
. - Packages can be registered with
Basset::package()
and assets can be added using the familiar namespace syntax found throughout Laravel. Csso
support withCssoFilter
.- Fixed issues with
UriRewriteFilter
. - Development collections are pre-built before every page load.
- Build and serve pre-compressed collections.
- Use custom format when displaying collections.
- Added in Blade view helpers:
@javascripts
,@stylesheets
, and@assets
. - Assets maintain the order that they were added.