Skip to content

Commit 4bad5d8

Browse files
committed
hotfix(v2026.1.1)
1 parent 956f0f2 commit 4bad5d8

File tree

9 files changed

+24
-15
lines changed

9 files changed

+24
-15
lines changed

.circleci/config.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: 2.1
22

33
orbs:
4-
win: circleci/windows@5.0
4+
win: circleci/windows@5.1.1
55

66
jobs:
77
build-client:
@@ -104,7 +104,9 @@ jobs:
104104

105105
- run: uv add ordered-set nuitka
106106

107-
- run: uv run -m nuitka --standalone --assume-yes-for-downloads --include-data-files=VERSION=VERSION --include-data-dir=static=static --include-data-dir=templates=templates --windows-icon-from-ico=static/favicon.ico ./planarally.py
107+
- run:
108+
command: uv run -m nuitka --standalone --assume-yes-for-downloads --include-data-files=VERSION=VERSION --include-data-dir=static=static --include-data-dir=templates=templates --windows-icon-from-ico=static/favicon.ico ./planarally.py
109+
no_output_timeout: 30m
108110

109111
- run:
110112
name: Zip artifacts
@@ -135,7 +137,6 @@ jobs:
135137
destination: archives
136138

137139
workflows:
138-
version: 2
139140
build:
140141
jobs:
141142
- build-client:

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ tech changes will usually be stripped from release notes for the public
1010

1111
## Unreleased
1212

13+
## [2026.1.1]
14+
15+
### Fixed
16+
17+
- Templates not properly loading on drop due to API error
18+
1319
## [2026.1]
1420

1521
### Added

client/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "client",
3-
"version": "2026.1.0",
3+
"version": "2026.1.1",
44
"private": true,
55
"type": "module",
66
"scripts": {

client/src/game/api/emits/shape/core.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import type {
2-
ApiNote,
32
ApiShape,
43
ApiShapeAdd,
54
ShapeCircleSizeUpdate,
@@ -85,8 +84,8 @@ export async function requestShapeInfo(shape: string): Promise<ShapeInfo> {
8584
return new Promise((resolve: (value: ShapeInfo) => void) => socket.once("Shape.Info", resolve));
8685
}
8786

88-
export async function fetchFullShape(shapeId: GlobalId): Promise<{ shape: ApiShape; notes: ApiNote[] } | undefined> {
89-
return (await socket.emitWithAck("Shape.Get", shapeId)) as { shape: ApiShape; notes: ApiNote[] } | undefined;
87+
export async function fetchFullShape(shapeId: GlobalId): Promise<{ shape: ApiShape } | undefined> {
88+
return (await socket.emitWithAck("Shape.Get", shapeId)) as { shape: ApiShape } | undefined;
9089
}
9190

9291
// helpers

client/src/game/dropAsset.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,13 @@ async function dropHelper(
9696
async function loadTemplate(template: AssetTemplateInfo, position: GlobalPoint): Promise<void> {
9797
const data = await fetchFullShape(template.id);
9898
if (data !== undefined) {
99-
const { shape, notes } = data;
100-
await Promise.all(notes.map((note) => noteSystem.loadNote(note)));
99+
const { shape } = data;
100+
await Promise.all(shape.notes.map((note) => noteSystem.loadNote(note)));
101101
const layer = floorState.currentLayer.value!;
102102
const compact = await loadFromServer(shape, layer.floor, layer.name);
103103
compact.core.x = position.x;
104104
compact.core.y = position.y;
105-
compact.systems.notes = notes.map((note) => note.uuid);
105+
compact.systems.notes = shape.notes.map((note) => note.uuid);
106106
addShape(compact, SyncMode.FULL_SYNC, "create");
107107
}
108108
}

server/VERSION

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
2026.1
1+
2026.1.1
2+
3+
2026.1.1 fixed a bug with templates not applying properly on drop.
4+
The rest of this changelog is from 2026.1.0
25

36
### Added
47

server/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "planarally-server"
3-
version = "2026.1.0"
3+
version = "2026.1.1"
44
description = "Planarally server"
55
readme = "README.md"
66
requires-python = ">=3.13.2"

server/uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)