diff --git a/chocolatey/DevToys/devtoys.nuspec b/chocolatey/DevToys/devtoys.nuspec index 30be658cfd..ff9af842f6 100644 --- a/chocolatey/DevToys/devtoys.nuspec +++ b/chocolatey/DevToys/devtoys.nuspec @@ -2,7 +2,7 @@ devtoys - 1.0.9.0 + 1.0.11.0 https://github.com/veler/DevToys/tree/main/chocolatey/DevToys Rafael Lopez DevToys @@ -20,17 +20,14 @@ A Swiss Army knife for developers. DevToys helps in daily tasks like formatting JSON, comparing text, testing RegExp. No need to use many untruthful websites to do simple tasks with your data. With Smart Detection, DevToys is able to detect the best tool that can treat the data you copied in the clipboard of your Windows. Compact overlay lets you keep the app in small and on top of other windows. Multiple instances of the app can be used at once. -πŸŽ‰ New Features - β€’ CRON Parser! - β€’ XML Validator! - β€’ Color Picker and Contrast! πŸ‘ Improvements - β€’ Added and updated many translations - β€’ New option in JSON Formatter, Hash Generator and Settings - β€’ Consistent font everywhere - β€’ Start-up performance + β€’ XML Validator can now detect inconsistent XML namespace references + β€’ UI tweaks in JWT Encoder / Decoder + β€’ Translations πŸ› Bug Fixes - β€’ Inconsistencies in YAML to JSON Converter and JSON Formatter + β€’ SQL Formatter issue with VALUES + β€’ URL Encoder / Decoder was encoding new lines incorrectly + β€’ DevToys won't appear as a file picker anymore diff --git a/src/dev/DevToys.Startup/Package.appxmanifest b/src/dev/DevToys.Startup/Package.appxmanifest index 31c0f6f474..878e2ce090 100644 --- a/src/dev/DevToys.Startup/Package.appxmanifest +++ b/src/dev/DevToys.Startup/Package.appxmanifest @@ -15,7 +15,7 @@ + Version="1.0.11.0" /> DevToys - Preview diff --git a/src/dev/impl/DevToys/Assets/ReleaseNote.txt b/src/dev/impl/DevToys/Assets/ReleaseNote.txt index 2009a728e7..a245aee625 100644 --- a/src/dev/impl/DevToys/Assets/ReleaseNote.txt +++ b/src/dev/impl/DevToys/Assets/ReleaseNote.txt @@ -1,10 +1,8 @@ -ο»ΏπŸŽ‰ New Features - β€’ JWT Decoder can now also Encode! -πŸ‘ Improvements - β€’ Regex Tester shows matching groups - β€’ Better handling of brackets in SQL Formatter - β€’ Smart Detection now prioritize favorite tools +ο»ΏπŸ‘ Improvements + β€’ XML Validator can now detect inconsistent XML namespace references + β€’ UI tweaks in JWT Encoder / Decoder + β€’ Translations πŸ› Bug Fixes - β€’ JSON Formatter wasn't sorting arrays - β€’ JSON Formatter was failing to parse an empty array - β€’ Wrong highlighting in Regex Tester \ No newline at end of file + β€’ SQL Formatter issue with VALUES + β€’ URL Encoder / Decoder was encoding new lines incorrectly + β€’ DevToys won't appear as a file picker anymore \ No newline at end of file diff --git a/src/dev/impl/DevToys/LanguageManager.cs b/src/dev/impl/DevToys/LanguageManager.cs index a24b1fc5c4..1d06668df2 100644 --- a/src/dev/impl/DevToys/LanguageManager.cs +++ b/src/dev/impl/DevToys/LanguageManager.cs @@ -1979,6 +1979,21 @@ public string GetFormattedNotificationReleaseNoteTitle(string? param0) /// public string SearchNoResultsFound => _resources.GetString("SearchNoResultsFound"); + /// + /// Gets the resource SurveyDescription. + /// + public string SurveyDescription => _resources.GetString("SurveyDescription"); + + /// + /// Gets the resource SurveyTitle. + /// + public string SurveyTitle => _resources.GetString("SurveyTitle"); + + /// + /// Gets the resource SurveyYesButton. + /// + public string SurveyYesButton => _resources.GetString("SurveyYesButton"); + /// /// Gets the resource WindowTitle. /// @@ -3479,14 +3494,38 @@ public class XmlValidatorStrings : ObservableObject /// public string XmlNamespacesInconsistentMsg => _resources.GetString("XmlNamespacesInconsistentMsg"); + /// + /// Gets the resource XmlNamespacesInconsistentMsg with format. + /// + public string GetFormattedXmlNamespacesInconsistentMsg(string? param0) + { + return string.Format(XmlNamespacesInconsistentMsg, param0); + } + /// /// Gets the resource XsdNamespacesInconsistentMsg. /// public string XsdNamespacesInconsistentMsg => _resources.GetString("XsdNamespacesInconsistentMsg"); - + + /// + /// Gets the resource XsdNamespacesInconsistentMsg with format. + /// + public string GetFormattedXsdNamespacesInconsistentMsg(string? param0) + { + return string.Format(XsdNamespacesInconsistentMsg, param0); + } + /// /// Gets the resource TargetNamespaceNotDefinedInXml. /// public string TargetNamespaceNotDefinedInXml => _resources.GetString("TargetNamespaceNotDefinedInXml"); + + /// + /// Gets the resource TargetNamespaceNotDefinedInXml with format. + /// + public string GetFormattedTargetNamespaceNotDefinedInXml(string? param0) + { + return string.Format(TargetNamespaceNotDefinedInXml, param0); + } } } diff --git a/src/dev/impl/DevToys/Strings/en-US/MainPage.resw b/src/dev/impl/DevToys/Strings/en-US/MainPage.resw index 5410e4b79b..77bb8fe140 100644 --- a/src/dev/impl/DevToys/Strings/en-US/MainPage.resw +++ b/src/dev/impl/DevToys/Strings/en-US/MainPage.resw @@ -166,6 +166,15 @@ No results found + + We would love to hear about your experience with DevToys so we can improve it. + + + The development of DevToys 2.0 started! πŸ₯³ + + + open the survey... + DevToys diff --git a/src/dev/impl/DevToys/ViewModels/MainPageViewModel.cs b/src/dev/impl/DevToys/ViewModels/MainPageViewModel.cs index 6385792cd9..9196c492cd 100644 --- a/src/dev/impl/DevToys/ViewModels/MainPageViewModel.cs +++ b/src/dev/impl/DevToys/ViewModels/MainPageViewModel.cs @@ -28,6 +28,7 @@ using Microsoft.UI.Xaml.Controls; using Windows.ApplicationModel; using Windows.Foundation; +using Windows.System; using Windows.UI.StartScreen; using Windows.UI.ViewManagement; using Windows.UI.Xaml; @@ -740,10 +741,20 @@ private async Task ShowReleaseNoteAsync() () => { ThreadHelper.ThrowIfNotOnUIThread(); - Windows.System.Launcher.LaunchUriAsync(new Uri("https://github.com/veler/DevToys/releases")).AsTask().Forget(); + Launcher.LaunchUriAsync(new Uri("https://github.com/veler/DevToys/releases")).AsTask().Forget(); }, await AssetsHelper.GetReleaseNoteAsync()); + _notificationService.ShowInAppNotification( + Strings.SurveyTitle, + Strings.SurveyYesButton, + () => + { + ThreadHelper.ThrowIfNotOnUIThread(); + Launcher.LaunchUriAsync(new Uri("https://forms.office.com/r/eh27t4Z4nB")).AsTask().Forget(); + }, + Strings.SurveyDescription); + _marketingService.NotifyAppJustUpdated(); } diff --git a/tools/app-version-number.txt b/tools/app-version-number.txt index eea150725d..ae3b50ef51 100644 --- a/tools/app-version-number.txt +++ b/tools/app-version-number.txt @@ -1 +1 @@ -1.0.10.0 \ No newline at end of file +1.0.11.0 \ No newline at end of file