Skip to content

Commit 2532768

Browse files
committed
#4 - Version Update - 2.1.0.0
1 parent fafdf86 commit 2532768

File tree

4 files changed

+19
-10
lines changed

4 files changed

+19
-10
lines changed

KeePassHttp/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
3535
[assembly: AssemblyVersion("1.0.0.0")]
36-
[assembly: AssemblyFileVersion("2.0.0.0")]
36+
[assembly: AssemblyFileVersion("2.1.0.0")]

Tests/KeePassHttp.Tests.ps1

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,14 @@ Describe "KeePassHttp protocol" {
524524
Context "Version Check" {
525525
It "returns current version" {
526526
$endpoint = $Context.Endpoint.TrimEnd('/') + '/version'
527-
$response = Invoke-WebRequest -Uri $endpoint -Method Get -SkipHttpErrorCheck
527+
$response = Invoke-WebRequest -Uri $endpoint -Method Get
528+
$response.StatusCode | Should -Be 200
529+
$response.Content | Should -Be $KeePassHttpVersion
530+
}
531+
532+
It "returns current version in Plugin format" {
533+
$endpoint = $Context.Endpoint.TrimEnd('/') + '/version?format=keepass'
534+
$response = Invoke-WebRequest -Uri $endpoint -Method Get
528535
$response.StatusCode | Should -Be 200
529536
$response.Content | Should -Match ":\nKeePassHttp:$KeePassHttpVersion\n:"
530537
}

docs/changelog.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ toc_title: "Versions:"
88
# Changelog
99
All notable changes to this project will be documented in this file.
1010

11-
## [Unreleased]
11+
## [v2.1.0.0]
1212
{: .d-inline-block }
13-
Coming soon
14-
{: .label .label-yellow }
13+
Latest
14+
{: .label .label-green }
1515

1616
### Added
1717

@@ -39,10 +39,11 @@ Coming soon
3939
- Refactor code for improved readability and maintainability ([#21])
4040
- Refactor and enhance Request/Response models ([#27])
4141

42+
### Removed
43+
44+
- `Count` property from numerous response models where it was redundant ([#27])
45+
4246
## [v2.0.0.0]
43-
{: .d-inline-block }
44-
Stable
45-
{: .label .label-green }
4647

4748
### Fixed
4849
- Update check failed: version information file could not be downloaded ([#1])
@@ -54,7 +55,8 @@ Stable
5455
- Legacy release of **KeePassHttp** by [Perry Nguyen].
5556

5657
<!-- versions -->
57-
[unreleased]: https://github.com/alan-null/keepasshttp/compare/v2.0.0.0...HEAD
58+
[unreleased]: https://github.com/alan-null/keepasshttp/compare/v2.1.0.0...HEAD
59+
[v2.1.0.0]: https://github.com/alan-null/keepasshttp/compare/v2.0.0.0...v2.1.0.0
5860
[v2.0.0.0]: https://github.com/alan-null/keepasshttp/compare/v1.8.4.2...v2.0.0.0
5961
[v1.8.4.2]: https://github.com/alan-null/keepasshttp/compare/v1.8.4.2...v1.8.4.2
6062

latest-version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
:
2-
KeePassHttp:2.0.0.0
2+
KeePassHttp:2.1.0.0
33
:

0 commit comments

Comments
 (0)