Skip to content

Commit dbe03ca

Browse files
Merge pull request #17 from CarterGames/release/0.7.1
🔩 Release/0.7.1
2 parents f92dacf + f8dc9d6 commit dbe03ca

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

Carter Games/Notion Database To Unity/Code/Editor/Notion/Notion Api/Download Result/NotionDownloadParser.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323

2424
using System;
2525
using System.Collections.Generic;
26+
using System.Linq;
2627
using CarterGames.Shared.NotionData.Serializiation;
2728
using Newtonsoft.Json.Linq;
2829
using UnityEngine;
@@ -120,6 +121,8 @@ private static NotionDatabaseRow GetRowData(IDictionary<string, JToken> data)
120121

121122
if (notionType == "rollup")
122123
{
124+
if (entry.Value["rollup"]["array"].Count() <= 0) continue;
125+
123126
notionType = entry.Value["rollup"]["array"][0]["type"].Value<string>();
124127
downloadText = entry.Value["rollup"]["array"][0].ToString();
125128
valueJson = GetValueForType(notionType, entry.Value["rollup"]["array"][0]);

Carter Games/Notion Database To Unity/Shared Systems/Editor/Asset Info/NdAssetVersionData.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public static class NdAssetVersionData
3737
/// <summary>
3838
/// The version number of the asset.
3939
/// </summary>
40-
public static string VersionNumber => "0.7.0";
40+
public static string VersionNumber => "0.7.1";
4141

4242

4343
/// <summary>
@@ -46,6 +46,6 @@ public static class NdAssetVersionData
4646
/// <remarks>
4747
/// Asset owner is in the UK, so its Y/M/D format.
4848
/// </remarks>
49-
public static string ReleaseDate => "2025/09/20";
49+
public static string ReleaseDate => "2025/09/23";
5050
}
5151
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "games.carter.notiondata",
3-
"version": "0.7.0",
3+
"version": "0.7.1",
44
"displayName": "Notion Data",
55
"description": "A tool to download Notion databases into a Unity scriptable object for use in Unity projects. Handy for game data such as items, localization, skills and more!",
66
"unity": "2020.3",

0 commit comments

Comments
 (0)