| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-10-26 | docs: fix handle_error_with_catch_block typo | Felipe Cardozo | |
| 2025-10-17 | langref: Bump 0.15.1 to 0.15.2 | Ryan Liptak | |
| 2025-09-17 | langref: mention union support of `@fieldParentPtr` | rohlem | |
| 2025-09-07 | frontend: vectors and arrays no longer support in-memory coercion | Andrew Kelley | |
| closes #25172 | |||
| 2025-09-06 | Merge pull request #25163 from ziglang/packed-union-unused | Andrew Kelley | |
| forbid unused bits in packed unions | |||
| 2025-09-06 | langref: update "Choosing an Allocator" section | Andrew Kelley | |
| and delete "Implementing an Allocator" section because it is out of scope. | |||
| 2025-09-05 | langref: update for new packed union rules | Andrew Kelley | |
| 2025-08-21 | langref: update nav link | Andrew Kelley | |
| 2025-08-21 | langref: sync with zig-spec grammar.peg | Isaac Freund | |
| 2025-08-18 | Release 0.15.00.15.0 | Andrew Kelley | |
| 2025-08-17 | langref: add documentation for unions with inferred tag and explicit tag values | Justus Klausecker | |
| 2025-08-12 | Sema: Improve comptime arithmetic undef handling | Justus Klausecker | |
| This commit expands on the foundations laid by https://github.com/ziglang/zig/pull/23177 and moves even more `Sema`-only functionality from `Value` to `Sema.arith`. Specifically all shift and bitwise operations, `@truncate`, `@bitReverse` and `@byteSwap` have been moved and adapted to the new rules around `undefined`. Especially the comptime shift operations have been basically rewritten, fixing many open issues in the process. New rules applied to operators: * `<<`, `@shlExact`, `@shlWithOverflow`, `>>`, `@shrExact`: compile error if any operand is undef * `<<|`, `~`, `^`, `@truncate`, `@bitReverse`, `@byteSwap`: return undef if any operand is undef * `&`, `|`: Return undef if both operands are undef, turn undef into actual `0xAA` bytes otherwise Additionally this commit canonicalizes the representation of aggregates with all-undefined members in the `InternPool` by disallowing them and enforcing the usage of a single typed `undef` value instead. This reduces the amount of edge cases and fixes a bunch of bugs related to partially undefined vecs. List of operations directly affected by this patch: * `<<`, `<<|`, `@shlExact`, `@shlWithOverflow` * `>>`, `@shrExact` * `&`, `|`, `~`, `^` and their atomic rmw + reduce pendants * `@truncate`, `@bitReverse`, `@byteSwap` | |||
| 2025-08-11 | std.ArrayList: make unmanaged the default | Andrew Kelley | |
| 2025-07-31 | langref: improve `@import` documentation | mlugg | |
| Rewrite to be more clear and correct. Also, explain ZON imports. Resolves: #23314 | |||
| 2025-07-31 | Merge pull request #24537 from IOKG04/some-documentation-updates-0 | Matthew Lugg | |
| some small langref changes | |||
| 2025-07-30 | langref: clarify allowed atomic types | Kendall Condon | |
| Floats are not allowed in @cmpxchg Packed structs are allowed for all atomic builtins | |||
| 2025-07-28 | `.strong`, not `.Strong` | IOKG04 | |
| https://github.com/ziglang/zig/pull/24537#issuecomment-3124556900 | |||
| 2025-07-22 | `@rem()` and `@mod()` take `denominator != 0`, not just `denominator > 0` | IOKG04 | |
| https://github.com/ziglang/zig/issues/23635 I also added tests for `@rem()` with `denominator < 0` cause there were none before I hope I added them in the correct place, if not I can change it ofc | |||
| 2025-07-22 | error return traces are *not* enabled for ReleaseSafe | IOKG04 | |
| https://github.com/ziglang/zig/issues/24232 | |||
| 2025-07-20 | langref: upgrade grammar.y for asm clobber change | Kendall Condon | |
| 2025-07-07 | update standalone and incremental tests to new API | Andrew Kelley | |
| 2025-07-07 | remove `usingnamespace` from the language | Andrew Kelley | |
| closes #20663 | |||
| 2025-07-07 | remove `async` and `await` keywords | Andrew Kelley | |
| Also remove `@frameSize`, closing #3654. While the other machinery might remain depending on #23446, it is settled that there will not be `async`/ `await` keywords in the language. | |||
| 2025-06-12 | Allow more operators on bool vectors (#24131) | Daniel Kongsgaard | |
| * Sema: allow binary operations and boolean not on vectors of bool * langref: Clarify use of operators on vectors (`and` and `or` not allowed) closes #24093 | |||
| 2025-06-07 | langref: undefined _is_ materialized in all safe modes (#24107) | Alex Kladov | |
| * trailing whitespace * langref: undefined _is_ materialized in all safe modes I am also not super happy about the clause that immediately follows. I _believe_ what we want to say here is that, simultaneously: * undefined is guaranteed to be matrerialized in in all safe modes. A Zig implementation that elides `ptr.* = undefined` in ReleaseSafe mode would be a non-conforming implementation. * A Zig program that relies on undefined being materialized is buggy. But I don't think it's the time to engage this level of language-lawering! | |||
| 2025-05-23 | langref: update nav link for 0.14.1 | Andrew Kelley | |
| 2025-04-26 | langref: document @memmove | dweiller | |
| 2025-04-15 | langref: reword some packed struct text and example | Andrew Kelley | |
| 2025-04-15 | langref: packed struct documentation | kj4tmp@gmail.com | |
| 2025-03-27 | std.meta.FieldType -> @FieldType | Андрей Краевский | |
| 2025-03-06 | langref: update splat section | Kiëd Llaentenn | |
| 2025-03-04 | Release 0.14.00.14.0 | Andrew Kelley | |
| 2025-02-28 | Revert "Merge pull request #22898 from kristoff-it/deprecated-proposal" | Andrew Kelley | |
| This reverts commit dea72d15da4fba909dc3ccb2e9dc5286372ac023, reversing changes made to ab381933c87bcc744058d25a876cfdc0d23fc674. The changeset does not work as advertised and does not have sufficient test coverage. Reopens #22822 | |||
| 2025-02-26 | langref: update deprecated section | Andrew Kelley | |
| 2025-02-26 | langref: fix whitespace | Andrew Kelley | |
| 2025-02-26 | `@deprecated`: add suggested changes to langref entry | Loris Cro | |
| 2025-02-26 | `@deprecated`: add langref entry | Loris Cro | |
| 2025-02-22 | langref: document modules, root source files, etc | mlugg | |
| 2025-02-22 | langref: embrace the term "illegal behavior" | mlugg | |
| Also standardise the terms "safety-checked" and "unchecked". | |||
| 2025-02-22 | langref: improve description of `@fieldParentPtr` | mlugg | |
| 2025-02-07 | langref/errorset: Replace subset description with union | Frank Plowman | |
| The previous language using subsets was really just stating a couple of the properties of the union of a group of sets, and with a minor error at that. | |||
| 2025-01-29 | langref: clarify restricted `@memcpy` semantics | mlugg | |
| 2025-01-28 | langref: Document destructuring (#21627) | 87 | |
| 2025-01-26 | langref: fixes incorrect description of cmpxchg functions | isaac yonemoto | |
| 2025-01-26 | link to Tuples section in Hello World docs, and give an example of an empty ↵ | bsubei | |
| tuple | |||
| 2025-01-26 | langref: correct return type of comptime known bitcount ops | rpkak | |
| 2025-01-26 | fix typo in @typeName langref | kj4tmp@gmail.com | |
| 2025-01-26 | Add `zig std` to langref.html (#22360) | ExeVirus | |
| 2024-12-30 | langref: move pointer casting section out of volatile subsection | Andrew Kelley | |
| 2024-11-26 | revert langref section "common errdefer slip ups" | Andrew Kelley | |
| This does not belong in the language reference. reverts 91a88a789ffa80ebb57c77ae0fe37594276e3707 | |||
