The changelog is focused to be compared to 0.8-pre2
Warning
This is a pre-release for the upcoming 0.8
This release does not include all the changes that were planned to be inside of the 0.8 though it still has a lot of things.
This build requires the server to run either on dev or x86-64 as the public and prerelease branches are not supported and may crash.
Note
This update should solve the networking issues introduced by 0.8-pre2
This Update (may not include every single new thing)
- [+] Added a new modules luagc, nw2, crashhandler
- [+] Added steamworks.GetGameServerSteamID to the steamworks module.
- [+] Added HolyLib:OnLuaRunString hook to the holylib module.
- [+] Added HolyLib.GetEnvironmentValue (See #139) to HolyLib module.
- [+] Added a new hook HolyLib:OnClientTimeout & HolyLib:OnClientExecuteStringCommand to the gameserver module.
- [+] Added gameserver.GetCPUUsage (See #136) to the gameserver module.
- [+] Added JIT support to some C functions & to our __index and __newindex functions.
- [#] Fixed INetworkStringTable:GetStringUserData not fully pushing the userdata as a string
- [#] Changed internal code to use ArgError instead of ThrowError where possible to improve Lua errors when invalid function arguments are given
- [#] Removed dependency on bass allowing HolyLib to be loaded on Windows srcds
- [#] Fixed LuaJIT breaking with FTZ & DAZ XMCSR flags
- - Our LuaJIT build will now save, override and restore the flags when entering and exiting the VM
- [#] Fixed our FFI Vector & Angle implementations failing to handle input strings
- [#] Fixed our FFI Vector's :GetNormalized function returning a number instead of a vector (See #130)
- [#] Improved thread safety for lua state access
- [#] Fixed workshop map being prioritied over local map version (See #138)
- [#] Fixed our LuaJIT build failing to call gmod13_unload when closing a module (See #140)
- [-] Removed GM:PlayerCanHearPlayersVoice optimization as it was implemented into GMod
You can see all changes/commits here:
Release0.8-pre2...main
Existing Lua API Changes
- [#] Changed HttpServer:[Get/Put/Post/OtherShit] callback return value to be flipped, return false to mark a request as NOT handled, return true to mark it as handled
- [#] Fixed networking module partially not working without the pvs module - it internally had depended on it.
- [#] Fixed stringtable.CreateStringTable and stringtable.CreateStringTableEx both failing to catch the case in which all stringtable slots were used leading to a server error/shutdown.
- [#] Changed callback arguments of HttpServer:[Get/Put/Post/Patch/Delete/Options] to remove the response.
- -> The HttpRequest now contains all methods of the HttpResponse so you should use the request directly! (This was done to help the Lua GC a bit & slightly improve callback performance)
- [#] Fixed pvs.GetEntitiesFromTransmit failing internally due to it using the wrong value