From e7b380ee7ea78f412c8a86bc7619c2a720eaa909 Mon Sep 17 00:00:00 2001 From: PySimpleGUI Date: Sun, 21 May 2023 19:38:07 -0400 Subject: [PATCH 1/2] Show Critical upgrade service messages. Removed the extra upgrade from github button from tab. --- PySimpleGUI.py | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/PySimpleGUI.py b/PySimpleGUI.py index 8996ad13..8243b8e5 100644 --- a/PySimpleGUI.py +++ b/PySimpleGUI.py @@ -1,6 +1,6 @@ #!/usr/bin/python3 -version = __version__ = "4.61.0.182 Unreleased" +version = __version__ = "4.61.0.183 Unreleased" _change_log = """ Changelog since 4.60.0 released to PyPI on 8-May-2022 @@ -434,7 +434,8 @@ _change_log = """ Added check for None and COLOR_SYSTEM_DEFAULT before any colors being set in Input.update 4.61.0.182 Only enable the Mac alpha channel 0.99 patch when tkinter version is 8.6.12. Have learned this is not needed for any other tkinter version - + 4.61.0.183 + Show Critical upgrade service messages. Removed the extra upgrade from github button from tab. """ __version__ = version.split()[0] # For PEP 396 and PEP 345 @@ -458,7 +459,7 @@ port = 'PySimpleGUI' """ - Copyright 2018, 2019, 2020, 2021, 2022 PySimpleGUI(tm) + Copyright 2018, 2019, 2020, 2021, 2022, 2023 PySimpleGUI(tm) Before getting into the details, let's talk about the high level goals of the PySimpleGUI project. @@ -24964,7 +24965,8 @@ def __show_previous_upgrade_information(): recommended_version = pysimplegui_user_settings.get('-upgrade recommendation-', '') severity_level = pysimplegui_user_settings.get('-severity level-', '') - # message2 = r'https://www.PySimpleGUI.org' + if severity_level != 'Critical': + return layout = [[Image(EMOJI_BASE64_HAPPY_THUMBS_UP), T('An upgrade is available & recommended', font='_ 14')], [T('It is recommended you upgrade to version {}'.format(recommended_version))], @@ -25075,7 +25077,7 @@ def __perform_upgrade_check_thread(): def __perform_upgrade_check(): # For now, do not show data returned. Still testing and do not want to "SPAM" users with any popups - # __show_previous_upgrade_information() + __show_previous_upgrade_information() threading.Thread(target=lambda: __perform_upgrade_check_thread(), daemon=True).start() @@ -26521,7 +26523,7 @@ def _create_main_window(): [T(pysimplegui_user_settings.get('-upgrade message 1-',''))], [T(pysimplegui_user_settings.get('-upgrade message 2-',''))], [Checkbox('Show Only Critical Messages', default=pysimplegui_user_settings.get('-upgrade show only critical-', False), key='-UPGRADE SHOW ONLY CRITICAL-', enable_events=True)], - [Button('Show Notification Again'), B('Upgrade from GitHub', button_color='white on red', key='-UPGRADE FROM GITHUB-'), + [Button('Show Notification Again'), ], ] tab_upgrade = Tab('Upgrade\n',upgrade_recommendation_tab_layout, expand_x=True) @@ -26682,7 +26684,6 @@ def main(): elif event in ('-EMOJI-HEARTS-', '-HEART-', '-PYTHON HEARTS-'): popup_scrolled("Oh look! It's a Udemy discount coupon!", '9AF99B123C49D51EB547', 'A personal message from Mike -- thank you so very much for supporting PySimpleGUI!', title='Udemy Coupon', image=EMOJI_BASE64_MIKE, keep_on_top=True) - elif event == 'Themes': search_string = popup_get_text('Enter a search term or leave blank for all themes', 'Show Available Themes', keep_on_top=True) if search_string is not None: From 955a7cba07c0760d1664e0420e9bbe251acc085f Mon Sep 17 00:00:00 2001 From: PySimpleGUI Date: Sun, 21 May 2023 19:39:16 -0400 Subject: [PATCH 2/2] Additional of release notes for 4.60.5 dot release posted to PyPI --- docs/index.md | 16 ++++++++++++++++ .../markdown input files/4_Release_notes.md | 19 +++++++++++++++++++ readme_creator/output/index.md | 16 ++++++++++++++++ 3 files changed, 51 insertions(+) diff --git a/docs/index.md b/docs/index.md index fab4bdcc..ec2aba76 100644 --- a/docs/index.md +++ b/docs/index.md @@ -10134,6 +10134,22 @@ Test Harness and Settings Windows fit on small screens better * Emergency Patch Release for Mac OS 12.3 and greater * Fixed bug in Mac OS version check in yesterday's 4.60.2 release +## 4.60.4 PySimpleGUI 10-Oct-2022 + +* Dot release to quickly fix the Trinket detection which stopped working recently + +## 4.60.5 PySimpleGUI 21-May-2023 + +* Mac fixes + * Fix for Input Element not working in no-titlebar windows on MacOs 13.2.1 + * Change to the 0.99 Alpha fix made in 4.60.2. Now only applies patch when running on 8.6.12, regardless of Mac Control Panel setting in PySimpleGUI Global Settings. Removes the need for users to disable when upgrading tkinter. +* Added Intelligent Upgrade Service - inform users when there are releases of PySimpleGUI that fix a problem that may be unique to their combination of components +* Change to GitHub Issue GUI + * Added checkbox for checking if running latest PyPI version + * Recommended using Demo Browser to search Demo Programs + * Use platform module to fill in the OS information field +* SDK Help Window - changed all readthedocs links to use the PySimpleGUI.org hostname for better portability + ## Code Condition Make it run diff --git a/readme_creator/markdown input files/4_Release_notes.md b/readme_creator/markdown input files/4_Release_notes.md index 82200a1d..7aa73856 100644 --- a/readme_creator/markdown input files/4_Release_notes.md +++ b/readme_creator/markdown input files/4_Release_notes.md @@ -2590,6 +2590,25 @@ Test Harness and Settings Windows fit on small screens better * Emergency Patch Release for Mac OS 12.3 and greater * Fixed bug in Mac OS version check in yesterday's 4.60.2 release +## 4.60.4 PySimpleGUI 10-Oct-2022 + +* Dot release to quickly fix the Trinket detection which stopped working recently + + +## 4.60.5 PySimpleGUI 21-May-2023 + +* Mac fixes + * Fix for Input Element not working in no-titlebar windows on MacOs 13.2.1 + * Change to the 0.99 Alpha fix made in 4.60.2. Now only applies patch when running on 8.6.12, regardless of Mac Control Panel setting in PySimpleGUI Global Settings. Removes the need for users to disable when upgrading tkinter. +* Added Intelligent Upgrade Service - inform users when there are releases of PySimpleGUI that fix a problem that may be unique to their combination of components +* Change to GitHub Issue GUI + * Added checkbox for checking if running latest PyPI version + * Recommended using Demo Browser to search Demo Programs + * Use platform module to fill in the OS information field +* SDK Help Window - changed all readthedocs links to use the PySimpleGUI.org hostname for better portability + + + ## Code Condition diff --git a/readme_creator/output/index.md b/readme_creator/output/index.md index fab4bdcc..ec2aba76 100644 --- a/readme_creator/output/index.md +++ b/readme_creator/output/index.md @@ -10134,6 +10134,22 @@ Test Harness and Settings Windows fit on small screens better * Emergency Patch Release for Mac OS 12.3 and greater * Fixed bug in Mac OS version check in yesterday's 4.60.2 release +## 4.60.4 PySimpleGUI 10-Oct-2022 + +* Dot release to quickly fix the Trinket detection which stopped working recently + +## 4.60.5 PySimpleGUI 21-May-2023 + +* Mac fixes + * Fix for Input Element not working in no-titlebar windows on MacOs 13.2.1 + * Change to the 0.99 Alpha fix made in 4.60.2. Now only applies patch when running on 8.6.12, regardless of Mac Control Panel setting in PySimpleGUI Global Settings. Removes the need for users to disable when upgrading tkinter. +* Added Intelligent Upgrade Service - inform users when there are releases of PySimpleGUI that fix a problem that may be unique to their combination of components +* Change to GitHub Issue GUI + * Added checkbox for checking if running latest PyPI version + * Recommended using Demo Browser to search Demo Programs + * Use platform module to fill in the OS information field +* SDK Help Window - changed all readthedocs links to use the PySimpleGUI.org hostname for better portability + ## Code Condition Make it run