Releases: home-assistant/hassil
Releases · home-assistant/hassil
1.7.1
What’s Changed
- #125 - Initialize wildcard_text if wildcard is not None (@sorgfresser)
- #111 - Add range scale (@synesthesiam)
- #110 - Migrate scripts to Python (@synesthesiam)
⬆️ Dependencies
17 changes
- #131 - Bump pytest from 8.1.1 to 8.2.0 (@dependabot)
- #129 - Bump black from 24.4.0 to 24.4.2 (@dependabot)
- #130 - Bump mypy from 1.9.0 to 1.10.0 (@dependabot)
- #132 - Bump tox from 4.14.2 to 4.15.0 (@dependabot)
- #128 - Bump actions/checkout from 4.1.3 to 4.1.4 (@dependabot)
- #127 - Bump actions/checkout from 4.1.2 to 4.1.3 (@dependabot)
- #126 - Bump black from 24.3.0 to 24.4.0 (@dependabot)
- #124 - Bump tox from 4.14.1 to 4.14.2 (@dependabot)
- #123 - Bump black from 24.2.0 to 24.3.0 (@dependabot)
- #122 - Bump actions/checkout from 4.1.1 to 4.1.2 (@dependabot)
- #120 - Bump tox from 4.13.0 to 4.14.1 (@dependabot)
- #119 - Bump pytest from 8.0.1 to 8.1.1 (@dependabot)
- #121 - Bump mypy from 1.8.0 to 1.9.0 (@dependabot)
- #112 - Bump pytest from 8.0.0 to 8.0.1 (@dependabot)
- #113 - Bump tox from 4.12.1 to 4.13.0 (@dependabot)
- #114 - Bump black from 24.1.1 to 24.2.0 (@dependabot)
- #109 - Bump unicode-rbnf from 1.0.0 to 1.1.0 (@dependabot)
1.6.1
- Allow context values to be dicts
1.6.0
#103 - Add sentence metadata (@synesthesiam)
#100 - Add support for text slot metadata (@jackwilsdon)
1.5.3
- Restrict unmatched entities to contiguous blocks of non-literal text
- Automatically use intents language for number words if supported
v1.5.2
What’s Changed
- #94 - Local slot lists (@tetele)
- Add matched sentence template and text chunk count to result
- Fix text for unmatched entities
⬆️ Dependencies
7 changes
- #93 - Bump pytest from 7.4.3 to 7.4.4 (@dependabot)
- #90 - Bump black from 23.12.0 to 23.12.1 (@dependabot)
- #91 - Bump mypy from 1.7.1 to 1.8.0 (@dependabot)
- #88 - Bump black from 23.11.0 to 23.12.0 (@dependabot)
- #89 - Bump pylint from 3.0.2 to 3.0.3 (@dependabot)
- #86 - Bump actions/setup-python from 4 to 5 (@dependabot)
- #85 - Bump mypy from 1.7.0 to 1.7.1 (@dependabot)
v1.5.1
- Expand
requires_context
to allow copying value to a slot
v1.5.0
Merge pull request #80 from home-assistant/synesthesiam-20231110-fuzz…
Using original text during sampling
When sampling possible strings from a template like (A | B)
, hassil would previously produce: a
and b
(normalized). It will now produce the original strings with whitespace: A
and B
.
No skipping whitespace
Bugfix to not allow skipping whitespace while parsing under certain conditions.
Version 1.0.0
Remove slow ANTLR parser and use a custom one (~8-10x faster).
Breaking Changes
- Whitespace is now significant around the
|
character. Previously,light(s | ing)
would match both "lights" and "lighting", but now it will match "lights" and "light ing" - Only punctuation is skipped automatically, instead of all "non-word" characters (regex
\W
). Templates must now include%
and°
explicitly. The current set of punctuation characters is.。,,?¿?!!;;::
- Template parsing is more strict, so unmatched
(
or]
characters will cause parsing errors
New Features
Intents YAML has a new settings block:
language: "..."
settings:
ignore_whitespace: false
The only option is ignore_whitespace
, which is intended for language families like zh
(Chinese) that may be written without spaces. The default value is False
.
Other Changes
- The ANTLR runtime is no longer needed as a dependency