Skip to content

Conversation

@tsjdev-apps
Copy link
Owner

This pull request primarily fixes typos in the Pollution API by renaming all instances of "Polution" to the correct "Pollution" across the codebase, updates dependencies, and bumps the project version. These changes improve code clarity, maintainability, and ensure consistency throughout the API, documentation, and tests.

Pollution API naming corrections

  • Renamed all classes and identifiers from AirPolution* to AirPollution* (e.g., AirPollutionRoot, AirPollutionEntry, AirPollutionComponents, AirPollutionIndex) in the OpenWeatherMapSharp.Models namespace and associated files. [1] [2] [3] [4] [5]
  • Updated all method names and usages from GetAirPolution* to GetAirPollution* in interfaces, implementations, and tests. [1] [2] [3] [4] [5] [6] [7] [8] [9]

Dependency and framework updates

  • Upgraded target frameworks for both the console sample and unit tests to net10.0. [1] [2]
  • Updated package dependencies: Spectre.Console to 0.54.0, System.Text.Json to 10.0.0, and test packages (Microsoft.NET.Test.Sdk to 18.0.1, xunit.runner.visualstudio to 3.1.5). [1] [2] [3]

Project version and release notes

  • Bumped library version to 4.2.0 and updated release notes to reflect the Pollution API typo fixes. [1] [2]

Renamed all classes, files, methods, and references from 'AirPolution' to the correct spelling 'AirPollution' across the codebase. This improves naming consistency and clarity throughout the project, including models, service interfaces, implementations, and related unit tests.
Changed the TargetFramework in the console project from net9.0 to net10.0 to use the latest .NET version.
Changed the target framework of the unit test project from net9.0 to net10.0 to align with the latest .NET version.
Upgraded Spectre.Console to 0.54.0 in the console sample, System.Text.Json to 10.0.0 in the main library, and test dependencies (Microsoft.NET.Test.Sdk to 18.0.1, xunit.runner.visualstudio to 3.1.5) in unit tests. This ensures compatibility with the latest features and bug fixes.
Corrected 'AirPolution' to 'AirPollution' in method names and type references in the README for consistency and accuracy.
Updated the project version to 4.2.0 and revised the release notes to mention typo fixes in the Pollution API.
@tsjdev-apps tsjdev-apps merged commit b8e92e8 into main Nov 29, 2025
1 check passed
@tsjdev-apps tsjdev-apps deleted the feature/typo branch November 29, 2025 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants