# Changelog All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). ## Unreleased ### Compatible changes ### Breaking changes ## 3.0.3 2020-05-27 ### Compatible changes - Fix #98: Changing the `config/database.yml` reader from `YAML.load` to `YAML.safe_load` dropped the support for aliases. We now allow aliases and the classes `Time` and `Symbol`. If we encounter further issues with this approach a revert to `YAML.load` would be an option, too. ## 3.0.2 2020-05-18 ### Compatible changes - Fix #95: Method change from `! *.include?` to `*.exclude?` was not valid as we do not have active support in Geordi. Affected commands where `geordi cucumber` and `geordi deploy`. ### Breaking changes ## 3.0.1 2020-05-13 ### Compatible changes - Fix #93: Using `$CHILDSTATUS` instead of `$?` did not work properly. This affected commands like `geordi drop-databases` to fail. - Fix #92: Geordi fail messages were converted to exceptions by accident. Now they are printed as red error message without the backtrace again. ## 3.0.0 2020-05-04 ### Compatible changes ### Breaking changes - Remove support for Ruby 1.8.7 and Ruby 1.9.3. Bug fixes might still be backported to 2.x, but we will not add any features to 2.x anymore. Please consider to upgrade the Ruby version of your project. ## 2.11.0 2020-05-04 ### Compatible changes - Added the possibility to change the Rails root for the capistrano config via the environment variable `RAILS_ROOT`. This allows you as a gem developer to run a command like `RAILS_ROOT=~/Projects/my-blog geordi console staging` whereas `geordi` uses the capistrano config from `my-blog`. Otherwise you would need to follow the instructions of [this card](https://makandracards.com/makandra/46617-how-to-use-a-local-gem-in-your-gemfile) to test changes in the gem locally. - Bug fix for "no staged changes" even if there are changes present (#83). - Fixed deprecation warning for `Thor exit with status 0 on errors` (#84). - Replaced `Bundler.with_unbundled_env` with `Bundler.with_original_env` (#77). This is a better replacement than 42cd1c4. - Add deprecation warning `Deprecation warning: Ruby 1.8.7 and 1.9.3 support will be dropped in Geordi 3.x.` to Geordi 2. - Fix error `thor requires Ruby version >= 2.0.0` for Ruby 1.8.7 and 1.9.3 (https://github.com/makandra/geordi/issues/79#issuecomment-598664191). ### Breaking changes ## 2.10.1 2020-02-17 ### Compatible changes - Add host parameter to mysql dump loader ## 2.10.0 2020-02-11 ### Compatible changes - Fixes [#78](https://github.com/makandra/geordi/pull/78): Add compatibility for more than 9 CPU cores in `geordi drop-databases`. ## 2.9.0 2020-01-03 ### Compatible changes - Fixes [#37](https://github.com/makandra/geordi/issues/37): `geordi cucumber` crashes with `--format=pretty` - Fixes [#27](https://github.com/makandra/geordi/issues/27): Cucumber rerun switch does work when passing files ## 2.8.0 2020-01-02 ### Compatible changes - Fixed [#77](https://github.com/makandra/geordi/issues/77): Remove deprecation warning for "Bundler.clean_system" ## 2.7.0 2019-11-25 ### Compatible changes - Fixed [#68](https://github.com/makandra/geordi/issues/68): The "cucumber" command now fails early when @solo features fail. - Added: The "setup" command now prints the db adapter when prompting db credentials. - Fixed [#71](https://github.com/makandra/geordi/issues/71): When used without staged changes, the "commit" command will print a warning and create an empty commit. Any arguments to the command are forwarded to Git. - Fixed: The "commit" command will not print the extra message any more. - Added: The "commit" command prints a (progress) loading message. The message is removed once loading is done. ## 2.6.0 2019-11-04 ### Compatible changes - Added [#73](https://github.com/makandra/geordi/issues/73): New command `chromdriver-update` allows you to update your chromedriver to the newest matching version. ## 2.5.0 2019-10-25 ### Compatible changes - Added [#69](https://github.com/makandra/geordi/issues/69): If bin/setup exists, prefer it over Geordi's standard setup routine. - Fixed [#48](https://github.com/makandra/geordi/issues/48): Bundle right before deploying - Improved [#56](https://github.com/makandra/geordi/issues/56): Print instructions how to set up `DEPLOY_BRANCH` when deploying the current branch. ## 2.4.0 2019-10-21 ### Compatible changes - [#56](https://github.com/makandra/geordi/issues/56): Add current branch option to "deploy" command. This actually sets the `DEPLOY_BRANCH` variable to the current branch during deployment. The deployed application needs to pick up this variable in the respective Capistrano stage file. Example: `set :branch, ENV['DEPLOY_BRANCH'] || 'master'` ## 2.3.0 2019-08-27 ### Compatible changes - Fixes [#70]: Make "console" and "server" commands ready for Rails 6 - Added: CI testing with Travis ## 2.2.0 2019-02-28 ### Compatible changes - Fixes [#67]: Don't run yarn install unless needed ## 2.1.0 2019-02-25 ### Compatible changes - Fixes [#59]: Removedb name prefix when reading whitelist - Fixes [#62]: Provide better error messages on whitelist editing errors. - Fixes [#63]: Allow explicit whitelisting of database names that would be considered derivative during db cleanup - Fixes [#64]: Remove VISUAL and EDITOR from editor choices for DB whitelist editing ## 2.0.0 2019-02-20 ### Breaking changes - Pivotal Tracker discontinued API V3 and V4. We now use API V5, which has a client library that does not support Ruby version < 2.1 anymore (all other geordi commands will still work for older Ruby versions). Run `gem uninstall pivotal-tracker` and `gem install tracker_api` to migrate `geordi` installed in a Ruby version >= 2.1. ### Compatible changes - Fixes [#54]: @solo features run first and are not skipped by accident on failures before - Fixes [#03]: Add spring support for RSpec - Fixes [#53]: Integrate yarn integrity - Fixes [#52]: Remote dumps are transmitted compressed ## 1.11.0 2018-11-07 ### Compatible changes - Fixes [#36](https://github.com/makandra/geordi/issues/36): Capistrano Config: Settings in deploy/$stage.rb should take precedence over deploy.rb - Fixes [#38](https://github.com/makandra/geordi/issues/31): Capistrano Config: Ignore whitespaces in the capistrano config files ## 1.10.0 2018-10-17 ### Compatible changes - Fixes [#44](https://github.com/makandra/geordi/issues/44): Geordi now supports a multiline server definition. Example: ``` server 'c01.test.example.com', user: 'deploy-test_p', roles: ['app', 'web', 'db', 'cron', 'primary_cron'], primary: true ``` - Added this CHANGELOG file.