ph_address_finder 5.0.1
ph_address_finder: ^5.0.1 copied to clipboard
Offline Flutter package for Philippine PSA/PSGC and PCIC address lookups with bundled province, municipality, and barangay data.
5.0.1 #
- Fixed bundled JSON asset loading so the published package resolves its offline data correctly from package assets.
- Fixed
PcicAddressService.getBarangays()to keep valid non-conflicting barangay rows available when PCIC municipality data is split across variants. - Fixed
PcicAddressService.getAddress()to resolve addresses such as Region 3 / Tarlac / MONCADA / barangay40(LAPSING) instead of returning null fields. - Refreshed the README, example, and API docs for the current PCIC cascade behavior.
5.0.0 #
- Breaking:
AddressServicenow exposes raw PSAregion: 3Arecords asregionSubCode: 'III-A'instead of grouping them underIII. - Breaking: PSA callers should now query
AddressService.getProvincesByRegion(regionSubCode: 'III-A')for Aurora and Nueva Ecija. - Updated
getMunicipalitiesByProvince(),getBarangaysByMunicipality(), andgetAddress()so affected PSA records consistently returnregionSubCode: 'III-A'. - Updated
getBarangaysByMunicipality()to return distinctbarangayNameentries for dropdown-friendly barangay lists. - Refreshed README guidance, example usage, tests, and package metadata for publishing.
4.0.0 #
- Breaking:
AddressServicenow uses the stored PSAregionSubCodevalues directly and no longer normalizes raw provinceregion: 3Aentries intoregionSubCode: 3A. - Breaking: PSA lookups that previously used
regionSubCode: '3A'should now useregionSubCode: 'III'. - Kept province-context fallback in
AddressServiceso municipality and barangay results stay aligned with the province dataset for affected records such as Aurora. - Kept
PcicAddressService3Aregion-option support unchanged for PCICRegionNoflows. - Updated regression tests, README guidance, publish metadata, and example code for the new PSA behavior.
3.1.0 #
- Added
PcicAddressServicefor PCIC-based cascading lookups usingRegionNo,provinceCode,municipalityCode, andbarangayCode. - Added PCIC region-option support so
3Acan be surfaced and filtered while still using the originalRegionNo. - Added complete PCIC address fetching and regression tests for province, municipality, barangay, and full-address flows.
3.0.0 #
- Normalized
regionSubCodehandling across province, municipality, barangay, and full-address lookups. - Added effective region-subcode fallback logic so affected
3Arecords return consistent values even when source data is incomplete or inconsistent. - Updated cascade lookups to resolve province context more reliably before returning municipality and barangay results.
getAddress()now always includesregionSubCode, includingnullwhen no matching address is found.- Added regression tests covering the full
3Alookup flow and invalid-code behavior.
2.0.1 #
- Added search for narrow area by large area through code and subcode.
- Filled some null region subcodes.