Upgrading dotenv 1 to 2
Breaking1.0.2 → 2.8.1Platform1New7Changed8Fixed5Other3
BreakingUpgrade verdict
A platform requirement change.
In plain terms
- Drop support for Ruby 2.4, 2.5, and 2.6, which are EOL.
Must act 1 item needs code or config changes
What you must change
Platform1
Drop support for Ruby 2.4, 2.5, and 2.6, which are EOL.
API changes
Generated by DepDelta from published Ruby source. Not mixed with prose notes.
- added:
const Dotenv.EXPORT_COMMAND - added:
static method Dotenv.ignoring_nonexistent_files() - added:
static method Dotenv.instrument(_, _ = …) - added:
static method Dotenv.overload!(*) - added:
static method Dotenv.parse(*) - added:
static method Dotenv.require_keys(*) - added:
static property Dotenv.instrumenter: accessor
- changed:
constructor Environment(_) → constructor Environment(_, _ = …) - changed:
method Environment.load() → method Environment.load(_ = …) - added:
class CLI < OptionParser - added:
class EnvTemplate - added:
class Error < StandardError - added:
class MissingKeys < Error - added:
constructor CLI(_ = …) - added:
constructor EnvTemplate(_) - added:
constructor MissingKeys(_) - added:
constructor Parser(_, _ = …) - added:
method CLI.run() - added:
method EnvTemplate.create_template() - added:
method EnvTemplate.template_line(_) - added:
method Parser.call() - added:
property CLI.argv: reader - added:
property CLI.filenames: reader - added:
property CLI.overload: reader - added:
property Environment.filename: reader - added:
static method Parser.call(_, _ = …) - added:
static property Parser.substitutions: reader
- changed:
static method Command.call(_, _) → static method Command.call(_, _, _) - changed:
static method Variable.call(_, _) → static method Variable.call(_, _, _)