Skip to content

V1.1.1: Fixes

Choose a tag to compare

@strideynet strideynet released this 16 Feb 17:30
· 198 commits to master since this release
adbbf42

This release contains no breaking changes!

Changes

Change the page implementation to use a pointer receiver for panic safety

Previously, a value receiver was used which allowed developers to pass a value into the NextPage and PreviousPage methods. This would result in a panic due to the underlying implementation relying on reflection. This now is impossible, and code that could cause a panic will now no longer compile.

Many thanks to @klokare for the detail report