diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 85ba0561..1bd55dd6 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -2,7 +2,7 @@ ## Architecture - .NET 9 solution in `src/MX.GeoLocation.sln` with API (`MX.GeoLocation.Api.V1`) and MVC web (`MX.GeoLocation.Web`) projects plus abstractions, a generated API client, and a testing package. -- Three NuGet packages are published: `MX.GeoLocation.LookupApi.Abstractions` (interfaces/models), `MX.GeoLocation.Api.Client.V1` (typed HTTP client), and `MX.GeoLocation.Api.Client.Testing` (in-memory fakes and DTO factories for consumer test projects). +- Three NuGet packages are published: `MX.GeoLocation.Abstractions.V1` (interfaces/models), `MX.GeoLocation.Api.Client.V1` (typed HTTP client), and `MX.GeoLocation.Api.Client.Testing` (in-memory fakes and DTO factories for consumer test projects). - API uses MaxMind GeoIP2 and caches responses in Azure Table Storage: - **v1.0**: `geolocations` table with `GeoLocationTableEntity` (permanent cache) - **v1.1**: `geolocationsv11` table with `CityGeoLocationTableEntity` (city: permanent, insights: configurable TTL via `Caching:InsightsCacheDays`, default 7 days) diff --git a/README.md b/README.md index 30fbc7fb..9a62bc68 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ Both versions enforce the `LookupApiUser` Entra role. An MVC web front end calls | Package | Description | |---|---| -| `MX.GeoLocation.LookupApi.Abstractions` | Interfaces and models for the GeoLocation API | +| `MX.GeoLocation.Abstractions.V1` | Interfaces and models for the GeoLocation API | | `MX.GeoLocation.Api.Client.V1` | Typed HTTP client with DI registration via `AddGeoLocationApiClient()` | | `MX.GeoLocation.Api.Client.Testing` | In-memory fakes and DTO factory helpers for consumer test projects — see [testing docs](docs/testing.md) | diff --git a/src/MX.GeoLocation.Abstractions.V1/MX.GeoLocation.Abstractions.V1.csproj b/src/MX.GeoLocation.Abstractions.V1/MX.GeoLocation.Abstractions.V1.csproj index 86caa661..cdc0f859 100644 --- a/src/MX.GeoLocation.Abstractions.V1/MX.GeoLocation.Abstractions.V1.csproj +++ b/src/MX.GeoLocation.Abstractions.V1/MX.GeoLocation.Abstractions.V1.csproj @@ -2,11 +2,11 @@ net9.0;net10.0 - MX.GeoLocation.LookupApi.Abstractions + MX.GeoLocation.Abstractions.V1 enable enable true - MX.GeoLocation.LookupApi.Abstractions + MX.GeoLocation.Abstractions.V1 Molyneux.IO GeoLocation GeoLocation Lookup API Abstractions This package provides an abstraction layer for interfaces and models for the GeoLocation service. diff --git a/src/MX.GeoLocation.Abstractions.V1/README.md b/src/MX.GeoLocation.Abstractions.V1/README.md index a454cb74..e924addf 100644 --- a/src/MX.GeoLocation.Abstractions.V1/README.md +++ b/src/MX.GeoLocation.Abstractions.V1/README.md @@ -1,11 +1,11 @@ -# MX.GeoLocation.LookupApi.Abstractions +# MX.GeoLocation.Abstractions.V1 Core abstractions library providing interfaces and models for the GeoLocation lookup service. This package defines the API contracts consumed by `MX.GeoLocation.Api.Client.V1` and tested with `MX.GeoLocation.Api.Client.Testing`. ## Installation ```shell -dotnet add package MX.GeoLocation.LookupApi.Abstractions +dotnet add package MX.GeoLocation.Abstractions.V1 ``` ## Key Interfaces diff --git a/version.json b/version.json index 5d73cbb5..2f112945 100644 --- a/version.json +++ b/version.json @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/main/src/NerdBank.GitVersioning/version.schema.json", - "version": "1.0", + "version": "1.2", "gitTagVersionPrefix": "v", "publicReleaseRefSpec": [ "^refs/heads/main$",