shalvah 3 years ago
parent
commit
1ddd5007e4
3 changed files with 9 additions and 2 deletions
  1. 7 0
      CHANGELOG.md
  2. 1 1
      src/Scribe.php
  3. 1 1
      src/Tools/Globals.php

+ 7 - 0
CHANGELOG.md

@@ -12,6 +12,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
 
 ### Removals
 
+## 3.13.0 (Tuesday, 26 October 2021)
+### Added
+- Add `afterGenerating()` hook ([#61a4821e103bad2bdd5068890c7ed2c90ba6cdee](https://github.com/knuckleswtf/scribe/commit/61a4821e103bad2bdd5068890c7ed2c90ba6cdee))
+
+### Fixed
+- Prefill examples without breaking BC ([4fb2447182998835ba1ddcc10af12dfbe3a49f4b](https://github.com/knuckleswtf/scribe/commit/4fb2447182998835ba1ddcc10af12dfbe3a49f4b)
+
 ## 3.12.1 (Monday, 25 October 2021)
 ### Fixed
 - Fix for prefilling examples

+ 1 - 1
src/Scribe.php

@@ -37,7 +37,7 @@ class Scribe
      *
      * If you disabled `postman` or `openapi`, their values will be null.
      *
-     * @param callable(array<string, string>): mixed $callable
+     * @param callable(array<string, string|array<string, string>): mixed $callable
      */
     public static function afterGenerating(callable $callable)
     {

+ 1 - 1
src/Tools/Globals.php

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