Browse Source

Update changelog

shalvah 4 years ago
parent
commit
e7b8408dce

+ 5 - 0
CHANGELOG.md

@@ -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.
 

+ 1 - 1
src/Extracting/DatabaseTransactionHelpers.php

@@ -83,7 +83,7 @@ trait DatabaseTransactionHelpers
 
         $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;

+ 2 - 4
src/Tools/ConsoleOutputUtils.php

@@ -21,7 +21,7 @@ class ConsoleOutputUtils
             ->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);
@@ -31,9 +31,7 @@ class ConsoleOutputUtils
         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);
     }

+ 1 - 1
src/Tools/Globals.php

@@ -4,7 +4,7 @@ namespace Knuckles\Scribe\Tools;
 
 class Globals
 {
-    public const SCRIBE_VERSION = '2.4.0';
+    public const SCRIBE_VERSION = '2.4.1';
 
     public static $shouldBeVerbose = false;