Lua Changelog

Ok, sorry another big breaking Lua API change. Since Lua seemed to use the snake_case convention for APIs, that’s what I opted for in SilverBullet as well. However, this wasn’t sustainable due to interoparability with internal APIs (syscalls specifically). I’ve also since found out that many bigger Lua frameworks use camelCasing as well. Therefore I decided to rip the bandaid and expose all syscalls and update all predefined APIs to use camelCase now as well.

This will be live on the Edge soon and will likely break some of your stuff if you rely on some syscalls with underscores in the name. Sorry about that, but I felt it needed to be done.

As soon as this goes live, silverbullet.md will have all docs and examples updated (to the best of my ability).

5 Likes