New
Release 0.26.0
Release 0.26.0
Mainly an update to match bevy's 0.18 release.
Breaking changes
LocalTimelineis now a resource; since there can only be one per App (because it modifies bevy'sTimeresource)NetworkVisibilityy::gain_visibilityandNetworkVisibility::lose_visibilitymethods have now been added on the ReplicationState and removed from the NetworkVisibility component. NetworkVisibility is now a marker component.
What's Changed
- Feat: Fix toml error double bevy_state import + fix lints by @Sirmadeira in https://github.com/cBournhonesque/lightyear/pull/1309
- Feat: Fix spawmy log by @Sirmadeira in https://github.com/cBournhonesque/lightyear/pull/1313
- Feat: Taplo format could add CI if approved by @Sirmadeira in https://github.com/cBournhonesque/lightyear/pull/1310
- chore(deps): update ron requirement from 0.10 to 0.12 by @dependabot[bot] in https://github.com/cBournhonesque/lightyear/pull/1308
- Feat: Readition of lightyear serde features by @Sirmadeira in https://github.com/cBournhonesque/lightyear/pull/1312
- chore: add docs for ServerMultiMessageSender by @cBournhonesque in https://github.com/cBournhonesque/lightyear/pull/1315
- fix: fix incorrect handling of message acks by @cBournhonesque in https://github.com/cBournhonesque/lightyear/pull/1316
- fix: fix assertion message by @YichiZhang0613 in https://github.com/cBournhonesque/lightyear/pull/1317
- Fix: Fragment ACKs Not Being Processed, Causing Excessive Retransmissions by @OlivierCoue in https://github.com/cBournhonesque/lightyear/pull/1318
- fix: keep InputTimeline in sync with LocalTimeline by @Avilad in https://github.com/cBournhonesque/lightyear/pull/1320
- chore: fix ci by @cBournhonesque in https://github.com/cBournhonesque/lightyear/pull/1321
- fix: update Position of child colliders correctly for avian by @cBournhonesque in https://github.com/cBournhonesque/lightyear/pull/1323
- chore: add test for AvianMode::Transform by @cBournhonesque in https://github.com/cBournhonesque/lightyear/pull/1324
- feat: used 16.16 fixed-point types for tick math by @Avilad in https://github.com/cBournhonesque/lightyear/pull/1322
- chore: fix docs for DisableReplicateHierarchy by @cBournhonesque in https://github.com/cBournhonesque/lightyear/pull/1326
- chore(deps): bump actions/checkout from 4 to 6 by @dependabot[bot] in https://github.com/cBournhonesque/lightyear/pull/1327
- feat: introduce a default ReplicationGroup by @cBournhonesque in https://github.com/cBournhonesque/lightyear/pull/1330
- fix: always do a full resync on the first resync attempt by @cBournhonesque in https://github.com/cBournhonesque/lightyear/pull/1333
- feat: separate InputTimelineConfig from InputTimeline by @cBournhonesque in https://github.com/cBournhonesque/lightyear/pull/1334
- feat(websocket): add configurable URL scheme for WebSocket client by @kualta in https://github.com/cBournhonesque/lightyear/pull/1335
- Refactor lightyear_metrics and add benchmark for allocations by @cBournhonesque in https://github.com/cBournhonesque/lightyear/pull/1337
- feat: improve authority transfer behavior by @cBournhonesque in https://github.com/cBournhonesque/lightyear/pull/1338
- fix: fix distributed authority example by @cBournhonesque in https://github.com/cBournhonesque/lightyear/pull/1339
- chore(deps): update criterion requirement from 0.6 to 0.8 by @dependabot[bot] in https://github.com/cBournhonesque/lightyear/pull/1340
- fix: make sure that BEI rebroadcast even in the user has a non-starte… by @cBournhonesque in https://github.com/cBournhonesque/lightyear/pull/1329
- chore: add test for replicating component removes without replicating by @cBournhonesque in https://github.com/cBournhonesque/lightyear/pull/1341
- chore: add bin in lightyear_test for profiling by @cBournhonesque in https://github.com/cBournhonesque/lightyear/pull/1343
- Expose NetworkVisibility::is_visible by @rherv in https://github.com/cBournhonesque/lightyear/pull/1344
- Optimize replication logic by avoiding copies of the same data by @cBournhonesque in https://github.com/cBournhonesque/lightyear/pull/1345
- Add justfile for profiling commands by @cBournhonesque in https://github.com/cBournhonesque/lightyear/pull/1349
- fix(replication): use correct mode in handle_connection to set per-sender predicted/interpolated by @rherv in https://github.com/cBournhonesque/lightyear/pull/1358
- feat: make LocalTimeline a resource by @cBournhonesque in https://github.com/cBournhonesque/lightyear/pull/1359
- fix tests and cargo fmt by @cBournhonesque in https://github.com/cBournhonesque/lightyear/pull/1360
- fix: lightyear_metrics optional dep for std feature by @philpax in https://github.com/cBournhonesque/lightyear/pull/1362
- feat(replication): add ReplicationState::is_visible helper by @rherv in https://github.com/cBournhonesque/lightyear/pull/1366
- fix(reflect): add ReflectDefault to PreSpawned for scene deserialization by @kualta in https://github.com/cBournhonesque/lightyear/pull/1367
- remove f32 bound on avian by @cBournhonesque in https://github.com/cBournhonesque/lightyear/pull/1371
- feat(websocket): add target_url support for hostname connections by @kualta in https://github.com/cBournhonesque/lightyear/pull/1370
- Fix common example code causing compilation error (websockets conf) by @ThierryBerger in https://github.com/cBournhonesque/lightyear/pull/1374
- Add reason to disconnected status by @ThierryBerger in https://github.com/cBournhonesque/lightyear/pull/1377
- chore: upgrade to bevy 0.18 by @cBournhonesque in https://github.com/cBournhonesque/lightyear/pull/1386
- chore: release lightyear 0.26 by @cBournhonesque in https://github.com/cBournhonesque/lightyear/pull/1387
New Contributors
- @YichiZhang0613 made their first contribution in https://github.com/cBournhonesque/lightyear/pull/1317
- @rherv made their first contribution in https://github.com/cBournhonesque/lightyear/pull/1344
- @ThierryBerger made their first contribution in https://github.com/cBournhonesque/lightyear/pull/1374
Full Changelog: https://github.com/cBournhonesque/lightyear/compare/0.25.5...0.26.0