Freesimplegui

Latest version: v5.2.0

Safety actively analyzes 714772 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

5.2.0

What's Changed

This release contains some important fixes for FreeSimpleGUI, including some longstanding issues for MacOS users on newer Python versions. Enjoy.

* Optimize the banner image at the top of the readme by dbohdan in https://github.com/spyoungtech/FreeSimpleGUI/pull/37
* [pre-commit.ci] pre-commit autoupdate by pre-commit-ci in https://github.com/spyoungtech/FreeSimpleGUI/pull/39
* Update __init__.py for settings json output by breakpointforensics in https://github.com/spyoungtech/FreeSimpleGUI/pull/35

* Fix exit() not existing when running Python with -S flag by deajan in https://github.com/spyoungtech/FreeSimpleGUI/pull/51
* (fix for Wx variant) Update __init__.py by DMT07 in https://github.com/spyoungtech/FreeSimpleGUI/pull/53
* gh-45 address errors for tcl/tk 9 used by homebrew users on MacOS by spyoungtech in https://github.com/spyoungtech/FreeSimpleGUI/pull/55
* (improvement for Qt variant) Pyside6 by spyoungtech in https://github.com/spyoungtech/FreeSimpleGUI/pull/57
* (fix for Qt/Wx/Web) Fix monkeypatchers by spyoungtech in https://github.com/spyoungtech/FreeSimpleGUI/pull/58
* Fix for typo in import for different fsg* commands by bjarcdevs in https://github.com/spyoungtech/FreeSimpleGUI/pull/43

New Contributors
* dbohdan made their first contribution in https://github.com/spyoungtech/FreeSimpleGUI/pull/37
* breakpointforensics made their first contribution in https://github.com/spyoungtech/FreeSimpleGUI/pull/35
* DMT07 made their first contribution in https://github.com/spyoungtech/FreeSimpleGUI/pull/53
* bjarcdevs made their first contribution in https://github.com/spyoungtech/FreeSimpleGUI/pull/43

**Full Changelog**: https://github.com/spyoungtech/FreeSimpleGUI/compare/v5.1.1...v5.2.0

wx-v1.1.0
What's Changed

Per 58 - despite its size, this is a small change is made to migrate code back to a single `__init__.py` module -- this fixes a problem where changes to global state may not work as expected

**Full Changelog**: https://github.com/spyoungtech/FreeSimpleGUI/compare/v5.1.1...wx-v1.1.0

web-v1.1.0
What's Changed

Per 58 - despite its size, this is a small change is made to migrate code back to a single `__init__.py` module -- this fixes a problem where changes to global state may not work as expected


**Full Changelog**: https://github.com/spyoungtech/FreeSimpleGUI/compare/v5.1.1...web-v1.1.0

qt-v2.0.0
What's Changed

57 Migrates to PySide6 from PySide2, which adds support for Python versions 3.11-3.13+ and drops support for `Python<3.9` -- Users of Python3.8 or earlier will automatically continue to install version 1.x with PySide2.

Although this change has been tested as compatible with all the demo programs written against 1.x/PySide2, this is still signaled as a major version change.

Per 58 - despite its size, this is a small change is made to migrate code back to a single `__init__.py` module -- this fixes a problem where changes to global state may not work as expected

**Full Changelog**: https://github.com/spyoungtech/FreeSimpleGUI/compare/v5.1.1...qt-v2.0.0

5.1.1

What's Changed

In this release, we introduced a significant refactor (specifically, introduced in https://github.com/spyoungtech/FreeSimpleGUI/pull/9) of the large FreeSimpleGUI module. This is just a first step we're taking towards making FreeSimpleGUI more maintainable and approachable for contributors. There's still a lot of work to do, but this change cuts the main module size in half, making it quite a bit easier for LSPs and Intellisense to keep up with changes. Elements are now tucked neatly away into their own modules within the new `elements` subpackage.

All names are imported back into the main package, so this change should be non-breaking.

We also moved the main module back to `__init__.py` instead of the internal `FreeSimpleGUI.py` module. This avoids a bug introduced by the initial refactor by which changes to global state (which is unfortunately used extensively) may not take effect properly in some cases.

Other minor changes and deprecations:

- The globals `pil_imported` and `pil_import_attempted` are no longer used internally. Attempting to access these globals will produce a deprecation warning.
- The behavior of the methods `save_element_screenshot_to_disk` and `save_window_screenshot_to_disk` returning `None` when `PIL` cannot be imported is deprecated. In a future version, calling `save_element_screenshot_to_disk` or `save_window_screenshot_to_disk` when `PIL` cannot be imported will raise an `ImportError`.
- This also fixes a bug where calling `save_element_screenshot_to_disk` or `save_window_screenshot_to_disk` would incidentally overwrite the `Image` element class due to use of the `global` keyword in these methods and importing the name `Image` from PIL whilst marking `Image` as `global`
- The methods `timer_start`, `timer_stop`, and `timer_stop_usec` are deprecated and will be removed in a future version. (code timing is not FreeSimpleGUI's wheelhouse, and these implementations are flawed in any case). Not to be confused with the `Window` class methods of the same name, which are unchanged.
- Using functions with `CamelCase` names that have `snake_case` function name replacements is deprecated and those camel-cased function aliases may be removed in a future version. Using these names will produce a deprecation warning.
- don't use deprecated names internally by spyoungtech in https://github.com/spyoungtech/FreeSimpleGUI/pull/10

Enhancements from new contributors:

* theme_previewer changes. by RoboPickle in https://github.com/spyoungtech/FreeSimpleGUI/pull/21
* Fix Nuitka cross compilation by deajan in https://github.com/spyoungtech/FreeSimpleGUI/pull/27


New Contributors
* RoboPickle made their first contribution in https://github.com/spyoungtech/FreeSimpleGUI/pull/21
* deajan made their first contribution in https://github.com/spyoungtech/FreeSimpleGUI/pull/27

**Full Changelog**: https://github.com/spyoungtech/FreeSimpleGUI/compare/v5.1.0...v5.1.1

5.1.0

What's Changed
* remove upgrade and user data collection code by spyoungtech in https://github.com/spyoungtech/FreeSimpleGUI/pull/6
* add black, flake8, reorder imports to pre-commit by spyoungtech in https://github.com/spyoungtech/FreeSimpleGUI/pull/7
- As of this release, Python versions 3.8 through 3.12 are officially supported (though earlier versions may technically still be compatible). EOL versions of Python (3.7 and earlier) will not be supported for Python version related issues. No efforts will be made in future releases to ensure compatibility with EOL Python versions. (previously, 3.6 was the lowest compatible version).
- The `fsgupgrade` command (aka `psgupgrade`) was removed in 6 -- the only supported method for upgrading FreeSimpleGUI is via a package manager, like `pip`.

**Full Changelog**: https://github.com/spyoungtech/FreeSimpleGUI/compare/v5.0.0...v5.1.0

5.0.0

Initial release.

5.0.0rc1

First release candidate build

wx-v1.0.0
Initial release for Wx port

web-v1.0.0
Initial release for the web port

qt-v1.0.0
Initial release for Qt port

wx-v1.0.0rc1
Initial release candidate for Wx port

web-v1.0.0rc1
Initial release candidate for the web port

qt-v1.0.0rc1
Initial release of the Qt port

Links

Releases

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.