Releases: invernyx/smartcars-3-phpvms7-api
v1.0.0
What's Changed
- fix: flight deletion and hiding script failing. by @BossOfGames in #12
- feat: add pireps/latest endpoint by @Thien42 in #15
- fix: write flight time based on acars logs. by @BossOfGames in #20
- feat: add limit parameter to flight/search endpoint by @Thien42 in #14
- fix: order aircraft list alphabetically by @Thien42 in #11
- fix: support PIREPs created with older version of the API by @Thien42 in #25
- feat: smartCARS Tracking Overhaul for phpVMS v7. @BossOfGames in #24
v0.5.0
We are very proud to release version 0.5.0 of the smartCARS 3 API for phpVMS 7, addressing many previous issues with the API and making smartCARS 3 a much improved experience on phpVMS 7.
Highlights
- [FEATURE] Implementation of Flight Creation
- [FEATURE] API Key Based Authentication (For use when users register with your website with Discord or VATSIM accounts)
- [FIX] Flight Search and Bids now check if "Pilot Must Fly From Current Airport" is enabled
- [FIX] Aircraft Restrictions By User Rank and Type Rating (Uses phpVMS Logic and settings)
- [FIX] Aircraft Reservation with Bids
- [FIX] PIREP Distance Flown Calculation (New PIREPs and optional retroactive fix)
- [FIX] PIREP Block Off and Block On Times
There are many more fixes and improvements in this release. For the complete list, see the Full Changelog: v0.4.3...v0.5.0
v0.5.0 Release Candidate
This is a beta release of the API. If there are no pending issues based on these changes, v0.5.0 will be locked in fully as a stable release.
Free Flights
Free flights are now in a basic working state. Enable the feature in smartCARS Central, and now you can create personalized flights within ACARS and fly them!
For the callsign field, If you supply just the flight number (e.g. 1242
), your flight will be assigned automatically to the first airline in your system, or a airline ID you define in your .env
file by using the SC3_CHARTER_AIRLINE_ID
variable (e.g. SC3_CHARTER_AIRLINE_ID=1
for airline id 1).
If you supply a ICAO or IATA code with the flight number (e.g. DAL1421
or DL1421
, the API will search to see if that code exists in the system. If it cannot find it, it'll fallback to the first airline in your system or what's set in the env variable.
Aircraft Selection & Schedule Search
A common complaint has been surrounding the bids, where all the aircraft were assigned to every flight. This issue has been finally solved, with a few bonus items!
- If no subfleet is assigned to the flight, all the aircraft in the system will be available for use.
- If subfleets are assigned, only the subfleets assigned to that flight are viewable.
- If your bid has an aircraft assigned to it, or you used SimBrief on you phpVMS installation directly, Only the aircraft you bid will be shown, without the dropdown too! (You must have the Bids->Restrict Aircraft setting in phpVMS enabled for this to work)
The aircraft list has also been sorted, so now you should have a easier time scrolling through the available aircraft in the system.
PIREP Distances
Previously, PIREPs didn't have distances. Now they do. The calculation is now achieved by the logged telemetry on the system.
This module includes code that will retroactively calculate smartCARS 3 PIREPs with the distance missing via the nightly cron that is scheduled to run at 0100Z every day.
Full Changelog: v0.4.3...v0.5.0_rc1
v0.4.3
What's Changed
- Fix for PIREP Fares by @BossOfGames in #5
- 7 bug smartcars 3 api not detecting flight distance and flight duration mismatch by @BossOfGames in #8
Full Changelog: v0.4.1...v0.4.3
v0.4.1
What's Changed
- Update openapi.json error text on unauthorized login by @Alex6511 in #1
- fix: Remove Handler from Issue Template by @BossOfGames in #3
- fix: add pirep field for distance and fixed distance calculation by @BossOfGames in #4
New Contributors
- @Alex6511 made their first contribution in #1
- @BossOfGames made their first contribution in #3
Full Changelog: v0.4.4...v0.4.1
v0.4.4 for phpVMS 7
We've partnered with @BossOfGames to bring you a native phpVMS 7 API. This replaces the existing API and can be used for your phpVMS 7 instances.
Full Changelog: https://github.com/invernyx/smartcars-3-phpvms7-api/commits/v0.4.4