1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-17 17:42:20 +03:00

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.
This commit is contained in:
Athanasius 2020-09-07 17:38:55 +01:00
parent cd0d0f9e08
commit 58139a4348
2 changed files with 37 additions and 1 deletions

View File

@ -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
===

View File

@ -13,7 +13,7 @@ appcmdname = 'EDMC'
# appversion **MUST** follow Semantic Versioning rules:
# <https://semver.org/#semantic-versioning-specification-semver>
# 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'