- Meta data format was changed. Now all meta data is stored in the metaData.json file. asset.json files are no more. This change does not break any existing public facing APIs, but it paved the way for a cool new feature: You can now optionally supply the raw meta data object to the cartero node hook, instead of having the hook loading it from the file system. This change makes it very easy to use cartero with a CDN, since the meta data can now be loaded from the CDN just like all the other assets.
- BREAKING CHANGE: Change metaData.json assetMap to contain path from asset package Id to asset filename (insted of just asset filename) and change all urls to relative to appRootDir
- NOTE: hooks written for cartero < v6.0.0 will NOT work with cartero v6.0.0 and later.
- There were no API changes in this version but since a hook is required we bumped the major version number.
- Allow
parcelsDirPath
argument to cartero to be an array of explicit entry points, instead of a directory name. - Combined
parcel_map.json
andpackage_map.json
into onemetaData.json
file. - NOTE: hooks written for cartero < v3.0.0 will NOT work with cartero v3.0.0 and later.
- Fixed some problems related to circular dependencies.
- There were no API changes in this version but since a hook is required we bumped the major version number.
- BREAKING CHANGE: Corrected spelling of "appTranform" and "appTranformDir" to "appTransforms" and "appTransformDirs"
- BREAKING CHANGE: Swapped out defaultTranforms for appTransforms.
- Dropped requirement that a parcel's package.json contain a
view
key.
- Complete re-write, based on npm and browserify. See cartero-1 branch for old version.
- ##cartero_dir replacement changes
- Replace ##cartero_dir tokens in files before preprocessing.
- Replace ##cartero_dir tokens in all preprocessingTask.inExt files.
- Add support for
remoteFiles
(such as CDN files) in bundle.json.
- Make
library
andtmplExt
configuration properties optional.
- Add
allowNestedBundles
property inlibrary
directory configuration and default totrue
. - Remove default value for
filesToIgnore
inviews
directory configuration. - Make the browserify feature work without relying on the library directory being a node_modules folder.
- Allow ##cartero_requires directive value to span multiple lines.
- Support browserifying
.coffee
files. - Bug Fixes:
- Check for ##cartero_browserify_executeOnLoad in original file in case it was removed due to a processing step.
- Fix order in which ##cartero_extends files are sourced.
- Grab dependencies from bower.json file if it exists in a Bundle. Makes integration with Bower easier.
- Add sourceFilePaths to files in filesToServe to keep track of which files were concatenated.
- Bug Fixes:
- Run replaceCarteroDirTokens task before buildParcelRegistry so ##cartero_dir tokens are replaced with file's location before concatenation.
- Support directoriesToIgnore in bundle.json
- Run replaceCarteroDirTokens task before buildParcelRegistry so ##cartero_dir tokens are replaced with file's location before concatenation.
- Initial release