Skip to content

Releases: PySimpleSQL/pysimplesql

v2.3.0, Released 02/03/2023

04 Feb 00:19
Compare
Choose a tag to compare

renames set_Mline_size to set_mline_size
adds user defined icon packs
adds duplicate to available record actions
adds set_ttk_theme and get_ttk_theme
moved some informational popups to quick messages
New prompt_save() feature at both the Query and Form level
Big thanks to ssweber for many of these great ideas and contributions!
informational logging cut down to a sane amount
Several bug fixes in the record save system
Changes to fix the prompt_save functionality, including a records_changed() method to easily check if records have changed.
Improved address book example to use this new method to selectively enable or disable the save button.

v2.02, released 23 January 2023

24 Jan 00:06
a8c87f3
Compare
Choose a tag to compare

Add set_Mline_size to set default Multiline size via pull request

v2.01 Released

16 Sep 18:31
Compare
Choose a tag to compare

Some minor improvements when it comes to the keygen and garbage collecting. ss.record() now supports Comboboxes that are not bound to a foreign key field. ss.record() now also supports sg.Image() as well. -ss.record() using images can work in two ways. If pointed to a field that is a string value, it treats the string like a filepath and loads the image at the specified path. If pointed to a field that is binary data, then the binary data is passed in for image display. Added a small example of how this may work in your own application along with a nifty function to limit image size for either storage or display purposes (see examples/image_store.py)

ss.record() using Comboboxes can now take in a list of values. This is especially useful in situations where there is no primary key <-> foreign key relationship on the field, but you would still like to limit the values that can be stored. Setting the readonly=True keyword parameter will limit options to the passed-in list.
Added some internal changes, mostly revolving around the keygen (which is responsible for ensuring that the same key is not used multiple times). There is now a Form.close() method that safely closes out the form by resetting the keygen for elements associated with the form, and Query instances that are assocated with the form. This makes it much easier to re-use window layouts as the keygen will reset, and we won't be keeping old Query objects lying around hiding from the garbage collector.

pysimplesql v2.0 is here

15 Sep 17:34
Compare
Choose a tag to compare

<v2.0>

Released <9/15/2022>

  • Big change, moving from a Database/Table topology to a Form/Query topology. Aliases for Database/Table will be available to avoid breaking code as much as possible.
    I had to kick this around quite a bit, and in the end the new topology makes more sense, especially when you get into using multiple Forms and Queries against the same tables.
  • The above being said, the way records are created is chaging slightly, as well as how the Form is bound to the Window.
  • By default, auto-generated queries have the same name as the underlying table
  • Tons of documentation improvements
  • Prompt saves when dirty records are present. This will also be an option for Query object so that the feature can be turned on and off.
  • Forms and Queries now track created instances. They can be accessed with Form.instances and Query.instances
  • pysimplesql.update_elements() master function will update elements for all forms. Form.update_elements() still remains, and only updates elements for that specific Form instance.
  • pysimplesql.process_events() master function will process events for all forms. Form.process_events() still remains, and only processes events for that specific Form instance.
  • Examples and tutorials updated to work with new changes

v0.1.1, released 29 May 2021

29 May 20:00
Compare
Choose a tag to compare

Pypi download link should work now

v0.1.0, released 29 May 2021

29 May 19:46
Compare
Choose a tag to compare

Test of new build system

v0.0.9, released 27 May 2021

27 May 13:30
Compare
Choose a tag to compare
almost there!  v0.0.9 should fix import issues

v0.0.8, released 27 May 2021

27 May 12:35
Compare
Choose a tag to compare
v0.0.7 was a bomb, trying for 0.0.8

v0.0.7, released 27 May 2021

27 May 12:19
Compare
Choose a tag to compare
Prepping for 0.0.7 release.  Hopefully it works this time

New release, new features!

26 May 12:38
Compare
Choose a tag to compare
  • New tutorial
  • Cleaned up code and bug fixes
  • pysimplesql will now tell you when an update is available!