@jgengine/convex 0.42.0 → 0.44.0

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
@@ -26,6 +26,46 @@ At publish, rename this heading to the new version and mirror the entries into
26
26
  `packages/core/src/meta/changelog.ts` (the typed `CHANGELOG` export).
27
27
  -->
28
28
 
29
+ ## 0.44.0
30
+
31
+ ### Migrate
32
+
33
+ - **Bump lockstep SDK packages to `^0.44.0`:** `@jgengine/{core,rapier,react,ws,node,sql,convex,shell,editor,assets,navbake}`. CLI `jgengine` is `0.41.0`; `@jgengine/github` is `0.31.0`.
34
+
35
+ ### Added
36
+
37
+ - `planInteriorDressing` (`@jgengine/core/world/interiorDressing`) plans more of a lived-in interior: `density` scales clutter, decals, debris and cables together; `panels` breaks long walls with wainscot plates and access hatches (`plan.panels`); `debris` places small-prop slots along walls, in inside corners and in the open (`plan.debris`, `InteriorDebrisSlot`); `cables.floor` drops some cables from the ceiling to run along the foot of the wall; `fixtures.dead` and `fixtures.flicker` give lamps a `state`; `decals.paper` and `decals.scorch` add dropped paperwork and soot; a `keepClear` entry with `mark: true` gets hazard stripes on the floor. Existing pipes, trims, fittings, clutter and lamps are unchanged for the same seed.
38
+ - `DECAL_STYLES` gains `paper`, `scorch` and `hazard`, with procedural textures.
39
+ - `InteriorDressing` draws panels and hatches and gives dead lamps an unlit lens (`lensOff`, `panel` and `hatch` surfaces); `PracticalLights` skips dead lamps and flickers flickering ones.
40
+ - `AtmosphereConfig.beams` (0..1, default 0): a spot light's haze glow reaches down its cone as a visible beam.
41
+ - Twenty Poly Haven CC0 industrial and office props in the model library (`industrial/tool-cart`, `industrial/cardboard-box`, `office/metal-desk`, `office/crt-television` and others).
42
+ - `defineTurfWar` (`@jgengine/core/worldModel/turfWar`) turns a turf war between any number of sides into world-model triggers, ripples and schedules: a block changes hands to whichever side wore its grip to zero, each side's front pushes into neighbouring blocks on its own clock (gated by `when` and `chance`, with a note, a hook and world changes per push), and `view`, `held` and `handover` read the live war for maps, phones and news.
43
+
44
+ ### Fixed
45
+
46
+ - Instanced scatter draws a model exported with morph targets at its rest shape instead of throwing in three's renderer.
47
+ - The haze lamp glow rescans at once when a lamp leaves the scene, so a swapped light pool glows on its first frame instead of up to 90 frames later.
48
+
49
+ ## 0.43.0
50
+
51
+ ### Migrate
52
+
53
+ - **Bump lockstep SDK packages to `^0.43.0`:** `@jgengine/{core,rapier,react,ws,node,sql,convex,shell,editor,assets,navbake}`. CLI `jgengine` is `0.40.0`; `@jgengine/github` is `0.30.0`.
54
+
55
+ ### Added
56
+
57
+ - `buildRouteCourse` (`@jgengine/core/world/routeCourse`) lays a purpose-built course from `straight` and `turn` pieces with branches that leave and rejoin the main line, tagged hazard spans with timers, a leg-aware `clamp` wall, `checkpoints` for `raceTrack`, racing `line`s through chosen shortcuts, wall `edges` with junction openings and terrain `groundHeight`/`terrainProfiles` that ride the course's climb.
58
+ - `ocean({ palette: { deep, crest, foam, fresnel } })` recolors the whole water surface, not just the shallows, for liquids that are not sea water.
59
+ - `createRadio` (`@jgengine/core/audio/radio`): serializable car-radio stations (music, talk, news) on one shared clock, so tuning back lands mid-programme. Tune next/previous/off, a priority bulletin queue fed by game events with per-topic cooldowns, expiry and break-in, per-station wording, a `nowPlaying` view for the HUD, and `snapshot`/`restore`/`retune`.
60
+ - `createRadioPlayback` (`@jgengine/core/audio/radioPlayback`): drives a radio's cues into a sink — generated music themes with a start offset, spoken lines with per-voice pitch and rate — and pauses with the game.
61
+ - `ctx.game.audio.speak(text, options)`, `stopSpeech()` and `duck(id, bus, amount)`, plus `music(theme, transpose, { offset })`. The shell speaks through Web Speech on the game's `audio.speechBus` (text-only when no voice exists), holds keyed bus ducks, and starts a theme partway in.
62
+ - `window.__jgengineAudio.speech()` reports whether speech is available, how many voices, and lines spoken and dropped.
63
+
64
+ ### Fixed
65
+
66
+ - Terrain `biomeBands` `sky` and `fog` now cross-fade in a game that also declares `lighting` with a directional sun; the shell dropped the bands whenever it derived the sun bearing from that light.
67
+ - A static sky's banded fog color now follows the band instead of being pinned to `sky.fog.color`.
68
+
29
69
  ## 0.42.0
30
70
 
31
71
  ### Migrate
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jgengine/convex",
3
- "version": "0.42.0",
3
+ "version": "0.44.0",
4
4
  "description": "Convex adapters for JGengine: game transport, presence transport, and backend wiring over @jgengine/core.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -30,7 +30,7 @@
30
30
  "check-types": "tsgo --noEmit -p tsconfig.json"
31
31
  },
32
32
  "dependencies": {
33
- "@jgengine/core": "^0.42.0"
33
+ "@jgengine/core": "^0.44.0"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "convex": "^1.31.2",
@@ -6,7 +6,7 @@
6
6
 
7
7
  - `CHANGELOG` (const): const CHANGELOG: Record<string, ChangelogEntry> — Per-version engine changelog keyed by semver string (e.g. `"0.10.0"`).
8
8
  - `ChangelogEntry` (interface): interface ChangelogEntry — One release's migrate steps plus added/changed/removed notes (typed mirror of CHANGELOG.md).
9
- - `VERSION` (const): const VERSION: "0.42.0" — Installed `@jgengine/core` semver - compare against {@link CHANGELOG} keys when migrating.
9
+ - `VERSION` (const): const VERSION: "0.44.0" — Installed `@jgengine/core` semver - compare against {@link CHANGELOG} keys when migrating.
10
10
 
11
11
  ## @jgengine/core/authoring
12
12
 
@@ -285,7 +285,7 @@
285
285
 
286
286
  - `CHANGELOG` (const): const CHANGELOG: Record<string, ChangelogEntry> — Per-version engine changelog keyed by semver string (e.g. `"0.10.0"`).
287
287
  - `ChangelogEntry` (interface): interface ChangelogEntry — One release's migrate steps plus added/changed/removed notes (typed mirror of CHANGELOG.md).
288
- - `VERSION` (const): const VERSION: "0.42.0" — Installed `@jgengine/core` semver - compare against {@link CHANGELOG} keys when migrating.
288
+ - `VERSION` (const): const VERSION: "0.44.0" — Installed `@jgengine/core` semver - compare against {@link CHANGELOG} keys when migrating.
289
289
 
290
290
  ## @jgengine/core/runtime/adapter
291
291