This file keeps track of changes between releases for the bankrupt project which adheres to semantic versioning.
- Drop support for ruby 2.4.x.
- Mark uploaded assets as
immutable
in theCache-Control
header.
Take options into account to ensure unique asset lookups.
Ensure that the purge
task works with hashless assets.
Add support for unversioned ("hashless") assets.
- Add new configuration file and
hashless
option (file glob array) to upload files to the CDN without their md5 hash appended. - Add new
raw
helper to just return the full URL of an asset. - Add upload support for PDF files.
Add support for uploading font files (eot
, ttf
, woff
, and woff2
) to
the cdn during the bankrupt:cdn
rake task.
This major release changes the default cache behavior of assets uploaded to s3 to make them expire in one year.
- Set cache-control header on objects uploaded to s3 (1 year).
- Add new rake task to remove old objects (anything not in the current manifest) from s3.
- Extend test covertage to rake tasks.
- Drop support for ruby 2.3.x which might be considered breaking, but has actually always been the case just unnoticed until the test coverage was extended and exposed the problem, so I'm considering it a bugfix.
Add support for img
tags along with the ability to add other attributes.
Add support for slim v4.
First stable release. Combines all old, internal code (rake tasks, helper module) with new updates (modification for public release, utility methods).
- Add rake task for generating manifest files.
- Add rake task for uploading assets to AWS s3 bucket.
- Add utility method for parsing manifest files.
Initial release.