Skip to content

Commit

Permalink
chore: publish v5.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kxxt committed May 5, 2023
1 parent c10e0a4 commit 04c5421
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 4 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# aspeak Changelog

# v5.2.0

## CLI

You can now set the authentication secrets via the following environment variables:

- `ASPEAK_AUTH_KEY` for authentication using subscription key
- `ASPEAK_AUTH_TOKEN` for authentication using authorization token

## Rust API

- Now you can use `Voice::request_available_voices`(or `Voice::request_available_voices_with_additional_headers`) to get the list of available voices.

# v5.1.0

- Add binary feature to aspeak crate to make rust lib less bloated
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "aspeak"
version = "5.1.0"
version = "5.2.0"
edition = "2021"
authors = ["kxxt <[email protected]>"]
description = "A simple text-to-speech client for Azure TTS API."
Expand Down
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ From v4.1.0, You can install `aspeak-bin` from AUR.
Installing from PyPI will also install the python binding of `aspeak` for you. Check [Library Usage#Python](#Python) for more information on using the python binding.

```bash
pip install -U aspeak==5.1.0
pip install -U aspeak==5.2.0
```

Now the prebuilt wheels are only available for x86_64 architecture.
Expand Down Expand Up @@ -107,7 +107,12 @@ To avoid repetition, you can store your authentication details
in your aspeak profile.
Read the following section for more details.

From v4.3.0, you can let aspeak use a proxy server to connect to the endpoint.
From v5.2.0, you can also set the authentication secrets via the following environment variables:

- `ASPEAK_AUTH_KEY` for authentication using subscription key
- `ASPEAK_AUTH_TOKEN` for authentication using authorization token

From v4.3.0, you can let aspeak use a proxy server to connect to the endpoint.
For now, only http and socks5 proxies are supported (no https support yet). For example:

```sh
Expand Down

0 comments on commit 04c5421

Please sign in to comment.