|
| 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 | +## [0.2.0] - 2025-10-28 |
| 11 | + |
| 12 | +### Added |
| 13 | +- **New Operation**: "Get State by Code" - Get detailed information about a specific state/province |
| 14 | + - Uses `State.getStateByCodeAndCountry(stateCode, countryCode)` method |
| 15 | + - Returns state name, ISO code, country code, latitude, and longitude |
| 16 | + - Examples: California (US,CA), São Paulo (BR,SP), Ontario (CA,ON) |
| 17 | + |
| 18 | +### Changed |
| 19 | +- **Enhanced UI/UX**: Improved operation descriptions and field labels |
| 20 | +- **Better placeholders**: Added helpful examples for Country Code (`"e.g., US, BR, CA"`) and State Code (`"e.g., CA, NY, SP"`) |
| 21 | +- **Detailed descriptions**: Each operation now includes clear, descriptive help text |
| 22 | + |
| 23 | +### Technical |
| 24 | +- Updated TypeScript compilation targets |
| 25 | +- Improved error handling and validation |
| 26 | +- Enhanced code documentation |
| 27 | + |
| 28 | +## [0.1.0] - 2025-10-28 |
| 29 | + |
| 30 | +### Added |
| 31 | +- **Initial release** of n8n Country State City node |
| 32 | +- **Core Operations**: |
| 33 | + - `Get Country by Code` - Retrieve country details by ISO code |
| 34 | + - `Get States by Country` - List all states/provinces in a country |
| 35 | + - `Get Cities by State` - List all cities in a state/province |
| 36 | +- **Features**: |
| 37 | + - Built for n8n workflow automation platform |
| 38 | + - Uses offline `country-state-city` library v3.1.2 |
| 39 | + - No API keys required - works completely offline |
| 40 | + - Fast, reliable geographical data access |
| 41 | + - Support for all ISO country codes and state codes |
| 42 | + |
| 43 | +### Technical |
| 44 | +- TypeScript implementation with proper type definitions |
| 45 | +- CommonJS module support for n8n compatibility |
| 46 | +- Proper n8n node structure following community standards |
| 47 | +- Comprehensive error handling and input validation |
| 48 | +- Complete build pipeline with TypeScript compilation |
| 49 | + |
| 50 | +### Fixed |
| 51 | +- **Node loading issues**: Fixed "Class could not be found" error |
| 52 | +- **Export structure**: Changed from `export default` to named exports |
| 53 | +- **Package configuration**: Updated package.json to follow n8n-nodes-starter pattern |
| 54 | +- **Dependencies**: Configured proper peer dependencies for n8n-workflow |
| 55 | +- **Imports**: Fixed country-state-city library imports for CommonJS compatibility |
| 56 | + |
| 57 | +## [Links] |
| 58 | +- [0.2.0]: https://github.com/mimirtechco/n8n-nodes-country-state-city/releases/tag/v0.2.0 |
| 59 | +- [0.1.0]: https://github.com/mimirtechco/n8n-nodes-country-state-city/releases/tag/v0.1.0 |
| 60 | +- [Unreleased]: https://github.com/mimirtechco/n8n-nodes-country-state-city/compare/v0.2.0...HEAD |
0 commit comments