shalvah 3 年之前
父节点
当前提交
9264b5af1f
共有 3 个文件被更改,包括 10 次插入1 次删除
  1. 8 0
      CHANGELOG.md
  2. 1 1
      src/Tools/Globals.php
  3. 1 0
      src/Tools/Utils.php

+ 8 - 0
CHANGELOG.md

@@ -12,6 +12,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
 
 ### Removals
 
+## 3.16.0 (Tuesday, 16 November 2021)
+### Added
+- Support for nested relations in factories ([364](https://github.com/knuckleswtf/scribe/pull/364))
+
+### Fixed
+- Try it Out: show examples for empty array ([4351be8567f98f7779422a3a5beaaf5f3ca53e00](https://github.com/knuckleswtf/scribe/commit/4351be8567f98f7779422a3a5beaaf5f3ca53e00))
+- Route docs properly in Lumen ([b859f9ac7d2bac0b43b5358337565889593af6b7](https://github.com/knuckleswtf/scribe/commit/b859f9ac7d2bac0b43b5358337565889593af6b7))
+
 ## 3.15.0 (Monday, 8 November 2021)
 ### Added
 - Try it Out: entering an auth header value will auto-set it for all endpoints ([3f9800924128536a4d8b8ea366be9573da758ad2](https://github.com/knuckleswtf/scribe/commit/3f9800924128536a4d8b8ea366be9573da758ad2))

+ 1 - 1
src/Tools/Globals.php

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

+ 1 - 0
src/Tools/Utils.php

@@ -198,6 +198,7 @@ class Utils
             }
 
             foreach ($relations as $relation) {
+                // Support nested relations; see https://github.com/knuckleswtf/scribe/pull/364 for a detailed example
                 $relationChain = explode('.', $relation);
                 $relationVector = array_shift($relationChain);