Code Snippets Collection v2.2.2 released

Version 2.2.2 of my Pascal code snippets collection has just been released. 

Don't let the patch version number bump fool you. There are a lot of new snippets in this release. In fact, it's the first time in years that so many new snippets have been added.

Nearly all the new snippets are mathematical. A few snippets were added to the Arrays category, but most got grouped into the Mathematics category. Some snippets relate to number theory while others work with numbers in different bases. However the majority relate to statistics, including functions to calculate Arithmetic, Geometric, Harmonic, Logarithmic and Power means.

I'm not going to list them all here, that would be tedious. See the change log for a full list of the new functions & other changes.

A couple of existing snippets have been modified, in one case to fix a bug. 

Unit tests have been added for every new snippet and for one existing snippet.

All the new snippets compile without problem with Delphi XE and 12.2. I expect there will be no problems with Delphi release between those two. Several snippets use generics, so won't compile with the ever-popular Delphi 7.

If you are using CodeSnip v4.16 or later then you can update your snippets collection by using the Database | Install or Update DelphiDabbler Snippets Database menu option and following the instructions in the resulting wizard.

➤ You can find the new release on GitHub.

CodeSnip 4 displaying LSE, one of the may new snippets in v2.2.2

ASIDE: The reason that this big update only gets a patch release is down to semantic versioning: the release adds nothing to the collection that can't be read by any program that can read v2.2.0 of the collection.


Comments

Popular posts from this blog

Released v2.2.0 of the Code Snippets Collection

CodeSnip v4.23.0 Released