2.0.0-rc.6 (2024-10-03)
Features
- add
rivet backend generate-sdk
command (#548) (b10140e) - add editor (#390) (101d476)
- add process manager for game server & opengb dev server (#349) (e1d2369)
- backend: add better godot module request logging (#514) (9d83741)
- backend: add openapi gen command (#401) (08d106c)
- backend: add project lock to prevent concurrent actions (#454) (056d232)
- backend: allow specifying registry with "github" shorthand & add default local registry (#389) (6daed07)
- backend: generate typescript sdk (#520) (daae06d)
- backend: report alarm errors in actors (#527) (e072ac6)
- cli: add
rivet config data-path
command to inspect internal data (#541) (5a80398) - scroll to currenlty selected module (#510) (c4b5646)
- toolchain: add get-current-version and get-endpoint commands (#549) (294b466)
- toolchain: dispatch backend config update events (#397) (4b5eee8)
- toolchain: fetch current build in bootstrap data (#519) (2bf993a)
- update favicon (#485) (38dcf9d)
Bug Fixes
- actor: clear timeouts on memory actor on destroy (#407) (e047ffa)
- add html5 example (#538) (04d293b)
- backend-embed: force executable permissions on vendored packages (#482) (c6fa1ec)
- backend: add compat for calling yarn on windows in build_artifacts.ts (#414) (cf3342d)
- backend: add deno.jsonc to both generated output & local project (#452) (3d567b3)
- backend: apply not getting ran (#366) (214df69)
- backend: correct windows paths for esbuild nodejs polyfills (#436) (30831a2)
- backend: correctly auto-generate local registry (#394) (3d271ae)
- backend: correctly handle relative path from drizzle db config -> db migrations (#423) (d02038d)
- backend: failing ProjectOpts.path type check with cli (#455) (03e2dca)
- backend: fix
Could not find package ID for importer
(#464) (a98076d) - backend: fix apply migration file globs not working on windows (#532) (18bfd83)
- backend: fix conflicting dev & deploy by running them in different contexts (#477) (4ebdc90)
- backend: fix generated relative migrations path (#437) (6924340)
- backend: fix incorrect status/stop commands (#420) (2ddd474)
- backend: fix module.gen.ts import ordering to prevent "cannot access xxxx before initialization" error (#373) (df04fa3)
- backend: fix reading stderr output in build script (#515) (0acc2a1)
- backend: force posix paths for artifacts (#418) (3a75bd3)
- backend: generate correct actor driver path (#362) (2050694)
- backend: handle sigint and sigbreak correctly to run shutdown (#456) (1c02121)
- backend: register missing create commands (#372) (8c59e76)
- backend: remove use of locks on configManifestPath, configOutputManifestPath, and configShow (#466) (85a57c3)
- backend: type using [email protected] instead of 0.33 (#376) (c26d53c)
- backend: use deep hash of backend for cache purging (#388) (21ff88f)
- change docs link (#509) (2c35c7d)
- cli: module list is now correct (#363) (30cebad)
- deno-embed: build script (#424) (c2b347d)
- deno-embed: fix aarch64 target name (#471) (65eee2f)
- deno-embed: fix deno target on windows (#415) (e0890c7)
- deno-embed: windows support (#378) (99f0ce8)
- force lockfile to generate in data dir instead of project dir (#545) (da314bc)
- re-enable cross platform builds (#551) (2a6316f)
- replace rename -> copy in build script (#542) (b7c9689)
- toolchain: add windows dep (#379) (a3da2e0)
- toolchain: compilation error on linux (#525) (6673b93)
- toolchain: explicitly handle utf8 error (#446) (c2c6b92)
- toolchain: fix killing old pid & abort log handles for process manager (#523) (89d0469)
- toolchain: fix odd compilation error for godot (#346) (88fb160)
- toolchain: fix Postgres::start error on windows (#531) (056b4d3)
- toolchain: fix task manager compilation for windows (#530) (e0d1325)
- toolchain: fix zombie processes & term window popups on windows (#473) (4b63f78)
- toolchain: force kill existing pid for process manager not stopped cleanly (#506) (24ff721)
- toolchain: force kill full process tree in process manager (#507) (b685ff7)
- toolchain: handle progress manager signals correctly on windows (#430) (f6fc52d)
- toolchain: handle unix zombie processes correctly in process manager (#425) (4b5df8c)
- toolchain: include backend dir relative to manifest dir (#356) (efa1964)
- toolchain: only inject DATABASE_URL to backend if not already provided (#481) (6a6d790)
- toolchain: prevent command popups on windows (#422) (c0850f5)
- toolchain: read output & project manifests without depending on script (#478) (f1c14b2)
- toolchain: remove unix import on windows targets (#484) (8123c0d)
- toolchain: remove use of libproc on macos in favor of pkill (#536) (7582b7e)
- toolchain: suppress window creation when running cmd on windows (#348) (29ba978)
- toolchain: tail logs using cancel-safe line iter (#448) (7c5a5e7)
- toolchain: update path to output manifest (#438) (5e84923)
Documentation
Code Refactoring
Continuous Integration
Chores
- 🤫 (#504) (d086ad2)
- add back hidden task command (#371) (cff8007)
- add build_cross & release script (#543) (26606fe)
- add docs to cli (#354) (41cbc0a)
- add more info to readme (#555) (36d4541)
- add new install instructions (#554) (b06f621)
- allow non-existent local registry dirs (#395) (c8d6899)
- auto-build backend artifacts in build.rs (#359) (3143ad9)
- auto-generate sdk on build (#382) (fc21e59)
- auto-pick editor port (#391) (265a2ad)
- backend-embed: output deno logs (#393) (fecda97)
- backend: add global opts to backend command wrappers (#406) (8f523bf)
- backend: add message on migrate command (#364) (f1c34be)
- backend: add postgres connection timeout (#474) (5b100aa)
- backend: add releasing project (#458) (736d94c)
- backend: allow sdk overriding (#387) (e7c8dc1)
- backend: auto-generate deno.jsonc to modules directory (#462) (f2a0cd0)
- backend: bump modules (#439) (7594640)
- backend: cleanly handle errors in cli (#365) (3a895e8)
- backend: connect all abort controllers to shutdown (#459) (d4b774c)
- backend: cut embed size by ~75% (#544) (f90ffb6)
- backend: default to strict schemas in tests (#408) (c740d61)
- backend: fix unable to resolve cloudflare:workers dependency (#451) (ecadb0c)
- backend: fmt (#534) (5b5fb26)
- backend: remove .gitignore now that cache path is not src dir (#457) (b9b3d92)
- backend: remove archived json in favor of reading from fs (#512) (c6dcb83)
- backend: simplify cli task running (#476) (c1b27d5)
- backend: skip logging progress for steps that take very little time (#461) (14c3858)
- backend: template enum values in to command help (#435) (35a3d41)
- backend: update default modules (#522) (96cb495)
- backend: update modules (#409) (5c0981e)
- backend: vendor dependencies (#450) (4c5fbd5)
- bind clap commands to backend commands (#353) (5d3281a)
- clean up build artifacts script (#358) (8cedb29)
- clean up html5 demo (#550) (7dee61a)
- deno-embed: embed deno in toolchain (#374) (2b4e24b)
- deno-embed: support aarch toolchain (#469) (1f16bc6)
- editor: replace opengb logo with rivet logo (#410) (7a87f0c)
- embed backend source (#351) (ca8fd05)
- ffi: update to latest task format (#381) (b24b82e)
- fix relative migrations path on macOS with realDir (#440) (91ef488)
- fix test command (#367) (b15e4b3)
- force lf line endings from git (#417) (a8e0079)
- merge backend in to toolchain (#350) (c398a2f)
- migrate from global-error -> anyhow (#355) (1a972be)
- move args to postitional for create commands (#370) (560260f)
- move cache to global dir (#384) (6267235)
- move output events to custom event handler fn (#343) (3c5acb0)
- move task logic to cli (#345) (c014583)
- postgers: add connectable status check (#421) (426677c)
- postgres: cleanly handle unconnectable database (#419) (801c416)
- prefix all env vars with
RIVET_*
(#392) (5cf04b3) - preserve generated files in sdk output (#547) (f65a267)
- process-runner: fix warnings (#434) (e297d34)
- process-supervisor-embed: bump cargo nightly version (#416) (5928592)
- refactor opengb cli commands to take json input (#352) (774136f)
- release 2.0.0-rc.6 (b1aabde)
- remove required flags for repeated module args (#368) (751b957)
- remove sdk gen task (#386) (ac0386e)
- remove stty check since dev is now intended to be able to run without a tty (#396) (1d265b6)
- remove uses of "opengb" (#383) (dae11fd)
- rename backend meta.json -> project_manifest.json (#399) (43a0e93)
- rename backend_source_path -> source_path (#360) (ef9724a)
- rename backend.json -> rivet.json (#385) (a89f7fa)
- rename manifest.json -> output_manifest.json (#398) (5735aa0)
- simplify backend_source_path setting (#357) (b523dad)
- switch from openssl -> rustls (#347) (d082651)
- toolchain-ffi: prefix ffi with rivet_ for windows naming conflicts (#413) (da30e19)
- toolchain: add ability to hook to existing process manager tasks & clean up backend port choosing (#375) (0cccf30)
- toolchain: add mutex lock on meta file to prevent race conditions when writing (#404) (c259044)
- toolchain: add project-specific meta.json files (#405) (c00eb72)
- toolchain: expliciltly handle runner errors in process manager (#427) (89797ac)
- toolchain: expose sdks in event (#453) (5a5f09d)
- toolchain: fix build pipeline in ci (#442) (5144a5d)
- toolchain: fix no backend output on windows (#433) (7599ba8)
- toolchain: fix warnings (#479) (ffe05de)
- toolchain: impl killing process tree on unix (#431) (29477a5)
- toolchain: most postgres logic from backend to toolchain (#475) (fef96e2)
- toolchain: prevent running postgres as root user to prevent broken state (#539) (43515ff)
- toolchain: remove extra logging (#468) (c57befe)
- toolchain: remove requirement to be signed in for toolchain tasks (#503) (ffff590)
- toolchain: remove unused get_hub_link task (#465) (0c40acc)
- toolchain: rename process supervisor -> process-runner (#426) (d2336b7)
- toolchain: reorg project_manifest (#516) (acb109d)
- toolchain: split up os-specific process manager code (#505) (b2c0388)
- toolchain: update default dockerfile path to game_server.Dockerfile (#463) (27a4dfd)
- toolchain: update project path name to include file name for easier reference (#540) (03af1d9)
- toolchain: use merkle tree for backend hash (#513) (8ae5e86)
- update godot sdk to rivet modules (#377) (2c0fe9e)
- update html5 tutorial to use packages (#546) (7d2b711)
- update modules (#537) (2db8a30)
- update readme (#369) (9dc2da0)
- update release please (44a8ea1)
- update unity codegen to native deno (#403) (dc31592)
- upgrade backend tasks to use new command interface (#361) (4615f7f)
- use dynamic deno executable path (#402) (f1dc38d)
- vendor deno dependencies (#449) (5f259ba)