This document is the changelog of luminance-derive. You should consult it when upgrading to a new version, as it contains precious information on breaking changes, minor additions and patch notes.
If you’re experiencing weird type errors when upgrading to a new version, it might be due to
how cargo
resolves dependencies. cargo update
is not enough, because all luminance crate use
SemVer ranges to stay
compatible with as many crates as possible. In that case, you want cargo update --aggressive
.
Apr 12, 2022
- Remove
Vertex::ATTR_COUNT
— it’s now computed based on the attributes directly.
Dec 31, 2021
- Support of
luminance-0.46
.
Nov 26, 2021
- Support of
luminance-0.45
.
Apr 25, 2021
- Support of
luminance-0.44
. - Add a check when a
Vertex
type has fields of the same type and raise a compile-time error if that’s the case. - Remove the
dev-dependencies
entry onluminance
. This is was needed for tests only, which were moved toluminance
directly, and the cycle dependency was preventing from releasing major bumps of crates.
Oct 28, 2020
- Support of
luminance-0.43
.
Aug 30th, 2020
- Support of
luminance-0.42
.
Jul 24th, 2020
- Support of
luminance-0.41
.
Wed Jul, 15th 2020
- The
UniformInterface
proc-macro got patched to adapt to the new backend architecture. - Implement
std::error::Error
for various types of the crate. - Add helper methods to create error types requiring owned data via a better API.
Tue Jan, 7th 2020
- Add
Deref
andDerefMut
implementors for semantics’ generated variant types. You can now access the underlying (wrapped) repr type. - In the case of
Deref
andDerefMut
not being enough, the underlying field can also be directly accessed (it’s nowpub
).
Sat Jan, 4th 2020
- Support of
luminance-0.38
.
Sun Sep, 29th 2019
- Support of
luminance-0.37
.
Fri Sep, 20th 2019
- Add
new
methods for types annotated withVertex
. This is considered a breaking change as it would break your code if you already have anew
method, which is very likely.
- Add support for struct-tuple when deriving
Vertex
.
- Empty
Semantics
types are forbidden and now reported correctly as errors.
Thur Sep, 12th 2019
- Fix SemVer issues with ranges and duplicated dependencies.
Thur Sep, 12th 2019
- Support of
luminance-0.35
.
Wed Sep, 11th 2019
- Support of
luminance-0.34
.
Fri Sep, 6th 2019
- Support of
luminance-0.33
.
Tue Sep, 3rd 2019
- Support of
luminance-0.32
.
Fri Aug, 23th 2019
- Initial revision.