Skip to content

dev-2024-05

Compare
Choose a tag to compare
@gingerBill gingerBill released this 10 May 15:15
· 2510 commits to master since this release

New Language Features

Compiler Improvements

  • odin root command
  • Normalize ODIN_ROOT path
  • Improvements to arm64 ABI for returning 0 sized types
  • Allow compiling with LLVM 18 (non-Windows targets)
  • Fix linking with clang-18
  • Fix wrote llvm-config in build script for FreeBSD
  • Change layout of compiler (not language) hash maps for minor performance improvements
  • Numerous improvements to catch the possible race conditions with the new error reporting system
  • Allow -default-to-nil-allocator on wasm targets
  • Allow @(init) procs to be @(disabled)
  • Performance improvements for access and storing fields from a bit_field type
  • Minimally support compiling Odin on FreeBSD arm64
  • Improved target feature support
  • Improved -microarch support with list of possible micro-architectures.=

New Packages

  • core:sys/darwin/CoreFoundation
  • core:sys/darwin/Security
  • core:encoding/cbor

Package Improvements

  • General bug fixes
  • General documentation improvement (typos and doc.odin fixes)
  • core:net Add support for URL fragments
  • Fix big.internal_random_prime with Second_MSB_On
  • Fix vendor:d3d12 calling convention mistakes
  • Fix to Fisher-Yates shuffle in core:rand
  • Fix core:text/i18n default number value in get_*_section
  • Fix #soa %#v formatting
  • Fix %e formatting
  • Fix %[N].*[M]v style formatting
  • Improvements to Negative_Read/Negative_Write logic for core:io
  • Fix omitempty in json.marshal
  • Improved statistics for core:mem/Tracking_Allocator
  • Require results for non-buffered print procs
  • core:sys/info: add arm feature detection, fix Linux implementation, show more CPU info on Darwin
  • Fix vendor dynamic libraries not working on Linux
  • Fixes to core:encoding/json invalid JSON when an error does not have a position
  • Add slice.enum_slice_to_bitset & slice.bitset_to_enum_slice
  • Add DXGI 1.5 & 1.6 APIs
  • Update d3d12 API
  • Refactor fmt.wprintf
  • Fix core:odin/parser crashing on empty and/or no package files

Full Changelog: dev-2024-04a...dev-2024-05