diff --git a/README.md b/README.md index 7ab4fb7..1c979ea 100644 --- a/README.md +++ b/README.md @@ -14,17 +14,14 @@ * [StreamDeck-Tools Template](https://github.com/BarRaider/streamdeck-tools/raw/master/utils/StreamDeck-Tools%20Template.vsix) for Visual Studio - Automatically creates a project with all the files needed to compile a plugin * [Profiles](https://barraider.com/profiles) Downloadable empty profiles for the XL (32-key), Classic (15-key), Mini (6-key) and Mobile devices at https://barraider.com/profiles -### Version 2.9 is out! -- Updated plugin creation logic to support issue where Stream Deck sends multiple WillAppear messages in Multi-Actions -- Updated API to support new State parameter in SetImageAsync/SetTitleAsync -- Added FIPS-compliant support to SHA512 in Tools module. MD5 functions are now obsolete -- New GraphicTools.WrapStringToFitImage() function will automatically wrap the text so it wil fit the key when using SetTitleAsync() - -- Introduced `GraphicsUtils` class with a bunch of helper functions to manipulate the SD images -- Added new `Tools.FormatNumber()` function converts 54265 to 54.27k -- New ExtensionMethods for `Graphics` object: `DrawAndMeasureString` / `GetTextCenter` +### Version 3.0 is out! +- Updated file handling in `Tools.AutoPopulateSettings` and `Tools.FilenameFromPayload` methods +- Removed obsolete MD5 functions, use SHA512 functions instead +- `Tools.CenterText` function now has optional out `textFitsImage` value to verify the text does not exceed the image width +- New `Tools.FormatBytes` function converts bytes to human-readable value +- New `Graphics.GetFontSizeWhereTextFitsImage` function helps locate the best size for a text to fit an image on 1 line - Updated dependency packages to latest versions -- Bug fix where SDConnection was not properly disposed. +- Bug fix where FileNameProperty attribute ## Features - Sample plugin now included in this project on Github @@ -41,6 +38,11 @@ - Optimized SetImage to not resubmit an image that was just posted to the device. Can be overridden with new property in Connection.SetImage() function. - ExtensionMethods for Brush/Color/Graphics objects - Helper functions in the `Tools` and `GraphicTools` classes +- GraphicTools.WrapStringToFitImage() function will automatically wrap the text so it wil fit the key when using SetTitleAsync() +- Introduced `GraphicsUtils` class with a bunch of helper functions to manipulate the SD images +- Added new `Tools.FormatNumber()` function converts 54265 to 54.27k +- New ExtensionMethods for `Graphics` object: `DrawAndMeasureString` / `GetTextCenter` + ## How do I use this? A list of plugins already using this library can be found [here][1]