2026-03-08 23:12:54 -07:00
|
|
|
# Changelog
|
|
|
|
|
|
2026-03-10 21:07:22 -07:00
|
|
|
## [0.9.0] - 2026-03-10
|
|
|
|
|
|
|
|
|
|
### Added
|
|
|
|
|
- **Sensor bodies**: `create_sensor_circle`, `create_sensor_rect`, `get_sensor_overlaps`, `is_sensor`
|
|
|
|
|
- **Revolute joints**: `create_revolute_joint`, `set_joint_motor`, `set_joint_motor_position`
|
|
|
|
|
- **Prismatic joints**: `create_prismatic_joint`, `set_prismatic_limits`, `set_prismatic_motor`
|
|
|
|
|
- **Collision events**: `enable_contact_events`, `clear_collision_events`
|
|
|
|
|
- **Body sleeping**: `sleep_body`, `wake_body`, `is_sleeping`
|
|
|
|
|
- **Rope joints**: `create_rope_joint` (max distance constraint)
|
|
|
|
|
|
|
|
|
|
### Fixed
|
|
|
|
|
- `apply_force()` → `add_force()` (Rapier2D API)
|
|
|
|
|
- Pattern binding in `get_bodies_by_tag()`
|
|
|
|
|
- All dead code warnings suppressed
|
2026-03-08 23:12:54 -07:00
|
|
|
|
2026-03-10 21:07:22 -07:00
|
|
|
### Test Coverage
|
|
|
|
|
- **49 tests** (was 35)
|
2026-03-08 23:12:54 -07:00
|
|
|
|
2026-03-10 21:07:22 -07:00
|
|
|
### Joint Family
|
|
|
|
|
| Type | ID | Functions |
|
|
|
|
|
|------|---:|-----------|
|
|
|
|
|
| Spring | 0 | `create_spring_joint` |
|
|
|
|
|
| Fixed | 1 | `create_fixed_joint` |
|
|
|
|
|
| Revolute | 2 | `create_revolute_joint`, `set_joint_motor`, `set_joint_motor_position` |
|
|
|
|
|
| Prismatic | 3 | `create_prismatic_joint`, `set_prismatic_limits`, `set_prismatic_motor` |
|
|
|
|
|
| Rope | 4 | `create_rope_joint` |
|
|
|
|
|
|
|
|
|
|
## [0.5.0] - 2026-03-09
|
feat(compiler): v0.4 + v0.5 — CLI modularity, diagnostic pipeline, test suite
v0.4 — CLI Modularity:
- Split monolithic main.rs (2,038 lines) into 8 command modules + slim dispatch (107 lines)
- Add 12 JS codegen tests (signals, derived, views, events, loops, match, enums, components, interpolation, springs, tree-shaking)
v0.5 — Diagnostic Quality + Analyzer Confidence:
- Add From<ParseError> for Diagnostic (E0001) in ds-diagnostic
- Add errors_as_diagnostics() to TypeChecker (E0100–E0110)
- Wire Elm-style diagnostics through dreamstack check and build commands
- Switch incremental compiler to parse_program_resilient() for multi-error collection
- Add 12 analyzer tests (chains, fan-out, diamond deps, empty programs, conditionals, handlers, views)
- Add 2 diagnostic conversion tests
Test suite: 97 → 123 tests (26 new, 0 failures)
2026-03-10 09:09:02 -07:00
|
|
|
|
2026-03-10 21:07:22 -07:00
|
|
|
- Initial release
|