mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-06-11 21:02:11 +03:00
ChangeLog: Misc tweaks:
* () on `station_url` (and tweak earlier grammar). * Missing full stop. * Mention SRV as "not on foot" as well. * Suits/Loadouts use CAPI key names, nor Journal ones. * Link to issue about Odyssey CAPI data['commander']['docked'] always being true if not on foot.
This commit is contained in:
parent
d7c63c35c3
commit
2d42334755
22
ChangeLog.md
22
ChangeLog.md
@ -173,13 +173,13 @@ Plugin Developers
|
|||||||
---
|
---
|
||||||
|
|
||||||
* The files `stations.p` and `systems.p` have been removed from the Windows
|
* The files `stations.p` and `systems.p` have been removed from the Windows
|
||||||
Installer. These were never intended for third-party use. Their core
|
Installer. These were never intended for third-party use. Their use in
|
||||||
code use was for generating EDDB-id URLs, but we long since changed the
|
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
|
EDDB plugin's handlers for that to use alternate URL formats based on
|
||||||
game IDs or names.
|
game IDs or names.
|
||||||
|
|
||||||
If you were using either to lookup EDDB IDs for systems and/or stations
|
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
|
then please see how `system_url()` and `station_url()` now work in
|
||||||
`plugins/eddb.py`.
|
`plugins/eddb.py`.
|
||||||
|
|
||||||
This change also removed the core (not plugin) `eddb.py` file which
|
This change also removed the core (not plugin) `eddb.py` file which
|
||||||
@ -228,7 +228,7 @@ Plugin Developers
|
|||||||
However, no plugin should itself call `os.chdir(...)` or equivalent. You'll
|
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
|
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
|
well (it's global to the whole **process**, not per-thread). Use full
|
||||||
absolute paths instead (`pathlib` is what to use for this)
|
absolute paths instead (`pathlib` is what to use for this).
|
||||||
|
|
||||||
* The `state` dict passed to plugins in `journal_entry()` calls (which is
|
* The `state` dict passed to plugins in `journal_entry()` calls (which is
|
||||||
actually `monitor.state` in the core code) has received many additions
|
actually `monitor.state` in the core code) has received many additions
|
||||||
@ -253,7 +253,7 @@ Plugin Developers
|
|||||||
|
|
||||||
1. `state['OnFoot']` is a new boolean, set true whenever we detect
|
1. `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,
|
the Cmdr is on-foot, i.e. not in any type of vehicle (Cmdr's own ship,
|
||||||
multi-crew in another Cmdr's ship, Apex taxi, or a Dropship).
|
SRV, multi-crew in another Cmdr's ship, Apex taxi, or a Dropship).
|
||||||
|
|
||||||
1. `state['Suits']` and `state['SuitLoadouts']` added as `dict`s containing
|
1. `state['Suits']` and `state['SuitLoadouts']` added as `dict`s containing
|
||||||
information about the Cmdr's owned Suits and the Loadouts the Cmdr has
|
information about the Cmdr's owned Suits and the Loadouts the Cmdr has
|
||||||
@ -262,6 +262,8 @@ Plugin Developers
|
|||||||
contiguously exist, else a dictionary, but we have chosen to always coerce
|
contiguously exist, else a dictionary, but we have chosen to always coerce
|
||||||
these to a python `dict` for simplicity. They will be empty `dict`s, not
|
these to a python `dict` for simplicity. They will be empty `dict`s, not
|
||||||
`None` if there is no data.
|
`None` if there is no data.
|
||||||
|
We use the CAPI data names for keys, not the Journal ones - e.g. `slots`
|
||||||
|
for weapons equipped, not `Modules`.
|
||||||
The `id` field found on e.g. weapon details in suit loadouts may be `None`
|
The `id` field found on e.g. weapon details in suit loadouts may be `None`
|
||||||
if we got the data from the Journal rather than the CAPI data.
|
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
|
NB: This data is only guaranteed up to date and correct after a fresh CAPI
|
||||||
@ -284,10 +286,12 @@ Plugin Developers
|
|||||||
|
|
||||||
See the updated `PLUGINS.md` file for details.
|
See the updated `PLUGINS.md` file for details.
|
||||||
|
|
||||||
* Note that during the Odyssey Alpha it was observed that the CAPI `data['commander']['docked']`
|
* Note that during the Odyssey Alpha it was observed that the CAPI
|
||||||
boolean was **always true** if the Cmdr was in their ship. This is a
|
`data['commander']['docked']` boolean was **always true** if the Cmdr was
|
||||||
regression from pre-Odyssey behaviour. The core EDMC code copes with
|
in their ship. This is a regression from pre-Odyssey behaviour. The
|
||||||
this.
|
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](https://issues.frontierstore.net/issue-detail/28638).
|
||||||
|
|
||||||
Release 4.2.7
|
Release 4.2.7
|
||||||
===
|
===
|
||||||
|
Loading…
x
Reference in New Issue
Block a user