Releases: longitude-one/geo-parser
Releases · longitude-one/geo-parser
Release list
Version 3.0.4
Immutable
release. Only release title and notes can be modified.
Version 4.0.0-RC.2
Immutable
release. Only release title and notes can be modified.
4.0.0-RC.2 (2026-08-15)
⚠ BREAKING CHANGES
- Namespace LongitudeOne/Geo/String renamed to LongitudeOne/GeoParser
- PHP8.1 and 8.2 no more supported
- Parser: Native integer and float inputs are now returned unchanged instead of being normalized by the lexer. This preserves their values and types but may affect callers that rely on implicit conversion or parser validation.
Version 4.0.0-RC.1
Immutable
release. Only release title and notes can be modified.
4.0.0-RC.1 (2026-08-08)
⚠️ BREAKING CHANGES
- PHP8.1 and 8.2 no more supported
- Parser: Native integer and float inputs are now returned unchanged instead of being normalized by the lexer. This preserves their values and types but may affect callers that rely on implicit conversion or parser validation.
✨ New Features
- Add strict types declaration to all files (7be229c)
- Add unit tests for Angle, Cardinal, Parser, and TokenStream classes (9493d6a)
- Introduce LogicException for handling logic errors in the GeoParser (2dc0057)
- Parser: Return native numeric inputs directly. (7c7c04f)
- Refactor Parser class to streamline input handling and parsing logic (947a5b1)
🐛 Bug Fixes
- add input validation in Parser constructor and corresponding test (8e7b08d)
♻️ Refactoring
- enhance symbol matching logic and coordinate handling in Parser class (97a9d2a)
- improve handling of space-separated coordinate pairs in Parser class (854d1a3)
- simplify symbol matching logic in Parser class (e462dbf)
- streamline cardinal direction handling in Parser class (6bf081f)
- update minutes and seconds methods to return float values and normalize fractions (e324539)
📚 Documentation
- Update contributing guidelines and enhance quality tool commands (2669781)
🌳 Environmental Impact
- ci: reduce cache storage (cc0beeb)
👷 CI/CD
- correct composer cache directory command in CI workflow (cf8e898)
- update CI workflow to conditionally run full CI based on open pull requests (689d8ff)
- update composer require command to use caret versioning for lexer dependency (926c401)
- update output setting for Composer cache directory in CI workflow (ff61117)
🔧 Maintenance
- add a script to use php-xs-fixer (c7414cb)
- release: v4.0.0-RC.0 🎉 (53d12d1)
- update headers (67c68c4)
- Update PHP version requirement to ^8.3 and adjust doctrine/lexer dependency (86be558)
📊 Quality tools
- Clean up PHPStan baseline by removing outdated ignore errors (d80aa7b)
- exclude TooManyPublicMethods rule in code size checks for tests (8b03143)
- Update PHP CS Fixer rules to include case statements in ordered class elements (c4544d7)
- update project metadata in php-cs-fixer configuration file (190e316)
📗 PHPUnit tests
Version 4.0.0-RC.0
Immutable
release. Only release title and notes can be modified.
Version 4.0.0-RC.0 (2026-08-07)
⚠ BREAKING CHANGES
- PHP8.1 and 8.2 no more supported
🐛 Bug Fixes
- add input validation in Parser constructor and corresponding test (8e7b08d)
♻️ Refactoring
- enhance symbol matching logic and coordinate handling in Parser class (97a9d2a)
- improve handling of space-separated coordinate pairs in Parser class (854d1a3)
- simplify symbol matching logic in Parser class (e462dbf)
- streamline cardinal direction handling in Parser class (6bf081f)
- update minutes and seconds methods to return float values and normalize fractions (e324539)
🌳 Environmental Impact
- ci: reduce cache storage (cc0beeb)
👷 CI/CD
- correct composer cache directory command in CI workflow (cf8e898)
- update CI workflow to conditionally run full CI based on open pull requests (689d8ff)
- update composer require command to use caret versioning for lexer dependency (926c401)
- update output setting for Composer cache directory in CI workflow (ff61117)
🔧 Maintenance
- add a script to use php-xs-fixer (c7414cb)
- update headers (67c68c4)
- Update PHP version requirement to ^8.3 and adjust doctrine/lexer dependency (86be558)
📊 Quality tools
- exclude TooManyPublicMethods rule in code size checks for tests (8b03143)
- update project metadata in php-cs-fixer configuration file (190e316)
📗 PHPUnit tests
Version 3.0.3
Change log 3.0.3 (2026-08-07)
📚 Documentation
- Update changelog and improve documentation clarity (012ed02)
👷 CI/CD
- Add '4-x-dev' branch to CI workflow triggers (303b3ca)
Version 3.0.2
3.0.2 (2026-08-06)
🐛 Bug Fixes
- quality errors found by upgraded PHP-Stan (088841e)
- sanitize exception message values to prevent inflated messages injection (f97a790)
📚 Documentation
- Lexer compatibilities and test reported (4706459)
- Lexer version mentioned (c28e46c)
- markdown linting (94deaea)
- Roadmap added (6ab4aab)
🌳 Environmental Impact
- Decrease the package size (a2e912b)
👷 CI/CD
🔧 Maintenance
- add missing emoji (52b899e)
- create script-shorcuts for composer (5e25b49)
- Dockerfile optimze installations of quality tools (e5e9ef1)
- headers updated (e18454a)
📊 Quality tools
- new tool : commit-and-tag-version (e48e43b)
- PHP-STAN upgraded (83cf636)
- update PHPMD ruleset name and adjust maximum method length allowed (85accad)
📗 PHPUnit tests
- Security test added (95fe6e8)
Version 3.0.1
What's Changed
- Ecologic feature by @Alexandre-T in #18
- Documentation test by @Alexandre-T in #19
- CI updated to avoid to launch it two times (push and pull-request) by @Alexandre-T in main
- #20 Range exception enhancement done by @Alexandre-T in #21
- #21 Fix "geo-parser miss some out-of-ranges" by @Alexandre-T in #23
Full Changelog: 3.0.0...3.0.1
3.0.0
What's Changed
- Deprecation lexer feature by @Alexandre-T in #8
- switch replaced by match by @Alexandre-T in #9
- Type of properties hard-coded by @Alexandre-T in #10
- Updating code-climate by @Alexandre-T in #12
- Code coverage plugin by @Alexandre-T in #13
- Lexer 3 feature by @Alexandre-T in #11
- Code climate feature by @Alexandre-T in #14
- Merging updates from main to dev by @Alexandre-T in #15
- Merging dev into main by @Alexandre-T in #17
Full Changelog: 2.1.0...3.0.0
3.0.0 Release Candidate
Release Candidate compatible with doctrine/lexer:3.0.0
Version 2.1.0
What's Changed
- Parsing a float is now deprecated (provide a string instead) by @Alexandre-T in #7
Full Changelog: 2.0.0...2.1.0