Skip to content

Commit 140d407

Browse files
committed
Update for 1.4.3 release
1 parent 6398318 commit 140d407

File tree

4 files changed

+20
-8
lines changed

4 files changed

+20
-8
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
## [1.4.3](https://github.com/nicklockwood/ShapeScript/releases/tag/1.4.3) (2021-12-25)
2+
3+
- ShapeScript will now attempt to ensure generated meshes are watertight by default
4+
- Fixed unintended behavior change with blocks returning multiple shapes (introduced in 1.3.7)
5+
- Fixed precondition failure when calling a block from inside a `path` command
6+
- Camera nodes are no longer included in object count in model info
7+
- Handle repeated parameter lists without command tokens in `svgpath`
8+
- Added additional `svgpath` error handling
9+
- Bumped Euclid to version 0.5.15
10+
111
## [1.4.2](https://github.com/nicklockwood/ShapeScript/releases/tag/1.4.2) (2021-12-10)
212

313
- The `svgpath` command now supports arc instructions ('A' and 'a')

ShapeScript.podspec.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ShapeScript",
3-
"version": "1.4.2",
3+
"version": "1.4.3",
44
"license": {
55
"type": "MIT",
66
"file": "LICENSE.md"
@@ -10,7 +10,7 @@
1010
"authors": "Nick Lockwood",
1111
"source": {
1212
"git": "https://github.com/nicklockwood/ShapeScript.git",
13-
"tag": "1.4.2"
13+
"tag": "1.4.3"
1414
},
1515
"source_files": ["ShapeScript", "LRUCache/Sources"],
1616
"requires_arc": true,

ShapeScript.xcodeproj/project.pbxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,7 @@
741741
"$(inherited)",
742742
"@executable_path/../Frameworks",
743743
);
744-
MARKETING_VERSION = 1.4.2;
744+
MARKETING_VERSION = 1.4.3;
745745
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.ShapeScriptViewer;
746746
PRODUCT_MODULE_NAME = Viewer;
747747
PRODUCT_NAME = "ShapeScript Viewer";
@@ -768,7 +768,7 @@
768768
"$(inherited)",
769769
"@executable_path/../Frameworks",
770770
);
771-
MARKETING_VERSION = 1.4.2;
771+
MARKETING_VERSION = 1.4.3;
772772
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.ShapeScriptViewer;
773773
PRODUCT_MODULE_NAME = Viewer;
774774
PRODUCT_NAME = "ShapeScript Viewer";
@@ -921,7 +921,7 @@
921921
"@executable_path/../Frameworks",
922922
"@loader_path/Frameworks",
923923
);
924-
MARKETING_VERSION = 1.4.2;
924+
MARKETING_VERSION = 1.4.3;
925925
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.ShapeScriptLib;
926926
PRODUCT_NAME = ShapeScript;
927927
SKIP_INSTALL = YES;
@@ -950,7 +950,7 @@
950950
"@executable_path/../Frameworks",
951951
"@loader_path/Frameworks",
952952
);
953-
MARKETING_VERSION = 1.4.2;
953+
MARKETING_VERSION = 1.4.3;
954954
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.ShapeScriptLib;
955955
PRODUCT_NAME = ShapeScript;
956956
SKIP_INSTALL = YES;

ShapeScript/Interpreter.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import Foundation
1111

1212
// MARK: Public interface
1313

14-
public let version = "1.4.2"
14+
public let version = "1.4.3"
1515

1616
public protocol EvaluationDelegate: AnyObject {
1717
func resolveURL(for path: String) -> URL
@@ -1351,7 +1351,9 @@ extension Expression {
13511351
at: parameters[1].range
13521352
)
13531353
}
1354-
let types = [type.errorDescription] + values.dropFirst().map { $0.type.errorDescription }
1354+
let types = [type.errorDescription] + values.dropFirst().map {
1355+
$0.type.errorDescription
1356+
}
13551357
throw RuntimeError(.typeMismatch(
13561358
for: name,
13571359
index: index,

0 commit comments

Comments
 (0)