airport-data-js 1.0.6 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +104 -0
- package/README.md +418 -144
- package/dist/airport-data.min.js +1 -1
- package/dist/airport-data.min.js.LICENSE.txt +1 -1
- package/lib/index.js +1 -1
- package/package.json +18 -11
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [Unreleased]
|
|
9
|
+
|
|
10
|
+
### [3.0.0] - 2025-12-05
|
|
11
|
+
|
|
12
|
+
#### 🆕 New Features
|
|
13
|
+
|
|
14
|
+
- **`getAirportStatsByCountry(countryCode)`** - Get comprehensive statistics for airports in a country
|
|
15
|
+
- **`getAirportStatsByContinent(continentCode)`** - Get comprehensive statistics for airports on a continent
|
|
16
|
+
- **`getLargestAirportsByContinent(continentCode, limit, sortBy)`** - Get largest airports by runway or elevation
|
|
17
|
+
- **`getMultipleAirports(codes)`** - Bulk fetch multiple airports in one call
|
|
18
|
+
- **`calculateDistanceMatrix(codes)`** - Calculate distances between all pairs of airports
|
|
19
|
+
- **`findNearestAirport(lat, lon, filters)`** - Find single nearest airport with optional filters
|
|
20
|
+
- **`validateIataCode(code)`** - Validate IATA code existence
|
|
21
|
+
- **`validateIcaoCode(code)`** - Validate ICAO code existence
|
|
22
|
+
- **`getAirportCount(filters)`** - Get count of airports matching filters
|
|
23
|
+
- **`isAirportOperational(code)`** - Check if airport has scheduled service
|
|
24
|
+
|
|
25
|
+
#### 🔄 Improvements
|
|
26
|
+
|
|
27
|
+
- Enhanced bulk operations for better performance
|
|
28
|
+
- Added comprehensive statistical analysis capabilities
|
|
29
|
+
- Improved validation utilities for code checking
|
|
30
|
+
- Better support for route planning and analysis
|
|
31
|
+
- Professional build pipeline with duplicate checking
|
|
32
|
+
- Automated release notes from changelog
|
|
33
|
+
|
|
34
|
+
## [2.0.0] - 2024-07-24
|
|
35
|
+
|
|
36
|
+
### 🆕 New Features
|
|
37
|
+
|
|
38
|
+
- **`getAirportsByTimezone(timezone)`** - Find airports by timezone
|
|
39
|
+
- **`getAirportLinks(code)`** - Get external links for airports
|
|
40
|
+
- **`findAirports(filters)`** - Advanced multi-criteria filtering
|
|
41
|
+
- **`getAutocompleteSuggestions(query)`** - Autocomplete functionality
|
|
42
|
+
- **Enhanced `getAirportsByType(type)`** - Now supports convenience search for "airport" type
|
|
43
|
+
- **External links support** - Wikipedia, websites, and flight tracking URLs
|
|
44
|
+
- **Timezone information** - Complete timezone data for all airports
|
|
45
|
+
- **Runway length data** - Airport runway information included
|
|
46
|
+
- **Scheduled service indicator** - Whether airports have commercial scheduled service
|
|
47
|
+
|
|
48
|
+
### 🔄 Improvements
|
|
49
|
+
|
|
50
|
+
- Better error handling and validation
|
|
51
|
+
- More comprehensive airport data structure
|
|
52
|
+
- Improved type filtering with partial matching
|
|
53
|
+
- Enhanced geographic calculations
|
|
54
|
+
- Case-insensitive search improvements
|
|
55
|
+
|
|
56
|
+
### ❌ Breaking Changes
|
|
57
|
+
|
|
58
|
+
- Legacy data format no longer supported
|
|
59
|
+
- Simplified airport objects expanded to include more fields
|
|
60
|
+
- Basic filtering replaced with advanced `findAirports` function
|
|
61
|
+
|
|
62
|
+
## [1.0.6] - 2022-11-24
|
|
63
|
+
|
|
64
|
+
### 🔄 Improvements
|
|
65
|
+
|
|
66
|
+
- Data updates
|
|
67
|
+
|
|
68
|
+
## [1.0.5] - 2022-11-20
|
|
69
|
+
|
|
70
|
+
### 🔄 Improvements
|
|
71
|
+
|
|
72
|
+
- Data updates
|
|
73
|
+
|
|
74
|
+
## [1.0.4] - 2022-11-18
|
|
75
|
+
|
|
76
|
+
### 🔄 Improvements
|
|
77
|
+
|
|
78
|
+
- Data updates
|
|
79
|
+
|
|
80
|
+
## [1.0.3] - 2022-11-15
|
|
81
|
+
|
|
82
|
+
### 🔄 Improvements
|
|
83
|
+
|
|
84
|
+
- Data updates
|
|
85
|
+
|
|
86
|
+
## [1.0.2] - 2022-11-12
|
|
87
|
+
|
|
88
|
+
### 🔄 Improvements
|
|
89
|
+
|
|
90
|
+
- Data updates
|
|
91
|
+
|
|
92
|
+
## [1.0.1] - 2022-11-10
|
|
93
|
+
|
|
94
|
+
### 🐛 Bug Fixes
|
|
95
|
+
|
|
96
|
+
- Fixed initial release issues
|
|
97
|
+
- Improved error handling
|
|
98
|
+
|
|
99
|
+
## [1.0.0] - 2022-11-08
|
|
100
|
+
|
|
101
|
+
### 🆕 Initial Release
|
|
102
|
+
|
|
103
|
+
- Basic airport lookup by IATA and ICAO codes
|
|
104
|
+
- Search by country and continent
|