Navigation Menu

Skip to content

v18.8.2

Compare
Choose a tag to compare
@forslund forslund released this 27 Sep 21:02
· 2162 commits to dev since this release

Distro support (#1798, #1799)

Package list for Arch Linux and OpenSuse updated.

Updates for python 3.7

  • Fix python 3.7 issues in padaos #1794
    A couple of regexes would fail due to a minor change in how python handles incorrect escape sequences.
  • update pyyaml module requirement #1807
    This would invariably fail to build under python 3.7, to fix the latest version was included. Big thanks to @KathyReid and @adocampo for providing the solution.

Date time updates

  • a default_time optional parameter has been added to extract_datetime(). #1804, #1808
    This can be set to a time so if no time is included in the input string (for example on friday the 13) the time is set to the default_time instead of midnight. This can be useful when setting a reminder on a specific date for example.
  • utc_now() now returns datetime objects including timezone #1811

Spanish text parsing functions updated (#1571)

Adding spanish support for extract_number() and extract_datetime(). Huge shout out to @adocampo for providing these!

Updates for skill writers

  • translate_namedvalues now produce an ordered dict so the values can be ordered by priority in the .list file. #1816
  • schedule_event() now accept integers as well as datetime. #1813
    An int will be considered a relative time and will schedule the event X seconds from now.
  • Add optional parameter wait to speakand speak_dialog #1812
    This will make the methods block until Mycroft has finished speaking.
  • Strip trailing blank lines from translated files (.dialog, .list) #1817
    In a few places trailing blank lines would cause issues, since these are generally not wanted they're removed.

Support for downloading precise model by wake word name #1810

When more wake words are added the precise models will now automatically download and be used if they're available, otherwise it'll fall back to pocketsphinx.

Misc

  • Removed unused requirements #1800
    Thanks to @j1nx for pointing these out.
  • Update gtts-token to fix google tts #1806
  • Add repeat option to audioservice #1805
  • skill tester now supports a test_setup() step for initial setup. #1809