github odin-lang/Odin dev-2025-09

latest release: dev-2025-10
one month ago

New Language Features

  • Native support for UTF-16 strings: string16 and cstring16
    • Mostly for interfacing with Windows code, and other foreign code
  • Define Integer Division By Zero #5556

New Compiler Improvements

  • @(init) and @(fini) must be proc "contextless" ()
  • Implement intrinsics.objc_block @harold-b in #5547
    • Implements the Apple block ABI.2010.3.16 natively
  • Improve deference missing suggestion message
  • Do not check for explicit allocators when determining proc in proc group by @janga-perlind in #5564
  • Skip errors on polymorphic procs when in a proc group with other options
  • Fix compiler segfault when trying to use proc at type level or trying to use () as a type

New Packages

Package Improvements

  • Fixes to vendor:darwin/Metal
  • Numerous minor fixes to base:runtime
  • Improvements to base:runtime docs
  • Fixes to vendor:wasm/WebGL bindings
  • Cleanup in math/rand and runtime/random_generator
  • Add missing xlib functions for getting and setting text properties
  • vendor:OpenGL fix misnamed parameter by
  • Make D3D12_FEATURE_DATA_D3D12_OPTIONS.MinPrecisionSupport a bitset
  • Fix buddy allocator assert
  • Check for EOF when scanning file tags
  • Fix stride in memory_equal/compare_zero giving false positves
  • Split SDL_ttf bindings to group with and without require_results
  • Propogate #caller_location to core:container/queue procs
  • Support using allocator resize in _reserve_soa
  • Zero existing memory when using resize_soa
  • Add add/remove_document_event_listener() to core:sys/wasm/js
  • Fixed and added obj-c methods for NSWindow
  • fix typo in CLSIDFromProgIDEx signature
  • Fix broken wglUseFontBitmaps binding
  • Add LPFN_GETACCEPTEXSOCKADDRS to ws2_32.odin
  • Specify %m and %M as verbs for integer formatting in core:fmt
  • Add @(require_results) attribute to procs returning an allocator
  • Handle allocator error when appending in read_entire_file_from_file
  • vendor:box2d fix CreateMotorJoint procedure signature
  • Add build tags to posix/spawn.odin

Full Changelog: dev-2025-08...dev-2025-09

Don't miss a new Odin release

NewReleases is sending notifications on new releases.