diff --git a/.github/workflows/linux-app.yml b/.github/workflows/linux-app.yml index 267ed51d..47886c45 100644 --- a/.github/workflows/linux-app.yml +++ b/.github/workflows/linux-app.yml @@ -34,10 +34,10 @@ jobs: wails doctor wails build -tags webkit2_40 cp build/bin/Paisa build/linux/usr/local/bin - cp -r build/linux paisa_0.5.5_amd64 - dpkg --build paisa_0.5.5_amd64 + cp -r build/linux paisa_0.5.6_amd64 + dpkg --build paisa_0.5.6_amd64 cd .. - mv desktop/paisa_0.5.5_amd64.deb paisa-app-linux-amd64.deb + mv desktop/paisa_0.5.6_amd64.deb paisa-app-linux-amd64.deb - name: Release uses: softprops/action-gh-release@v1 with: diff --git a/CHANGELOG.md b/CHANGELOG.md index da466038..1a58e5cf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # CHANGELOG +### 0.5.6 (2023-11-04) + +* Add support for Income:CapitalGains +* Add option to control display precision +* Add new price provider for gold and silver (IBJA India) +* Add option to disable budget rollover +* Bug fixes + ### 0.5.5 (2023-10-07) * Support account icon customization diff --git a/cmd/version.go b/cmd/version.go index 9b7d9bbd..62c9c5f7 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -9,7 +9,7 @@ var versionCmd = &cobra.Command{ Use: "version", Short: "Print the version information", Run: func(cmd *cobra.Command, args []string) { - fmt.Println("Version:", "0.5.5") + fmt.Println("Version:", "0.5.6") }, } diff --git a/desktop/build/linux/DEBIAN/control b/desktop/build/linux/DEBIAN/control index 488145e5..472120d6 100644 --- a/desktop/build/linux/DEBIAN/control +++ b/desktop/build/linux/DEBIAN/control @@ -1,5 +1,5 @@ Package: paisa -Version: 0.5.5 +Version: 0.5.6 Section: misc Priority: optional Architecture: amd64 diff --git a/desktop/main.go b/desktop/main.go index 878a8297..99f49aff 100644 --- a/desktop/main.go +++ b/desktop/main.go @@ -46,7 +46,7 @@ func main() { Mac: &mac.Options{ About: &mac.AboutInfo{ Title: "Paisa", - Message: "Version 0.5.5 \nCopyright © 2022 - 2023 \nAnantha Kumaran", + Message: "Version 0.5.6 \nCopyright © 2022 - 2023 \nAnantha Kumaran", Icon: icon, }, }, diff --git a/desktop/wails.json b/desktop/wails.json index 57e0d61b..46db75f7 100644 --- a/desktop/wails.json +++ b/desktop/wails.json @@ -11,7 +11,7 @@ "Info": { "companyName": "Paisa", "productName": "Paisa", - "productVersion": "0.5.5", + "productVersion": "0.5.6", "copyright": "Copyright © 2022 - 2023 Anantha Kumaran", "comments": "Personal finance manager" } diff --git a/flake.nix b/flake.nix index f8be86b6..7243f211 100644 --- a/flake.nix +++ b/flake.nix @@ -12,7 +12,7 @@ packages.default = pkgs.buildGoModule { pname = "paisa-cli"; - version = "0.5.5"; + version = "0.5.6"; src = ./.; diff --git a/internal/ledger/ledger_test.go b/internal/ledger/ledger_test.go index 5acb8f7f..0802fec8 100644 --- a/internal/ledger/ledger_test.go +++ b/internal/ledger/ledger_test.go @@ -28,6 +28,9 @@ func TestParseLegerPrices(t *testing.T) { assert.Len(t, parsedPrices, 0) parsedPrices, _ = parseLedgerPrices("P 2023/05/01 00:00:00 USD $0.9\n", "INR") assert.Len(t, parsedPrices, 0) + + parsedPrices, _ = parseLedgerPrices("P 2022/01/29 00:50:00 UAH 0.026 EUR\n", "EUR") + assertPriceEqual(t, parsedPrices[0], "2022/01/29", "UAH", 0.026) } func TestParseHLegerPrices(t *testing.T) { diff --git a/src/routes/more/about/+page.svelte b/src/routes/more/about/+page.svelte index 4e67107c..5c0eba91 100644 --- a/src/routes/more/about/+page.svelte +++ b/src/routes/more/about/+page.svelte @@ -43,7 +43,7 @@