From 36eeb802a34b51d9a6b93d26b3cbabd9124aa812 Mon Sep 17 00:00:00 2001
From: Athanasius <github@miggy.org>
Date: Thu, 29 Jul 2021 15:58:15 +0100
Subject: [PATCH] Release 5.1.2: version bump & changelog

---
 ChangeLog.md | 41 ++++++++++++++++++++++++++++++++++++++++-
 config.py    |  2 +-
 2 files changed, 41 insertions(+), 2 deletions(-)

diff --git a/ChangeLog.md b/ChangeLog.md
index 7d2aa806..f1889f28 100644
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -1,7 +1,7 @@
 This is the master changelog for Elite Dangerous Market Connector.  Entries are in reverse chronological order (latest first).
 ---
 
-* We now test against, and package with, Python 3.9.5.
+* We now test against, and package with, Python 3.9.6.
 
   **As a consequence of this we no longer support Windows 7.  
   This is due to
@@ -17,6 +17,45 @@ This is the master changelog for Elite Dangerous Market Connector.  Entries are
   in the source (it's not distributed with the Windows installer) for the
   currently used version in a given branch.
 
+Release 5.1.2
+===
+
+* 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.
+
+Bug Fixes
+---
+
+* The code should now be robust against the case of any Journal event name
+  changing.
+
+Plugin Developers
+---
+
+* 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
+  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).
+
 Release 5.1.1
 ===
 
diff --git a/config.py b/config.py
index df38e407..2db59eba 100644
--- a/config.py
+++ b/config.py
@@ -33,7 +33,7 @@ appcmdname = 'EDMC'
 # <https://semver.org/#semantic-versioning-specification-semver>
 # Major.Minor.Patch(-prerelease)(+buildmetadata)
 # NB: Do *not* import this, use the functions appversion() and appversion_nobuild()
-_static_appversion = '5.1.2-beta0'
+_static_appversion = '5.1.2'
 _cached_version: Optional[semantic_version.Version] = None
 copyright = '© 2015-2019 Jonathan Harris, 2020-2021 EDCD'