All Versions
43
Latest Version
Avg Release Cycle
139 days
Latest Release
-

Changelog History
Page 4

  • v1.2.0 Changes

    • ๐Ÿš… Accept -e and --environment options for rails console.
    • 0๏ธโƒฃ Watch config/secrets.yml by default. #289 - @morgoth
    • ๐Ÿ”„ Change monkey-patched Kernel.raise from public to private (to match default Ruby behavior) #351 - @mattbrictson
    • ๐Ÿ’Ž Let application_id also respect RUBY_VERSION for the use case of switching between Ruby versions for a given Rails app - @methodmissing
    • Extract the 'listen' watcher to a separate spring-watcher-listen gem. This allows it to be developed/maintained separately.
  • v1.1.3 Changes

    • ๐Ÿš… The rails runner command no longer passes environment switches to files which it runs. Issue #272.
    • Various issues solved to do with termination / processes hanging around longer than they should. Issue #290.
  • v1.1.2 Changes

    • Detect old binstubs generated with Spring 1.0 and exit with an error. This prevents a situation where you can get stuck in an infinite loop of spring invocations.
    • โš  Avoid warning: already initialized constant APP_PATH when running rails commands that do not use spring (e.g. bin/rails server would emit this when you C to exit)
    • ๐Ÿ›  Fix reload! in rails console
    • Don't connect/disconnect the database if there are no connections configured. Issue #256.
  • v1.1.1 Changes

    • ๐Ÿ›  Fix $0 so that it is no longer prefixed with "spring ", as doing this cause issues with rspec when running just rspec with no arguments.
    • Ensure we're always connected to a tty when preloading the application in the background, in order to avoid loading issues with readline + libedit which affected pry-rails.
  • v1.1.0 Changes

    • A bin/spring binstub is now generated. This allows us to load spring correctly if you have it installed locally with a BUNDLE_PATH, so it's no longer necessary to install spring system-wide. We also activate the correct version from your Gemfile.lock. Note that you still can't have spring in your Gemfile as a git repository or local path; it must be a proper gem.
    • Various changes to how springified binstubs are implemented. Existing binstubs will continue to work, but it's recommended to run spring binstub again to upgrade them to the new format.
    • ๐Ÿšš spring binstub --remove option added for removing spring from binstubs. This won't work unless you have upgraded your binstubs to the new format.
    • config/database.yml is watched
    • ๐Ÿ‘ Better application restarts - if you introduce an error, for example by editing config/application.rb, spring will now continue to watch your files and will immediately try to restart the application when you edit config/application.rb again (hopefully to correct the error). This means that by the time you come to run a command the application may well already be running.
    • Gemfile changes are now gracefully handled. Previously they would cause spring to simply quit, meaning that you'd incur the full startup penalty on the next run. Now spring doesn't quit, and will try to load up your new bundle in the background.
    • ๐Ÿ›  Fix support for using spring with Rails engines/plugins
  • v1.0.0 Changes

    • Enterprise ready secret sauce added
  • v0.9.2 Changes

    • ๐Ÿ›  Bugfix: environment variables set by bundler (BUNDLE_GEMFILE, RUBYOPT, etc...) were being removed from the environment.
    • Ensure we only run the code reloader when files have actually changed. This issue became more prominent with Rails 4, since Rails 4 will now reload routes whenever the code is reloaded (see https://github.com/rails/rails/commit/b9b06daa915fdc4d11e8cfe11a7175e5cd8f104f).
    • ๐Ÿ‘ Allow spring to be used in a descendant directory of the application root
    • ๐Ÿ‘‰ Use the system tmpdir for our temporary files. Previously we used APP_ROOT/tmp/spring, which caused problems on filesystems which did not support sockets, and also caused problems if APP_ROOT was sufficiently deep in the filesystem to exhaust the operating system's socket name limit. Hence, we had a SPRING_TMP_PATH environment variable for configuration. We now use /tmp/spring/[md5(APP_ROOT)] for the socket and /tmp/spring/[md5(APP_ROOT)].pid for the pid file. Thanks @Kriechi for the suggestion. Setting SPRING_TMP_PATH no longer has any effect.
  • v0.9.1 Changes

    • Environment variables which were created during application startup are no longer overwritten.
    • ๐Ÿ‘Œ Support for generating multiple binstubs at once. Use --all to generate all, otherwise you can pass multiple command names to the binstub command.
    • โœ… The testunit command has been extracted to the spring-commands-testunit gem, because it's not necessary in Rails 4, where you can just run rake test path/to/test.
    • The ~/.spring.rb config file is loaded before bundler, so it's a good place to require extra commands which you want to use in all projects, without having to add those commands to the Gemfile of each individual project.
    • Any gems in the bundle with names which start with "spring-commands-" are now autoloaded. This makes it less faffy to add additional commands.
  • v0.9.0 Changes

    • Display spring version in the help message
    • โœ‚ Remove workaround for Rubygems performance issue. This issue is solved with Rubygems 2.1, so we no longer need to generate a "spring" binstub file. We warn users if they are not taking advantage of the Rubygems perf fix (e.g. if they are not on 2.1, or haven't run gem pristine --all). To upgrade, delete your bin/spring and re-run spring binstub for each of your binstubs.
    • Binstubs now fall back to non-spring execution of a command if the spring gem is not present. This might be useful for production environments.
    • The ENV will be replaced on each run to match the ENV which exists when the spring command is actually run (rather than the ENV which exists when spring first starts).
    • ๐Ÿš… Specifying the rails env after the rake command (e.g. rake RAILS_ENV=test db:migrate) now works as expected.
    • Provide an explicit way to set the environment to use when running rake on its own.
    • 0๏ธโƒฃ The rspec and cucumber commands are no longer shipped by default. They've been moved to the spring-commands-rspec and spring-commands-cucumber gems.
  • v0.0.11 Changes

    • โž• Added the rails destroy command.
    • Global config file in ~/.spring.rb
    • โž• Added logging for debugging. Specify a log file with the SPRING_LOG environment variable.
    • ๐Ÿ›  Fix hang on "Run bundle install to install missing gems"
    • โž• Added hack to make backtraces generated when running a command quieter (by stripping out all of the lines relating to spring)
    • ๐Ÿš… Rails 4 is officially supported