Releases: cathaypacific8747/am4
Releases · cathaypacific8747/am4
v0.1.8-alpha.2
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
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
Full Changelog: v0.1.7...v0.1.8-alpha.0
v0.1.7
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
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 forAircraftRoute.create(...)
- removed
PurchasedAircraft
,Route::origin
andRoute::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
- 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
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
Very first version, am4utils.*
:
db.init(path)
- path to the airports/aircrafts/routes filesairports
:.from_auto()
, calling_from_iata()
,_from_icao()
,_from_id()
under the hoodroute
:from_airports()
,create_optimal_pax|cargo_ticket()
- classes:
Airport
,Route
,PaxTicket
,CargoTicket
,VIPTicket
,PaxDemand
,CargoDemand
- enums:
GameMode
,AircraftType
- exceptions:
DatabaseException
,AirportNotFoundException