From 6e80d697b5679c2dc04b9be1bf6bb07d7c8626bf Mon Sep 17 00:00:00 2001
From: David Sangrey We now test against, and package with, Python 3.11.7. As a result, we do not support Windows 7, 8, or 8.1. This release contains the data information for the new SCO modules added in Elite update 18.04.
-This should represent full support for the new Python Mk II. We now sign our code! This does mean that built EXEs are now slightly modified on our developer's machines.
-For information on what this means, and opt-out options, please visit https://github.com/EDCD/EDMarketConnector/wiki/Code-Signing-and-EDMC Changes and Enhancements Plugin Developers This release contains a fix for a bug that could crash EDMC's console versions when reading outfitting information from the new SCO Frame Shift Drive modules. Please note that this does not offer full support for the new SCO modules or the Python Mk II. More support will be added in a future update. We now sign our code! This does mean that built EXEs are now slightly modified on our developer's machines.
-For information on what this means, and opt-out options, please visit https://github.com/EDCD/EDMarketConnector/wiki/Code-Signing-and-EDMC Changes and Enhancements Bug Fixes Plugin Developers This release contains updated dependencies, modules files, translations, and adds two new EDDN schemas. It also
-adds Turkish translations to EDMC! We now sign our code! This does mean that built EXEs are now slightly modified on our developer's machines.
-For information on what this means, and opt-out options, please visit https://github.com/EDCD/EDMarketConnector/wiki/Code-Signing-and-EDMC Changes and Enhancements Bug Fixes Plugin Developers This release contains a bugfix for the shipyard outfitting parsing system and an update to the French translations. Changes and Enhancements Bug Fixes Plugin Developers This release contains updated dependencies, some bug fixes, a few minor enhancements to some supporting files,
-and some resorted resources as well as a new image for some of the built EXEs. Changes and Enhancements Bug Fixes Removed Files Known Issues Plugin Developers This release contains a number of bugfixes, minor performance enhancements, workflow and dependency updates, and a function deprecation. Changes and Enhancements Bug Fixes This release contains a number of under-the-hood changes to EDMC designed to improve performance, code maintainability, and stability of the EDMC application, while providing new features and quality-of-life fixes. Changes and Enhancements Bug Fixes Code Clean Up Plugin Developers This release fixes an uncommon problem with the uninstaller logic if upgrading from a version prior to 5.9.0 to improve consistancy across versions. This release fixes a widely-reported bug that resulted in the cAPI Authentication flow being disrupted for a subset of users. Thank you to all the CMDRs who reported this to us and provided logs to us so that we could get the issue isolated. This release is identical to 5.9.2, except reverts a bad change. This release fixes a critical issue on clean installs which would not update
-the Windows registry to allow for protocol handling. All users are strongly encouraged to update. This release updates the build system in use for EDMC to a more feature-rich installer, as well
-as updating the commodity information to be up-to-date for Update 16. NOTE: This version hands over the installer to an EXE file for Windows instead of an MSI.
+ We now test against, and package with, Python 3.11.9. As a result, we do not support Windows 7, 8, or 8.1. This is a release candidate for 5.11.0.
+This release includes a number of new features and improvements, including a new Beta Update Track for testing future
+updates, enhanced context menus for text entry fields and UI elements, a revamp to the existing translation system and
+logging capabilities, and more. This release includes the Python Image Library (PIL) into our core bundle, adds a number
+ of stability and configuration checks to the tool, and adds new schemas and configuration values to senders. This release also includes a number of bug fixes, performance enhancements, and updates to various aspects of the
+code to enhance maintainability are included. Notably, MacOS support has been removed due to a lack of support for this
+OS in Elite, and a number of functions have been deprecated and will be removed in later versions. Plugin developers,
+take note! Changes and Enhancements Bug Fixes Plugin Developers This release contains the data information for the new SCO modules added in Elite update 18.04.
+This should represent full support for the new Python Mk II. We now sign our code! This does mean that built EXEs are now slightly modified on our developer's machines.
+For information on what this means, and opt-out options, please visit https://github.com/EDCD/EDMarketConnector/wiki/Code-Signing-and-EDMC Changes and Enhancements Plugin Developers This release contains a fix for a bug that could crash EDMC's console versions when reading outfitting information from the new SCO Frame Shift Drive modules. Please note that this does not offer full support for the new SCO modules or the Python Mk II. More support will be added in a future update. We now sign our code! This does mean that built EXEs are now slightly modified on our developer's machines.
+For information on what this means, and opt-out options, please visit https://github.com/EDCD/EDMarketConnector/wiki/Code-Signing-and-EDMC Changes and Enhancements Bug Fixes Plugin Developers This release contains updated dependencies, modules files, translations, and adds two new EDDN schemas. It also
+adds Turkish translations to EDMC! We now sign our code! This does mean that built EXEs are now slightly modified on our developer's machines.
+For information on what this means, and opt-out options, please visit https://github.com/EDCD/EDMarketConnector/wiki/Code-Signing-and-EDMC Changes and Enhancements Bug Fixes Plugin Developers This release contains a bugfix for the shipyard outfitting parsing system and an update to the French translations. Changes and Enhancements Bug Fixes Plugin Developers This release contains updated dependencies, some bug fixes, a few minor enhancements to some supporting files,
+and some resorted resources as well as a new image for some of the built EXEs. Changes and Enhancements Bug Fixes Removed Files Known Issues Plugin Developers This release contains a number of bugfixes, minor performance enhancements, workflow and dependency updates, and a function deprecation. Changes and Enhancements Bug Fixes This release contains a number of under-the-hood changes to EDMC designed to improve performance, code maintainability, and stability of the EDMC application, while providing new features and quality-of-life fixes. Changes and Enhancements Bug Fixes Code Clean Up Plugin Developers This release fixes an uncommon problem with the uninstaller logic if upgrading from a version prior to 5.9.0 to improve consistancy across versions. This release fixes a widely-reported bug that resulted in the cAPI Authentication flow being disrupted for a subset of users. Thank you to all the CMDRs who reported this to us and provided logs to us so that we could get the issue isolated. This release is identical to 5.9.2, except reverts a bad change. This release fixes a critical issue on clean installs which would not update
+the Windows registry to allow for protocol handling. All users are strongly encouraged to update. This release updates the build system in use for EDMC to a more feature-rich installer, as well
+as updating the commodity information to be up-to-date for Update 16. NOTE: This version hands over the installer to an EXE file for Windows instead of an MSI.
This does not change any functionality or plugin capability of EDMC. You may need to
-manually close EDMC during the update process if updating from version 5.9.0 or earlier. This release is essentially the same as 5.9.0-rc1 with only a typo, the version and
-this changelog updated. This release contains the removal of the EDDB module, as well as a few under-the-hood
-updates. This fixes a bug where the Cmdr/APIKey sections on Settings > EDSM would never be shown. This release is essentially the same as 5.8.0-rc3 with only the version and
-this changelog updated. It brings a new feature related to Fleetcarrier data, some convenience for
+manually close EDMC during the update process if updating from version 5.9.0 or earlier. This release is essentially the same as 5.9.0-rc1 with only a typo, the version and
+this changelog updated. This release contains the removal of the EDDB module, as well as a few under-the-hood
+updates. This fixes a bug where the Cmdr/APIKey sections on Settings > EDSM would never be shown. This release is essentially the same as 5.8.0-rc3 with only the version and
+this changelog updated. It brings a new feature related to Fleetcarrier data, some convenience for
Linux users, some fixes, and otherwise some internal changes that should not
adversely affect either users or third-party plugins. For the latter, read
-below for some new/changed things that could benefit you. This release, and all future ones, now create two additional archive files
-in the GitHub release: The advantage of these over the GitHub auto-generated ones is that they
+below for some new/changed things that could benefit you. This release, and all future ones, now create two additional archive files
+in the GitHub release: The advantage of these over the GitHub auto-generated ones is that they
have been hand-crafted to contain all the necessary files, and only
-those files. If you use the application from source, and not via a git clone, then we
+those files. If you use the application from source, and not via a git clone, then we
highly recommend you use one of these archives, not the GitHub
-auto-generated ones. Anyone installing on Windows should continue to use the
- New Feature - You can now have the application query the Anyone installing on Windows should continue to use the
+ New Feature - You can now have the application query the Note that there are some caveats: This feature defaults to Off. The option is on the Configuration tab
+passed to interested plugins. Note that there are some caveats: This feature defaults to Off. The option is on the Configuration tab
of Settings as "Enable Fleetcarrier CAPI Queries". It is advised to only
-enable this if you know you utilise plugins that make use of the data. These queries are only triggered by These queries are only triggered by If you have Fleetcarrier cargo which got into the cargo hold through a lot
+queries. If you have Fleetcarrier cargo which got into the cargo hold through a lot
of individual transactions, or if you have a lot of separate buy/sell
-orders then these queries can take a long time to complete. If this happens with your game account then all other CAPI queries will
+orders then these queries can take a long time to complete. If this happens with your game account then all other CAPI queries will
be blocked until the We plan to address this by moving the The code for choosing the 'Output' folder is now simply the We plan to address this by moving the The code for choosing the 'Output' folder is now simply the There are two new items on the "Help" menu: Translations have been updated. Thanks again to our volunteer translators! If we ever activate any functionality killswitches, the popup denoting which
-are active has been made more readable. There's a new section in We now ship an Check that you have Create a shell script NB: This relies on the filesystem location you placed the source in not
-changing. So if you move the source you will need to re-run the script. Copy the .desktop and .icon files into appropriate locations. The .desktop
+such issue was observed (on a supported OS). There are two new items on the "Help" menu: Translations have been updated. Thanks again to our volunteer translators! If we ever activate any functionality killswitches, the popup denoting which
+are active has been made more readable. There's a new section in We now ship an Check that you have Create a shell script NB: This relies on the filesystem location you placed the source in not
+changing. So if you move the source you will need to re-run the script. Copy the .desktop and .icon files into appropriate locations. The .desktop
file utilises the shell script created in step 2, and thus relies on it
-existing and on it being in a directory that is in your PATH. Once this has been completed any XDG-compliant desktops should have an entry
-for "E:D Market Connector" in their "Games" menu. The tracking of a Cmdr's location that was being performed by the core EDDN
+existing and on it being in a directory that is in your PATH. Once this has been completed any XDG-compliant desktops should have an entry
+for "E:D Market Connector" in their "Games" menu. The tracking of a Cmdr's location that was being performed by the core EDDN
plugin has been moved into the Journal monitoring code. This results in
the tracking being correct upon application (re)start, reflecting the state
from the latest Journal file, rather than only picking up with any
-subsequent new Journal events. This change should remove instances of "Wrong System! Missed Jump ?" and
+subsequent new Journal events. This change should remove instances of "Wrong System! Missed Jump ?" and
similar sanity-check "errors" when continuing to play after a user restarts
-the application whilst the game is running. Plugin developers, see below for how this change can positively affect you. The name of the files written by "File" > "Save Raw Data" now have a Use of CAPI data in Plugin developers, see below for how this change can positively affect you. The name of the files written by "File" > "Save Raw Data" now have a Use of CAPI data in Each plugin is now handed its own sub-frame as the Each plugin is now handed its own sub-frame as the However, if you have code that attempts to do things like However, if you have code that attempts to do things like All of the plugins listed on our Wiki were given perfunctory testing and no
-issues from this change were observed. This is a necessary first step to some pending plugin/UI work: New - It was found that the All of the plugins listed on our Wiki were given perfunctory testing and no
+issues from this change were observed. This is a necessary first step to some pending plugin/UI work: New - It was found that the As the location tracking has been moved out of the core EDDN plugin, and into
+event. This has been fixed. As the location tracking has been moved out of the core EDDN plugin, and into
monitor.py all of it is now available as members of the This both means that no plugin should need to perform such location state
+which is passed to This both means that no plugin should need to perform such location state
tracking itself and they can take advantage of it being fully up to date
-when a user restarts the application with the game running. A reminder: When performing 'catch up' on the newest Journal file found at
+when a user restarts the application with the game running. A reminder: When performing 'catch up' on the newest Journal file found at
startup, the application does not pass any events to the
See PLUGINS.md for details of the new Careful testing has been done for only the following. So, if you make use
-of any of the other new state values and spot a bug, please report it: There is an additional property If you utilise a git clone of the source code, you should also ensure the
+properly initiate its location tracking state in this scenario. See PLUGINS.md for details of the new Careful testing has been done for only the following. So, if you make use
+of any of the other new state values and spot a bug, please report it: There is an additional property If you utilise a git clone of the source code, you should also ensure the
sub-modules are initialised and synchronised.
wiki:Running from source
-has been updated to include the necessary commands. The If you have a The If you have a All the main UI tk widgets are now properly named. This might make things
+ All the main UI tk widgets are now properly named. This might make things
easier if debugging UI widgets as you'll no longer see a bunch of Each plugin's separator is named as per the scheme Each plugin's separator is named as per the scheme This release re-enables CAPI queries for Legacy players. As a result, the
+start with This release re-enables CAPI queries for Legacy players. As a result, the
'Update' button functionality is now restored for Legacy players, along with
-"Automatically update on docking" functionality. We now test against, and package with, Python 3.11.1, 32-bit. This release is functionally identical to 5.7.0-rc1, as no problems were
-reported with that. As noted above, Legacy players now have CAPI functionality once more.
+"Automatically update on docking" functionality. We now test against, and package with, Python 3.11.1, 32-bit. This release is functionally identical to 5.7.0-rc1, as no problems were
+reported with that. As noted above, Legacy players now have CAPI functionality once more.
Plugin developers check below for how you can determine the source galaxy
-of such data. Due to a bug it turned out that a workaround for "old browsers don't support
+of such data. Due to a bug it turned out that a workaround for "old browsers don't support
very long URLs" had been inactive since late 2019. As no-one has noticed
or complained we've now removed the defunct code in favour of the simple
- Testing showed that all of Firefox, Chrome and Chrome-based Edge worked with
-very long URLs without issues. Some output related to detecting and parsing Testing showed that all of Firefox, Chrome and Chrome-based Edge worked with
+very long URLs without issues. Some output related to detecting and parsing A corner case of "game not running" and "user presses 'Update' button" would
+command to the former, quieter, version. A corner case of "game not running" and "user presses 'Update' button" would
result in an empty The message about converting legacy An erroneous statement about "all of Python stdlib" in PLUGINS.md has been
+lots of different places. This has been fixed. The message about converting legacy An erroneous statement about "all of Python stdlib" in PLUGINS.md has been
corrected. We don't/can't easily include all of this. Ask if any part of it
-you require is missing. In order to not pass Legacy data to plugins without them being aware of it
+you require is missing. In order to not pass Legacy data to plugins without them being aware of it
there is now a new function The The If any plugin had been attempting to make use of If any plugin had been attempting to make use of But remember that all tkinter widgets in plugins will inherit the main UI
-current theme colours anyway. The contents of But remember that all tkinter widgets in plugins will inherit the main UI
+current theme colours anyway. The contents of However, the However, the PLUGINS.md has been updated to reflect this. If you've ever been in the habit of running our PLUGINS.md has been updated to reflect this. If you've ever been in the habit of running our Some small updates have been made in Some small updates have been made in A future update might remove those maps, or at least fully deprecate their
+as FDevIDs/outfitting.csv. A future update might remove those maps, or at least fully deprecate their
use by plugins. Please contact us now if you actually make use of this
-data. This release addresses some minor bugs and annoyances with v5.6.0, especially
-for Legacy galaxy players. In general, at this early stage of the galaxy split, we prefer to continue to
+data. This release addresses some minor bugs and annoyances with v5.6.0, especially
+for Legacy galaxy players. In general, at this early stage of the galaxy split, we prefer to continue to
warn Legacy users who have 'send data' options active for sites that only
accept Live data. In the future this might be reviewed and such warnings
removed such that the functionality fails silently. This might be of use
-to users who actively play in both galaxies. CAPI queries will now only be attempted for Live galaxy players This is
+to users who actively play in both galaxies. CAPI queries will now only be attempted for Live galaxy players This is
a stop-gap whilst the functionality is implemented for Legacy galaxy players.
Doing so prevents using Live galaxy data whilst playing Legacy galaxy, which
-would be increasingly wrong and misleading. It is hoped to implement CAPI data retrieval and use for Legacy players soon,
+pass it to plugins, which does not include Inara and EDSM.
+ It is hoped to implement CAPI data retrieval and use for Legacy players soon,
although this will likely entail extending the plugins API to include a new
function specifically for this. Thus only updated plugins would support
-this. EDDN: Where data has been sourced from the CAPI this application now sends
+this. EDDN: Where data has been sourced from the CAPI this application now sends
a header->gameversion in the format As this version only queries CAPI for Live players that will only be
- If, somehow, the CAPI host queried matches neither the
+the updated documentation. As this version only queries CAPI for Live players that will only be
+ If, somehow, the CAPI host queried matches neither the
current Live host, the Legacy host, nor the past beta host, you will see
- As that statement implies, this application will also signal 'Live' if
+ As that statement implies, this application will also signal 'Live' if
Closes #1734. Inara: Only warn about Legacy data if sending is enabled in Settings > Inara. Closes #1730. Inara: Handling of some events has had a sanity check added so that the
+version of the game. However, in that case the Closes #1734. Inara: Only warn about Legacy data if sending is enabled in Settings > Inara. Closes #1730. Inara: Handling of some events has had a sanity check added so that the
Inara API doesn't complain about empty strings being sent. In these cases
-the event will simply not be sent. Closes #1732. EDSM: EDSM has decided to accept only Live data on its API. Thus, this
-application will only attempt to send data for Live galaxy players. If a Legacy galaxy player has the Settings > EDSM > "Send flight log and
+the event will simply not be sent. Closes #1732. EDSM: EDSM has decided to accept only Live data on its API. Thus, this
+application will only attempt to send data for Live galaxy players. If a Legacy galaxy player has the Settings > EDSM > "Send flight log and
Cmdr status to EDSM" option active then they will receive an error about
this at most once every 5 minutes. Disabling that option will prevent the
-warning.Release 5.10.6
openurl() function in ttkHyperlinkLabel has been deprecated,
-and slated for removal in 5.11+! Please migrate to webbrowser.open().Release 5.10.5
openurl() function in ttkHyperlinkLabel has been deprecated,
-and slated for removal in 5.11+! Please migrate to webbrowser.open().Release 5.10.4
openurl() function in ttkHyperlinkLabel has been deprecated,
-and slated for removal in 5.11+! Please migrate to webbrowser.open().Release 5.10.3
openurl() function in ttkHyperlinkLabel has been deprecated,
-and slated for removal in the next major release! Please migrate to webbrowser.open().Release 5.10.2
openurl() function in ttkHyperlinkLabel has been deprecated,
-and slated for removal in the next major release! Please migrate to webbrowser.open().Release 5.10.1
Release 5.10.0
modules.json and ships.json files to improve security and readability--start_min command flag to force the application to start minimizedif - return - else or raise - else statements for code readabilitymodules.p and ships.p have been deprecated, and will be removed in 6.0.
-If you are using these files, please update to use the new modules.json and ships.json files instead. Release 5.9.5
Release 5.9.4
Release 5.9.3
Release 5.9.2
Release 5.9.1
+Pre-Release 5.11.0-rc1
+
+
+_() to tr.tl()_Translations classTranslations singleton in favor of translations
+
+
+
+_() is deprecated, and is slated for removal in 6.0 or later. Please migrate to importing translations and calling translations.translate or translations.tl directlyTranslations as the translate system singleton is deprecated, and is slated for removal in 6.0 or later. Please migrate to the translations singletonhelp_open_log_folder() is deprecated, and is slated for removal in 6.0 or later. Please migrate to open_folder()update_feed is deprecated, and is slated for removal in 6.0 or later. Please migrate to get_update_feed().openurl() function in ttkHyperlinkLabel has been removed. Please migrate to webbrowser.open()
+
+Release 5.10.6
+
+
+
+
+openurl() function in ttkHyperlinkLabel has been deprecated,
+and slated for removal in 5.11+! Please migrate to webbrowser.open().
+Release 5.10.5
+
+
+
+
+
+
+openurl() function in ttkHyperlinkLabel has been deprecated,
+and slated for removal in 5.11+! Please migrate to webbrowser.open().
+Release 5.10.4
+
+
+
+
+
+
+openurl() function in ttkHyperlinkLabel has been deprecated,
+and slated for removal in 5.11+! Please migrate to webbrowser.open().
+Release 5.10.3
+
+
+
+
+
+
+
+openurl() function in ttkHyperlinkLabel has been deprecated,
+and slated for removal in the next major release! Please migrate to webbrowser.open().
+
+Release 5.10.2
+
+
+
+
+
+
+
+
+
+
+
+
+
+openurl() function in ttkHyperlinkLabel has been deprecated,
+and slated for removal in the next major release! Please migrate to webbrowser.open().
+
+Release 5.10.1
+
+
+
+
+
+
+
+
+
+
+
+
+Release 5.10.0
+
+
+modules.json and ships.json files to improve security and readability--start_min command flag to force the application to start minimized
+
+
+
+if - return - else or raise - else statements for code readability
+
modules.p and ships.p have been deprecated, and will be removed in 6.0.
+If you are using these files, please update to use the new modules.json and ships.json files instead.
+
+Release 5.9.5
+
+
+
+Release 5.9.4
+
+
+
+Release 5.9.3
+
+
+
+Release 5.9.2
+
+
+
+Release 5.9.1
+Release 5.9.0
Release 5.8.1
Release 5.8.0
+
+
+Release 5.9.0
+
+
+
+Release 5.8.1
+
+
+Release 5.8.0
+
+EDMarketConnector-release-<version>.zipEDMarketConnector-release-<version>.tar.gz
+
+
+EDMarketConnector-release-<version>.zipEDMarketConnector-release-<version>.tar.gzEDMarketConnector_win_<version>.msi files as before./fleetcarrier
+auto-generated ones.EDMarketConnector_win_<version>.msi files as before./fleetcarrier
CAPI endpoint for data about your Fleet Carrier. The data will then be
-passed to interested plugins.
+
+
CarrierBuy and CarrierStats
+enable this if you know you utilise plugins that make use of the data.CarrierBuy and CarrierStats
Journal events, i.e. upon buying a Fleetcarrier or opening the Carrier
Management UI in-game. NB: There is a 15 minute cooldown between
-queries./fleetcarrier query completes. 'Other CAPI
queries' means those usually triggered upon docking to gather station
market, shipyard and outfitting data. To ameliorate the effects of this
there is currently a timeout of 60 seconds on /fleetcarrier queries,
-and will not occur more often than every 15 minutes./fleetcarrier queries into their
-own separate thread in the future.tkinter
+and will not occur more often than every 15 minutes./fleetcarrier queries into their
+own separate thread in the future.tkinter
function for such a dialogue, rather than a special case on Windows. In
the past the former had issues with Unicode characters, but in testing no
-such issue was observed (on a supported OS).Contributing.md - "Python Environment". This
-should aid any new developers in getting things set up.Linux Users
io.edcd.EDMarketConnector.desktop file. To make use of this
-you should run scripts/linux-setup.shonce. This will:$HOME/bin in your PATH. If not, it will abort.edmarketconnector in $HOME/bin to launch the
-application.
+
+Contributing.md - "Python Environment". This
+should aid any new developers in getting things set up.Linux Users
+io.edcd.EDMarketConnector.desktop file. To make use of this
+you should run scripts/linux-setup.sh once. This will:
+
$HOME/bin in your PATH. If not, it will abort.edmarketconnector in $HOME/bin to launch the
+application.Fixes
+Fixes
+
+
.
-between the system and station names.EDMC.exe when invoked with either -s or -n
+the application whilst the game is running..
+between the system and station names.EDMC.exe when invoked with either -s or -n
arguments hadn't been updated for prior changes, causing such invocations to
-fail. This has been fixed.Plugin Developers
+parent parameter passed
-to plugin_app()instead of the actual main UI frame. These new Frames
+fail. This has been fixed.Plugin Developers
+
+
parent parameter passed
+to plugin_app() instead of the actual main UI frame. These new Frames
are placed in the position that plugin UI would have gone into. This should
-have no side effects on well-behaved plugins.parent.children()
+have no side effects on well-behaved plugins.parent.children()
or the like in your plugin_app() implementation, this might have stopped
working. You shouldn't be trying to do anything with any of the UI outside
your plugin anyway, but if you definitely have a need then look things up
using .nametowidget(). There are examples in the core plugins (which DO
-have good reason, due to maintaining main UI label values).capi_fleetcarrier() function to receive the data from a CAPI
-/fleetcarrier query. See PLUGINS.md for details.ShutDown event (note the capitalisation, this is
+have good reason, due to maintaining main UI label values).capi_fleetcarrier() function to receive the data from a CAPI
+/fleetcarrier query. See PLUGINS.md for details.ShutDown event (note the capitalisation, this is
distinct from the actual Journal Shutdown event) synthesized for plugins
when it is detected that the game has exited was never actually being
delivered. Instead this was erroneously replaced with a synthesized StartUp
-event. This has been fixed.state dictionary
-which is passed to journal_entry().journal_entry().journal_entry() method in plugins. This is to avoid spamming with
data/state that has possibly already been handled, and in the case of the
Cmdr moving around will end up not being relevant by the time the end of the
file is reached. This limitation was also why the core EDDN plugin couldn't
-properly initiate its location tracking state in this scenario.state members. Pay particular
-attention to the footnote that details the caveats around Body tracking.request_cmdr on CAPIData objects, which
-records the name of the Cmdr the request was made for.FDevIDs files are their latest versions at time of this version's build.examples\plugintest - dropped the "pre-5.0.0 config" code, as it's long
-since irrelevant.Developers
+state members. Pay particular
+attention to the footnote that details the caveats around Body tracking.
+
+request_cmdr on CAPIData objects, which
+records the name of the Cmdr the request was made for.FDevIDs files are their latest versions at time of this version's build.examples\plugintest - dropped the "pre-5.0.0 config" code, as it's long
+since irrelevant.Developers
+
+
coriolis-data git sub-module now uses an HTTPS, not "git" URL, so won't
-require authentication for a simple git pull.dump directory in CWD when running EDMarketConnector.py under
+has been updated to include the necessary commands.coriolis-data git sub-module now uses an HTTPS, not "git" URL, so won't
+require authentication for a simple git pull.dump directory in CWD when running EDMarketConnector.py under
a debugger you will get files in that location when CAPI queries complete.
This will now include files with names of the form
-FleetCarrier.<callsign>.<timstamp>.json for /fleetcarrier data.FleetCarrier.<callsign>.<timstamp>.json for /fleetcarrier data.!label1,
-!frame1 and the like.plugin_hr_<X>, and when
+!frame1 and the like.plugin_hr_<X>, and when
a plugin has UI its new container Frame is named plugin_X. Both of these
-start with 1, not 0.Release 5.7.0
1, not 0.
+
+
+Release 5.7.0
+
+
+
webbrowser.open(<url>).EDMC.exe -n had been broken for a while, it now functions once more.gameversion from Journals
+webbrowser.open(<url>).EDMC.exe -n had been broken for a while, it now functions once more.gameversion from Journals
has been moved from INFO to DEBUG. This returns the output of any EDMC.exe
-command to the former, quieter, version.Bugs
+Bugs
+
+
uploaderID string being sent to EDDN. Such messages are
still accepted by the EDDN Gateway, and the Relay then obfuscates this field
anyway. So, at worse, this would make it look like the same uploader was in
-lots of different places. This has been fixed.replay.jsonl was being emitted even
-when there was no file to convert. This has been fixed.Plugin Developers
+replay.jsonl was being emitted even
+when there was no file to convert. This has been fixed.Plugin Developers
+
+
cmdr_data_legacy(), which mirrors the
functionality of cmdr_data(), but for Legacy data only. See PLUGINS.md
-for more details.data passed to cmdr_data() and cmdr_data_legacy() is now correctly
+for more details.data passed to cmdr_data() and cmdr_data_legacy() is now correctly
typed as CAPIData. This is a sub-class of UserDict, so you can continue
to use it as such. However, it also has one extra property, source_host,
which can be used to determine if the data was from the Live or Legacy
-CAPI endpoint host. See PLUGINS.md for more details.config.get_int('theme'),
+CAPI endpoint host. See PLUGINS.md for more details.config.get_int('theme'),
then be aware that we've finally moved from hard-coded values to actual
-defined constants. Example use would be as in:fromconfigimportconfigfromthemeimportthemeactive_theme=config.get_int('theme')
-ifactive_theme==theme.THEME_DARK:
+defined constants. Example use would be as in:
+
from config import config
+from theme import theme
+
+active_theme = config.get_int('theme')
+if active_theme == theme.THEME_DARK:
...
-elifactive_theme==theme.THEME_TRANSPARENT:
+elif active_theme == theme.THEME_TRANSPARENT:
...
-elifactive_theme==theme.THEME_DEFAULT:
+elif active_theme == theme.THEME_DEFAULT:
...
else:
- ...
NavRoute.json will now be loaded during 'catch-up' when
+ ...NavRoute.json will now be loaded during 'catch-up' when
EDMarketConnector is (re-)started. The synthetic StartUp (note the
capitalisation) event that is emitted after the catch-up ends will have
-state['NavRoute'] containing this data.Fileheader event from detecting a subsequent new Journal file
+state['NavRoute'] containing this data.Fileheader event from detecting a subsequent new Journal file
will blank this data again. Thus, if you're interested in "last plotted
route" on startup you should react to the StartUp event. Also, note that
the contents will indicate a NavRouteClear if that was the last such
-event.develop branch, please
+event.develop branch, please
don't. Whilst we try to ensure that any code merged into this branch doesn't
contain bugs, it hasn't at that point undergone more thorough testing.
-Please use the stable branch unless otherwise directed.edmc_data as a part of reviewing the
+Please use the stable branch unless otherwise directed.edmc_data as a part of reviewing the
latest update to coriolis-data.
We make no guarantee about keeping these parts of edmc_data up to date.
Any plugins attempting to use that data should look at alternatives, such
-as FDevIDs/outfitting.csv.Release 5.6.1
+
+
+Release 5.6.1
+
+
+
"CAPI-(Live|Legacy)-<endpoint" as per
-the updated documentation.
+"CAPI-Live-<endpoint>" for the time being.
+
"CAPI-Live-<endpoint>" for the time being."CAPI-UNKNOWN-<endpoint>"."CAPI-UNKNOWN-<endpoint>".pts-companion.orerve.net has been used, due to detecting an alpha or beta
-version of the game. However, in that case the /test schemas will be used./test schemas will be used.Plugin Developers
config module are for setting/getting/removing a plugin's own
-configuration, or detecting application shutdown in progress.data passed
+configuration, or detecting application shutdown in progress.data passed
to a plugin cmdr_data() is, strictly speaking, an instance of CAPIData,
which is an extension of UserDict. It has some extra properties on it,
-but these are for internal use only and no plugin should rely on them.Tha major reason for this release is to address the Live versus Legacy galaxy +about this. + +
Tha major reason for this release is to address the Live versus Legacy galaxy split coming in Update 14 of the game. See the section "Update 14 and the Galaxy Split" below for how this might -impact you.
We now test against, and package with, Python 3.10.8.
The code for sending data to EDDN has been reworked. This changes the +impact you.
+We now test against, and package with, Python 3.10.8.
+The code for sending data to EDDN has been reworked. This changes the
'replay log' from utilising an internal array, backed by a flat file
-(replay.jsonl), to an sqlite3 database.
As a result:
replay.jsonl are converted at startup,
-if that file is present, and then the file removed.replay.jsonl), to an sqlite3 database.
+As a result:
+replay.jsonl are converted at startup,
+if that file is present, and then the file removed.The 5-minute timer in point 3 differs from the old code, where almost any +the next invocation.
The 5-minute timer in point 3 differs from the old code, where almost any new message sending attempt could initiate processing of the queue. At -application startup this delay is only 10 seconds.
Currently, the feedback of "Sending data to EDDN..." in the UI status line -has been removed.
If you do not have "Delay sending until docked" active, then the only +application startup this delay is only 10 seconds.
+Currently, the feedback of "Sending data to EDDN..." in the UI status line +has been removed.
+If you do not have "Delay sending until docked" active, then the only messages that will be at all delayed will be where there was a communication problem with the EDDN Gateway, or it otherwise indicated a problem other -than 'your message is bad'.
As a result of this EDDN rework this application now sends appropriate +than 'your message is bad'.
+As a result of this EDDN rework this application now sends appropriate
gameversion and gamebuild strings in EDDN message headers.
The rework was necessary in order to enable this, in case of any queued
or delayed messages which did not contain this information in the legacy
-replay.jsonl format.
For EDSM there is a very unlikely set of circumstances that could, in theory
+replay.jsonl format.
For EDSM there is a very unlikely set of circumstances that could, in theory lead to some events not being sent. This is so as to safeguard against sending a batch with a gameversion/build claimed that does not match for -all of the events in that batch.
It would take a combination of "communications with EDSM are slow", more +all of the events in that batch.
+It would take a combination of "communications with EDSM are slow", more events (the ones that would be lost), a game client crash, and starting -a new game client before the 'more events' are sent.
Due to the galaxy split announced by Frontier -there are some changes to the major third-party websites and tools.
Inara has chosen -to only accept Live galaxy data on its API.
This application will not even process Journal data for Inara after +a new game client before the 'more events' are sent.
+Due to the galaxy split announced by Frontier +there are some changes to the major third-party websites and tools.
+Inara has chosen +to only accept Live galaxy data on its API.
+This application will not even process Journal data for Inara after
2022-11-29T09:00:00+00:00 unless the gameversion indicates a Live client.
This explicitly checks that the game's version is semantically equal to or
-greater than '4.0.0'.
If a Live client is not detected, then there is an INFO level logging +greater than '4.0.0'.
+If a Live client is not detected, then there is an INFO level logging message "Inara only accepts Live galaxy data", which is also set as the main -UI status line. This message will repeat, at most, every 5 minutes.
If you continue to play in the Legacy galaxy only then you probably want to -just disable the Inara plugin with the checkbox on Settings > Inara.
All batches of events sent to EDSM will be tagged with a gameversion, in
-a similar manner to the EDDN header.
Ref: EDSM api-journal-v1
All EDDN messages will now have appropriate gameversion and gamebuild
+UI status line. This message will repeat, at most, every 5 minutes.
If you continue to play in the Legacy galaxy only then you probably want to +just disable the Inara plugin with the checkbox on Settings > Inara.
+All batches of events sent to EDSM will be tagged with a gameversion, in
+a similar manner to the EDDN header.
Ref: EDSM api-journal-v1
+All EDDN messages will now have appropriate gameversion and gamebuild
fields in the header as per
-EDDN/docs/Developers.md.
As a result of this you can expect third-party sites to choose to filter data -based on that.
Look for announcements by individual sites/tools as to what they have chosen -to do.
In testing if it had been broken at all due to 5.5.0 -> 5.6.0 changes it has +EDDN/docs/Developers.md.
+As a result of this you can expect third-party sites to choose to filter data +based on that.
+Look for announcements by individual sites/tools as to what they have chosen +to do.
+In testing if it had been broken at all due to 5.5.0 -> 5.6.0 changes it has
come to light that EDMC.EXE -n, to send data to EDDN, was already broken in
-5.5.0.
In addition, there is now some extra 'INFO' logging output which will be +5.5.0.
+In addition, there is now some extra 'INFO' logging output which will be
produced by any invocation of EDMC.EXE. This might break third-party use of
it, e.g. Trade Computer Extension Mk.II.
This will be fixed as soon as the dust settles from Update 14, with emphasis
-being on ensuring the GUI EDMarketConnector.exe functions properly.
Where EDMC sourced data from the Journal files it will set gameversion
+being on ensuring the GUI EDMarketConnector.exe functions properly.
Where EDMC sourced data from the Journal files it will set gameversion
and gamebuild as per their values in Fileheader or LoadGame, whichever
-was more recent (there are some events that occur between these).
If any message was already delayed such that it did not +was more recent (there are some events that occur between these).
+If any message was already delayed such that it did not
have the EDDN header recorded, then the gameversion and gamebuild will
be empty strings. In order to indicate this the softwareName will have
(legacy replay) appended to it, e.g. E:D Market Connector Connector [Windows] (legacy replay). In general this indicates that the message was
queued up using a version of EDMC prior to this one. If you're only
-interested in Live galaxy data then you might want to ignore such messages.
Where EDMC sourced data from a CAPI endpoint, the resulting EDDN message +interested in Live galaxy data then you might want to ignore such messages.
+Where EDMC sourced data from a CAPI endpoint, the resulting EDDN message
will have a gameversion of CAPI-<endpoint> set, e.g. CAPI-market.
At this time it is not 100% certain which galaxy this data will be for, so
-all listeners are advised to ignore/queue such data until this is clarified.
gamebuild will be an empty string for all CAPI-sourced data.
state passed to plugins, IsDocked. See PLUGINS.md
-for details.FCMaterials schemas to aid third-party sites in
+all listeners are advised to ignore/queue such data until this is clarified.
+gamebuild will be an empty string for all CAPI-sourced data.
state passed to plugins, IsDocked. See PLUGINS.md
+for details.FCMaterials schemas to aid third-party sites in
offering searches for where to buy and sell Odyssey Micro Resources,
-including on Fleet Carriers with the bar tender facility.fsssignaldiscovered sending of message if no signals passed
-the checks.fsssignaldiscovered messages.NavRoute.json contains
-no route.marketID for ApproachSettlement unless it's actually
-present in the event.We now build using the new, setuptools mediated py2exe freeze() method,
-so we're in the clear for when distutils is removed in Python 3.12.
This shouldn't have any adverse effects on plugins, i.e. all of the same -Python modules are still packaged as before.
Support has been added for the NavRouteClear event. We do send this
+including on Fleet Carriers with the bar tender facility.
fsssignaldiscovered sending of message if no signals passed
+the checks.fsssignaldiscovered messages.NavRoute.json contains
+no route.marketID for ApproachSettlement unless it's actually
+present in the event.We now build using the new, setuptools mediated py2exe freeze() method,
+so we're in the clear for when distutils is removed in Python 3.12.
This shouldn't have any adverse effects on plugins, i.e. all of the same +Python modules are still packaged as before.
+Support has been added for the NavRouteClear event. We do send this
through to plugins, so that they know the player has cleared the route,
-but we keep the previously plotted route details in state['NavRoute'].
The documentation of the return type of journal_entry() has been corrected
-to Optional[str].
FDevIDs files (commodity.csvrare_commodity.csv) updated to latest
-versions.
setuptools mediated py2exe freeze() method,
-so we're in the clear for when distutils is removed in Python 3.12.setup.py file, along with associated py2exe.cmd have been removed
-in favour of the new Build-exe-and-msi.py file. Documentation updated.If for any reason EDMarketConnector.exe fails to shutdown and exit when
+but we keep the previously plotted route details in state['NavRoute'].
The documentation of the return type of journal_entry() has been corrected
+to Optional[str].
FDevIDs files (commodity.csv rare_commodity.csv) updated to latest
+versions.
setuptools mediated py2exe freeze() method,
+so we're in the clear for when distutils is removed in Python 3.12.setup.py file, along with associated py2exe.cmd have been removed
+in favour of the new Build-exe-and-msi.py file. Documentation updated.If for any reason EDMarketConnector.exe fails to shutdown and exit when
asked to by the upgrade process this should no longer result in a spontaneous
-system reboot. Closes #1492.
A manual reboot will still be required to complete the EDMarketConnector +system reboot. Closes #1492.
+A manual reboot will still be required to complete the EDMarketConnector upgrade process and we make no guarantees about the stability of the -application until this is done.
The new EDDN fsssignaldiscovered/1 schema has been implemented.
EDSM trace level logging will no longer log API credentials unless explicitly -asked to, separately from other EDSM API trace logging.
_Localised suffix keys in data. This
+application until this is done.
+The new EDDN fsssignaldiscovered/1 schema has been implemented.
EDSM trace level logging will no longer log API credentials unless explicitly +asked to, separately from other EDSM API trace logging.
+_Localised suffix keys in data. This
was missed in some recent new schemas and turned out to be an issue for at
-least approachsettlement/1.fssbodysignals is now supported.BodyID to CodexEntry journal events, so don't
+least approachsettlement/1.fssbodysignals is now supported.BodyID to CodexEntry journal events, so don't
overwrite this with an augmentation if it is already present. We've also
-added the same for BodyName in case Frontier ever add that.MarketID in CAPI data, not only the station name, to ensure
-the data is for the correct station. Closes #1572.BodyName in case Frontier ever add that.MarketID in CAPI data, not only the station name, to ensure
+the data is for the correct station. Closes #1572.FCMaterials.json,
+Closes #1522.FCMaterials.json,
detailing the available trades at a Fleet Carrier's bar tender. Support has
been added for this. Plugin developers are sent an FCMaterials event
-with the full contents of the file.This now uses specific exit codes in all cases, rather than a generic +with the full contents of the file.
This now uses specific exit codes in all cases, rather than a generic
EXIT_SYS_ERR (6) for some cases. See the appropriate line in EDMC.py for
-details.
Whilst EDMarketConnector.exe was fixed for the Odyssey Update 11 difference in Journal file names, EDMC.exe was not. If you're wondering, that's the command-line utility that, for instance, Trade Computer Extensions uses to obtain data.
Unfortunately 5.3.2 failed to fully address the issues caused by the different +details.
+ + +Whilst EDMarketConnector.exe was fixed for the Odyssey Update 11 difference in Journal file names, EDMC.exe was not. If you're wondering, that's the command-line utility that, for instance, Trade Computer Extensions uses to obtain data.
+Unfortunately 5.3.2 failed to fully address the issues caused by the different Journal filenames when using the Odyssey Update 11 client. It's fine if you run EDMarketConnector first and then the game, as the code path that detects -a new file always does just that.
But the code for EDMarketConnector startup to find the current newest Journal +a new file always does just that.
+But the code for EDMarketConnector startup to find the current newest Journal file relied on sorting the filenames and that would mean the new-style names -would always sort as 'oldest'.
This release fixes that code to properly use the file modification timestamp -to determine the newest file on startup.
This release contains one change to cope with how Frontier decided to name -the Journal files differently in the Update 11 Odyssey client.
This release addresses some issues with newer EDDN code which could cause erroneous alerts to the player, or sending of bad messages.
EDDN: Cope with ApproachSettlement on login occurring before Location,
-such that we don't yet know the name of the star system the player is in.
Closes #1484
EDDN: Cope with ApproachSettlement missing planetary coordinates on login
-at/near a settlement in Horizons.
Closes #1476
EDDN: Change the CodexEntry "empty string" checks to only apply to those
-values where the schema enforces "must be at least one character".
This prevents the big 'CodexEntry had empty string, PLEASE ALERT THE EDMC DEVELOPERS' message from triggering on, e.g. NearestDestination being
-empty, which the schema allows.
Closes #1481
If you use a sub-class for a widget the core code will no longer break if +would always sort as 'oldest'.
+This release fixes that code to properly use the file modification timestamp +to determine the newest file on startup.
+ + +This release contains one change to cope with how Frontier decided to name +the Journal files differently in the Update 11 Odyssey client.
+ + +This release addresses some issues with newer EDDN code which could cause erroneous alerts to the player, or sending of bad messages.
EDDN: Cope with ApproachSettlement on login occurring before Location,
+such that we don't yet know the name of the star system the player is in.
Closes #1484
+EDDN: Cope with ApproachSettlement missing planetary coordinates on login
+at/near a settlement in Horizons.
Closes #1476
+EDDN: Change the CodexEntry "empty string" checks to only apply to those
+values where the schema enforces "must be at least one character".
This prevents the big 'CodexEntry had empty string, PLEASE ALERT THE EDMC DEVELOPERS' message from triggering on, e.g. NearestDestination being
+empty, which the schema allows.
Closes #1481
+If you use a sub-class for a widget the core code will no longer break if
your code raises an exception. e.g. a plugin was failing due to Python
3.10 using collections.abc instead of collections, and the plugin's
custom widget had a configure() method which was called by the core
theme code on startup or theme change. This then caused the whole
-application UI to never show up on startup.
This also applies if you set up a button such that enter/leave on it, i.e.
-mouse in/out, causes the theme.py code for that to trigger.
So, now in such cases the main UI should actually show up, although your -plugin's UI might look weird due to theming not being properly applied.
The plugin exception WILL be logged, at ERROR level.
As has sadly become routine now, please read +application UI to never show up on startup.
+This also applies if you set up a button such that enter/leave on it, i.e.
+mouse in/out, causes the theme.py code for that to trigger.
So, now in such cases the main UI should actually show up, although your +plugin's UI might look weird due to theming not being properly applied.
+The plugin exception WILL be logged, at ERROR level.
+As has sadly become routine now, please read our statement about malware false positives affecting our installers and/or the files they contain. We are as confident as we can be, without detailed auditing of python.org's releases and all the py2exe source and releases, that there is no malware in the files we make -available.
This release is primarily aimed at fixing some more egregious bugs, +available.
+This release is primarily aimed at fixing some more egregious bugs, shortcomings and annoyances with the application. It also adds support for two additional EDDN -schemas.
We now test and build using Python 3.10.2. We do not yet make use of any +schemas.
+We now test and build using Python 3.10.2. We do not yet make use of any features specific to Python 3.10 (or 3.9). Let us restate that we -absolutely reserve the right to commence doing so.
We now set a custom User-Agent header in all web requests, i.e. to EDDN, -EDSM and the like. This is of the form:
EDCD-EDMarketConnector-<version>
"File" -> "Status" will now show the new Odyssey ranks, both the new -categories and the new 'prestige' ranks, e.g. 'Elite I'.
NB: Due to an oversight there are currently no translations for these.
Closes #1369.
Running EDMarketConnector.exe --reset-ui will now also reset any changes to
-the application "UI Scale" or geometry (position and size).
Closes #1155.
We now use UTC-based timestamps in the application's log files. Prior to +absolutely reserve the right to commence doing so.
+We now set a custom User-Agent header in all web requests, i.e. to EDDN, +EDSM and the like. This is of the form:
+EDCD-EDMarketConnector-<version>
"File" -> "Status" will now show the new Odyssey ranks, both the new +categories and the new 'prestige' ranks, e.g. 'Elite I'.
+NB: Due to an oversight there are currently no translations for these.
+Closes #1369.
+Running EDMarketConnector.exe --reset-ui will now also reset any changes to
+the application "UI Scale" or geometry (position and size).
Closes #1155.
+We now use UTC-based timestamps in the application's log files. Prior to
this change it was the "local time", but without any indication of the
applied timezone. Each line's timestamp has UTC as a suffix now. We
are assuming that your local clock is correct and the timezone is set
-correctly, such that Python's time.gmtime() yields UTC times.
This should make it easier to correlate application logfiles with in-game -time and/or third-party service timestamps.
The process used to build the Windows installers should now always pick up
+correctly, such that Python's time.gmtime() yields UTC times.
This should make it easier to correlate application logfiles with in-game +time and/or third-party service timestamps.
+The process used to build the Windows installers should now always pick up all the necessary files automatically. Prior to this we used a manual process to update the installer configuration which was prone to both user -error and neglecting to update it as necessary.
If the application fails to load valid data from the NavRoute.json file
+error and neglecting to update it as necessary.
If the application fails to load valid data from the NavRoute.json file
when processing a Journal NavRoute event, it will attempt to retry this
-operation a number of times as it processes subsequent Journal events.
This should hopefully work around a race condition where the game might +operation a number of times as it processes subsequent Journal events.
+This should hopefully work around a race condition where the game might
not have yet updated NavRoute.json at all, or has truncated it to empty,
-when we first attempt this.
We will also now NOT attempt to load NavRoute.json during the startup
-'Journal catch-up' mode, which only sets internal state.
Closes #1348.
Inara: Use the <journal log>->Statistics->Bank_Account->Current_Wealth
+when we first attempt this.
We will also now NOT attempt to load NavRoute.json during the startup
+'Journal catch-up' mode, which only sets internal state.
Closes #1348.
+Inara: Use the <journal log>->Statistics->Bank_Account->Current_Wealth
value when sending a setCommanderCredits message to Inara to set
-commanderAssets.
In addition, a setCommanderCredits message at game login will now only
+commanderAssets.
In addition, a setCommanderCredits message at game login will now only
ever be sent at game login. Yes, you will NEED to relog to send an
updated balance. This is the only way in which to sanely keep the
-'Total Assets' value on Inara from bouncing around.
Refer to Inara:API:docs:setCommanderCredits.
Closes #1401.
Inara: Send a setCommanderRankPilot message when the player logs in to the
+'Total Assets' value on Inara from bouncing around.
Refer to Inara:API:docs:setCommanderCredits.
+Closes #1401.
+Inara: Send a setCommanderRankPilot message when the player logs in to the
game on-foot. Previously you would HAVE to be in a ship at login time
-for this to be sent.
Thus, you can now relog on-foot in order to update Inara with any Rank up -or progress since the session started.
Closes #1378.
Inara: Fix for always sending a Rank Progress of 0%.
Closes #1378.
Inara: You should once more see updates for any materials used in +for this to be sent.
+Thus, you can now relog on-foot in order to update Inara with any Rank up +or progress since the session started.
+Closes #1378.
+Inara: Fix for always sending a Rank Progress of 0%.
+Closes #1378.
+Inara: You should once more see updates for any materials used in
Engineering. The bug was in our more general Journal event processing
code pertaining to EngineerCraft events, such that the state passed to
-the Inara plugin hadn't been updated.
Such updates should happen 'immediately', but take into account that there +the Inara plugin hadn't been updated.
+Such updates should happen 'immediately', but take into account that there can be a delay of up to 35 seconds for any data sent to Inara, due to how -we avoid breaking the "2 messages a minute" limit on the Inara API.
Closes #1395.
EDDN: Implement new approachsettlement/1 -schema.
EDDN: Implement new fssallbodiesfound/1 -schema.
EDDN: We now compress all outgoing messages. This might help get some
-particularly large navroute messages go through.
If any message is now rejected as 'too large' we will drop it, and thus -not retry it later. The application logs will reflect this.
NB: The EDDN Gateway was updated to allow messages up to 1 MiB in size -anyway. The old limit was 100 KiB.
Closes #1390.
EDDN: In an attempt to diagnose some errors observed on the EDDN Gateway +we avoid breaking the "2 messages a minute" limit on the Inara API.
+Closes #1395.
+EDDN: Implement new approachsettlement/1 +schema.
+EDDN: Implement new fssallbodiesfound/1 +schema.
+EDDN: We now compress all outgoing messages. This might help get some
+particularly large navroute messages go through.
If any message is now rejected as 'too large' we will drop it, and thus +not retry it later. The application logs will reflect this.
+NB: The EDDN Gateway was updated to allow messages up to 1 MiB in size +anyway. The old limit was 100 KiB.
+Closes #1390.
+EDDN: In an attempt to diagnose some errors observed on the EDDN Gateway with respect to messages sent from this application some additional checks -and logging have been added.
NB: After some thorough investigation it was concluded that these EDDN +and logging have been added.
+NB: After some thorough investigation it was concluded that these EDDN errors were likely the result of long-delayed messages due to use of -the "Delay sending until docked" option.
There should be no functional changes for users. But if you see any of +the "Delay sending until docked" option.
+There should be no functional changes for users. But if you see any of the following in this application's log files PLEASE OPEN AN ISSUE ON GITHUB with all the requested information, so that we can correct the relevant -code:
No system name in entry, and system_name was not set either! entry: ...BodyName was present but not a string! ...post-processing entry contains entry ...this.body_id was not set properly: ...system is falsey, can't add StarSystemthis.coordinates is falsey, can't add StarPosthis.systemaddress is falsey, can't add SystemAddressthis.status_body_name was not set properly: ...You might also see any of the following in the application status text -(bottom of the window):
passed-in system_name is empty, can't add SystemCodexEntry had empty string, PLEASE ALERT THE EDMC DEVELOPERSsystem is falsey, can't add StarSystemthis.coordinates is falsey, can't add StarPosthis.systemaddress is falsey, can't add SystemAddressUse a different workaround for OneSky (translations website) using "zh-Hans" +code:
+No system name in entry, and system_name was not set either! entry: ...BodyName was present but not a string! ...post-processing entry contains entry ...this.body_id was not set properly: ...system is falsey, can't add StarSystemthis.coordinates is falsey, can't add StarPosthis.systemaddress is falsey, can't add SystemAddressthis.status_body_name was not set properly: ...You might also see any of the following in the application status text +(bottom of the window):
+passed-in system_name is empty, can't add SystemCodexEntry had empty string, PLEASE ALERT THE EDMC DEVELOPERSsystem is falsey, can't add StarSystemthis.coordinates is falsey, can't add StarPosthis.systemaddress is falsey, can't add SystemAddressUse a different workaround for OneSky (translations website) using "zh-Hans" for Chinese (Simplified), whereas Windows will call this "zh-CN". This is in-code and documented with a comment, as opposed to some 'magic' in the Windows Installer configuration that had no such documentation. It's less fragile than relying on that, or developers using a script/documented -process to rename the file.
As noted above we forgot to upload to +process to rename the file.
+As noted above we forgot to upload to OneSky after adding the Odyssey new ranks/categories. This has now been done, -and some new phrases await translation.
This is a very minor update that simply imports the latest versions of -data files so that some niche functionality works properly.
Update commodity.csv and rare_commodity.csv from the latest
+and some new phrases await translation.
This is a very minor update that simply imports the latest versions of +data files so that some niche functionality works properly.
+Update commodity.csv and rare_commodity.csv from the latest
EDCD/FDevIDs versions. This addresses
an issue with export of market data in Trade Dangerous format containing
OnionHeadC rather than the correct name, Onionhead Gamma Strain, that
-Trade Dangerous is expecting.
This will only have affected Trade Dangerous users who use EDMarketConnector -as a source of market data.
This release fixes one bug and fixes some example code.
Odyssey changed the order of some Journal events. This caused our logic -for tracking the following to break, and thus not report them ever to Inara:
This is now fixed and the current state of all of these will be correctly -reported to Inara if you have API access for it configured.
Now built using Python 3.9.9.
Updated PLUGINS.md -to state that we don't actually include all of Python's standard library.
The click_counter +Trade Dangerous is expecting.
+This will only have affected Trade Dangerous users who use EDMarketConnector +as a source of market data.
+This release fixes one bug and fixes some example code.
+Odyssey changed the order of some Journal events. This caused our logic +for tracking the following to break, and thus not report them ever to Inara:
+This is now fixed and the current state of all of these will be correctly +reported to Inara if you have API access for it configured.
+Now built using Python 3.9.9.
+Updated PLUGINS.md +to state that we don't actually include all of Python's standard library.
+The click_counter example plugin code has been corrected to both actually work fully, and pass -our linting.
This release adds one new feature and addresses some bugs. We've also -updated to using Python 3.9.8.
Windows now has "minimize to system tray" support.
Minimize to system tray.If a CAPI query failed in such a way that no requests.Response object
+our linting.
This release adds one new feature and addresses some bugs. We've also +updated to using Python 3.9.8.
+Windows now has "minimize to system tray" support.
+Minimize to system tray.If a CAPI query failed in such a way that no requests.Response object
was made available we attempted to blindly dump the non-existent object.
-We now check that it actually exists, and log the specifics of the exception.
A user experienced the game writing a NavRoute.json file without a +We now check that it actually exists, and log the specifics of the exception.
+A user experienced the game writing a NavRoute.json file without a
Route array, which caused the application to attempt sending a badly formed
navroute message to EDDN. That message was then remembered and constantly
-retried.
We now sanity check the NavRoute.json contents to be sure there is a +retried.
+We now sanity check the NavRoute.json contents to be sure there is a
Route array, even if it is empty. If it's not present no attempt
-to send the EDDN message will be made.
If this scenario occurs the user will see a status line message No 'Route' array in NavRoute.json contents.
For any EDDN message that receives a 400 status back we will drop it -from the replay log.
This release primarily addresses the issue of the program asking for -Frontier authorization much too often.
If this scenario occurs the user will see a status line message No 'Route' array in NavRoute.json contents.
For any EDDN message that receives a 400 status back we will drop it +from the replay log.
+This release primarily addresses the issue of the program asking for +Frontier authorization much too often.
+The 'Update' button is disabled if CQC/Arena is detected.
Frontier CAPI queries now run in their own thread. There should be no +threaded inadvertently prevented this.
The 'Update' button is disabled if CQC/Arena is detected.
+Frontier CAPI queries now run in their own thread. There should be no change in functionality for users. This affects both EDMarketConnector -(GUI) and EDMC (command-line).
File > Status will now use cached CAPI data, rather than causing a fresh
+(GUI) and EDMC (command-line).
File > Status will now use cached CAPI data, rather than causing a fresh
query. Currently if data has not yet been cached nothing will happen when
-trying to use this.
Trying to use File > Status when the current commander is unknown, or
+trying to use this.
Trying to use File > Status when the current commander is unknown, or
there is has been no CAPI data retrieval yet, will now result in the 'bad'
-sound being played and an appropriate status line message.
File > Save Raw Data also now uses the cached CAPI data, rather than
+sound being played and an appropriate status line message.
File > Save Raw Data also now uses the cached CAPI data, rather than
causing a fresh query. This will write an empty JSON {} if no data is
-yet available.
New docs/Licenses/ directory containing all relevant -third-party licenses for the software this application uses.
Settings > Output > File Location 'Browse' button will now always be
-available, even if no output options are active.
The 'no git installed' logging when running from source is now at INFO -level, not ERROR. This will look less scary.
EDMarketConnetor command-line arguments have been re-ordered into
-logical groups for --help output.
Support added for several new EDDN schemas relating to specific Journal -events. The live EDDN server has been updated to support these.
Schema support added for:
codexentry/1fssdiscoveryscan/1navbeaconscan/1navroute/1scanbarycentre/1If a message to EDDN gets an 'unknown schema' response it will NOT be -saved in the replaylog for later retries, instead being discarded.
Pressing the 'Update' button when in space (not docked, not on a body +yet available.
+New docs/Licenses/ directory containing all relevant +third-party licenses for the software this application uses.
+Settings > Output > File Location 'Browse' button will now always be
+available, even if no output options are active.
The 'no git installed' logging when running from source is now at INFO +level, not ERROR. This will look less scary.
+EDMarketConnetor command-line arguments have been re-ordered into
+logical groups for --help output.
Support added for several new EDDN schemas relating to specific Journal +events. The live EDDN server has been updated to support these.
+Schema support added for:
+codexentry/1fssdiscoveryscan/1navbeaconscan/1navroute/1scanbarycentre/1If a message to EDDN gets an 'unknown schema' response it will NOT be +saved in the replaylog for later retries, instead being discarded.
+Pressing the 'Update' button when in space (not docked, not on a body surface) will no longer cause a spurious "Docked but unknown station: EDO -Settlement?" message.
A bug preventing --force-localserver-auth from working has been fixed.
horizons and odyssey flags should now always be set properly on all
-EDDN messages. The horizons flag was missing from some.
Now built using Python 3.9.7.
New journal_entry_cqc() function for plugins to receive journal events
+Settlement?" message.
A bug preventing --force-localserver-auth from working has been fixed.
horizons and odyssey flags should now always be set properly on all
+EDDN messages. The horizons flag was missing from some.
Now built using Python 3.9.7.
+New journal_entry_cqc() function for plugins to receive journal events
specifically and only when the player is in CQC/Arena. This allows
for tracking things that happen in CQC/Arena without polluting
-journal_entry(). See PLUGINS.md for details.
Command-line argument --trace-all to force all possible --trace-on to be
-active.
Contributing.md has been updated for how to properly use trace_on().
EDMC.(py,exe) now also makes use of --trace-on.
EDMarketConnector now has --capi-pretend-down to act as if the CAPI
-server is down.
Killswitches now have support for removing key/values entirely, or forcing -the value. See docs/Killswitches.md for details.
state['Odyssey'] added, set from LoadGame journal event.
You can now test against a different EDDN server using --eddn-url
+journal_entry(). See PLUGINS.md for details.
Command-line argument --trace-all to force all possible --trace-on to be
+active.
Contributing.md has been updated for how to properly use trace_on().
EDMC.(py,exe) now also makes use of --trace-on.
EDMarketConnector now has --capi-pretend-down to act as if the CAPI
+server is down.
Killswitches now have support for removing key/values entirely, or forcing +the value. See docs/Killswitches.md for details.
+state['Odyssey'] added, set from LoadGame journal event.
You can now test against a different EDDN server using --eddn-url
command-line argument. This needs to be the full 'upload' URL, i.e. for
-the live instance this is https://eddn.edcd.io:4430/upload/.
New command-line argument --eddn-tracking-ui to track the EDDN plugin's
+the live instance this is https://eddn.edcd.io:4430/upload/.
New command-line argument --eddn-tracking-ui to track the EDDN plugin's
idea of the current BodyName and BodyID, from both the Journal and
-Status.json.
Attempt to flush any pending EDSM API data when a Journal Shutdown or
+Status.json.
Attempt to flush any pending EDSM API data when a Journal Shutdown or
Fileheader event is seen. After this, the data is dropped. This ensures
that, if the user next logs in to a different commander, the data isn't then
-sent to the wrong EDSM account.
Ensure a previous Journal file is fully read/drained before starting +sent to the wrong EDSM account.
+Ensure a previous Journal file is fully read/drained before starting processing of a new one. In particular, this ensures properly seeing the end -of a continued Journal file when opening the continuation file.
New config options, in a new Privacy tab, to hide the current Private
+of a continued Journal file when opening the continuation file.
New config options, in a new Privacy tab, to hide the current Private
Group, or captain of a ship you're multi-crewing on. These usually appear
on the Commander line of the main UI, appended after your commander name,
-with a / between.
EDO dockable settlement names with + characters appended will no longer
-cause 'server lagging' reports.
Don't force DEBUG level logging to the
+with a / between.
EDO dockable settlement names with + characters appended will no longer
+cause 'server lagging' reports.
Don't force DEBUG level logging to the
plain log file
if --trace isn't used to force TRACE level logging. This means logging
to the plain log file will once more respect the user-set Log Level, as in
-the Configuration tab of Settings.
As its name implies, the debug log file -will always contain at least DEBUG level logging, or TRACE if forced.
New EDMarketConnector option --trace-on ... to control if certain TRACE
+the Configuration tab of Settings.
As its name implies, the debug log file +will always contain at least DEBUG level logging, or TRACE if forced.
+New EDMarketConnector option --trace-on ... to control if certain TRACE
level logging is used or not. This helps keep the noise down whilst being
-able to have users activate choice bits of logging to help track down bugs.
See Contributing.md for -details.
Loading of ShipLocker.json content is now tried up to 5 times, 10ms apart,
+able to have users activate choice bits of logging to help track down bugs.
See Contributing.md for +details.
+Loading of ShipLocker.json content is now tried up to 5 times, 10ms apart,
if there is a file loading, or JSON decoding, failure. This should
hopefully result in the data being loaded correctly if a race condition with
-the game client actually writing to and closing the file is encountered.
config.get_bool('some_str', default=SomeDefault) will now actually honour
-that specified default.
A Journal event change in EDO Update 6 will have caused some translated +the game client actually writing to and closing the file is encountered.
+config.get_bool('some_str', default=SomeDefault) will now actually honour
+that specified default.
A Journal event change in EDO Update 6 will have caused some translated suit names to not be properly mapped to their sane versions. This change has now been addressed and suit names should always come out as intended in -the EDMarketConnector.exe UI.
There is a new command-line argument to cause all Frontier Authorisation to
-be forgotten: EDMarketConnector.exe --forget-frontier-auth.
Situations where Frontier CAPI data doesn't agree on the location we have -tracked from Journal events will now log more useful information.
We now store GameLanguage, GameVersion and GameBuild in the state
-passed to journal_entry() from the LoadGame event.
Various suit data, i.e. class and mods, is now stored from relevant +the EDMarketConnector.exe UI.
+There is a new command-line argument to cause all Frontier Authorisation to
+be forgotten: EDMarketConnector.exe --forget-frontier-auth.
Situations where Frontier CAPI data doesn't agree on the location we have +tracked from Journal events will now log more useful information.
+We now store GameLanguage, GameVersion and GameBuild in the state
+passed to journal_entry() from the LoadGame event.
Various suit data, i.e. class and mods, is now stored from relevant Journal events, rather than only being available from CAPI data. In general we now consider the Journal to be the canonical source of suit -data, with CAPI only as a backup.
Backpack contents should now track correctly if using the 'Resupply' option -available on the ship boarding menu.
We now cache the main application version when first determined, so +data, with CAPI only as a backup.
+Backpack contents should now track correctly if using the 'Resupply' option +available on the ship boarding menu.
+We now cache the main application version when first determined, so
that subsequent references to config.appversion() won't cause extra log
spam (which was possible when, e.g. having a git command but using non-git
-source).
The big change in this is adjustments to be in line with Journal changes in +source).
+The big change in this is adjustments to be in line with Journal changes in Elite Dangerous Odyssey 4.0.0.400, released 2021-06-10, with respect to the -Odyssey materials Inventory.
This update is mandatory if you want EDMarketConnector to update Inara.cz -with your Odyssey inventory.
ShipLockerMaterials is dead, long live ShipLocker. Along with other
+Odyssey materials Inventory.
This update is mandatory if you want EDMarketConnector to update Inara.cz +with your Odyssey inventory.
+ShipLockerMaterials is dead, long live ShipLocker. Along with other
changes to how backpack inventory is handled we should now actually be
able to fully track all Odyssey on-foot materials and consumables without
-errors.
Inara plugin adjusted to send the new ShipLocker inventory to Inara.cz.
+errors.
Inara plugin adjusted to send the new ShipLocker inventory to Inara.cz.
This is still only your ship inventory of Odyssey materials, not
anything currently in your backpack whilst on foot.
See this issue
for some quotes from Artie (Inara.cz developer) about not including
-backpack contents in the Inara inventory.
Errors related to sending data to EDDN are now more specific to aid in -diagnoising issues.
Quietened some log output if we encounter connection errors trying to -utilise the Frontier CAPI service.
We believe that nothing should be worse in this version compared to 5.1.1, -although a small tweak or two might have leaked through.
We'll be fully addressing translations in a near-future release after we've +backpack contents in the Inara inventory.
+Errors related to sending data to EDDN are now more specific to aid in +diagnoising issues.
+Quietened some log output if we encounter connection errors trying to +utilise the Frontier CAPI service.
+We believe that nothing should be worse in this version compared to 5.1.1, +although a small tweak or two might have leaked through.
+We'll be fully addressing translations in a near-future release after we've conclude the necessary code level work for the new system. Nothing should change for those of you helping on OneSky, other than at most the -'comments' on each translation. They should be more useful!
Pending that work we've specifically chosen not to update any -translations in this release, so they'll be the same as released in 5.1.0.
Handle where the Backpack.json file for a Backpack event is a zero length
-file. Closes #1138.
Fixed case of 'Selection' in 'Override Beta/Normal Selection' text on -Settings > Configuration. This allows translations to work.
We've updated Contributing.md including:
.format() with respect to
-translated strings.docs/Translations.md updated about a forthcoming +'comments' on each translation. They should be more useful!
+Pending that work we've specifically chosen not to update any +translations in this release, so they'll be the same as released in 5.1.0.
+Handle where the Backpack.json file for a Backpack event is a zero length
+file. Closes #1138.
Fixed case of 'Selection' in 'Override Beta/Normal Selection' text on +Settings > Configuration. This allows translations to work.
+We've updated Contributing.md including:
+.format() with respect to
+translated strings.docs/Translations.md updated about a forthcoming change to how we can programmatically check that all translation strings -have a proper comment in 'L10n/en.template' to aid translators.
state passed to journal_entry() now has ShipLockerJSON which contains
+have a proper comment in 'L10n/en.template' to aid translators.
state passed to journal_entry() now has ShipLockerJSON which contains
the json.load()-ed data from the new 'ShipLocker.json' file. We do
attempt to always load from this file, even when the ShipLocker Journal
event itself contains all of the data (which it does on startup, embark and
disembark), so it should always be populated when plugins see any event
-related to Odyssey inventory.
Updates to how this application utilises the Inara.cz API.
Updates to how this application utilises the Inara.cz API.
+ShipLockerMaterials Journal event, such as
-at login or when you disembark from any vehicle.You can now both edit the 'normal' and 'beta' coriolis.io URLs, and +sent along with this.
You can now both edit the 'normal' and 'beta' coriolis.io URLs, and choose which of them are used. 'Auto' means allowing the application to use the normal one when you're running the live game, or the beta version -if running a beta version of the game.
Suit names will now be displayed correctly when we have pulled the data -from the Frontier CAPI, rather than Journal entries.
Many translations updated once more, especially for new strings. Thanks -as always to those contributing!
Suit names will now be displayed correctly when we have pulled the data +from the Frontier CAPI, rather than Journal entries.
+Many translations updated once more, especially for new strings. Thanks +as always to those contributing!
+There are some new members of the state dictionary passed to
+We're still investigating that bug report.
+
+
There are some new members of the state dictionary passed to
journal_entry(); Taxi, Dropship, Body and BodyType. See
-PLUGINS.md for the details.
This is a minor bugfix release, ensuring that Odyssey Suit names (and loadout) -will actually display if you're in your ship on login and never leave it.
NB: This still requires a Frontier CAPI data pull, either automatically +PLUGINS.md for the details.
+ +This is a minor bugfix release, ensuring that Odyssey Suit names (and loadout) +will actually display if you're in your ship on login and never leave it.
+NB: This still requires a Frontier CAPI data pull, either automatically
because you're docked if you have that option set, or by pressing the
'Update' button. We can't display data when we don't have it from either
CAPI or Journal sources. You'll also see '<Unknown>' between the time we
see the Journal LoadGame event during login and when there's either a
-Journal suit-related event, or a CAPI data pull completes.
You can now click on a 'cell' in the "File" > "Status" popup to copy that +Journal suit-related event, or a CAPI data pull completes.
+ + +You can now click on a 'cell' in the "File" > "Status" popup to copy that text to the clipboard. This was a relatively easy, and non-intrusive, code -change. We'll look at richer, fuller, copy functionality in the future.
Suit names, for all grades, should now be displaying as just the relevant +change. We'll look at richer, fuller, copy functionality in the future.
+Suit names, for all grades, should now be displaying as just the relevant word, never a symbol, and with the redundant 'suit' word(s) from all languages removed. Note that Frontier have not translated the following, so neither do we: "Artemis", "Dominator", "Maverick". The 'Flight Suit' should, approximately, use the Frontier-supplied translation for 'Flight' in this context. In essence the displayed name is now as short -as possible whilst disambiguating the suit names from each other.
The check for "source, but with extra changes?" in appversion will now +as possible whilst disambiguating the suit names from each other.
+The check for "source, but with extra changes?" in appversion will now not cause an error if the "git" command isn't available. Also, the extra -text added to the build number is now ".DIRTY".
Actually properly handle the "you just made progress" version of the
-EngineerProgress Journal event, so that it doesn't throw errors.
The backpack and ship locker tracking of micro-resources might now +text added to the build number is now ".DIRTY".
+Actually properly handle the "you just made progress" version of the
+EngineerProgress Journal event, so that it doesn't throw errors.
The backpack and ship locker tracking of micro-resources might now actually be correct with respect to 'reality' in-game. This is in part -thanks to Frontier changes to some events in 4.0.0.200.
Suit names will now only be sourced from Journal events if the -application didn't (yet) have the equivalent CAPI data.
The displayed Suit name is stored in an extra "edmcName" key within +thanks to Frontier changes to some events in 4.0.0.200.
+Suit names will now only be sourced from Journal events if the +application didn't (yet) have the equivalent CAPI data.
+The displayed Suit name is stored in an extra "edmcName" key within
state['Suits'] and state['SuitCurrent']. What was found in the
-Journal or CAPI data is still present in the "name" and "locName" values.
The "language", "gameversion" and "build" values from the "Fileheader" event +Journal or CAPI data is still present in the "name" and "locName" values.
+The "language", "gameversion" and "build" values from the "Fileheader" event
are all now stored in state[] fields. See PLUGINS.md for
-updated documentation.
We have a new Contributing.md policy of adding +updated documentation.
+We have a new Contributing.md policy of adding comments in a defined format when we add or change code such that there's a 'hack', 'magic' or 'workaround' in play. You might find some of this -enlightening going forwards.
This release is primarily aimed at getting the UI "Suit: ..." line working
-properly.
The "Suit: ..." UI line should now function as best it can given the
+enlightening going forwards.
This release is primarily aimed at getting the UI "Suit: ..." line working
+properly.
The "Suit: ..." UI line should now function as best it can given the
available data from the game. It should not appear if you have launched
the Horizons version of the game, even if your account has Odyssey
enabled. You might see "<Unknown>" as the text when this application
-does not yet have the required data.
Changed the less than obvious "unable to get endpoint: /profile" error
+does not yet have the required data.
Changed the less than obvious "unable to get endpoint: /profile" error
message to "Frontier CAPI query failure: /profile", and similarly for the
other CAPI endpoints we attempt to access. This new form is potentially
-translated, but translators need time to do that.
In addition the old message "Received error {r.status_code} from server"
+translated, but translators need time to do that.
In addition the old message "Received error {r.status_code} from server"
has been changed to "Frontier CAPI server error: {r.status_code}" and is
-potentially translated.
The filenames used for 'Market data in CSV format file' will now be sane, -and as they were before 5.0.0.
Linux: 'Shipyard provider' will no longer default to showing 'False' if -no specific provider has been selected.
Extra Flagse values added in the live release of Odyssey have been added to
-edmc_data.py.
Odyssey 'BackPack' values should now track better, but might still not be -perfect due to Journal bugs/shortcomings.
state passed to journal_entry() now has a BackpackJSON (note the case)
+potentially translated.
The filenames used for 'Market data in CSV format file' will now be sane, +and as they were before 5.0.0.
+Linux: 'Shipyard provider' will no longer default to showing 'False' if +no specific provider has been selected.
+Extra Flagse values added in the live release of Odyssey have been added to
+edmc_data.py.
Odyssey 'BackPack' values should now track better, but might still not be +perfect due to Journal bugs/shortcomings.
+state passed to journal_entry() now has a BackpackJSON (note the case)
member which is a copy of the data from the Backpack.json (yes, that's
currently the correct case) file that is written when there's a BackPack
(guess what, yes, that is currently the correct case) event written to
-the Journal.
state['Credits'] tracking is almost certainly not perfect. We're
+the Journal.
state['Credits'] tracking is almost certainly not perfect. We're
accounting for the credits component of SuitUpgrade now, but there
-might be other such we've yet accounted for.
state['Suits'] and associated other keys should now be tracking from
-Journal events, where possible, as well as CAPI data.
There is a section in PLUGINS.md about how to package an extra Python +might be other such we've yet accounted for.
+state['Suits'] and associated other keys should now be tracking from
+Journal events, where possible, as well as CAPI data.
There is a section in PLUGINS.md about how to package an extra Python module with your plugin. Note the new caveat in PLUGINS.md:Avoiding-pitfalls -about the name of your plugin's directory.
The main reason for this release is to add an 'odyssey' boolean flag to all +about the name of your plugin's directory.
+The main reason for this release is to add an 'odyssey' boolean flag to all EDDN messages for the benefit of listeners, e.g. eddb.io, inara.cz, edsm.net, spansh.co.uk, etc. Please do update so as to make their lives -easier once Odyssey has launched!
Translations have been updated again. Thanks to all the contributors. +easier once Odyssey has launched!
+Translations have been updated again. Thanks to all the contributors. See wiki:Translations and Translations welcome -for links and discussion if you want to help.
Changed the error message "Error: Frontier server is down" to
+for links and discussion if you want to help.
Changed the error message "Error: Frontier server is down" to
"Error: Frontier CAPI didn't respond" to make it clear this pertains to
-the CAPI and not the game servers.
In the 5.0.0 changelog we said:
We will **NOT** be using this merely to try and get some - laggards to upgrade.
However, from now on there is an exception to this. After this +the CAPI and not the game servers.
+In the 5.0.0 changelog we said:
+We will **NOT** be using this merely to try and get some + laggards to upgrade.+
However, from now on there is an exception to this. After this release any subsequent -beta or -rc versions will be killswitched after -their full release is published.
For example, if we put out a 5.0.2-beta1 and 5.0.2-rc1 before the full
+their full release is published.
For example, if we put out a 5.0.2-beta1 and 5.0.2-rc1 before the full
5.0.2, then when 5.0.2 was published we would activate all available
killswitches for versions 5.0.2-beta1 and 5.0.2-rc1. In this example
5.0.1 would not be killswitched as part of this policy (but still
-could be if, e.g. a data corruption bug was found in it).
In general please do not linger on any -beta or -rc release if there +could be if, e.g. a data corruption bug was found in it).
+In general please do not linger on any -beta or -rc release if there has been a subsequent release. Upgrade to the equivalent full release once it -is published.
Please make the effort to subscribe to GitHub notifications of new -EDMarketConnector releases:
Please make the effort to subscribe to GitHub notifications of new +EDMarketConnector releases:
+This way you'll be aware, as early as possible, of any -beta and -rc -changelogs and changes that might affect your work.
state passed to journal_entry() has a new member Odyssey (note the
+top-right of the page.
This way you'll be aware, as early as possible, of any -beta and -rc +changelogs and changes that might affect your work.
+state passed to journal_entry() has a new member Odyssey (note the
capital O) which is a boolean indicating if the LoadGame event both has
-an Odyssey key, and if so, what the value was. Defaults to False.
PLUGINS.md updated to document the state['Horizons'] flag that has been
-present in it since version 3.0 of the game.
The stations.p and systems.p files that were deprecated in 5.0.0 have
+an Odyssey key, and if so, what the value was. Defaults to False.
PLUGINS.md updated to document the state['Horizons'] flag that has been
+present in it since version 3.0 of the game.
The stations.p and systems.p files that were deprecated in 5.0.0 have
now also been removed in git. As this release is made they will no
longer be in the develop, main or stable branches. If you truly
need to find a copy look at the Release/4.2.7 tag, but do read the 5.0.0
changelog for why we stopped using them and what you can change to also
-not need them.
We now test against, and package with, Python 3.9.5.
As a consequence of this we no longer support Windows 7.
+not need them.
We now test against, and package with, Python 3.9.5.
+As a consequence of this we no longer support Windows 7.
This is due to
Python 3.9.x itself not supporting Windows 7.
The application (both EDMarketConnector.exe and EDMC.exe) will crash on
-startup due to a missing DLL.
This should have no other impact on users or plugin developers, other +startup due to a missing DLL.
+This should have no other impact on users or plugin developers, other than the latter now being free to use features that were introduced since the -Python 3.7 series.
Developers can check the contents of the .python-version file
+Python 3.7 series.
Developers can check the contents of the .python-version file
in the source (it's not distributed with the Windows installer) for the
-currently used version in a given branch.
This release is a mandatory upgrade for the release of Elite Dangerous +currently used version in a given branch.
+ + +This release is a mandatory upgrade for the release of Elite Dangerous Odyssey. Any bug reports against earlier releases, pertaining to Odyssey or not, will be directed to reproduce them with 5.0.0 or later. There are also minor bugs in 4.2.7 and earlier that have been fixed in this version. There -will NOT be another 4.2.x release.
The major version has been incremented not for Odyssey support, but because +will NOT be another 4.2.x release.
+The major version has been incremented not for Odyssey support, but because we have made some minor breaking changes to the APIs we provide for plugin -developers.
Due to these plugin API changes (see below) users might need to update their +developers.
+Due to these plugin API changes (see below) users might need to update their
plugins. A check of all the
Plugins we know about
only found one with an issue related to the move to edmc_data.py, the
-developer was informed and the issue addressed.
Other plugins should, at most, log deprecation warnings about the
-config changes (again, see below).
In the first instance please report any issues with plugins to their +developer was informed and the issue addressed.
+Other plugins should, at most, log deprecation warnings about the
+config changes (again, see below).
In the first instance please report any issues with plugins to their developers, not us. They can contact us about EDMC core code issues if -they find such in their investigations.
All plugin developers would benefit from having a GitHub account and then +they find such in their investigations.
+All plugin developers would benefit from having a GitHub account and then setting up a watch on EDMarketConnector -of at least 'Releases' under 'Custom'.
NB: If you had any beta or -rc1 of 5.0.0 installed and see anything weird +of at least 'Releases' under 'Custom'.
+NB: If you had any beta or -rc1 of 5.0.0 installed and see anything weird
with this full release it would be advisable to manually uninstall, confirm
the installation directory (default c:\Program Files (x86)\EDMarketConnector)
is empty, and then re-install 5.0.0 to be sure you have a clean, working,
install. Anyone upgrading from 4.2.7 or earlier shouldn't see any issues
-with this.
If the application detects it's running against a non-live (alpha or beta) +with this.
+If the application detects it's running against a non-live (alpha or beta) version of the game it will append " (beta)" to the Commander name on the -main UI.
Updated translations. Once more, thanks to all the translators!
We now sanity check a returned Frontier Authentication token to be sure +main UI.
+Updated translations. Once more, thanks to all the translators!
+We now sanity check a returned Frontier Authentication token to be sure
it's for the current Commander. If it's not you'll see
Error: customer_id doesn't match! on the bottom status line. Double-check
-you're using the correct credentials when authing!
New 'Main window transparency' slider on Settings > Appearance.
New command-line argument for EDMarketConnector.exe --reset-ui. This will:
The intention is this can be used if you've lost sight of the main window -due to tweaking these options.
There is a new file EDMarketConnector - reset-ui.bat to make utilising
-this easy on Windows.
New CL arg for EDMarketConnector.exe --force-edmc-protocol.
+you're using the correct credentials when authing!
New 'Main window transparency' slider on Settings > Appearance.
New command-line argument for EDMarketConnector.exe --reset-ui. This will:
The intention is this can be used if you've lost sight of the main window +due to tweaking these options.
+There is a new file EDMarketConnector - reset-ui.bat to make utilising
+this easy on Windows.
New CL arg for EDMarketConnector.exe --force-edmc-protocol.
This is really only of use to core developers (its purpose being to force
use of the edmc:// protocol for Frontier Auth callbacks, even when not
-'frozen').
Linux config will be flushed to disk after any change. This means that +'frozen').
+Linux config will be flushed to disk after any change. This means that EDMC.py can now actually make use of the latest CAPI auth if it's been -updated by EDMarketConnector.py since that started.
If you want to run multiple instances of the application under Linux then +updated by EDMarketConnector.py since that started.
+If you want to run multiple instances of the application under Linux then please check the updated Troubleshooting: Multi-Accounting -wiki entry.
Linux and macOS: You can now set a font name and size in your config file.
+wiki entry.
Linux and macOS: You can now set a font name and size in your config file.
Ensuring this is a TTF font, rather than a bitmap font, should allow the
-application UI scaling to work.
There is no UI for this in Preferences, you will need to edit your +application UI scaling to work.
+There is no UI for this in Preferences, you will need to edit your config file -to set or change it, and then restart the application.
This is not supported on Windows so as not to risk weird bugs. UI -Scaling works on Windows without this.
We now also cite the git 'short hash' in the version string. For a Windows +to set or change it, and then restart the application.
+This is not supported on Windows so as not to risk weird bugs. UI +Scaling works on Windows without this.
+We now also cite the git 'short hash' in the version string. For a Windows
install of the application this is sourced from the .gitversion file
-(written during the build process).
When running from source we attempt to use the command git rev-parse --short HEAD
-to obtain this. If this doesn't work it will be set to 'UNKNOWN'.
We have added a 'killswitch' feature to turn off specific functionality if it +(written during the build process).
+When running from source we attempt to use the command git rev-parse --short HEAD
+to obtain this. If this doesn't work it will be set to 'UNKNOWN'.
We have added a 'killswitch' feature to turn off specific functionality if it is found to have a bug. An example use of this would be in an "oh shit! we're sending bad data to EDDN!" moment so as to protect EDDN -listeners such as EDDB.
If we ever have to use this we'll announce it clearly and endeavour to +listeners such as EDDB.
+If we ever have to use this we'll announce it clearly and endeavour to get a fixed version of the program released ASAP. We will NOT be -using this merely to try and get some laggards to upgrade.
Plugin Developers: See Killswitches.md for more -information about this.
Our logging code will make best efforts to still show class name and +using this merely to try and get some laggards to upgrade.
+Plugin Developers: See Killswitches.md for more +information about this.
+Our logging code will make best efforts to still show class name and
other such fields if it has trouble finding any of the required data for
the calling frame. This means no longer seeing ??:??:?? when there is
-an issue with this.
macOS: We've managed to test the latest code on macOS Catalina. Other than +an issue with this.
+macOS: We've managed to test the latest code on macOS Catalina. Other than keyboard shortcut support not working -it appears to be working.
We've pulled the latest Coriolis data which might have caused changes to -ship and module names as written out to some files.
Every effort was made during the Odyssey Alphas to ensure that this +it appears to be working.
+We've pulled the latest Coriolis data which might have caused changes to +ship and module names as written out to some files.
+Every effort was made during the Odyssey Alphas to ensure that this application will continue to function correctly with it. As always, make a Bug Report if you find anything not working, but be sure to check our -Known Issues first.
A new UI element 'Suit' now appears below 'Ship' when applicable. It +Known Issues first.
+A new UI element 'Suit' now appears below 'Ship' when applicable. It
details the type of suit you currently have equipped and its Loadout name.
This UI element is collapsed/hidden if no suit/on-foot state is detected,
-e.g. not playing Odyssey.
Note that we can only reliably know about Suits and their Loadouts from a +e.g. not playing Odyssey.
+Note that we can only reliably know about Suits and their Loadouts from a CAPI data pull (which is what we do automatically on docking if configured to do so, or when you press the 'Update' button). We do attempt to gather this data from Journal events as well, but if you switch to a Suit Loadout that hasn't been mentioned in them yet we won't -be able to display that until the next CAPI data pull.
If anyone becomes aware of a 'suit loadouts' site/tool, a la Coriolis/EDSY +be able to display that until the next CAPI data pull.
+If anyone becomes aware of a 'suit loadouts' site/tool, a la Coriolis/EDSY but for Odyssey Suits, do let us know so we can add support for it! We're already kicking around ideas to e.g. place JSON text in the clipboard -if the Suit Loadout is clicked.
Fix ship loadout export to files to not trip up in the face of file encoding +if the Suit Loadout is clicked.
+Fix ship loadout export to files to not trip up in the face of file encoding issues. This relates to the 'Ship Loadout' option on the 'Output' tab of -Settings/Preferences.
Ship Type/Name will now be greyed out, and not clickable, if we don't +Settings/Preferences.
+Ship Type/Name will now be greyed out, and not clickable, if we don't currently have loadout information for it. This prevents trying to send an -empty loadout to your shipyard provider.
Bug fixed when handling CAPI-sourced shipyard information. This happens +empty loadout to your shipyard provider.
+Bug fixed when handling CAPI-sourced shipyard information. This happens due to a Frontier bug with not returning shipyard data at all for normal -stations.
It has been observed that Frontier has fixed this bug for Odyssey.
Don't try to get Ship information from LoadGame event if directly in CQC.
Inara: Don't attempt to send an empty +stations.
+It has been observed that Frontier has fixed this bug for Odyssey.
+Don't try to get Ship information from LoadGame event if directly in CQC.
Inara: Don't attempt to send an empty
setCommanderReputationMajorFaction API call. This quietens an error
from the Inara API caused when a Cmdr literally has no Major Faction
-Reputation yet.
Code pertaining to processing Journal events was reworked and noisy logging -reduced as a consequence.
A little TRACE logging output has been commented out for now.
The code for File > Status has been cleaned up.
Localisation code has been cleaned up.
Code handling the Frontier Authorisation callback on Windows has been -cleaned up.
A lot of general code cleanup relating to: Inara, outfitting, Frontier +Reputation yet.
+Code pertaining to processing Journal events was reworked and noisy logging +reduced as a consequence.
+A little TRACE logging output has been commented out for now.
+The code for File > Status has been cleaned up.
Localisation code has been cleaned up.
+Code handling the Frontier Authorisation callback on Windows has been +cleaned up.
+A lot of general code cleanup relating to: Inara, outfitting, Frontier CAPI, hotkey (manual Updates), dashboard (Status.json monitoring), -commodities files, and ED format ship loadout files.
The files stations.p and systems.p have been removed from the Windows
+commodities files, and ED format ship loadout files.
The files stations.p and systems.p have been removed from the Windows
Installer. These were never intended for third-party use. Their use in
core code was for generating EDDB-id URLs, but we long since changed the
EDDB plugin's handlers for that to use alternate URL formats based on
-game IDs or names.
If you were using either to lookup EDDB IDs for systems and/or stations +game IDs or names.
+If you were using either to lookup EDDB IDs for systems and/or stations
then please see how system_url() and station_url() now work in
-plugins/eddb.py.
This change also removed the core (not plugin) eddb.py file which
+plugins/eddb.py.
This change also removed the core (not plugin) eddb.py file which
generated these files. You can find it still in the git history if needs
be. It had gotten to the stage where generating systems.p took many
hours and required 64-bit Python to have any hope of working due to
-memory usage.
All static data that is +memory usage.
+All static data that is
cleared for use by plugins
is now in the file
-edmc_data.py and should be imported from there, not any other module.
The one thing we didn't move was the 'bracket map' dictionaries in td.py
-as they're for use only by the code in that file.
All future such data will be added to this file, and we'll endeavour not -to make breaking changes to any of it without increasing our Major version.
config.appversion() is now a function that returns a semantic_version.Version.
+edmc_data.py and should be imported from there, not any other module.
The one thing we didn't move was the 'bracket map' dictionaries in td.py
+as they're for use only by the code in that file.
All future such data will be added to this file, and we'll endeavour not +to make breaking changes to any of it without increasing our Major version.
+config.appversion() is now a function that returns a semantic_version.Version.
In contexts where you're expecting a string this should mostly
-just work. If needs be wrap it in str().
For backwards compatibility with pre-5.0.0 you can use:
fromconfigimportappversionifcallable(appversion):
- edmc_version=appversion()
+just work. If needs be wrap it in str().
+For backwards compatibility with pre-5.0.0 you can use:
+
+
+ from config import appversion
+
+ if callable(appversion):
+ edmc_version = appversion()
else:
- edmc_version=appversion
Example plugin + edmc_version = appversion
Example plugin plugintest updated. This includes an example of how to check core EDMC version if needs be. This example is also in -PLUGINS.md.
config.py has undergone a major rewrite. You should no longer be using
+PLUGINS.md.
config.py has undergone a major rewrite. You should no longer be using
config.get(...) or config.getint(...), which will both give a
deprecation warning.
-Use instead the correct config.get_<type>() function:
config.get_list(<key>)config.get_str(<key>)config.get_bool(<key>)config.get_int(<key>)Setting still uses config.set(...).
So:
config.get() and config.getint() as above.config.get_<type>() function:
+config.get_list(<key>)config.get_str(<key>)config.get_bool(<key>)config.get_int(<key>)Setting still uses config.set(...).
So:
+config.get() and config.getint() as above.from config import config
+manipulate plugin config):from config import config
# For compatibility with pre-5.0.0
if not hasattr(config, 'get_int'):
@@ -728,26 +2226,54 @@ if not hasattr(config, 'get_bool'):
if not hasattr(config, 'get_list'):
config.get_list = config.get
-Utilising our provided logging from a class-level, i.e. not a solid -instance of a class, property/function will now work.
We now change the current working directory of EDMarketConnector.exe to + +
Utilising our provided logging from a class-level, i.e. not a solid +instance of a class, property/function will now work.
+We now change the current working directory of EDMarketConnector.exe to
its location as soon as possible in its execution. We're also
-paranoid about ensuring we reference the full path to the .gitversion file.
However, no plugin should itself call os.chdir(...) or equivalent. You'll
+paranoid about ensuring we reference the full path to the .gitversion file.
However, no plugin should itself call os.chdir(...) or equivalent. You'll
change the current working directory for all core code and other plugins as
well (it's global to the whole process, not per-thread). Use full
-absolute paths instead (pathlib is what to use for this).
The state dict passed to plugins in journal_entry() calls (which is
+absolute paths instead (pathlib is what to use for this).
The state dict passed to plugins in journal_entry() calls (which is
actually monitor.state in the core code) has received many additions
-relating to Odyssey, as well as other fixes and enhancements.
Support has been added for the NavRoute (not Route as v28 of the
+relating to Odyssey, as well as other fixes and enhancements.
Support has been added for the NavRoute (not Route as v28 of the
official Journal documentation erroneously labels it) Journal event and
-its associated file NavRoute.json. See PLUGINS.md:Events documentation
Similarly, there is now support for the ModuleInfo event and its
-associated ModulesInfo.json file.
state['Credits'] - until now no effort was made to keep this
+its associated file NavRoute.json. See PLUGINS.md:Events documentation
Similarly, there is now support for the ModuleInfo event and its
+associated ModulesInfo.json file.
state['Credits'] - until now no effort was made to keep this
record of the credits balance up to date after the initial LoadGame
event. This has now been addressed, and the balance should stay in sync
as best it can from the available Journal events. It will always correct
-back to the actual balance on each CAPI data pull or game relog/restart.
state['Cargo'] now takes account of any CargoTransfer events.
+back to the actual balance on each CAPI data pull or game relog/restart.
state['Cargo'] now takes account of any CargoTransfer events.
This was added to the game in the Fleet Carriers update, but also covers
-transfers to/from an SRV.
state['OnFoot'] is a new boolean, set true whenever we detect
+transfers to/from an SRV.
state['OnFoot'] is a new boolean, set true whenever we detect
the Cmdr is on-foot, i.e. not in any type of vehicle (Cmdr's own ship,
-SRV, multi-crew in another Cmdr's ship, Apex taxi, or a Dropship).
state['Suits'] and state['SuitLoadouts'] added as dicts containing
+SRV, multi-crew in another Cmdr's ship, Apex taxi, or a Dropship).
state['Suits'] and state['SuitLoadouts'] added as dicts containing
information about the Cmdr's owned Suits and the Loadouts the Cmdr has
defined to utilise them (and on-foot weapons).
Note that in the raw CAPI data these are arrays if all members
@@ -760,21 +2286,49 @@ The id field found on e.g. weapon details in suit loadouts may be <
if we got the data from the Journal rather than the CAPI data.
NB: This data is only guaranteed up to date and correct after a fresh CAPI
data pull, as the current Journal events don't allow for updating it on the
-fly (this should change in a future Odyssey patch).
state['SuitCurrent'] and state['SuitLoadoutCurrent'] contain the
-obvious "currently in use" data as per the Suits/SuitLoadouts.
Tracking of the new Odyssey 'Microresources' has been added:
Component - dict for 'Ship Locker' inventory.Item - dict for 'Ship Locker' inventory.Consumable - dict for 'Ship Locker' inventory.Data - dict for 'Ship Locker' inventory.BackPack - on-foot inventory, a dict containing again
+fly (this should change in a future Odyssey patch).
+state['SuitCurrent'] and state['SuitLoadoutCurrent'] contain the
+obvious "currently in use" data as per the Suits/SuitLoadouts.
Tracking of the new Odyssey 'Microresources' has been added:
+Component - dict for 'Ship Locker' inventory.Item - dict for 'Ship Locker' inventory.Consumable - dict for 'Ship Locker' inventory.Data - dict for 'Ship Locker' inventory.BackPack - on-foot inventory, a dict containing again
dicts for Component, Item, Consumable and Data.
However note that the lack of a Journal event when throwing a grenade,
along with no BackPackMaterials event if logging in on-foot means that
-we can't track the BackPack inventory perfectly.See the updated PLUGINS.md file for details.
As Status.json, and thus the EDMC 'dashboard' output now has a 'flags2'
+we can't track the BackPack inventory perfectly.
See the updated PLUGINS.md file for details.
As Status.json, and thus the EDMC 'dashboard' output now has a 'flags2'
key we have added the associated constants to edmc_data.py with a
-Flags2 prefix on the names.
Note that during the Odyssey Alpha it was observed that the CAPI
+Flags2 prefix on the names.
Note that during the Odyssey Alpha it was observed that the CAPI
data['commander']['docked'] boolean was always true if the Cmdr was
in their ship. This is a regression from pre-Odyssey behaviour. The
core EDMC code copes with this. Please add a reproduction to the issue
about this:
-PTS CAPI saying Commander is Docked after jumping to new system.