Releases: buchhalter-ai/buchhalter-ai-cli
Releases · buchhalter-ai/buchhalter-ai-cli
v0.0.1-alpha.8
Changelog
- 088b07a BUGFIX: Disable search engine selector for oauth2 browser
- 6089fd7 BUGFIX: Fix vault name selector and unify styling
- e1ac7d7 BUGFIX: Small language fix
- bb3cd83 Browser: Skip recipe if we encounter an error during a recipe browser run
- 661b40f Bump github.com/charmbracelet/bubbles from 0.19.0 to 0.20.0
- b07616d Bump github.com/charmbracelet/bubbletea from 0.27.1 to 1.1.0
- 8497f13 Bump github.com/charmbracelet/bubbletea from 1.1.0 to 1.1.1
- ae133a4 Error handling: Output errors via bubbletea and not via fmt.Println
- 82ffe7e FEATURE: Allow user to select vault when starting the cli for the first time
- d48b4a9 Merge branch 'main' into collect-errors-like-success-actions
- 06e84a6 Merge pull request #100 from buchhalter-ai/99-feature-implement-vault-chooser-when-buchhalter-runs-for-the-first-time
- 3bde41a Merge pull request #103 from buchhalter-ai/quit-browser-gracefully
- b7fa2b5 Merge pull request #104 from buchhalter-ai/vault-selection-rework
- c888e37 Merge pull request #105 from buchhalter-ai/show-action-items-in-sync-command
- 5a8f475 Merge pull request #106 from buchhalter-ai/collect-errors-like-success-actions
- aa0baa5 Merge pull request #107 from buchhalter-ai/send-metrics-rework
- 881acab Merge pull request #108 from buchhalter-ai/move-operations-into-go-routine
- 308bf05 Merge pull request #109 from buchhalter-ai/remove-global-var-chrome-version
- 51bcaaf Merge pull request #110 from buchhalter-ai/send-oicdbVersion-as-metric
- f54bbce Merge pull request #111 from buchhalter-ai/vault-GetHumanReadableErrorMessage-proper-error
- eba316c Merge pull request #112 from buchhalter-ai/remove-global-var-rundata
- 68279ba Merge pull request #113 from buchhalter-ai/dependabot/go_modules/github.com/charmbracelet/bubbletea-1.1.1
- f59e7d1 Merge pull request #114 from buchhalter-ai/dependabot/go_modules/github.com/charmbracelet/bubbles-0.20.0
- a57d126 Merge pull request #115 from buchhalter-ai/remove-TODOs
- eb93806 Merge pull request #116 from buchhalter-ai/rename-prepare-recipes
- 60d6b01 Merge pull request #117 from buchhalter-ai/skip-supplier-if-runrecipe-has-an-error
- c1c4471 Merge pull request #92 from buchhalter-ai/91-task-disable-search-engine-selector-for-oauth2-browser
- d96e29c Merge pull request #95 from buchhalter-ai/remove-encrypted-from-var-name
- 56aef92 Merge pull request #96 from buchhalter-ai/dependabot/go_modules/github.com/charmbracelet/bubbletea-1.1.0
- b757890 Merge pull request #97 from buchhalter-ai/error-codes
- 09770c8 Merge pull request #98 from bwaidelich/patch-1
- f91d916 New cmd
buchhalter vault select
- 25c81c5 OAuth2Token storage: Remove
Encrypted
from variable name - ea5a616 Quit Chrome instance gracefully, if an abort signal is sent
- ab5f672 Remove TODO comment about
viewMsgRecipeDownloadResultMsg
- efb5a5b Removing TODO about moving
sendMetrics
into main() function - dcd1c00 Reorder imports and set TODOs for later refactoring
- c4c76b1 TASK: Fix example commands in README
- 6557907
repository
: Rename internal variables of functionSendMetrics
- 49e5a7a
root
cmd: Remove TODO about writing full configuration file - 26830e6
sync
cmd: Distinguish between "no recipes found" and "no credentials found" inloadRecipesAndMatchingVaultItems
- 89ec5ca
sync
cmd: Fix bug where oicdbVersion is sent as empty string as metric - 077bf7b
sync
cmd: Remove TODO command about help article - eb4ded1
sync
cmd: Remove global variableChromeVersion
- ccffa91
sync
cmd: Remove global variableRunData
- d0f5850
sync
cmd: RenameprepareRecipes
toloadRecipesAndMatchingVaultItems
- 1e25d9a
vault
: LetGetHumanReadableErrorMessage
return a proper error - e39b333
vault
: Remove TODO about executable binary - 91b7d36 sync cmd: Add better error handling for unexpected cases
- 0d291c0 sync cmd: Display errors that don't abort the program as normal UI actions
- a41ac76 sync cmd: Make use of
strings.Builder
- a79b598 sync cmd: Move init logic of libraries into program logic and start view layer earlier
- 7c7b59f sync cmd: Move sendMetrics out of the event loop
- 56578a5 sync cmd: Remove
fmt.Println
and add error handling - 853d765 sync cmd: Removed
vaultProvider
andrecipeParser
from view model - b5bd227 sync cmd: Rename
runRecipes
torunSyncCommandLogic
- 98b349c sync cmd: Rename
viewModel
toviewModelSync
- 3445aa4 sync cmd: Rework view layer to show the single steps that are processed
- 9e14181 sync cmd: Rework view layer to show the single steps that are processed
- 71bc43b sync command: Send Chrome version to metrics
v0.0.1-alpha.7
What's Changed
Full Changelog: v0.0.1-alpha.6...v0.0.1-alpha.7
v0.0.1-alpha.6
What's Changed
Full Changelog: v0.0.1-alpha.5...v0.0.1-alpha.6
v0.0.1-alpha.5
What's Changed
- BUGFIX: Change build path for homebrew formula by @brgmn in #87
- TASK: build brew package without subfolder by @brgmn in #88
Full Changelog: v0.0.1-alpha.3...v0.0.1-alpha.5
v0.0.1-alpha.3
What's Changed
- BUGFIX: Raise version attribute to v2 by @brgmn in #83
- TASK: Add buchhalter command install by @brgmn in #85
Full Changelog: v0.0.1-alpha.2...v0.0.1-alpha.3
v0.0.1-alpha.2
What's Changed
- Merge package
client
andbrowser
into one (recipe clients) by @andygrunwald in #64 - Bump github.com/spf13/viper from 1.18.2 to 1.19.0 by @dependabot in #67
- Bump goreleaser/goreleaser-action from 5 to 6 by @dependabot in #66
- Bump github.com/spf13/cobra from 1.8.0 to 1.8.1 by @dependabot in #69
- Bump github.com/charmbracelet/lipgloss from 0.11.0 to 0.12.1 by @dependabot in #70
- Bump golangci/golangci-lint-action from 6.0.1 to 6.1.0 by @dependabot in #71
- Bump github.com/charmbracelet/bubbletea from 0.26.4 to 0.26.6 by @dependabot in #68
- Chrome: Set
disable-search-engine-choice-screen
by @andygrunwald in #75 - Bump github.com/chromedp/chromedp from 0.9.5 to 0.10.0 by @dependabot in #74
- BUGFIX: Set chrome flag to avoid „automated testing header“ by @brgmn in #78
- TASK: Update go to 1.23 by @brgmn in #81
Full Changelog: v0.0.1-alpha...v0.0.1-alpha.2
v0.0.1-alpha
Changelog
- 1795e89 .buchhalter.yaml.example: Remove obsolete API token from example configuration
- b20412e API Token: Read token on bootup if available
- aed88b3 Add Dependabot to upgrade dependencies automatically
- a6f7fa6 Add TODO to double check if we have vault items available
- 30b73b5 Add gitignore
- 3188709 Add step timeouts and update license
- b2bf912 Add tmp and data folder to gitignore
- b30ee10 Archive: Add TODO about hashmap implementation
- 272a141 Archive: Add directory as argument to BuildArchiveIndex
- 377bf51 Archive: Add method to return file index
- df95616 Archive: Add new method to add a file to index
- 56edf60 Archive: Change file index from slice to map to allow more information per file
- 3d93c61 Archive: Exclude
_local
and.log
from archive - fc8e0ce Archive: Let BuildArchiveIndex return an error
- 7cf0b30 Archive: Move away from global usage towards struct usage
- 092fe78 BUGFIX: Fix error message
- f73012d BUGFIX: Fix formatting
- 9a44dac BUGFIX: Fix linting error
- 6ff63a8 BUGFIX: Fix wrong description in readme
- 2a35383 BUGFIX: Remove newlines
- af9b230 BUGFIX: Revert unnecessary BySearch declaration (it’s the default)
- 2d5f1c9 BUGFIX: Write valid json into secrets file if not exists
- 9fe0623 Binary: Removed bin/buchhalter binary from repository
- 56c4c9a Browser/Client: Reduce strconv usage by fmt.Sprintf
- 3eadc41 Browser: Add comments for proper error handling
- c8294b8 Browser: Add file to documentArchive once moved to final destination
- be4e20f Browser: Add selector types Search, Query, ID, NodeID, QueryAll
- 0bb2977 Browser: Don't abort the recipe if we downloaded files
- 1fc8bdb Browser: Download more than 2 invoices
- 34cda2b Browser: Make sleep time between download actions configurable
- 1c12b9f Browser: Move away from global usage towards struct usage
- 100af3f Browser: Move away from global usage towards struct usage
- e0325ca Browser: Move viper dependency up into the call stack
- beea925 Browser: Removed unused context parameter from
stepTransform
andstepMove
- bba521c Browser: Removed unused unzip operation
- 2d6c1ac Buchhalter API: Only make API host configurable
- fd750b0 Bugfix: Create full path incl parents if it is not existing
- 6702a80 Bump dominikh/staticcheck-action from 1.3.0 to 1.3.1
- bffcdac Bump github.com/charmbracelet/bubbletea from 0.25.0 to 0.26.2
- d15980c Bump github.com/charmbracelet/bubbletea from 0.26.2 to 0.26.4
- cdce410 Bump github.com/charmbracelet/lipgloss from 0.10.0 to 0.11.0
- 90a1949 Bump github.com/charmbracelet/lipgloss from 0.8.0 to 0.10.0
- 1196972 Bump github.com/chromedp/chromedp from 0.9.2 to 0.9.5
- 8e52cfb Bump github.com/google/uuid from 1.3.1 to 1.6.0
- bde7fd4 Bump github.com/spf13/cobra from 1.7.0 to 1.8.0
- 68d551e Bump github.com/spf13/viper from 1.16.0 to 1.18.2
- 69248f8 Bump golangci/golangci-lint-action from 4.0.0 to 5.1.0
- afa9ab1 Bump golangci/golangci-lint-action from 5.1.0 to 6.0.1
- 3f7a882 CLI: Disable completion command
- 38f3636 Client: Add comments for better error handling
- c524ef8 Client: Add file to documentArchive once moved to final destination
- f5f4f34 Client: Move away from global usage towards struct usage
- 13bd151 Client: Move viper dependency up into the call stack
- fa47bcf Client: Remove unused step parameter from
getOauth2Tokens
- 23c668e Client: Rename
bcs
tobaseCountStep
- f6a73b7 Client: Rename
lsr
tolastStepResult
- 139840f Client: Rename
scs
tostepCountInCurrentRecipe
- a1ba7d9 Client: Rename
sr
tostepResultChan
- 5cb1fa2 Client: Renamed
tsc
tototalStepCount
- 23e2efa Comments: Unify them between browser and client
- d46e165 Compile: Enable data race detection
- 8e120a6 Configuration: Add TODO if we really want to write all settings into configuration
- 5675fb8 Configuration: Rename
one_password_base
topassword_provider_vault
- 794e022 Configuration: Rename
one_password_cli_command
topassword_provider_cli_command
- 9c6b9d9 Configuration: Rename
one_password_tag
topassword_provider_item_tag
- e279241 Configuration: Renamed
password_provider
tocredential_provider
- 61f3d4b Configuration: Set values
buchhalter_always_send_metrics
anddev
expliciitly - 5787c87 Debugging message: Make it more verbose on what is actually happening
- ac130c9 Document Upload: Added extended error logging and closed multipart writer
- 43a6c24 Document Upload: Applying UI update
- 9ab60df Document Upload: First part of uploading the documents
- 35ad22f Document Upload: Implement
UploadDocument
into API client - 4728877 Document upload: If the user is only working on a specific provider, skip the upload of documents for other provider
- 4877a08 Don't send metrics if we run in development mode
- 5e6759e Download Path: Change it to
~/buchhalter/documents/<team-slug>/*
- 1dcfee1 Fix "*.Copy is deprecated" messages
- d13d947 Fix "Error return value of
browserDriver.Quit
is not checked (errcheck)" - aa016e3 Fix "Error return value of
documentArchive.AddFile
is not checked (errcheck)" - 66e3b2e Fix Error return value of
browser|client.Quit
is not checked (errcheck) - 3768065 Fix Error return value of
browser|client.Quit
is not checked (errcheck) - 40bf67e Fix version number of Github Action "dominikh/staticcheck-action"
- 2c3e094 Fixed "Error:
occured
is a misspelling ofoccurred
(misspell)" - b1733aa GitHub Actions: Basic testing workflow with static analysis and compile test
- 6424f41 Goreleaser: Add Personal Access Token into config for the homebrew release
- 48b1753 Goreleaser: Add
branch
into Homebrew configuration - fe403a1 Goreleaser: Deactivate it on pull requests
- 840027c Goreleaser: Drop branch during homebrew release
- d427f20 Goreleaser: Fix homebrew YAML definition
- 1988ce8 Goreleaser: Introduce homebrew as a release method
- 0eb836b Goreleaser: Replace darwin with macOS
- 2e74ea0 Goreleaser: Replace darwin with macOS in release name
- 9a647fb Goreleaser: Tweak release configuration a bit
- 4f5f3c1 Initial commit
- 6949c06 Integrate logging
- d0a1d7a Introduce download of OICDB Schema
- 9e7957d Introducing goreleaser as release mechanism
- 538ac1e Local API credentials: Write team slug to file
- f42c082 Local API file: Add DeleteLocalAPIConfig to delete the file
- 8d16bff Local API file: Add GetLocalAPIConfig to read config
- 821227d Logger: Add logging capabilities to browser and client
- 8a05978 Logging: Add Starting and Shutting down message
- 0882b28 Logging: Add basic support for structured logging in the main sync method
- b0fdd5c Logging: Add debug logging to browser package
- ecf6007 Logging: Add debug logging to client package
- db7e085 Logging: Add new logging instructions and TODOs to add loggings
- d33f334 Logging: Don't panic when log file can't be opened
- e72d041 Logging: If development mode is enabled, the log level is raised to Debug
- 3b35d9b Logging: Log number of vault items and not the items itself
- 6685c1d Logging: Removed
log.Lshortfile
from logging config - 6079010 Logging: Unify logging wording
- b03309e Make provider bold and some style fixes
- 87cf081 Makefile: Apply
.PHONY
and add a basic set of documentation - c13498e Merge branch 'main' into 31-implement-when-url-filter
- 39e1194 Merge branch 'main' into selector-type
- 6b9a7ee Merge pull request #1 from buchhalter-ai/add-dependabot
- fa1a2c4 Merge pull request #11 from buchhalter-ai/determine-binary
- 5c56b9c Merge pull request #12 from buchhalter-ai/ui-code-move
- f85c034 Merge pull request #13 from buchhalter-ai/10-add-hideelement-step-type
- b38624d Merge pull request #14 from buchhalter-ai/removed-unused-zip-operation
- e04a07a Merge pull request #15 from buchhalter-ai/configuration-docs
- aafdada Merge pull request #16 from buchhalter-ai/add-vault-items
- dfd8aea Merge pull request #17 from buchhalter-ai/rename-configuration-keys
- a00ff4d Merge pull request #18 from buchhalter-ai/browser-and-client-as-struct-types
- 142a0c7 Merge pull request #19 from buchhalter-ai/parser-urls
- e32639f Merge pull request #2 from buchhalter-ai/basic-github-action-ci
- a47a121 Merge pull request #21 from buchhalter-ai/update-oicdb-via-checksum
- 99bda1e Merge pull request #22 from buchhalter-ai/main
- b1793e7 Merge pull request #3 from buchhalter-ai/dependabot/go_modules/github.com/charmbracelet/lipgloss-0.10.0
- c939d09 Merge pull request #32 from buchhalter-ai/31-implement-when-url-filter
- 0a19d1f Merge pull request #33 from buchhalter-ai/download-all-invoices
- 0e75ca5 Merge pull request #38 from buchhalter-ai/connect-disconnect-cmd
- 20fc95c Merge pull request #4 from buchhalter-ai/dependabot/go_modules/github.com/chromedp/chromedp-0.9.5
- 32c591b Merge pull request #40 from buchhalter-ai/dependabot/github_actions/golangci/golangci-lint-action-5.1.0
- aae27c2 Merge pull request #41 from buchhalter-ai/selector-type
- d98508f Merge pull request #42 from buchhalter-ai/upload-invoices
- e2093dd Merge pull request #44 from buchhalter-ai/config-urls
- 02af0d3 Merge pull request #46 from buchhalter-ai/write-team-slug-to-local-config
- 68da46b Merge pull request #47 from buchhalter-ai/document-path-with-team-slug
- 41bd476 Merge pull request #48 from buchhalter-ai/download-schema
- 316b584 Merge pull request #5 from buchhalter-ai/dependabot/go_modules/github.com/google/uuid-1.6.0
- 94968eb Merge pull request #51 from buchhalter-ai/dependabot/github_actions/golangci/golangci-lint-action-6.0.1
- b9b9fd8 Merge pull request #52 from buchhalter-ai/update-go-version
- 2035717 Merge pull request #53 from buchhalter-ai/actions-update-static-analyzers
- 47684b0 Merge pull request #54 from buchhalter-ai/dependabot/go_modules/github.com/charmbracelet/bubbletea-0.26.2
- b8ba7ce Merge pull request #57 from buchhalter-ai/goreleaser
- 41c600d Merge pull request #58 from buchhalter-ai/rename-provider-to-supplier
- 86fde9f Merge pull request #59 from buchhalter-ai/error-buchhalter-logo
- 025712f Merge pull request #6 from buchhalter-ai/dependabot/go_modules/gi...