From 58139a4348512d06b0bcb5562c6dd95b7847fab7 Mon Sep 17 00:00:00 2001 From: Athanasius Date: Mon, 7 Sep 2020 17:38:55 +0100 Subject: [PATCH] Pre-release 4.1.0-beta1 This *should* be functionally equivalent to 4.0.6, but with the addition of proper logging. There's a chance some of the per-file code cleanups might have inadvertently introduced bugs. --- ChangeLog.md | 36 ++++++++++++++++++++++++++++++++++++ config.py | 2 +- 2 files changed, 37 insertions(+), 1 deletion(-) diff --git a/ChangeLog.md b/ChangeLog.md index c6c6e64b..07f29df6 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,6 +1,42 @@ This is the master changelog for Elite Dangerous Market Connector. Entries are in reverse chronological order (latest first). --- +Pre-Release 4.1.0-beta1 +=== + +This pre-release contains the result of a lot of code cleanup on several files +and the addition of a proper logging paradigm, which should aid in tracking +down bugs. + +None of the code cleanups *should* change actual program behaviour, but as we +don't yet have the code in a state to have proper tests it's possible we've +broken something. + + * EDMC.py now uses proper logging and has a new `--loglevel` command-line + argument. See `EDMC.py -h` for the possible values. It defaults to 'INFO', + which, unless there's an error, should yield the same output as before. + * EDMarketConnector has a new 'Loglevel' setting on the 'Configuration' tab + to change the loglevel. Default is 'INFO' and advised for normal use. + If reporting a bug it will be very helpful to change this to 'DEBUG' and + then reproduce the bug. + * Both programs not only log to their old locations (console for EDMC, and + `%TEMP%\EDMarketConnector.log` for the main application), but now also to + a size-limited and rotated logfile inside the folder + `%TEMP%\EDMarketConnector\ `. + 1. A new file is only started if/when it reaches the 1 MiB size limit. + 1. We'll keep at most 10 backups of each file, so the maximum disk space + used by this will be 22 MiB. + 1. The base filename inside there is `EDMarketConnector.log` for the main + program and `EDMC.log` for the command-line program. + 1. Only actually *logged* output goes to these files, which currently is + far from all the traditional output that goes to the old file/console. + +Plugin Authors +--- +Please change your code to using proper logging, as per the new 'Logging' +section of PLUGINS.md. + + Release 4.0.6 === diff --git a/config.py b/config.py index 1e1e9146..5a4f1ac3 100644 --- a/config.py +++ b/config.py @@ -13,7 +13,7 @@ appcmdname = 'EDMC' # appversion **MUST** follow Semantic Versioning rules: # # Major.Minor.Patch(-prerelease)(+buildmetadata) -appversion = '4.0.6' #-rc1+a872b5f' +appversion = '4.1.0-beta1' #-rc1+a872b5f' # For some things we want appversion without (possible) +build metadata appversion_nobuild = str(semantic_version.Version(appversion).truncate('prerelease')) copyright = u'© 2015-2019 Jonathan Harris, 2020 EDCD'