Releases: j178/leetgo
Releases · j178/leetgo
v0.4.0-beta.1
Changelog
Features
- d4e51be: feat: allow overwriting internal blocks (#140) (@j178)
- 2b87b5f: feat: add version to directly embed language libraries (#146) (@j178)
- 8782491: feat: improve compatibility with compilers other than gcc by embedding stdc++.h (#145) (@w43322)
Bug fixes
- bf63a73: fix: improve cpp I/O library (#137) (@w43322)
- 45b3605: fix: don't include <bits/stdc++.h> if not using gcc (@j178)
- a24289d: fix: cpp I/O library: correct whitespace trimming behavior (#143) (@w43322)
Others
- f8733fe: chore(deps): bump actions/setup-go from 3 to 4 (#130) (@dependabot[bot])
- 2766297: chore(deps): bump github.com/JohannesKaufmann/html-to-markdown (#131) (@dependabot[bot])
- 700c9ef: chore(deps): bump github.com/goccy/go-json from 0.10.0 to 0.10.2 (#132) (@dependabot[bot])
- 88dd611: chore(deps): bump github.com/charmbracelet/log from 0.1.2 to 0.2.1 (#134) (@dependabot[bot])
- b0b5349: chore(deps): bump github.com/briandowns/spinner from 1.22.0 to 1.23.0 (#133) (@dependabot[bot])
v0.4.0-beta
This version, we implemented a unified local testing framework (see #112 ), and rewrited the Go local testing, added CPP local testing (thanks @w43322 ).
And must noted that we changed the code template, you will need to remove the previous global config and generate a new one:
rm ~/.config/leetgo/config.yaml
leetgo init
Changelog
Features
- 5749e21: feat: upgrade to go1.20 (#98) (@j178)
- f200b4b: feat: upgrade to ChatGPT API (@j178)
- 023505b: feat: add getTempBinFile (#126) (@j178)
- e5a0256: feat: allow custom openai api endpoint (@j178)
- 67c90b9: feat: implement cpp local test (#90) (@w43322)
Bug fixes
- b3d7973: fix: use json unmarshal to split array (@j178)
- b057884: fix: avoid Chinese in generated path (@j178)
- fa3e3de: fix: race condition of outputBuf (@j178)
- ffcf50f: fix: minor (@j178)
- 97fc178: fix: build before run test, avoid first case time out (@j178)
- b782f17: fix: minor (@j178)
- ed51b79: fix: avoid hard wrap in English (@j178)
- 92b73c5: fix: trim in example output (@j178)
Others
- 4d78f3b: chore: bump testutils/go (@j178)
- c8a4a0f: chore: add length check for system design test cases (@j178)
- 1c6d533: chore: go mod tidy (@j178)
- 454f9d8: chore: improve error message (@j178)
- 493f0ab: chore: minor tweak (@j178)
- 414d149: chore(deps): bump github.com/PuerkitoBio/goquery from 1.8.0 to 1.8.1 (#125) (@dependabot[bot])
- 3d8d90d: chore(deps): bump github.com/briandowns/spinner from 1.21.0 to 1.22.0 (#124) (@dependabot[bot])
- 2019231: chore(deps): bump github.com/jedib0t/go-pretty/v6 from 6.4.4 to 6.4.6 (#123) (@dependabot[bot])
- 5ba8059: chore(deps): bump github.com/charmbracelet/log from 0.1.0 to 0.1.2 (#122) (@dependabot[bot])
- 962e81a: chore: bump CI go version (@j178)
- 8919614: chore: add trailing newline to description file (@j178)
- eb4cdfd: chore: use reflow/wrap, reduce one dependency (@j178)
v0.3.0
Changelog
Features
- 52f8584: feat: support
leetgo open
(#115) (@forestmgy) - 5386c69: feat: support generate description in a separate markdown file, defaults to false (question description will be included in the code file) (#94) (@j178)
- 806fd0d: feat: replace hclog with charmbracelet/log (#118) (@j178)
- 27cc397: feat: add TypeScript generation (@j178)
- a9a1056: feat: bump kooky to include support of chromium-based Edge on macOS (#120) (@j178)
Bug fixes
- ac2fc69: fix:
leetgo open
usage and example (@j178) - 3589408: fix: respect
--yes
inleetgo fix
(@j178) - 2764426: fix: bump kooky (@j178)
Others
- 844448a: chore: use relative path (@j178)
- 11bd0d8: chore: hide
leetgo extract
(@j178) - 1971b91: chore: tweak commands (@j178)
- 5734417: chore: minor improvements (@j178)
- 4a34504: chore: refactor generator (@j178)
- 17f884c: chore: clean up (@j178)
- 5233282: chore: use lipgloss for color (@j178)
- 0968759: chore: remove mod replace (@j178)
v0.2.3
v0.2.2
v0.2.1
Changelog
Features
- 960d5a7: feat: improve leetgo config for debugging (@j178)
- 9ed0e7b: feat: add cache Outdated() (@j178)
- 278a0cc: feat: add safari support (#91) (@acehinnnqru)
- 4f9e8b7: feat: support neovim (#96) (@acehinnnqru)
- 154dbab: feat: reduce wait time for premium user (#100) (@j178)
- fc9a4d8: feat: add retry on 503 (#104) (@j178)
- 8941f2f: feat: add edge support (#107) (@kalifun)
Bug fixes
- f8a6d67: fix: failed to run leetgo init #92 (#93) (@ismdeep)
- 61515c3: fix: handle error in sqlite cache (#95) (@acehinnnqru)
- ef51afd: fix: create cache dir if not exist (@j178)
- 0157722: fix: improve us top-two contest fetch (#103) (@j178)
Others
- c254e50: chore: simplify rate limiter (@j178)
- 889e2a7: chore: move code (@j178)
- c77bdb1: chore: refactor config a bit (@j178)
- 50b1f58: chore: reuse commonEditor for vim/nvim (@j178)
- ff281ad: chore: limit time format to seconds (@j178)
- aceb25c: Revert "chore: limit time format to seconds" (@j178)
- 2a2062f: chore: improve json unmarshal for string fields (@j178)
- 2beda55: chore: add output to question metadata (@j178)
v0.2.0
Changelog
Bug fixes
Others
- a4d53c1: chore: fix update_readme script (@j178)
- 7d21927: chore: convert 403 to ErrUserNotSignedIn error (@j178)
- 64023d7: chore: clean up us client (@j178)
- d36873e: chore: cache username globally (@j178)
- 8a9e4c5: chore: improve spinner (@j178)
- 16c5f0d: chore: improve contest display color (@j178)
- a19c481: Bump github.com/zalando/go-keyring from 0.2.1 to 0.2.2 (#84) (@dependabot[bot])
- fc56b8e: Bump github.com/fatih/color from 1.13.0 to 1.14.1 (#85) (@dependabot[bot])
- b13f92c: Bump github.com/jedib0t/go-pretty/v6 from 6.4.3 to 6.4.4 (#88) (@dependabot[bot])
- d5faab5: Bump github.com/charmbracelet/lipgloss from 0.5.0 to 0.6.0 (#87) (@dependabot[bot])
- 3066b24: Bump github.com/charmbracelet/bubbles from 0.14.0 to 0.15.0 (#86) (@dependabot[bot])
v0.2.0-beta
v0.1.6
Changelog
- 8199408: Add advanced usage (@j178)
- 87757ef: Improve leetgo.yaml missing warning, simplify leetgo git push (@j178)
- 5706be4: Remove early-loading for contest questions (@j178)
- 7bc13af: Support
LEETGO_WORKDIR
(@j178) - 71c635c: Run
golangci-lint run --fix
(@j178) - 8a77f79: Add working dir to config output (@j178)
- 8472193: Add discord release announce (@j178)
- ea25245: Fix environment (@j178)