Skip to content

Commit 0d4943e

Browse files
committed
Ready for a v2.01 release!
1 parent 85b9083 commit 0d4943e

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

VERSIONS.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,20 @@
22

33

44
## <v2.01>
5-
### Released ?
5+
### Released 9/16/2022
6+
Some minor improvements when it comes to the keygen and garbage collecting. ss.record() now supports Comboboxes that are not
7+
bound to a foreign key field. ss.record() now also supports sg.Image() as well.
8+
-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
9+
filepath and loads the image at the specified path. If pointed to a field that is binary data, then the binary data is passed
10+
in for image display. Added a small example of how this may work in your own application along with a nifty function to limit
11+
image size for either storage or display purposes (see examples/image_store.py)
612
- ss.record() using Comboboxes can now take in a list of values. This is especially useful in situations where there is no
713
primary key <-> foreign key relationship on the field, but you would still like to limit the values that can be stored. Setting
814
the readonly=True keyword parameter will limit options to the passed-in list.
915
- Added some internal changes, mostly revolving around the keygen (which is responsible for ensuring that the same key is not
1016
used multiple times). There is now a Form.close() method that safely closes out the form by resetting the keygen for elements
1117
associated with the form, and Query instances that are assocated with the form. This makes it much easier to re-use window layouts
1218
as the keygen will reset, and we won't be keeping old Query objects lying around hiding from the garbage collector.
13-
-
1419

1520

1621
## <v2.0>

0 commit comments

Comments
 (0)