dev-2024-06
版本发布时间: 2024-06-04 19:20:06
odin-lang/Odin最新发布版本:dev-2024-09(2024-09-02 23:33:25)
New Language Features
-
intrinsics.type_is_matrix_row_major
+intrinsics.type_is_matrix_column_major
-
#hash(<string>[, algo])
-
@(link_suffix=<string>)
Compiler Improvements
- New NetBSD target support
- Experimental
orca_wasm32
target support - Documentation tests fixed and re-enabled
- Fix
>=
for strings, add test for string comparisons - Suggest
-all-packages
if testing an empty directory -
core:intrinsics
->base:intrinsics
-
..
range is now an error. Use..<
or..=
- Reimplement
-build-mode:static
/-build-mode:lib
- Strictly enforce
switch &x in y
semantics and fixfor &v in &fixed_array
- Fix
intrinsics.ptr_sub
- Fix indexing type when using a
#row_major
matrix - Remove constant indexing for
matrix
value propagation - Improve error messages and their suggestions
- Delay checking
foreign import
paths until the global scope is checked
New Packages
-
core:container/rbtree
-
core:encoding/ini
-
core:crypto/aes
Package Improvements
- Fix some edge cases and oversights for
bit_field
- Fix
read_directory
skipping directories on Unix-likes - Add default heap/general purpose allocator for WASM
- Fix and improve
i18n
.mo plurals - Correctly load/store uint & int for wasm64p32
- Fix bug in
QOI
encoder + decoder - Fix the way
%32b
and other prefixed numbers are written` - Improve
fmt
parsing of struct field tags -
vendor:microui
gained textbox selection, cut, copy and paste - Add a custom iterator to
CSV
package. - Allow space as allowed separator to RFC 3339 parser
- Add abbreviated ISO 8601 parser
- Lots and lots of bugfixes
Packages deprecated
-
core:odin/printer
andcore:odin/format
have been removed in favor of using OLS
Full Changelog: https://github.com/odin-lang/Odin/compare/dev-2024-05...dev-2024-06
1、 odin-macos-amd64-dev-2024-06.zip 74.99MB
2、 odin-macos-arm64-dev-2024-06.zip 71.95MB
3、 odin-ubuntu-amd64-dev-2024-06.zip 69.58MB
4、 odin-windows-amd64-dev-2024-06.zip 111.14MB