Merge branch 'v2-dep-fixed' into 'main'

remove the v2 deprecation warning

Closes #16

See merge request !22
2 jobs for main in 46 seconds (queued for 27 seconds)