go-sdl2 v0.4.4 Release NotesRelease Date: 2020-05-11 // 10 months ago
No data yet 😐
You can check the official repo
Previous changes from v0.4.0
🚀 It's almost Chinese New Year so the author decided to hold back no more for this
go-sdl2release! It will also make for a nice checkpoint for people to settle into while it is developed for the next release.
⚡️ Updated to SDL2 2.0.10!
🚀 This version brings most of the bindings from SDL2 2.0.6 to the latest version SDL2 2.0.10! They are the ones that are noted in the SDL2 release announcement posts with the exception of some system specific functions (such as Android, WinRT, etc..). More support for those system-specific functions may come within patch version updates! If anything needed is missing, we'd very much appreciate a report via Github issue so we can add it!
Complementary website for SDL2
📦 The website has also been in the works to become the hub that provides a more curated and centralized way of sharing how certain things are done using SDL2! It is meant as a complementary website in addition to the official one because the official one focuses more on C and lower-level usage. At the moment, this complementary website is focused on
go-sdl2as it is the only package the author is familiar with the C version being the next step. The main meat of the website is the basic, snippet-based tutorials, project-based tutorials, and external resources. The homepage shall serve as status report that relates to SDL2 development in general. Requests for SDL2-related tutorials are welcome via issues on Github!
🏗 Static build support with Go Module system
🏗 Prior to v0.4.0, the static libraries weren't fetched as they were in a submodule. However, they have now been merged into the repository instead. This fixes static and/or cross-platform build when using the new Go Module system as it didn't fetch the (previously) sub-module go-sdl2-libs. While this may increase the Git repository size, it shouldn't affect its size as a Go Module dependency as the Git history is not included.
👍 Vulkan support and compatibility with vulkan-go
🏗 Quieter builds
go-sdl2 v0.3.x, there would be warnings that are printed during build when it has functions that are not supported by the older SDL2. In
v0.4.x, the warnings have been disabled by default. However, if user wants to enable it, they can set the
-DWARN_OUTDATED. An example is:
🚀 In addition, there is also plenty of fixes in this release and stability of API is even more enforced from here onwards!
CGO_CPPFLAGS=-DWARN_OUTDATED go get -v github.com/veandco/go-sdl2/sdl