Releases: Slug-Boi/cocommit
Releases · Slug-Boi/cocommit
v2.0.2
v2.0.1
Chores
- deps:
- bump github.com/go-viper/mapstructure/v2 (9b2c3fb by @dependabot[bot])
CI
- updated makefile to include the ldflags version definition. This should default to undefined now if the env var was not set (bb30b4b by @Slug-Boi)
Full Changelog: v2.0.0...v2.0.1
v2.0.0
New Features
- add the base config command with flags to help configure the tool and create one if its missing (ab3f16b by @Slug-Boi)
- allow editing for amend commits (183788f by @Slug-Boi)
- add editor util to handle and launch editors outside of built-in (1367d50 by @Slug-Boi)
- add amend command (dee0ee7 by @Slug-Boi)
- git commit user appender (7a0e734 by @Slug-Boi)
- add config utils functions to handle config fetching and updating (3e1ba8d by @Slug-Boi)
- scopes added to tui list model (b608a52 by @Slug-Boi)
- util function to fetch all users that have commited to a repo (8b3c5ab by @Slug-Boi)
- define git users in the program (be98ca2 by @Slug-Boi)
- add nix flake (a84e38d by @Slug-Boi)
- add nix package build definition (974056c by @Slug-Boi)
- add gh add tui component (4dd972c & 7662069 by @Slug-Boi)
- allow for json files to be opened instead of the weird self made csv format (ec2f361 by @Slug-Boi)
- CA:
- error:
- gh:
- gh_fetcher:
Bug Fixes
- attempt to fix cmd tests (84de8e1 by @Slug-Boi)
- env var test updated for panic (1f7e571 & 0da8fc6 by @Slug-Boi)
- add config to cmd tests (cbcd5ae by @Slug-Boi)
- if author file was not set empty string not caught (eac0e43 by @Slug-Boi)
- add _ (5207f17 by @Slug-Boi)
- bug with how git authors were handled in tui (b0bf47e by @Slug-Boi)
- more nil pointers (a088045 by @Slug-Boi)
- return wrong model when gh tui open (a84843c by @Slug-Boi)
- nil pointer (0fe4624 by @Slug-Boi)
- remember to toggle off tempAuthorAdd when quitting (c24c277 by @Slug-Boi)
- clear screen to remove ghost elements (acf756d & c6fec9e by @Slug-Boi)
- fix tui wrap around issue with temp author (b41ec63 & 55b78b0 by @Slug-Boi)
- json:
Documentation
- add coverage badge (4167f29 by @Slug-Boi)
- capital A (834ce16 by @Slug-Boi)
- add update command to list of CLI commands (f6a1316 by @Slug-Boi)
- json:
Tests
- comment begin (0425795 by @Slug-Boi)
- add a config save test function (98ceadf by @Slug-Boi)
- add new bool to func call (6802450 by @Slug-Boi)
- try to fix config file not being loaded (97dac51 by @Slug-Boi)
- add config to tests (bbce5d3 by @Slug-Boi)
- fix problem with message keeping value past test (bbf6137 by @Slug-Boi)
- add commitappender tests (69c31ef by @Slug-Boi)
- add return value of string for testing (d010e73 by @Slug-Boi)
- add scope tests (619066f by @Slug-Boi)
- change test commit file to actual file not temp file and use git add to add it (ac1e59b by @Slug-Boi)
- add scope and set scope to be local in all tests (c7a9d34 by @Slug-Boi)
- more gh tui tests (04a5cd3 by @Slug-Boi)
- add some tui tests for the new gh command (59674fe by @Slug-Boi)
- loop the correct amount of items (951dbee by @Slug-Boi)
- create temp file when testing the git commit command (9b367ba by @Slug-Boi)
- fix linux not panic on authorfile test (3e4c01c by @Slug-Boi)
- increase test coverage of tui to around 70% (5cd8ee6 by @Slug-Boi)
- extend tui test coverage (e7656ae by @Slug-Boi)
- final extend to utils test coverage (7cededc by @Slug-Boi)
- add all flag to hopefully fix ci workflow (7302087 by @Slug-Boi)
- even more extended test coverage (5123e63 by @Slug-Boi)
- extend test coverage by adding more utils tests (3db2ca2 by @Slug-Boi)
- gh:
- json:
Refactors
- add string function to config struct to allow for extendable printing of future fields (01c6581 by @Slug-Boi)
- change the way the viper config is stored and add helper functions (96d117c by @Slug-Boi)
- allow for editing of amend commits (70259d1 by @Slug-Boi)
- defer remove (2e8b56c by @Slug-Boi)
- redudandant (b059130 by @Slug-Boi)
- change commit length limit and change exit codes (9e85fdd by @Slug-Boi)
- change root command to use the new editor launcher (eeb93fb by @Slug-Boi)
- author file config (a6d90b8 by @Slug-Boi)
- change config to be optional and create default state (ff9b873 by @Slug-Boi)
- add env var for config location (45d4c6e by @Slug-Boi)
- flags and change hash to be ignored (82ec905 by @Slug-Boi)
- make sure lists are ordered correctly and add configurable scopes (2686f32 by @Slug-Boi)
- add config load to author func (f89d399 by @Slug-Boi)
- remove fetch call (1d51c55 by @Slug-Boi)
- rename all model to Model (39a5005 by @Slug-Boi)
- run define git users on launch (68cc7d8 by @Slug-Boi)
- no args means tui opens (5341932 & 02962b7 by @Slug-Boi)
- edit existing tui elements to add new gh add tui component (53fef65 & 5c41cd4 by @Slug-Boi)
- use panic (e8933bc by @Slug-Boi)
- longname and remove emptystring on errors (1d432f6 by @Slug-Boi)
- add error handler (ee14a9f by @Slug-Boi)
- error handling and add flags to git push command (aafba93 by @Slug-Boi)
- move error handling (81adc7e by @Slug-Boi)
- add error returns and flags (4696f58 by @Slug-Boi)
- panic and rename variable plus move an error so it can actually trigger (33d93c8 by @Slug-Boi)
- panic not print (b7729c3 by @Slug-Boi)
- rewrite parts of the commit function to be a bit more sane, removed the jump as well (6e0d7c5 by @Slug-Boi)
- cmd:
- depen_injec:
- gh_fetcher:
- json:
Chores
- update default.nix to actually build and work now + add vendor hash (6c19844 by @Slug-Boi)
- update makefile to remove build-nix step (cdefb84 by @Slug-Boi)
- add go mod vendor (25d990a by @Slug-Boi)
- update hash (9b2ffee by @Slug-Boi)
- fix flake.nix (6614af4 by @Slug-Boi)
- remove rev from nix flake (2409fc7 by @Slug-Boi)
- remove test file (35...
v1.3.0
New Features
- check for tag version on github to let the user know they should update to the new version (79dc578 by @Slug-Boi)
Bug Fixes
- bug with the update tool and paths not being correct. Changed to abs path checks (1ea3d94 by @Slug-Boi)
- rewrite error messages for error in author file to be more descriptive (2794a90 by @Slug-Boi)
- issue with creating author file from scratch. Fixed file permissions (0e47a93 by @Slug-Boi)
Documentation
Refactors
- call update check on users cmd (9c98cd1 by @Slug-Boi)
- add update check to cz command (667c25b by @Slug-Boi)
- Fix terrible code and flag handling in root (106957c by @Slug-Boi)
Full Changelog: v1.2.1...v1.3.0
v1.2.1
v1.2.0
New Features
Bug Fixes
Chores
- update install script to work (added sudo to mv) and update gitignore (de72d1a by @Slug-Boi)
- deps:
- bump golang.org/x/crypto from 0.27.0 to 0.31.0 (d1abad9 by @dependabot[bot])
CI
- add Coco_version env var to build flow and remove author.txt (no longer used) (8522fef by @Slug-Boi)
Full Changelog: v1.1.1...v1.2.0
v1.1.1
Security Update
Security
- Updates to dependencies (especially golang/x/crypto) to ensure no high severity security problems
Documentation
- remove dollar sign from copy paste required code blocks (thanks github :) ) (e94f59c by @Slug-Boi)
- add dollar sign back (1a338fc by @Slug-Boi)
- add console tag to code blocks as a test (bb0c571 by @Slug-Boi)
- change readme to include install script commands (6ffb08c by @Slug-Boi)
Chores
Full Changelog: v1.1.0...v1.1.1
v1.1.0
New Features
- add version variable to cocommit which gets set through build command (08d1942 by @Slug-Boi)
- add update command which looks at os and tries to update (3d06ddd by @Slug-Boi)
- add ability to pass flags to git commit (c4671ef by @Slug-Boi)
Bug Fixes
Refactors
- fix syntax errors (c5ee15d by @Slug-Boi)
- change regex to be actually universal (ccdc550 by @Slug-Boi)
Chores
CI
- change tar names and add aarch64 (b224eeb by @Slug-Boi)
- add version variable linkage to build command (8f9e1e9 by @Slug-Boi)
- update build release workflow to include arm darwin and removed version from tar (d90ab2d by @Slug-Boi)
Full Changelog: v1.0.1...v1.1.0
v1.0.1
v1.0.0
New Features
- add groups and start refactor of tree model for tui elements (56cf60e by @Slug-Boi)
- added commitizen support (due to cmd execution styles this will not be in the test suite) (b1c4df8 by @Slug-Boi)
Bug Fixes
- issue with group selection selecting users with partial name of group users (ea0755a by @Slug-Boi)
- fix group overflow in tui (ed7cdb0 by @Slug-Boi)
- import paths after src folder rename (35c7473 by @Slug-Boi)
- change bindings to actually work for the commit message (c92079f by @Slug-Boi)
- added the temp add keybind to the tui list (c09bd40 by @Slug-Boi)
Documentation
- update usage messages of all cobra commands (49b471e by @Slug-Boi)
- change wording for the manual install (eb8b813 by @Slug-Boi)
- add go pkg reference link (6cfd39f by @Slug-Boi)
Tests
- remove testing prints (f0547bc by @Slug-Boi)
- add group selection test (8af4f52 by @Slug-Boi)
- fix the tui tests with the new model structure (d7f279b by @Slug-Boi)
- fix tui commit message test (e230237 by @Slug-Boi)
Refactors
- change height boundry (7b506ad by @Slug-Boi)
- add dynamic groups with height and pagination (abd21e4 by @Slug-Boi)
- add dynamic scaling to group amount (f662eb1 by @Slug-Boi)
- remove some of the clear screen commands (a3336ed by @Slug-Boi)
- small updates to color and flag checking (597d4f5 by @Slug-Boi)
- cleanup code (6e2293b by @Slug-Boi)
- unify colors for a tui. May change again not sure (bbc2e75 by @Slug-Boi)
- changed all models for the tui to be in a proper tree structure (c8e5d87 by @Slug-Boi)
- change bat check to be on version flag for better cross platform compatability (4969266 by @Slug-Boi)
- fix email formatting of users printout using glamour (6ef0ad3 by @Slug-Boi)
- small changes to exit and usage statement (d9431a5 by @Slug-Boi)
- update check author file function and create new flag to enter author list tui mode (ff9b648 by @Slug-Boi)
Chores
CI
- another attempt at a fix (ede7232 by @Slug-Boi)
- try and add env var earlier in the workflow (2716070 by @Slug-Boi)
- fix build_test_release workflow (e35bd65 by @Slug-Boi)
- apply same path changes for src to build workflow (8e0b3f2 by @Slug-Boi)
- update test on push src path (350458a by @Slug-Boi)
Code Style
Full Changelog: v0.4.0...v1.0.0