github rster2002/ed-journals 0.6.0
Version 0.6.0

latest releases: 0.13.0-rc.2, 0.12.4, 0.12.3...
19 months ago

What's Changed

This update doesn't bring a lot of new things, instead lots of work has gone into further improving stability and usability. Documentation has been expanded a lot and lots of models now have doc comments, however there are also still a lot of models that do not have doc comments as it's still an ongoing process of adding these to everything.

State has also seen some major changes in how events are processed. Some fields have moved around a bit, but overall changes are mostly in the internal code.

There have also been some changes to better support pre-v4 log files. This includes some defaults and some fields that have been made optional. Some events that have larges differences have been given a legacy variant which is behind a new feature flag called legacy. Note however that these are just a best-effort endeavor and might not always yield correct results or might not parse at all.

Lastly as always there have been fixes and changes to allow for better log parsing. Most of these changes and fixes have been contributed by various (new) contributors. Thank you!

Change log

  • Added doc comments to a lot of models. This is still an on-going effort though and there is still a lot of work to be done, but this will come in the future.
  • Added better support for pre-v4 logs by @BafDyce. Some events have been given defaults, some have been made optional and some legacy events have been added behind the new legacy feature flag.
  • Major changes to how state works internally which makes the different versions of state less dependent on each other. As a part of this some fields have moved around a bit, specifically moving information related to commanders out of the LogState and into both GameState and JournalState individually.
  • Added missing variant Prison to Economy enum by @technologicalMayhem,
  • Added missing variant Civilisations to CodexEntryEventCategory enum by @technologicalMayhem,
  • Added missing variant Thargoid to CodexEntryEventCategory enum by @technologicalMayhem,
  • Added missing variant UnknownUplink to DataScannedEventType enum by @technologicalMayhem,
  • Added missing variants OutbreakStationIncrease and OutbreakStationDecrease to MissionCompletedEventFactionEffect enum by @technologicalMayhem,
  • Major changes to how codex entries are handles which should specifically improve parsing the CodexEntryEvent. Not all entries are matched though; progress is tracked in #91
  • Removed strict feature flag and replaced it with allow-unknown feature flag. This means that loose handling of variants can now be enabled without needing to disable default features.
  • Some enums have been given the non_exhaustive flag which should improve compatibility when changes are made between versions of ED. This is disabled however when using the allow-unknown feature as in that case those are covered by the unknown variants.
  • Renamed small module to partials and renamed structs to start with 'Partial' instead of 'Small'.
  • Renamed is_live field of LogDirReader to reading_latest.
  • Fixed some enums related to Odyssey suits not being correctly matched by @qiaoruntao
  • Fixed two fields in CarrierFinanceEvent to allow for negative values for when a carrier is in debt by @qiaoruntao
  • Fixed some incorrect base credit values for some species.
  • Species parsing is now case insensitive.
  • Optimized spawn conditions
  • Lots of models now have the Serialize and Clone traits derived.

New Contributors

Full Changelog: 0.5.1...0.6.0

Don't miss a new ed-journals release

NewReleases is sending notifications on new releases.