Skip to content

Releases: cathaypacific8747/am4

v0.1.8-alpha.2

16 Jun 05:37
a0b95e1
Compare
Choose a tag to compare

Bug fixes:

  • utils(cpp): do not reapply co2 modification in co2 calculation (a42d614)
  • utils(cpp): floating point truncation error in flight time calculation (3961215)
  • utils(cpp): use realism base ticket price for VIP aircraft (a0b95e1)
  • bot: move from rich to text based embed (12d62a2)

Additions:

  • documentation
  • initial Rust rewrites (v0.2.0)

Full Changelog: v0.1.8-alpha.1...v0.1.8-alpha.2

v0.1.8-alpha.1

31 Mar 07:38
fceba31
Compare
Choose a tag to compare

Added aircraft:

  • 374: Vickers VC10
  • 375: Gulf Stream G700
  • 376: Bae-146-300QT
  • 377: B777-300ERSF

Full Changelog: v0.1.8-alpha.0...v0.1.8-alpha.1

v0.1.8-alpha.0

03 Mar 15:38
30f0c04
Compare
Choose a tag to compare

v0.1.7

03 Oct 12:55
9c194e1
Compare
Choose a tag to compare

Major changes:

  • performance: removed storing airports/routes in duckdb and instead use hashtables and arrays
  • #7 auto flights per day algorithm
  • #5 alliance member logging and airport fullname search
  • allow user insert/query/update gamemode
  • user and alliance api caching

Full Changelog: v0.1.6...v0.1.7

v0.1.6

17 Jul 17:07
52eab31
Compare
Choose a tag to compare

Major changes:

  • added: stopover finding, fuel and co2 consumption estimation, Aircraft::estimate_load()
  • added: py::dict to_dict() functions for use in python
  • added: FastAPI aircraft/airport/route/aircraft-route search API
  • refactor: split pybind11 binding code to speed up recompilation
  • fix: am4utils.db.init() now by default uses the correct directory
  • removed duckdb in-memory database: opt for native arrays and jaro winkler similarity instead for greater performance
  • removed Route.create(ap0, ap1).assign(ac) syntax for AircraftRoute.create(...)
  • removed PurchasedAircraft, Route::origin and Route::Destination to improve performance (in preparation for route research implementation)
  • removed data files from bundle

Full Changelog: v0.1.3...v0.1.6

v0.1.3

16 Jun 18:29
Compare
Choose a tag to compare
  • removed .from_auto() and exceptions in favour for .search() and .suggest()
    • Airport.search(): id:*, iata:*, icao:*, name:*, all:*, *
    • Aircraft.search(): id:*, shortname:*, name:*, all:*, *
    • *.suggest() now returns top 5 suggestions with score
  • added load estimation formula (not implemented)
  • added type hinting (*.pyi files)
  • added basic discord bot

Full Changelog: v0.1.1...v0.1.3

v0.1.1

06 Jun 18:05
Compare
Choose a tag to compare
  • Airport::from_auto(): add ability to search for specific airport fields: id|iata|icao|name:XXX with automatic fallbacks
  • improved airport exceptions, now provides suggestions for mistypes.
  • refactor.

v0.1.0

05 Jun 18:17
Compare
Choose a tag to compare

Very first version, am4utils.*:

  • db.init(path) - path to the airports/aircrafts/routes files
  • airports: .from_auto(), calling _from_iata(), _from_icao(), _from_id() under the hood
  • route: from_airports(), create_optimal_pax|cargo_ticket()
  • classes: Airport, Route, PaxTicket, CargoTicket, VIPTicket, PaxDemand, CargoDemand
  • enums: GameMode, AircraftType
  • exceptions: DatabaseException, AirportNotFoundException