All Versions
Latest Version
Avg Release Cycle
166 days
Latest Release

Changelog History
Page 1

  • v2.5.3.1 Changes

    • Constructors exported for ModalLocation, SurfacePixelFormat, AudioSpec.
    • โž• Added getWindowBordersSize.
    • โž• Added SDL.Input.Mouse.createSystemCursor.
  • v2.5.3.0 Changes

    November 02, 2020
    • Correct the Storable instance for SDL.Raw.Types.Event to correctly convert SDL_CONTROLLERAXISMOTION to a ControllerAxisEvent (it was previously ControllerButtonEvent). See for more details.
  • v2.5.2.0 Changes

    April 16, 2020
  • v2.5.1.0 Changes

    February 04, 2020
    • ๐Ÿ‘Œ Support linear-1.21
  • v2.5.0.0 Changes

    June 11, 2019
    • ๐Ÿ”– Version 2.0.6 of the SDL2 C library is now required.

    • โž• Added Vulkan support. See SDL.Video.WindowGraphicsContext data type and SDL.Video.Vulkan module.

    • ๐Ÿ‘Œ Support StateVar < 1.3

  • v2.4.1.0 Changes

    June 29, 2018

    ๐Ÿ‘€ More SDL functions no longer allocate. See #179 and #178. Thanks to @chrisdone for this work.

    ๐Ÿ›  Fixed an off-by-one bug in SDL.Input.Mouse.getMouseButtons. See #177 for more information. Thanks to @Linearity for identifying and fixing this bug.

  • v2.4.0 Changes

    March 11, 2018
    • getRelativeMouseLocation now returns Vector instead of Point.
    • getModalMouseLocation returns either a Vector or a Point, wrapped in (new) ModalLocation.
    • ๐Ÿ WindowSizeChangedEventData includes the new window size.
    • โž• Added an invalid state to the ControllerButtonState enum, and switched to a more reliable state detection method.
    • Raise upper bounds for exceptions to <0.10
  • v2.4.0.1 Changes

    March 11, 2018
    • Raise upper bounds for exceptions to <0.11
  • v2.3.0 Changes

    August 16, 2017
    • Windows builds now use -D_SDL_main_h. See for more discussion.
    • ๐Ÿ‘€ Some basic support for game controller events have been added. See SDL.Input.GameController and changes to ControllerDeviceEventData.
    • ๐Ÿ‘Œ Support for event watching: addEventWatch and delEventWatch.
    • High-level bindings now distinguish between finger down / motion / up. See SDL.Event.TouchFingerEvent and SDL.Event.TouchFingerMotionEvent.
    • ๐Ÿ›ฐ Several event payloads now have their Window fields modified to use Maybe Window, substituting Nothing for null pointers.
    • High-level structure for controller button state: ControllerButtonState.
    • High-level structure for controller buttons: ControllerButton.
    • High-level structure for controller connection: ControllerDeviceConnection.
    • High-level structure for joystick device connection: JoyDeviceConnection.
    • High-level structure for joystick button state: JoyButtonState.
    • ๐Ÿ‘Œ Support for user defined events: registerEvent, pushRegisteredEvent, and getRegisteredEvent.
    • ๐ŸŽ‰ Initial window visibility can be specified in WindowConfig for createWindow function.
    • WarpMouseOrigin is now fully exported and can warp to global coordinates.
    • It's possible to retrieve palette information with paletteNColors, paletteColors and palletColor.
  • v2.3.0.1

    February 26, 2018