dmd/changelog
2025-04-12 11:55:36 +02:00
..
dmd.auto-ref-return.dd Require adjacent auto ref return as well (#21061) 2025-03-23 05:59:00 +08:00
dmd.extern-std-cpp23.dd purge changelog 2025-03-31 13:33:57 +02:00
druntime.int128.dd [druntime] core.int128: Add 64-bit mul() overload and optimize via inline asm on x86_64 2025-03-25 16:12:24 +08:00
druntime.macos-15-4-segfault.dd Fix segmentation fault on macOS 15.4 (#21176) 2025-04-12 11:53:18 +02:00
druntime.macro-templates.dd Turn macro translations into template functions (#21108) 2025-03-29 06:31:49 +08:00
README.md changelog: Clarify naming convention of changelog entries that are now picked up by changed.d 2022-10-28 15:30:59 +01:00

This directory will get copied to dlang.org and cleared when master gets merged into stable prior to a new release.

How to add a new changelog entry to the pending changelog?

Create a new file in the changelog folder. It should begin with either dmd. or druntime. and end with .dd. The contents of the entry should look similar to a git commit message. The first line represents the title of the change. After an empty line follows the long description:

My fancy title of the new feature

A long description of the new feature in `std.range`.
It can be followed by an example:
-------
import std.range : padLeft, padRight;
import std.algorithm.comparison : equal;

assert([1, 2, 3, 4, 5].padLeft(0, 7).equal([0, 0, 1, 2, 3, 4, 5]));

assert("Hello World!".padRight('!', 15).equal("Hello World!!!!"));
-------
and links to the documentation, e.g. $(REF drop, std, range) or
$(REF_ALTTEXT a custom name for the function, drop, std, range).

Links to the spec can look like this $(LINK2 $(ROOT_DIR)spec/module.html, this)
and of course you can link to other $(LINK2 https://forum.dlang.org/, external resources).

The title can't contain links (it's already one). For more infos, see the Ddoc spec.

Preview changes

If you have cloned the tools and dlang.org repo, you can preview the changelog with:

make -C ../dlang.org -f posix.mak pending_changelog