Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ body:
description: Which version of Unity Helpers are you using?
options:
# <!-- AUTO-UPDATED: package-versions -->
- "3.7.2"
- "3.7.1"
- "3.7.0"
- "3.6.2"
Expand Down
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ body:
description: Which version of Unity Helpers are you using?
options:
# <!-- AUTO-UPDATED: package-versions -->
- "3.7.2"
- "3.7.1"
- "3.7.0"
- "3.6.2"
Expand Down
1 change: 1 addition & 0 deletions .github/issue-template-versions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"versions": [
"3.7.2",
"3.7.1",
"3.7.0",
"3.6.2",
Expand Down
2 changes: 1 addition & 1 deletion .llm/context.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Procedural skills are in the [skills/](./skills/) directory.
## Repository Overview

**Package**: `com.wallstop-studios.unity-helpers`
**Version**: 3.7.1
**Version**: 3.7.2
**Repository**: <https://github.com/wallstop/unity-helpers>
**Root Namespace**: `WallstopStudios.UnityHelpers`

Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [3.7.2] - 2026-11-19

### Added

- Add configurable Unity 6 build-profile scene synchronization, preserving custom lists and supporting automatic updates after scene-list events ([#1185](https://github.com/Ambiguous-Interactive/unity-helpers/issues/1185)).
Expand Down
2 changes: 1 addition & 1 deletion docs/images/unity-helpers-banner.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "com.wallstop-studios.unity-helpers",
"version": "3.7.1",
"version": "3.7.2",
"displayName": "Unity Helpers",
"description": "Treasure chest of Unity developer tools",
"unity": "2021.3",
Expand Down Expand Up @@ -45,7 +45,7 @@
"documentationUrl": "https://ambiguous-interactive.github.io/unity-helpers",
"changelogUrl": "https://github.com/Ambiguous-Interactive/unity-helpers/blob/main/CHANGELOG.md",
"_upm": {
"changelog": "### Added\n\n- Add `StartPeriodicJob` for named profiler ticks, optional initial jitter, and failure-safe repeating callbacks ([#1113](https://github.com/Ambiguous-Interactive/unity-helpers/issues/1113)).\n- Add sprite-mask layer ranges, layer-coverage queries, and `MatchSpriteMaskToSpriteRenderer` for keeping animated masks matched to their renderer ([#1113](https://github.com/Ambiguous-Interactive/unity-helpers/issues/1113)).\n- Add `AnimatedSpriteFrames` to collect assigned sprites and animation frames for a specific renderer path in editor tools ([#1113](https://github.com/Ambiguous-Interactive/unity-helpers/issues/1113)).\n\n### Changed\n\n- Reduce garbage collection pressure from repeating coroutine jobs while preserving scaled-time scheduling.\n\n### Fixed\n\n- Fix ZLinq extension-call collisions with `WAsValueEnumerable` and `WAsValueDictionaryEnumerable`. The original names remain available as static methods ([#1122](https://github.com/Ambiguous-Interactive/unity-helpers/issues/1122))."
"changelog": "### Added\n\n- Add configurable Unity 6 build-profile scene synchronization, preserving custom lists and supporting automatic updates after scene-list events ([#1185](https://github.com/Ambiguous-Interactive/unity-helpers/issues/1185)).\n- Add editor asset enumeration, including subassets, and native asset replacement that keeps existing references intact ([#1182](https://github.com/Ambiguous-Interactive/unity-helpers/issues/1182)).\n- Add opt-in member-order (`WUH029`) and string-policy (`WUH030`) warnings, asynchronous cleanup checks in `WUH014`, and nested teardown checks in `WUH009` ([#1200](https://github.com/Ambiguous-Interactive/unity-helpers/issues/1200)).\n- Add `[WEnumHelpers]` and the enum source generator, which emits concrete overloads for flag checks, numeric conversion, cached names, display names, and span formatting while leaving generic and runtime-generated enums on the generalized path. See [Enum Helpers](./docs/features/utilities/math-and-extensions.md#enum-helpers) and [Enum Helper Performance](./docs/performance/enum-helpers-performance.md).\n- Add `TryFormatCachedName` for writing an enum's cached name into a caller-owned `Span<char>`.\n- Add allocation-free counting medians for unsorted byte channels, slug identifier validation, and optional cleanup failure reporting for `DisposableScope`. [#1200](https://github.com/wallstop/unity-helpers/issues/1200)\n- Add `LatestWriteFile` for coalesced saves and synchronous final flushes, plus optional thread-pool failure callbacks ([#1181](https://github.com/Ambiguous-Interactive/unity-helpers/issues/1181)).\n- Add single-owner managed pools with explicit returns and fixed-length per-thread array pools with clearing on return ([#1173](https://github.com/Ambiguous-Interactive/unity-helpers/issues/1173)).\n- Add a test-only support assembly with allocation controls, synchronous Unity object tracking and managed resource cleanup for consumer test fixtures ([#1180](https://github.com/Ambiguous-Interactive/unity-helpers/issues/1180)).\n- Add direct texture reads for readable RGBA32, RGB24, ARGB32, BGRA32, Alpha8, RGB565 and RGBA4444 sprite masks and bounds, avoiding intermediate color arrays ([#1113](https://github.com/Ambiguous-Interactive/unity-helpers/issues/1113)).\n- Add reusable weighted index tables, draw-sparing probability checks, and exponential and Gumbel samples ([#1176](https://github.com/Ambiguous-Interactive/unity-helpers/issues/1176)).\n- Add stable score distributions, sorted-span percentiles, tie-averaged ranks and rank correlations ([#1177](https://github.com/Ambiguous-Interactive/unity-helpers/issues/1177)).\n- Add CSS cubic Bézier evaluation and weighted animation-curve conversion ([#1186](https://github.com/Ambiguous-Interactive/unity-helpers/issues/1186)).\n- Add span insertion bounds with struct comparers, paired shuffles and descending seeded shuffles ([#1178](https://github.com/Ambiguous-Interactive/unity-helpers/issues/1178)).\n- Add `ThreadAmbient<T>` for per-thread context with nested scopes and safe repeated disposal ([#1175](https://github.com/Ambiguous-Interactive/unity-helpers/issues/1175)).\n- Add stable little-endian integer hash steps, raw UTF-16 text hashing, and explicitly weak whole-word FNV folding ([#1174](https://github.com/Ambiguous-Interactive/unity-helpers/issues/1174)).\n- Add `HoldSet` for independent input or pause holds, disposable handles, occupancy callbacks, and destroyed-owner cleanup ([#1183](https://github.com/Ambiguous-Interactive/unity-helpers/issues/1183)).\n- Add `StopwatchTimestamp` for elapsed time, direct elapsed seconds and counter-tick conversions without a timer allocation ([#1179](https://github.com/Ambiguous-Interactive/unity-helpers/issues/1179)).\n- Add stable in-place insertion sort for spans without renting a buffer ([#1157](https://github.com/Ambiguous-Interactive/unity-helpers/issues/1157)).\n- Add optional struct discovery to `GetTypesDerivedFrom` while retaining the default class-only filter ([#1169](https://github.com/Ambiguous-Interactive/unity-helpers/issues/1169)).\n- Add `LongMap<T>` and `LongSet` for unsigned 64-bit keys, packed iteration, reusable storage and key-only set storage ([#1162](https://github.com/Ambiguous-Interactive/unity-helpers/issues/1162)).\n- Add allocation-free set-bit traversal, live `BitSet.SetIndices` traversal, and ranked bit selection ([#1158](https://github.com/Ambiguous-Interactive/unity-helpers/issues/1158)).\n- Add declared-name enum parsing with a string comparison policy and cached membership checks without per-call boxing ([#1159](https://github.com/Ambiguous-Interactive/unity-helpers/issues/1159), [#1160](https://github.com/Ambiguous-Interactive/unity-helpers/issues/1160)).\n- Add directed graph reachability with reusable bitsets and a 64-node mask form ([#1161](https://github.com/Ambiguous-Interactive/unity-helpers/issues/1161)).\n- Add keyed Unity object pools that route returns to their owner and dispose idle and checked-out items ([#1163](https://github.com/Ambiguous-Interactive/unity-helpers/issues/1163)).\n- Add `WUH028` to flag redundant clears of freshly rented `Buffers` collections. See [the analyzer guide](./docs/performance/analyzers.md#wuh028-fresh-pooled-collection-clears).\n- Add `WUH027` warnings for redundant explicit caller names, with overload checks and Analyzer Policy examples.\n- Add `EnumValues.Of(Type)` and `TryGetValues` for shared enum arrays when the enum type is known at runtime ([#1129](https://github.com/Ambiguous-Interactive/unity-helpers/issues/1129)).\n- Add fallback-camera overloads for pointer world and local projection; existing overloads keep their camera behavior ([#1132](https://github.com/Ambiguous-Interactive/unity-helpers/issues/1132)).\n- Add YAML mapping and item regions, reference and name reads, field and block helpers, exact script matching, and component and ancestor queries without loading scenes ([#1127](https://github.com/Ambiguous-Interactive/unity-helpers/issues/1127)).\n- Add `BrowserStorage.Unscoped` for existing raw-key saves and `TryHasKey` to distinguish absent keys from unavailable storage ([#1134](https://github.com/Ambiguous-Interactive/unity-helpers/issues/1134)).\n- Add `SpriteArtBounds.TryGetCentreOfLargestDarkestInkRegion` for colour-share filtering and connected-region centroids without changing import settings ([#1124](https://github.com/Ambiguous-Interactive/unity-helpers/issues/1124)).\n- Add allocation-free live-entry iteration and stateful `GetOrAdd` to `UnityObjectMap`, with mutation checks and destroyed-key replacement ([#1133](https://github.com/Ambiguous-Interactive/unity-helpers/issues/1133)).\n- Add `BendableLine` for animated sprite curves with bounded segments, sorting controls, XY-plane transforms, and isolated sprite-sheet sampling without a tween dependency ([#1113](https://github.com/Ambiguous-Interactive/unity-helpers/issues/1113)).\n- Add Sprite Pivot Copier with configurable name matching, effective-pivot copying across texture sizes, and rejection of ambiguous batches ([#1113](https://github.com/Ambiguous-Interactive/unity-helpers/issues/1113)).\n- Add reusable editor scopes for grouped Undo and progress cleanup, plus finite checks for numeric and Unity value types.\n\n### Changed\n\n- Reduce analyzer allocations and repeated compiler work while preserving diagnostics and generated output ([qualification](./docs/performance/analyzers.md#compiler-work-and-measurements)).\n- Reduce shared buffer clock-conversion overhead while preserving custom time providers ([#1173](https://github.com/Ambiguous-Interactive/unity-helpers/issues/1173)).\n- Reduce enum helper startup allocations and keep membership checks correct for enums with unsupported underlying types.\n\n(Truncated. Full changelog: https://github.com/Ambiguous-Interactive/unity-helpers/blob/main/CHANGELOG.md)"
},
"licensesUrl": "https://ambiguous-interactive.github.io/unity-helpers/project/license/",
"samples": [
Expand Down
Loading