Skip to content

Commit

Permalink
Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
shalvah committed Nov 30, 2020
1 parent 0b6e609 commit e7b8408
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

### Removals

## 2.4.1 (Monday, 30 November 2020)
### Changes
- Scribe will no longer throw an error if you describe an object subfield without adding the parent. We'll add it automatically for you (but you really should). (https://github.com/knuckleswtf/scribe/commit/77d516cbdbc6aa66466a640e20092d6e7a8df456)
- Changed the auto-generated descriptions when using validation rules to work without "The". (https://github.com/knuckleswtf/scribe/commit/0b6e609dd067b43301e709e54c339c64519725dd)

## 2.4.0 (Monday, 30 November 2020)
Turns out 2.2.0 wasn't really working.😕 This version fixes that, but introduces a behaviour change, so it may be a breaking change.

Expand Down
2 changes: 1 addition & 1 deletion src/Extracting/DatabaseTransactionHelpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ private function excludedDrivers(): array

$excludedDrivers = $this->getConfig()->get('continue_without_database_transactions', []);
if (count($excludedDrivers)) {
c::deprecated('`continue_without_database_transactions`', 'use `database_connections_to_transact`');
c::deprecated('`continue_without_database_transactions`', '2.4.0', 'use `database_connections_to_transact`');
}

return Globals::$excludedDbDrivers = $excludedDrivers;
Expand Down
6 changes: 2 additions & 4 deletions src/Tools/ConsoleOutputUtils.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public static function bootstrapOutput(OutputInterface $outputInterface)
->only();
}

public static function deprecated($feature, $should = null, $link = null)
public static function deprecated($feature, $inVersion, $should = null)
{
if (!self::$clara) {
self::bootstrapOutput(new ConsoleOutput);
Expand All @@ -31,9 +31,7 @@ public static function deprecated($feature, $should = null, $link = null)
if ($should) {
$message .= "\nYou should $should instead.";
}
$message .= $link
? " See $link for details"
: (" See the changelog for details (v".Globals::SCRIBE_VERSION.").");
$message .= " See the changelog for details (v$inVersion).";

self::$clara->warn($message);
}
Expand Down
2 changes: 1 addition & 1 deletion src/Tools/Globals.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

class Globals
{
public const SCRIBE_VERSION = '2.4.0';
public const SCRIBE_VERSION = '2.4.1';

public static $shouldBeVerbose = false;

Expand Down

0 comments on commit e7b8408

Please sign in to comment.