Releases: kxxt/aspeak
Releases · kxxt/aspeak
v5.0.1-alpha.2
- Add binary feature to make rust lib less bloated
v5.0.0: Remove dead trial endpoint
Enhancements
- Add support for
--color={auto,always,never}
options. Andaspeak
will also respect theNO_COLOR
environment variable.- There is an edge case that
aspeak
will use colored output even if--color=never
is specified.
This is becauseaspeak
usesclap
to parse command line options.--color=never
works only if the command line parsing is successful.
So if you specify an invalid option,aspeak
will print the error message and exit. In this case,aspeak
will use colored output.
- There is an edge case that
- More documentation for the rust crate.
- Minor performance improvements.
- Now you can specify the custom voice list API url in your profile(field
voice_list_api
in sectionauth
).
Breaking changes
- The default trial endpoint has been removed because it was shutdown by Microsoft. Now you must set up authentication to use
aspeak
. - The default voice list API url has been removed for the same reason.
- The rust API has been changed.
Synthesizer
is nowSend
. Its varioussynthesize_*
methods now takes&mut self
instead of&self
.- Now you need to use the builder pattern to create various options like
TextOptions
. - Fields of the
Voice
struct are now private. You can use the methods to access them.
Other changes
- The PKGBUILDs for Arch Linux is no longer stored in this repository. You can find them in the AUR.
v4.3.1: Fix a bug that caused the endpoint and region settings in profile to be ineffective.
- Fix a bug that caused the
endpoint
andregion
settings in profile to be ineffective.
v4.3.0
- Add support for http and socks5 proxy. Command line option
--proxy
and environment variablehttp_proxy
(orHTTP_PROXY
) are available.- Example:
aspeak --proxy "socks5://127.0.0.1:7890" text "Hello World"
- You can also set the proxy in the
auth
section in your profile. - By now, connection to https proxy server is not supported!
- For python binding, use the
proxy
keyword argument in theSpeechService
constructor.
- Example:
- Fix: Now the
list-voices
command correctly handles the auth settings. (region, token, key) - Now you can specify the voice list API url when using the
list-voices
command.
v4.3.0-beta.2
- Change the implementation of socks5 proxy.
- Make the
list-voices
command respect the proxy settings. - Fix: Now the
list-voices
command correctly handles the auth settings. (region, token, key) - Now you can specify the voice list API url when using the
list-voices
command.
v4.3.0-beta.1: add support for proxy
- Add support for http and socks5 proxy. Command line option
--proxy
and environment variablehttp_proxy
(orHTTP_PROXY
) are available.- Example:
aspeak --proxy "socks5://127.0.0.1:7890" text "Hello World"
- You can also set the proxy in the
auth
section in your profile. - By now, connection to https proxy server is not supported!
- For python binding, use the
proxy
keyword argument in theSpeechService
constructor.
- Example:
v4.2.0
- Show detailed error message in python bindings.
- Fix: Previously, the
role
field in the default profile template is not commented out and set toBoy
.
You might want to comment it out if you are already using the default profile template and haven't changed it. - The
role
,style
andstyle_degree
fields are now commented out in the default profile template. - Feature: Now you can use
--no-rich-ssml
flag to disable rich SSML features such asrole
,style
andstyle_degree
.
This is useful if you are using an endpoint that does not support rich SSML features. - Fix(Python bindings): Now the
SpeechService
constructor correctly takes an iterable instead of an iterator forheaders
keyword argument. - Fix: Now aspeak correctly handles endpoint urls that contain query parameters.
v4.1.0: support auth by azure subscription key
- You can now use your azure subscription key to authenticate. Special thanks to @yhmickey
for trusting me and providing me his subscription key for testing.
v4.0.0: Rewritten in Rust
aspeak has been rewritten in Rust!:tada: This is a major release and there are some breaking changes.
Please read the documentation carefully if you are upgrading from v3.x.
Fixes:
- In some cases, the old aspeak can't play audio on some linux platforms.
- aspeak now respects the encoding arg for both stdin and file.
- Stricter validations for command line options.
- Do not overwrite existing file unless --overwrite is specified.
New features:
- Now you can use profiles to save your options.
- For example, you can specify your native locale in your profile so that you don't need to specify it every time.
- You can learn more about profiles in the documentation.
- Theoretically, aspeak is now available on more platforms. But I will only publish binaries for Windows, macOS and Linux.
- However, you can still compile aspeak from source on other platforms.
- Now you can use custom endpoints and authentication tokens.
- Now you can add custom request headers.
- More user friendly output and error messages
- Now I have set up GitHub Actions to build and publish automatically.
- Now you can use aspeak as a library in your Rust projects.
- You can learn more about the Rust API at docs.rs.
Changes:
- RIIR
- We no longer publish linux wheels to PyPI because of manylinux compatibility issues. Please compile from source if you want to use python bindings on linux.
- The python bindings has been changed dramatically. Please read the documentation carefully if you are upgrading from v3.x.
- The
-F/--format
option now takes kebab case values(e.g.audio-16khz-128kbitrate-mono-mp3
) instead of pascal case values.
v4.0.0-rc.1
- Update docs.
- Fix a typo in config template.
- Internal refactor.
- Fix: Now you can use
-
to read from stdin. - Fix: Correct some CLI help messages.