- Breaking Change:
UVIndexTime
is now aDateTimeOffset
like other time fields; previously it was adouble
. - Added support for new fields (thanks, @MattLugar!)
Alert
Severity
indicates the severity of the alert.Time
indicates the time at which the alert was issued.Regions
indicates the regions covered by the alert.
DayDataPoint
HighTemperature
/HighTemperatureTime
indicates the daytime high temperature, and when it occurs.LowTemperature
/LowTemperatureTime
indicates the overnight low temperature, and when it occurs.WindGust
/WindGustTime
indicates the wind gust speed, and when it occurs.PrecipitationAccumulation
indicates the amount of snowfall accumulation expected.
HourDataPoint
WindGust
indicates the wind gust speed.PrecipitationAccumulation
indicates the amount of snowfall accumulation expected.
- Mark deprecated fields as deprecated.
DayDataPoint
ApparentMaxTemperature
/ApparentMaxTemperatureTime
ApparentMinTemperature
/ApparentMinTemperatureTime
MaxTemperature
/MaxTemperatureTime
MinTemperature
/MinTemperatureTime
- Add support for UV Index and UV Index Time properties. Thanks, @rootasjey!
- Target .NET Standard 1.1.
- This should support the same platforms as before, with the addition of Mono 4.6.
- Add support for Bulgarian, Catalan, and Estonian.
Thanks to @CodeAnimal for these fixes:
- Fixed an issue which resulted in deadlocks when the library was called from a UI context.
- Added support for the UK2 unit type.
ForecastPCL is now DarkSkyApi! Almost everything's the same, but the new name better matches the Dark Sky rebranding.
-
Migration Details
- Renamed ForecastApi to DarkSkyService.
- Moved everything in the ForecastIOPortable namespace to the DarkSkyApi namespace.
- Moved everything in the ForecastIOPortable.Models namespace to the DarkSkyApi.Models namespace.
- Moved everything in the ForecastIOPortable.Helpers namespace to the DarkSkyApi.Helpers namespace.
-
New Languages
- Added support for Azerbaijani.
- Uninstall the
ForecastIOPortable
NuGet package. - Install the
DarkSkyApi
package from NuGet. - Replace all references to
ForecastIOPortable
namespaces with the correspondingDarkSkyApi
ones:
ForecastPCL Namespace | DarkSkyApi Namespace |
---|---|
ForecastIOPortable | DarkSkyApi |
ForecastIOPortable.Models | DarkSkyApi.Models |
ForecastIOPortable.Helpers | DarkSkyApi.Helpers |
ForecastPCL has been deprecated, with DarkSkyApi being the replacement NuGet package. Please see above for detailed migration instructions.
- Updated to use the Dark Sky API URL.
- Added a deprecation notice to encourage migrating over to the new NuGet package.
- Precipitation Type was missing from CurrentDataPoint. Oops. It's there now.
- Added support for languages added to Forecast.io since September 2015:
- Belarusian
- Czech
- Hungarian
- Indonesian
- Icelandic
- Cornish
- Norwegian Bokmal
- Serbian
- [Internal] Added a missing
Async
to the name of an async method, pruned redundantthis
s. Thanks, @IEvangelist!
- Fixed .NET Native issues (see #13) by re-creating the solution and project files.
- Dropped support for Silverlight.
- Added support for .NET Core 1.0, Xamarin Android/iOS.
- Updated Microsoft.Bcl and Microsoft.Net.Http dependencies.
- Rebuilt the project in Release mode (thanks, @bklabs!)
- Added missing Precipitation Type field (thanks, @lynnroth!)
- Additional language support: Greek, Croatian, Ukrainian, and Traditional Chinese.
- Added support for Universal Windows Apps (repackaged NuGet package correctly).
- Additional language support: Arabic, Slovak, Swedish, Turkish, Chinese.
- Replaced
DateTime
s withDateTimeOffset
s throughout.- Removed the static methods in
Helpers
that converted betweenDateTime
andint
, replacing them with extension methods onDateTimeOffset
andint
instead.
- Removed the static methods in
- Removed spaces from the project, solution, and assembly names (thanks to @grendello)
- Fixed
IList<string>
being used instead ofstring
forMetnoLicense
(thanks to @FourTonMantis) - Added support for new languages: Bosnian, Portuguese, Italian, Pig Latin, Russian, and Polish.