Karsten Schmidt<p><a href="https://mastodon.thi.ng/tags/ReleaseWednesday" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ReleaseWednesday</span></a> — I just released a new version (v8.0.0) of <a href="https://thi.ng/vectors" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">thi.ng/vectors</span><span class="invisible"></span></a>, an almost complete rewrite of the package with all of its ~900 vector operations. I've updated the Readme with a section of _potentially_ minor breaking changes, however I expect this to be a seamless upgrade for the vast majority of users...</p><p>I've recently written more about the reasons and implications of this update and I'll refer you to those posts instead of repeating them once more (see links below).</p><p>Just the top-level changes:</p><p>- Replaced dynamic code generation with higher-order templating to be usable with strict content security policies (when deployed online)<br>- New structure allows for vast majority of functions to have doc strings (and they do now)<br>- More consistent/less confusing naming for some operations<br>- Potentially improved tree-shaking and smaller project bundle sizes</p><p>Related to this update I've also refactored and fixed some bugs in other packages (e.g. color, geom, matrices). As a result both the color & matrix packages are now also free from dynamic codegen and therefore won't cause any problems with strict CSPs</p><p>Should you run into any issues regarding this update, please get in touch (also grateful for any other experience/impact reports... 🙏)</p><p>More info in these recent posts/threads:</p><p>- <a href="https://mastodon.thi.ng/@toxi/114296442006935718" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">mastodon.thi.ng/@toxi/11429644</span><span class="invisible">2006935718</span></a><br>- <a href="https://mastodon.thi.ng/@toxi/114319651778770391" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">mastodon.thi.ng/@toxi/11431965</span><span class="invisible">1778770391</span></a><br>- <a href="https://mastodon.thi.ng/@toxi/114336012068839250" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">mastodon.thi.ng/@toxi/11433601</span><span class="invisible">2068839250</span></a></p><p>Happy coding!</p><p><a href="https://mastodon.thi.ng/tags/ThingUmbrella" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ThingUmbrella</span></a> <a href="https://mastodon.thi.ng/tags/Vectors" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Vectors</span></a> <a href="https://mastodon.thi.ng/tags/TypeScript" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TypeScript</span></a> <a href="https://mastodon.thi.ng/tags/JavaScript" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JavaScript</span></a> <a href="https://mastodon.thi.ng/tags/OpenSource" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OpenSource</span></a></p>