@makefully/platypus 4.1.8 → 4.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,38 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [4.1.10] - 2026-06-23
11
+
12
+ ### Added
13
+
14
+ - `cloneDefinition` utility for deep-copying JSON-like Platypus definitions.
15
+ - `LevelBuilder#cloneLevel` public method.
16
+ - Unit tests for level composition isolation and TiledLoader entity template isolation.
17
+
18
+ ### Fixed
19
+
20
+ - **LevelBuilder:** Composed levels are deep-cloned so merges, mirrors, and replay do not share or corrupt source data; `created-level` dispatches an isolated snapshot; skips re-composition when a pre-built level object is already supplied.
21
+ - **AssetManager:** Relinks assets already registered with Pixi between scene loads; `get()` falls back to `getFileId` for webpack URL lookups.
22
+ - **Render:** Warns when initializing with an image not in the asset cache.
23
+ - **TiledLoader:** Deep-copies entity templates from settings when creating layer entities; caches `level.assets` only for named level ids; passes tilesets when collecting assets from tile objectgroups.
24
+ - **VOPlayer:** `unloadSound` uses `getFileId` so asset reference counts match loaded aliases.
25
+
26
+ ## [4.1.9] - 2026-06-22
27
+
28
+ ### Added
29
+
30
+ - `RenderTiles` `force-render` event for synchronous cache refresh after bulk tile edits.
31
+ - `RenderTiles` helpers `refreshAllCaches`, `refreshPanningCache`, `refreshAllCacheGrid`, `alignCacheToCamera`, and `detachCacheCopy`.
32
+ - Unit tests for `RenderTiles` `populateTiles` incremental vs full refresh and `alignCacheToCamera`.
33
+
34
+ ### Fixed
35
+
36
+ - `RenderTiles` `change-tile` now always flags a cache refresh; the previous bounds check skipped updates when `this.cache` did not cover the edited tile (notably on multi-texture full-map grids).
37
+ - `RenderTiles` `force-render` and in-place panning-cache refresh now repopulate the full visible window (`populate` with no `oldBounds`) instead of the camera-scroll incremental path, which skipped every tile when the camera had not moved.
38
+ - `RenderTiles` panning-cache refresh draws into the alternate render texture before swapping the display sprite, avoiding blank tiles from clearing the on-screen texture in Pixi v8.
39
+ - `RenderTiles` `force-render` re-renders all `cacheGrid` cells on multi-texture full-map layers instead of calling the single-texture path with no `cacheTexture`.
40
+ - `RenderTiles` `renderCache` removes the temporary copy sprite from `mapContainer` after scroll blits.
41
+
10
42
  ## [4.1.8] - 2026-06-16
11
43
 
12
44
  ### Changed