Changelog
tilttek/weatherAll notable changes to tilttek/weather will be documented in this file.
Updates should follow the Keep a CHANGELOG principles. Until the package is launched publicly, split to its public repository, this file keeps one "Added" section that describes the current state.
0.1.0-alpha - 2026-11-12
Added
- The declared climates:
Conditionwith its labels, its temperature shift from -20 to 20 and its neighbours;Season;SeasonalClimatewith its range from -80 to 80 °C and the weights of its conditions from 1 to 1000;Zonewith its seasons in the order of the year, its persistence from 1 to 20 and its daily roll oftilttek/dice, read and rolled once to check it gives one whole total;Climateswith its 1 to 8 languages and 1 to 64 conditions, seasons and zones, a label in every language, every neighbour, season and condition declared, the neighbours both ways, and at most 20 000 moves between conditions in their weather tables (Climates::TRANSITIONS). ClimateReader: climates from YAML, a file or a decoded document of at most 1 MiB, unknown keys refused, and each problem with its place.- The shipped climates in
data/climates.yaml,Climates::default(): sixteen conditions, eight seasons, and five zones — temperate, boreal, mediterranean, arid and tropical — in English and in French. WeatherTable: the weather as a table with a memory oftilttek/generator, as a catalog, a document or a YAML file under a name of the caller's choice; a condition that stays by its weight times the zone's persistence or turns into a neighbour the season brings, and one the season does not bring that turns into a neighbour it brings or into any of its conditions; a temperature that moves by the zone's roll and one degree toward the middle of the range moved by the condition, within the range, and comes back by two degrees a day when it is out of it; the zone and the season left to the application. The generator files written from the shipped climates ingenerators/enandgenerators/fr.Weather: forecasts of one or more days from aWeatherState, in a language of the climates, the same days for the same state and seed, within the limits oftilttek/generator;Forecastwith its days and the state the last one leaves;Daywith its condition, label, temperature, zone and season, and its temperature in Fahrenheit;WeatherStateread from and written to a map of texts, with a new season or zone.- Exceptions under
WeatherException:InvalidClimate,UnknownClimateandInvalidState. - The documentation in
doc/, one file per topic, indexed by the README. CONTRIBUTING.md,SECURITY.mdandCODE_OF_CONDUCT.md.