Skip to content

Commit 6806820

Browse files
committed
Update for 1.9.2 release
1 parent a13da70 commit 6806820

File tree

8 files changed

+89
-13
lines changed

8 files changed

+89
-13
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# Change Log
22

3+
## [1.9.2](https://github.com/nicklockwood/ShapeScript/releases/tag/1.9.2) (2025-10-26)
4+
5+
- Fixed crash when creating a path from empty subpaths
6+
- Fixed `minkowski` output for off-center input shapes
7+
- Fixed bounds calculation for `intersection` shapes
8+
- Fixed partial render state sometimes not being shown on error
9+
- Fixed bug where `triangles` member property returned polygons instead of triangles
10+
- Scene info no longer shows imported models and textures after they have been removed
11+
- Improved detessellation algorithm (now merges more polygons than before)
12+
- Improved subpaths implementation (more reliably preserves distinct subpaths)
13+
- Bumped Euclid to version 0.8.12
14+
315
## [1.9.1](https://github.com/nicklockwood/ShapeScript/releases/tag/1.9.1) (2025-10-13)
416

517
- Object Info no longer shows file path for shapes in the current file

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[![Build](https://github.com/nicklockwood/ShapeScript/actions/workflows/build.yml/badge.svg)](https://github.com/nicklockwood/ShapeScript/actions/workflows/build.yml)
22
[![Codecov](https://codecov.io/gh/nicklockwood/ShapeScript/graphs/badge.svg)](https://codecov.io/gh/nicklockwood/ShapeScript)
33
[![Platforms](https://img.shields.io/badge/platforms-iOS%20|%20Mac%20|%20Linux-lightgray.svg)]()
4-
[![Swift 5.7](https://img.shields.io/badge/swift-5.1-red.svg?style=flat)](https://developer.apple.com/swift)
4+
[![Swift 5.7](https://img.shields.io/badge/swift-5.7-red.svg?style=flat)](https://developer.apple.com/swift)
55
[![License](https://img.shields.io/badge/license-MIT-lightgrey.svg)](https://opensource.org/licenses/MIT)
66
[![Mastodon](https://img.shields.io/badge/mastodon-@[email protected])](https://mastodon.social/@nicklockwood)
77

@@ -34,19 +34,19 @@ ShapeScript is packaged as a Swift framework, which itself depends on the [Eucli
3434
To install the ShapeScript framework using CocoaPods, add the following to your Podfile:
3535

3636
```ruby
37-
pod 'ShapeScript', '~> 1.9.1'
37+
pod 'ShapeScript', '~> 1.9.2'
3838
```
3939

4040
To install using Carthage, add this to your Cartfile:
4141

4242
```ogdl
43-
github "nicklockwood/ShapeScript" ~> 1.9.1
43+
github "nicklockwood/ShapeScript" ~> 1.9.2
4444
```
4545

4646
To install using Swift Package Manager, add this to the `dependencies:` section in your Package.swift file:
4747

4848
```swift
49-
.package(url: "https://github.com/nicklockwood/ShapeScript.git", .upToNextMinor(from: "1.9.1")),
49+
.package(url: "https://github.com/nicklockwood/ShapeScript.git", .upToNextMinor(from: "1.9.2")),
5050
```
5151

5252
The repository also includes ShapeScript Viewer apps for iOS and macOS, a cut-down version of the full ShapeScript apps available on the [Mac](https://apps.apple.com/app/id1441135869) and [iOS](https://apps.apple.com/app/id1606439346) app stores. It is not currently possible to install or run these apps using CocoaPods, Carthage or Swift Package Manager but you can run them by opening the included Xcode project and selecting the `Viewer (Mac)` or `Viewer (iOS)` schemes. For Linux, see [usage instructions](#usage-linux) below.

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.9.1",
3+
"version": "1.9.2",
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.9.1"
13+
"tag": "1.9.2"
1414
},
1515
"source_files": ["ShapeScript", "LRUCache/Sources", "SVGPath/Sources"],
1616
"requires_arc": true,

ShapeScript.xcodeproj/project.pbxproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1001,7 +1001,7 @@
10011001
"$(inherited)",
10021002
"@executable_path/Frameworks",
10031003
);
1004-
MARKETING_VERSION = 1.9.1;
1004+
MARKETING_VERSION = 1.9.2;
10051005
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.ShapeScriptViewer;
10061006
PRODUCT_MODULE_NAME = Viewer;
10071007
PRODUCT_NAME = ShapeScript;
@@ -1039,7 +1039,7 @@
10391039
"$(inherited)",
10401040
"@executable_path/Frameworks",
10411041
);
1042-
MARKETING_VERSION = 1.9.1;
1042+
MARKETING_VERSION = 1.9.2;
10431043
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.ShapeScriptViewer;
10441044
PRODUCT_MODULE_NAME = Viewer;
10451045
PRODUCT_NAME = ShapeScript;
@@ -1248,7 +1248,7 @@
12481248
"@executable_path/../Frameworks",
12491249
"@loader_path/Frameworks",
12501250
);
1251-
MARKETING_VERSION = 1.9.1;
1251+
MARKETING_VERSION = 1.9.2;
12521252
MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++";
12531253
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu17 gnu++20";
12541254
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.ShapeScriptLib;
@@ -1292,7 +1292,7 @@
12921292
"@executable_path/../Frameworks",
12931293
"@loader_path/Frameworks",
12941294
);
1295-
MARKETING_VERSION = 1.9.1;
1295+
MARKETING_VERSION = 1.9.2;
12961296
MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++";
12971297
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu17 gnu++20";
12981298
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.ShapeScriptLib;
@@ -1387,7 +1387,7 @@
13871387
"$(inherited)",
13881388
"@executable_path/../Frameworks",
13891389
);
1390-
MARKETING_VERSION = 1.9.1;
1390+
MARKETING_VERSION = 1.9.2;
13911391
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.ShapeScriptViewer;
13921392
PRODUCT_MODULE_NAME = Viewer;
13931393
PRODUCT_NAME = "ShapeScript Viewer";
@@ -1434,7 +1434,7 @@
14341434
"$(inherited)",
14351435
"@executable_path/../Frameworks",
14361436
);
1437-
MARKETING_VERSION = 1.9.1;
1437+
MARKETING_VERSION = 1.9.2;
14381438
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.ShapeScriptViewer;
14391439
PRODUCT_MODULE_NAME = Viewer;
14401440
PRODUCT_NAME = "ShapeScript Viewer";

ShapeScript/Interpreter.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import Foundation
1111

1212
// MARK: Public interface
1313

14-
public let version: String = "1.9.1"
14+
public let version: String = "1.9.2"
1515

1616
public func evaluate(
1717
_ program: Program,

Viewer/Mac/WhatsNew.rtf

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,37 @@ What's New in ShapeScript?\
1111
\
1212
\pard\tx220\tx720\pardeftab720\li720\fi-720\partightenfactor0
1313

14+
\f1\b\fs28 \cf2 ShapeScript 1.9.2 \'97 2025-10-26\
15+
\
16+
\pard\tx220\tx720\pardeftab720\li720\fi-720\partightenfactor0
17+
\cf2 \kerning1\expnd0\expndtw0 \'95
18+
\f0\b0 \expnd0\expndtw0\kerning0
19+
Fixed crash when creating a path from empty subpaths.\
20+
\ \'95
21+
\f0\b0 \expnd0\expndtw0\kerning0
22+
Fixed `minkowski` output for off-center input shapes.\
23+
\ \'95
24+
\f0\b0 \expnd0\expndtw0\kerning0
25+
Fixed bounds calculation for `intersection` shapes.\
26+
\ \'95
27+
\f0\b0 \expnd0\expndtw0\kerning0
28+
Fixed partial render state sometimes not being shown on error.\
29+
\ \'95
30+
\f0\b0 \expnd0\expndtw0\kerning0
31+
Fixed bug where `triangles` member property returned polygons instead of triangles.\
32+
\ \'95
33+
\f0\b0 \expnd0\expndtw0\kerning0
34+
Scene info no longer shows imported models and textures after they have been removed.\
35+
\ \'95
36+
\f0\b0 \expnd0\expndtw0\kerning0
37+
Improved detessellation algorithm (now merges more polygons than before).\
38+
\ \'95
39+
\f0\b0 \expnd0\expndtw0\kerning0
40+
Improved subpaths implementation (more reliably preserves distinct subpaths).\
41+
\ \'95
42+
\f0\b0 \expnd0\expndtw0\kerning0
43+
Bumped Euclid to version 0.8.12.\
44+
\
1445
\f1\b\fs28 \cf2 ShapeScript 1.9.1 \'97 2025-10-13\
1546
\
1647
\pard\tx220\tx720\pardeftab720\li720\fi-720\partightenfactor0

Viewer/iOS/WhatsNew.rtf

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,38 @@
55
\paperw11900\paperh16840\margl1440\margr1440\vieww24140\viewh18420\viewkind0
66
\deftab720
77

8+
\f0\b \cf2 ShapeScript 1.9.2 \'97 2025-10-26\
9+
\
10+
\pard\tx220\tx720\pardeftab720\li720\fi-720\partightenfactor0
11+
\cf2 \kerning1\expnd0\expndtw0
12+
\f1\b0 \expnd0\expndtw0\kerning0 \'95
13+
\f1\b0 \expnd0\expndtw0\kerning0
14+
Fixed crash when creating a path from empty subpaths.\
15+
\ \'95
16+
\f1\b0 \expnd0\expndtw0\kerning0
17+
Fixed `minkowski` output for off-center input shapes.\
18+
\ \'95
19+
\f1\b0 \expnd0\expndtw0\kerning0
20+
Fixed bounds calculation for `intersection` shapes.\
21+
\ \'95
22+
\f1\b0 \expnd0\expndtw0\kerning0
23+
Fixed partial render state sometimes not being shown on error.\
24+
\ \'95
25+
\f1\b0 \expnd0\expndtw0\kerning0
26+
Fixed bug where `triangles` member property returned polygons instead of triangles.\
27+
\ \'95
28+
\f1\b0 \expnd0\expndtw0\kerning0
29+
Scene info no longer shows imported models and textures after they have been removed.\
30+
\ \'95
31+
\f1\b0 \expnd0\expndtw0\kerning0
32+
Improved detessellation algorithm (now merges more polygons than before).\
33+
\ \'95
34+
\f1\b0 \expnd0\expndtw0\kerning0
35+
Improved subpaths implementation (more reliably preserves distinct subpaths).\
36+
\ \'95
37+
\f1\b0 \expnd0\expndtw0\kerning0
38+
Bumped Euclid to version 0.8.12.\
39+
\
840
\f0\b \cf2 ShapeScript 1.9.1 \'97 2025-10-13\
941
\
1042
\pard\tx220\tx720\pardeftab720\li720\fi-720\partightenfactor0

docs/1.9.2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1.9.0

0 commit comments

Comments
 (0)