This is PR with code changes I've been planning to add for a long time. Because amount of changes is significant, I decided to bump major version number and release v1.
Two key changes:
1) Use zeitwerk for code loading. Easy lazy/eager loading, no need to write tons of require statements, keep their order etc.
2) Replace virtus with dry-struct. While virtus was nice, it's not maintained anymore and dry-struct looks like a good replacement here.
For the end user I don't see any breaking changes, old code should work as well.
This is PR with code changes I've been planning to add for a long time. Because amount of changes is significant, I decided to bump major version number and release v1.
Two key changes:
1) Use zeitwerk for code loading. Easy lazy/eager loading, no need to write tons of
require
statements, keep their order etc. 2) Replace virtus with dry-struct. While virtus was nice, it's not maintained anymore and dry-struct looks like a good replacement here.For the end user I don't see any breaking changes, old code should work as well.