- Support scoped names for NPM packages (e.g. "@lottiefiles/lottie-player")
- Test files have been removed from the package to reduce file size (and to spend less internet traffic too).
- Thor dependency has been relaxed to support Rails 6.x.
- Fix unpacking tar.gz when running on unpriveleged containers
- Rails support has been removed. Use torba-rails instead.
torba/verify
no longer checks, whether it is executed within Rake task or not. This was a workaround for Rails support, which is no longer a goal of this gem.torba/verify
no longer checksTORBA_DONT_VERIFY
env variable. Same as above.
If you are a non-Rails user, this should be a non-breaking update. In rare cases,
when you depend on old behaviour of torba/verify
, please, add the conditionals
to your application code.
Rails users should:
- Replace
gem "torba"
withgem "torba-rails"
in the Gemfile. - Remove
require "torba/verify"
fromboot.rb
. - Remove
require "torba/rails"
fromapplication.rb
. - Unset obsolete
TORBA_DONT_VERIFY
env variable if present.
- Rake task accepts a block to be executed before packing process
torba show
commandtorba open
command
- Torba.cache_path= setter
- Handle stylesheets that mention nonexisting assets (e.g. with SCSS variables)
- Treat SASS/SCSS files as regular stylesheets
Rails users are advised to remove manual execution of torba pack
from
their deployment scripts, since the command now is a part of
rake assets:precompile
.
- Support deployment to Heroku
torba pack
is automatically injected intorake assets:precompile
in Rails applicationstorba install
command is a mapping fortorba pack
- Retry 5 times if fetching a remote file fails
- Remote url() assets should not be given to asset_path
- Support both url(data: and url('data: in css
- Do not add the
.erb
extension for stylesheets that don't need it.
- The exception that gets raised during
torba verify
now list the missing packages
- Fix no asset found when a CSS url contains "?#iefix" or "#svg-fragment"
- Rails setup automatically populates
Rails.application.config.assets.precompile
If libraries added via Torba have image/font content, you can remove it from that list, no need for manual manipulation - Support .tar.gz remote sources
- Support npm packages
- Cached GithubRelease remote contains in path repository name, not nameless version
- Name for GH releases can be optional
- Cached zip remote contains URL filename in path for better introspection
- GithubRelease remote: introduce #repository_user, #repository_name
- Display actual exception (if any) instead of SystemExitError for pow
- Remote source always returns absolute path even if Torba.home_path/cache_path is relative to current directory
- Fail fast and report on 404 resources