Skip to content

Commit

Permalink
Merge pull request #90 from JustinCanton/hotfix/1.5.2
Browse files Browse the repository at this point in the history
Hotfix/1.5.2
  • Loading branch information
JustinCanton authored Sep 19, 2023
2 parents d2032c2 + 9aa7d17 commit c548832
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dotnet-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
branches:
- develop
pull_request:
branches: [ master, develop, release/** ]
branches: [ master, develop, release/**, hotfix/** ]

jobs:
build:
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.

## [1.5.2](https://github.com/JustinCanton/Geo.NET/compare/1.5.1...1.5.2) (2023-09-18)
### Bug Fixes
- **here**: fixing an issue where the in parameter of the geocoding endpoint is not passed correctly ([#87](https://github.com/JustinCanton/Geo.NET/issues/87)) ([7f2adf0](https://github.com/JustinCanton/Geo.NET/commit/7f2adf0383c85bb8d79cf6b321d125bef9a4c7f8))


## [1.5.1](https://github.com/JustinCanton/Geo.NET/compare/1.5.0...1.5.1) (2023-09-01)
### Features
- **mapbox**: adding the new worldview parameter to the forward and reverse geocode parameters ([#77](https://github.com/JustinCanton/Geo.NET/issues/77)) ([cfc987c](https://github.com/JustinCanton/Geo.NET/commit/cfc987cc1f7db2e5d0a7e3981f3a0c4325d2211b))
Expand Down
2 changes: 1 addition & 1 deletion src/Geo.Here/Services/HereGeocoding.cs
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ internal Uri BuildGeocodingRequest(GeocodeParameters parameters)

if (parameters.InCountry.Count > 0)
{
query = query.Add("in", string.Join(",", parameters.InCountry.Select(x => x.ThreeLetterISORegionName)));
query = query.Add("in", $"countryCode:{string.Join(",", parameters.InCountry.Select(x => x.ThreeLetterISORegionName))}");
}
else
{
Expand Down
2 changes: 1 addition & 1 deletion test/Geo.Here.Tests/Services/HereGeocodingShould.cs
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ public void BuildGeocodingRequestSuccessfully(CultureInfo culture)
var query = HttpUtility.UrlDecode(uri.PathAndQuery);
query.Should().Contain("q=123 East");
query.Should().Contain("qq=123 West");
query.Should().Contain("in=DNK,JPN,SRB");
query.Should().Contain("in=countryCode:DNK,JPN,SRB");
query.Should().Contain("at=56.789,123.456");
query.Should().Contain("types=address,area");
query.Should().Contain("limit=91");
Expand Down

0 comments on commit c548832

Please sign in to comment.