Skip to content

v6.0.0: Major clean up, updated upstream support

Compare
Choose a tag to compare
@Geod24 Geod24 released this 26 Feb 02:13
· 48 commits to v6.x.x since this release

v5.4.1...v6.x.x

This release remove all the code deprecated during v5.x.x's lifetime,
support for Ubuntu xenial as it is about to reach EOL
(the minimum supported version is now Bionic), and support for DMD
older than v2.092.0 (including dmd-transitional).

Migration instructions

Removed the deprecated init method

ocean.core.BitArray

Use the initialize method instead.

Templates Const, Immut and Inout have been removed

  • ocean.transition, ocean.meta.types.Qualifiers

Those templates were used during the transition to D2, but are obsolete now.
However, due to a DMD bug
they could not be deprecated. Instead, usage in downstream project was cleared,
and they were directly removed. Any usage can be replaced by the equivalent keyword
(Immut!(T) => immutable(T), Inout!(T) => inout(T), Const!(T) => const(T)).

Deprecated modules have been removed

  • ocean/core/Time.d, ocean/core/Traits.d,
    ocean/stdc/posix/arpa/inet.d, ocean/stdc/posix/net/if_.d,
    ocean/stdc/posix/netinet/in_.d, ocean/stdc/posix/netinet/tcp.d,
    ocean/stdc/posix/stdlib.d, ocean/stdc/posix/sys/ipc.d,
    ocean/stdc/posix/sys/mman.d, ocean/stdc/posix/sys/select.d,
    ocean/stdc/posix/sys/shm.d, ocean/stdc/posix/sys/stat.d,
    ocean/stdc/posix/sys/statvfs.d, ocean/stdc/posix/sys/types.d,
    ocean/stdc/posix/sys/uio.d, ocean/stdc/posix/sys/utsname.d,
    ocean/stdc/posix/sys/wait.d,
    ocean/time/chrono/Hebrew.d, ocean/time/chrono/Hijri.d,
    ocean/time/chrono/Japanese.d, ocean/time/chrono/Korean.d,
    ocean/time/chrono/Taiwan.d, ocean/time/chrono/ThaiBuddhist.d,
    ocean/util/log/model/ILogger.d

Those modules are either available via druntime, have been moved,
or are unused and unsupported. Refer to their deprecation notices
for specific instructions.