Skip to content

Commit

Permalink
feat: updated changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
krypt0nn committed Jan 20, 2024
1 parent 04a241c commit ef561f6
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 15 deletions.
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.0.2] - 21.01.2024

### Changed

- Fixed German
- Replaced `v1_network_http_get` with more powerful `v1_network_fetch`

## [1.0.1] - 20.01.2024

### Added
Expand All @@ -29,6 +36,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

<br>

[unreleased]: https://github.com/an-anime-team/anime-games-launcher/compare/1.0.1...master
[unreleased]: https://github.com/an-anime-team/anime-games-launcher/compare/1.0.2...master
[1.0.2]: https://github.com/an-anime-team/anime-games-launcher/compare/1.0.1...1.0.2
[1.0.1]: https://github.com/an-anime-team/anime-games-launcher/compare/1.0.0...1.0.1
[1.0.0]: https://github.com/an-anime-team/anime-games-launcher/releases/tag/1.0.0
22 changes: 21 additions & 1 deletion repository/integrations/V1_SPECIFICATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
| API | Method | Output | Description |
| - | - | - | - |
| Network | | | Work with the network |
| | `v1_network_http_get(uri)` | `Response` | Perform GET request to the given URI |
| | `v1_network_fetch(uri: string, options: RequestOptions \| null)` | `Response` | Perform GET request to the given URI |
| JSON | | | Work with JSON |
| | `v1_json_decode(json)` | `object` | Decode JSON string |

Expand Down Expand Up @@ -56,6 +56,26 @@

For syntax highlighting types definition is written on typescript

### RequestOptions

```ts
type RequestOptions = {
// Accepted variants: "get", "post", "head", "put", "delete",
// "connect", "options", "trace", "patch", null
// or any other string (custom request method?)
method?: string,

// Request headers
headers?: [key: string]: string,

// Request body
body?: string,

// Request timeout, in seconds
timeout?: number
};
```

### Response

```ts
Expand Down
15 changes: 2 additions & 13 deletions src/ui/windows/about.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,22 +76,11 @@ impl SimpleComponent for AboutDialog {

set_release_notes_version: &APP_VERSION,
set_release_notes: &[
"<p>Added</p>",

"<ul>",
"<li>Added Chinese</li>",
"<li>Added Portuguese</li>",
"<li>Added German</li>",
"<li>Added outdated games category</li>",
"<li>Added virtual desktop preference</li>",
"<li>Added xxhash support</li>",
"<li>Added pre_transition optional API</li>",
"</ul>",

"<p>Changed</p>",

"<ul>",
"<li>Updated v1_network_http_get standard</li>",
"<li>Fixed German</li>",
"<li>Replaced v1_network_http_get with more powerful v1_network_fetch</li>",
"</ul>"
].join("\n"),

Expand Down

0 comments on commit ef561f6

Please sign in to comment.