Skip to content

v2.0.0

Latest
Compare
Choose a tag to compare
@oleiade oleiade released this 04 Sep 10:25
· 5 commits to master since this release

TLDR: generics 🎉

Version v2.0.0 introduces support for generics 🎉. You can now use custom types withing lane's data structures. No reflection will be involved anymore, as the compiler will now do the job of type checking your code instead. This is a major step forward for the library, and I hope it will prove useful to as many of you as possible.

The library is now importable as github.com/oleiade/lane/v2.

There shouldn't be any major breaking changes in the API besides dropping reflection calls, and updating the types and function prototypes to allow users to use their types directly. But, hey, it's just me, I'm not a 🤖 and I have most likely broken something in the process of being a human. If that's the case, please open an issue, or a pull request, and I'll be happy to address it.

Thank you, live long and prosper 🖖🏻