Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using a local clone.

Change Log: 2.102.1

previous version: 2.102.0 – next version: 2.102.2

Download D 2.102.1
released Feb 15, 2023

2.102.1 comes with 2 major changes and 6 fixed Bugzilla issues. A huge thanks goes to the 6 contributors who made 2.102.1 possible.

List of all bug fixes and enhancements in D 2.102.1.

Dub changes

  1. Reverted v1.31.0 working directory change when using dub run --root=<value>

    DUB < v1.31.0 would run applications in the working directory it was invoked in, ignoring the --root argument.

    In v1.31.0, dub started to respect the --root argument and run programs in the requested directory.

    While sometimes desirable, this change was not intended, and has now been reverted. To restore the 1.31.0 behaivor, set "workingDirectory" to "." in the dub.json/dub.sdl file. This works both with older DUB versions and with future DUB versions.

  2. Path dependencies of path-based sub-packages have been fixed

    Path-based dependencies in path-based sub-packages in DUB v1.30.0 and 1.31.0 have had regressed and didn't resolve properly. (dub.selections.json could be used to workaround this issue before)

    From this release, these resolve properly again.


List of all bug fixes and enhancements in D 2.102.1:

DMD Compiler regression fixes

  1. Bugzilla 23674: incompatible types for array comparison: string and string

DMD Compiler bug fixes

  1. Bugzilla 23662: ImportC bad handling of enum arguments for a function
  2. Bugzilla 23672: importC: Infinite recursion: Error: found 'End of File' when expecting ','
  3. Bugzilla 23679: off-by-one error for static array size limit
  4. Bugzilla 23705: dmd: src/dmd/backend/cgcod.d:734: Assertion `sz >= 0' failed.

Phobos bug fixes

  1. Bugzilla 23668: Can't stable sort structs with disabled default constructor.

Contributors to this release (6)

A huge thanks goes to all the awesome people who made this release possible.

previous version: 2.102.0 – next version: 2.102.2