Skip to content
This repository has been archived by the owner on Apr 28, 2024. It is now read-only.

Releases: userfrosting/assets

6.2.0

21 Apr 01:15
bfffb85
Compare
Choose a tag to compare
  • Use proper namespace for tests
  • Update dependency

6.1.1

28 Dec 20:23
66e1033
Compare
Choose a tag to compare
  • Replaced Travis & Appveyor with GitHub Action for build
  • Upgrade deprecation in tests

6.1.0

18 Mar 01:38
2a17e54
Compare
Choose a tag to compare
  • Updated dependencies

6.0.0

22 Jun 16:19
d97ac83
Compare
Choose a tag to compare
  • Dropping support for PHP 5.6 & 7.0
  • Updated PHPUnit to 7.5

5.0.4

07 Apr 04:08
Compare
Choose a tag to compare

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

07 Apr 03:15
3efe527
Compare
Choose a tag to compare

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

07 Apr 03:42
c462d0e
Compare
Choose a tag to compare

Emergency revert to post 5.0.2 release to address issues in UF.

5.0.1

13 Jan 22:19
c462d0e
Compare
Choose a tag to compare
  • Updated Dependencies

5.0.0

12 Jan 04:39
Compare
Choose a tag to compare

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 extendedreadSchema`.
  • Bumped version to 5.0.0 to permit realignment with semantic versioning.

4.2.0

10 Jan 03:28
bb35ec5
Compare
Choose a tag to compare

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 on UserFrosting\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 into UserFrosting\Assets\Assets->urlPathToStreamUri to make it possible to perform a uri <-> url conversion in addition to uri -> 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 return http://example.com/assets/vendor/bootstrap/js/bootstrap.js instead of http://example.com/vendor/bootstrap/js/bootstrap.js. This permits the usage of multiple locator schemas like assets:// and images://. 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.