This repository has been archived by the owner on Apr 28, 2024. It is now read-only.
Releases: userfrosting/assets
Releases · userfrosting/assets
6.2.0
6.1.1
6.1.0
6.0.0
5.0.4
Re-release of 5.0.2. Cause of failure in UserFrosting attributed to faulty test that depended on mistake within assets. Aside from causing test failures it is otherwise benign, the bad test will be addressed in UserFrosting.
5.0.2
Added
- Test coverage for remaining untested source.
Changed
- Stabilised absolute path returned by
Assets::urlPathToAbsolutePath
and hardened against silent failure. - Slightly simplified MIME resolution logic.
- Marked usage of
Assets::readSchema
without a respository as the return value. - Removed various bit of dead code.
Fixed
- Fixed silent failure in
gulp-bundle-assets
loading support.
5.0.3
Emergency revert to post 5.0.2 release to address issues in UF.
5.0.1
5.0.0
Added
- Option to recieve a
UserFrosting\Support\Repository\Repository
instance from UserFrosting\Assets\AssetBundles\GulpBundleAssetsBundles->readSchema` function by providing true for the second argument.
Changed
GulpBundleAssets*Bundles
classes simplified using ``UserFrosting\Support\Repository\Repositoryreturned by extended
readSchema`.- Bumped version to
5.0.0
to permit realignment with semantic versioning.
4.2.0
Added
- Unit testing.
- Automated testing via AppVeyor and Travis.
UserFrosting\Assets\Assets->resetAssetBundles
to clear all registered bundles.UserFrosting\Assets\Assets->getAssetBundles
to get list of all registered bundles.- Getter/Setter pairs for
locatorScheme
&baseUrl
properties onUserFrosting\Assets\Assets
. - Integrated development asset server from the main UserFrosting project.
- Support for integration of alternate bundling systems.
Changed
- Simplified
UserFrosting\Assets\Assets
implementation to improve maintainability. - Extracted part of logic in
UserFrosting\Assets\Assets->urlPathToAbsolutePath
intoUserFrosting\Assets\Assets->urlPathToStreamUri
to make it possible to perform auri <-> url
conversion in addition touri -> url -> absolute path
. - Returned absolute URLs revised to allow transformation back into underlying locator URI. For example, the
assets://vendor/bootstrap/js/bootstrap.js
URI will now returnhttp://example.com/assets/vendor/bootstrap/js/bootstrap.js
instead ofhttp://example.com/vendor/bootstrap/js/bootstrap.js
. This permits the usage of multiple locator schemas likeassets://
andimages://
. As this change makes the generated URL an analog of the used locator URI, some verbosity (such as an indication of which sprinkle a resource is coming from in UserFrosting) is now unavailable.
Fixed
- Various internal documentation errors.
Removed
overwriteBasePath
method which should be addressed within the locator is required.PathTransformer
class.- Unnecessary
use
statements.