Skip to content

v0.23.57

Choose a tag to compare

@Goldziher Goldziher released this 09 Jun 07:36
· 392 commits to main since this release
v0.23.57
00c30b1

Fixed

  • napi service-wrapper direct-register method now emits in lowerCamelCase, not snake_case. JavaScript classes use lowerCamelCase method names, but the wrapper was emitting register_<method> straight from the IR's snake_case identifier — consumers calling app.registerRoute(builder, handler) hit TypeError: app.registerRoute is not a function at runtime because the wrapper exposed register_route instead. The constructed name is now piped through heck::to_lower_camel_case, matching what the napi backend already does for native function emission (Round 4 snake→camel conversion). Regression test pins the expected registerAddHandler shape and verifies the snake_case form does not survive into the emitted class.