New Language Features
- Native support for UTF-16 strings:
string16andcstring16- Mostly for interfacing with Windows code, and other foreign code
- Define Integer Division By Zero #5556
New Compiler Improvements
@(init)and@(fini)must beproc "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:runtimedocs - Fixes to
vendor:wasm/WebGLbindings - Cleanup in
math/randandruntime/random_generator - Add missing xlib functions for getting and setting text properties
vendor:OpenGLfix 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_zerogiving false positves - Split SDL_ttf bindings to group with and without require_results
- Propogate
#caller_locationto core:container/queue procs - Support using allocator resize in
_reserve_soa - Zero existing memory when using
resize_soa - Add
add/remove_document_event_listener()tocore:sys/wasm/js - Fixed and added obj-c methods for
NSWindow - fix typo in
CLSIDFromProgIDExsignature - Fix broken
wglUseFontBitmapsbinding - Add
LPFN_GETACCEPTEXSOCKADDRSto ws2_32.odin - Specify
%mand%Mas verbs for integer formatting incore:fmt - Add
@(require_results)attribute to procs returning an allocator - Handle allocator error when appending in
read_entire_file_from_file vendor:box2dfixCreateMotorJointprocedure signature- Add build tags to
posix/spawn.odin
Full Changelog: dev-2025-08...dev-2025-09