Skip to content
This repository has been archived by the owner on Aug 6, 2021. It is now read-only.

Commit

Permalink
Versioning: Bump to 4.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
natecraddock committed Jul 27, 2020
1 parent 06e2d64 commit c852f61
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
7 changes: 7 additions & 0 deletions zygrader/config/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Try to keep lines shorter than 70 characters

4.2.0
* Add support for Tab and Shift+Tab navigation on popups.
* Add DatetimeSpinner component for selecting dates.
Used in the Lab Editor and Grade Puller.
* Add support for wrapping really longs lines in popups.
* Fixed lingering cursor on popups.

4.1.0
* Add -s commandline argument for --set-data-dir.
* Add a new preference to override the current class.
Expand Down
2 changes: 1 addition & 1 deletion zygrader/config/shared.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

class SharedData:
# Zygrader version
VERSION = LooseVersion("4.1.2")
VERSION = LooseVersion("4.2.0")

# Current class code (shared)
# Can be overridden on a user level
Expand Down
6 changes: 6 additions & 0 deletions zygrader/config/versioning.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,11 @@ def do_versioning(window: Window):

window.create_popup(f"Version {version}", msg, components.Popup.ALIGN_LEFT)

version = "4.2.0"
if compare_versions(version, user_version):
msg = get_version_message(version)

window.create_popup(f"Version {version}", msg, components.Popup.ALIGN_LEFT)

# Write the current version to the user's config file
write_current_version(config)

0 comments on commit c852f61

Please sign in to comment.