Skip to content
This repository has been archived by the owner on Dec 23, 2023. It is now read-only.

Releases: BrianMitchL/weatherBot

weatherBot v2.1

28 Nov 04:45
Compare
Choose a tag to compare

weatherBot v2.1 will alert the user if the given configuration file does not exist.

Tests now use os.path for all path handling. This may mean that Windows is supported, but this is still untested.

weatherBot v2.0.2

17 Nov 05:53
Compare
Choose a tag to compare

Fixes a crash when a weather alert was active.

weatherBot v2.0.1-1

10 Nov 06:29
Compare
Choose a tag to compare

Removed the space in the default hashtag

weatherBot 2.0.1

06 Nov 00:36
Compare
Choose a tag to compare

This fixes a bug causing WeatherBotString objects to not properly update when given new weather data.
Logging of weather data is also more concise and useful.

weatherBot 2.0

04 Nov 06:04
Compare
Choose a tag to compare

There are breaking changes with this new version. Environmental variables will need to be updated. Existing conf files will continue to work.

Much of the data code has been rewritten and strings are now stored in a YAML file.

Changes:

  • Change WEATHERBOT_FORECASTIO_KEY to WEATHERBOT_DARKSKY_KEY
  • Fixed missing degree symbol (º) in forecasts
  • Caching to a file (.wbcache.p)
  • Configurable strings
  • Language support
  • Contributing guidelines
  • invoke task runner
  • Large rework/refactor
  • Object Oriented
  • Improved code quality (linting, docstrings, classes)
  • Increased test coverage

Check out the more formal list of closed issues in the v2.0 milestone.

weatherBot 1.2.3

03 Sep 11:27
Compare
Choose a tag to compare

Removes a double space in a weather forecast.

weatherBot 1.2.2

21 Aug 03:30
Compare
Choose a tag to compare

This introduces some breaking changes with keys and environmental variables.

Daily forecast and scheduled tweets are now configured in the conf file. You can have as many or as few scheduled tweets as you like now!

Twitter access tokens are now accessed though different variable names. The access token and token secret now match how Twitter documents them. You will need to migrate to use

'access_token': 'xxx',
'access_token_secret': 'xxx',

in keys.py or use the WEATHERBOT_ACCESS_TOKEN and WEATHERBOT_ACCESS_TOKEN_SECRET environmental variables.

In short:
You can now add times for the forecast and scheduled tweets in the cons file.

keys.py:
access_keyaccess_token
access_secretaccess_token_secret
environmental variables:
WEATHERBOT_ACCESS_KEYWEATHERBOT_ACCESS_TOKEN
WEATHERBOT_ACCESS_SECRETWEATHERBOT_ACCESS_TOKEN_SECRET

Many more tests have been written.

weatherBot 1.2.1

01 Jul 18:06
Compare
Choose a tag to compare

This minor update sets the Heroku runtime to Python 3.5.2.

weatherBot 1.2

09 Jun 21:03
Compare
Choose a tag to compare

This introduces some breaking changes.

  • conf files
    • A conf file must be passed in as the first and sole argument when running the bot. For example, python3 weatherBot.py weatherBot.conf
    • All fields are optional, and default to the values in weatherBot.conf
  • Docker
    • Docker image can be created by running ./build.sh
    • The image can then be spun up by running docker run --name weatherBot -d -e WEATHERBOT_CONSUMER_KEY=xxx -e WEATHERBOT_CONSUMER_SECRET=xxx -e WEATHERBOT_ACCESS_KEY=xxx -e WEATHERBOT_ACCESS_SECRET=xxx -e WEATHERBOT_FORECASTIO_KEY=xxx weatherbot python weatherBot.py weatherBot.conf
    • More information can be found on the Docker Documentation page
  • HTTP errors are now gracefully excepted if forecast.io returns with an error

weatherBot 1.1

16 May 00:44
Compare
Choose a tag to compare

The could be called the precipitation update. Precipitation is now handed properly via the precipIntensity, precipType, and precipProbability fields. Precipitation will be reported within the given throttles for rain, snow, sleet, and hail for varying precipitation rates. The rates are broken into very-light, light, moderate, and heavy, at the suggested rates given by the forecast.io documentation.