leetgo

Best LeetCode friend for geek.

MIT License

Downloads
276
Stars
534
Committers
15
leetgo - v1.4.8 Latest Release

Published by j178 3 months ago

Changelog

Features

  • fa18aed11240792075cb02446f88833ffb3ed6c6: feat: add pandas support (@j178)
  • 2c090367aa273781862ab64ccd0be160f7927371: feat: display today streak counter (#305) (@j178)

Bug fixes

  • 296c088a4738c665e01ba1413118ad3993d07bd4: fix: total stream counter if today not completed (@j178)

Others

  • 3a0fdb07c992cb7106ec583b9355a1889c612499: chore(deps): bump the all group with 9 updates (#302) (@dependabot[bot])
  • 9c67e44d60376cec88c6e91264a8e4bf70b27b53: chore(deps): bump golangci/golangci-lint-action from 5 to 6 (#303) (@dependabot[bot])
  • 5bfca6b773e750e6f6d97fced3dab65b8516d3db: ci: upgrade to goreleaser v2 (@j178)
  • f9d44622b0a57ef976b1deff8483d856f34afe67: chore(deps): bump the all group with 5 updates (#304) (@dependabot[bot])
  • 2e85ee7fad544550a5a4ac647d8d421db8bfc743: chore(deps): bump the all group with 3 updates (#306) (@dependabot[bot])
leetgo - v1.4.7

Published by j178 6 months ago

Changelog

Bug fixes

  • 9f645653ed8286b988b045509cb13fb3a984c55c: fix: update to concrete toolchain version go.mod (#298) (@conrad760)
  • eecda0e6a235ec2c532a9cb6601ae266d663aabe: fix: show all errors when reading cookies (@j178)
  • e3526393204f8e1f76d5bca163708b89b4e96220: fix: improve get all questions and error handling (#300) (@j178)

Others

  • 814390bece4743972cf1aa53258c6ca05d66aa00: chore: fix goreleaser deprecations (@j178)
  • 3b71f397f05e1e7cb925b7ce28ade1aff2c3e6af: chore: fix golang-ci-lint action warnings (@j178)
leetgo - v1.4.6

Published by j178 6 months ago

Changelog

Bug fixes

  • 3e00607ec4493f07c40d97775ad0b313a92c62eb: fix: return type normalization (@j178)
  • 194bc48d1bc7a9d35a65b596665e7e62f3f50d02: fix: add a cache empty warning (@j178)

Others

  • dbfe531b1275d2539a4d42ac54eba865b2b73a86: chore(deps): bump golang.org/x/net in the go_modules group (#294) (@dependabot[bot])
  • feceafdc0e3e2da43d02c21ab4d4e6d8c33b5afb: chore(deps): bump golangci/golangci-lint-action from 4 to 5 (#296) (@dependabot[bot])
  • 43719c559f519561dfd76416853215e5ae6dda27: chore(deps): bump the all group with 5 updates (#295) (@dependabot[bot])
leetgo - v1.4.5

Published by j178 7 months ago

Changelog

Others

  • 19a7eb1ba0bc2a376043a1afb5ad4660b046dafe: misc: bump go testutils dep version (@j178)
leetgo - v1.4.4

Published by j178 7 months ago

Changelog

Bug fixes

  • d17f3fa2f8f149ec3cb64ab3082276b686131b69: fix: improve http error message (@j178)
  • be5188a4ed01687a8afc1e75110bc6ce257682dd: fix: slice range panic (#291) (@j178)

Others

  • 4db71bee3c0d016a74c529e049cf80c14497197a: Prevent infinite loop within serialization methods (#287) (@alex-telpis)
  • cc5cdd06b39990390f72a6613d6348115f4f587a: Utilize fmt.Stringer interface instead of ToString method (#288) (@alex-telpis)
  • 33357ac61778645122fd15068332dd44143c96cf: chore(deps): bump the all group with 6 updates (#289) (@dependabot[bot])
  • c4033dbd7011ce5b435eb2f9b4da6b1fecdcd618: misc: bump go testutils dep (@j178)
leetgo - v1.4.3

Published by j178 7 months ago

Changelog

Features

  • 4496dc16f2074a6647f7cf095304528b7654745f: feat: add json output for info command (#284) (@whjum)
  • 2290238ad35acf453d0cdba5ac9324aad2d775a2: feat: auto load env var from .env file (#286) (@j178)

Bug fixes

  • ad0cdf5db956f31e8b9ac83349b1d28233fa6e4c: fix: improve api error message (@j178)
  • 7be4d356e10fe3cfc249faca5c2248d2e22d224a: fix: hide completion command (@j178)
  • 8953a0bf4f0f4c9d5884674d2d1e2734e4227bc8: fix: retry request on more cases (@j178)
leetgo - v1.4.2

Published by j178 8 months ago

Changelog

Features

  • 4e002e39049db4a7d4b9616b185c3e25dd112f70: feat: record dependency version and auto upgrade (#276) (@j178)

Bug fixes

  • d8af8f84f89c98b17e0a68a5e1a07f96a55feab1: fix: rust package import name (@j178)
  • 042f87b3c51b791f24d5100398d642f3138cba17: fix: provide cf_clearance to bypass CloudFlare (@j178)
  • d2bba1423a6ea1c6816b6fd8f864c30e9dc29820: fix: disable http2 to make leetcode.com work (@j178)

Others

  • 02fb1099ac39f72f9abc3f4edb8e8be9c90ff97f: chore(deps): bump the all group with 3 updates (#277) (@dependabot[bot])
  • b295798653d91fb1ce86b931f892856d43f0227e: chore: minor tweaks (@j178)
  • 289d6682c0fcf8098b791f8399d3a956efb4aeda: chore(deps): bump golangci/golangci-lint-action from 3 to 4 (#280) (@dependabot[bot])
  • 52e17a2ddd8de01985044bd28e1e1fb09821a938: chore(deps): bump the all group with 6 updates (#281) (@dependabot[bot])
  • 3ecf0e26a1f27184ef37066371da43e47305cd74: deps: go1.22 and bump deps (@j178)
  • fa47a908294f08f872a0919d5b3d6f6371cb378f: chore: Bump CI to use go1.22 (@j178)
  • 391bce87404f4e5f4407ba9aacdce508a62a86d2: Update README.md (@j178)
leetgo - v1.4.1

Published by j178 9 months ago

Changelog

Features

  • b07b977b9697756bb1d920293382727d5c987902: feat: add installer script for linux/macOS (#270) (@j178)
  • 11b7b7734b94d8b1f2b16969c0846599f3a92a32: feat: add archlinux user repository installation (#272) (@j178)

Bug fixes

  • 19c0f730a2085dfd935b94422181c58bc5a1c9b8: fix: improve installer script (@j178)
  • c0bcb07a807229e08aa19b25456104462cb986f0: fix: give more time for first execution of the binary (@j178)
  • 34b9f1c6693f0b0de95aee203db99bdb3b4c4c08: fix(rust): pick question panic when there is no bin in Cargo.toml (#274) (@j178)

Others

  • 7de081a6de1a0127b10535bcad753b07814ae941: deps: use grouped dependabot (#268) (@j178)
  • d6a6f195be625ebd6328d7ca2e7887c037bad99e: chore(deps): bump 2 updates (#269) (@dependabot[bot])
leetgo - v1.4

Published by j178 10 months ago

Changelog

[!WARNING]
Since v1.4, leetgo no longer reads the global ~/.config/leetgo/config.yaml file, please put all configurations in the project's leetgo.yaml file.
~/.config/leetgo/config.yaml can be safely removed.

Features

  • b7794fb4acdaf3fb8e291ca61984f2f7c36b441e: feat!: remove global level configuration file (#252) (@j178)
  • 45076f834a8cd87c4c10a8b6fff2f57e3f7667a9: feat: use CGO-free SQLite for question cache (#254) (@j178)
  • 9073a0f62c87ca77e1d26ee651b2dadfa93581cd: feat: use json cache by default (@j178)

Bug fixes

  • 4f444acb69110c7e1d39d5f073376454d4c1134f: fix: truncate stdout/stderr message at 1000 length (@j178)

Others

  • b84af0b8e2787ef533db8f9b2f48ef74003cb3b3: misc: add Makefile (@j178)
  • 853c80c53f7195ee88bee39f5592858447fdec9d: misc: use forward slash in file path (@j178)
  • f22252c039450d530efc4f95234c9caecd425479: chore(deps): bump golang.org/x/crypto from 0.16.0 to 0.17.0 (#255) (@dependabot[bot])
  • 0f2b2007432d6bc4756e942ecc698f6661428a64: chore(deps): bump actions/setup-go from 4 to 5 (#263) (@dependabot[bot])
  • 7788df454105740b3f394782b1c4488178851af4: chore(deps): bump actions/setup-python from 4 to 5 (#262) (@dependabot[bot])
  • 7cbb9694d414e5bdee5c4276727e60afc43d1248: chore(deps): bump github.com/pelletier/go-toml/v2 from 2.1.0 to 2.1.1 (#258) (@dependabot[bot])
  • 9ad2a56c5e6a681df7692abaea22a40085ce3af7: chore(deps): bump github.com/charmbracelet/bubbletea (#260) (@dependabot[bot])
  • be20c2b0f4c60c8e31aaeba3937469f4e0db6c83: chore(deps): bump github.com/JohannesKaufmann/html-to-markdown (#259) (@dependabot[bot])
  • e32b0cc85e10aea235f0d6a07732613952096b52: chore(deps): bump github.com/spf13/viper from 1.17.0 to 1.18.2 (#261) (@dependabot[bot])
  • e6b6048cc0ea2878424785dc1907dc70fb1e35f3: chore(deps): bump github.com/charmbracelet/bubbles from 0.16.1 to 0.17.1 (#257) (@dependabot[bot])
  • 7315aaa5addeb5f46937d3963287bb05fc446bc5: misc: bump kooky (@j178)
  • 1061abfbb7c0981ddde99562cb9c2a59e8aa7537: refactor: use strings.Builder over bytes.Buffer (@j178)
  • 0fe91954d6e18a6cdfaae5e36d6ebbdf5976e129: refactor: use slices.Clone and slices.Replace (@j178)
leetgo - v1.3.13

Published by j178 11 months ago

Changelog

Bug fixes

  • 9c047e9df25a4f630a5ff4caf9ad9a4125ca0422: fix: truncate long test case for local test (@j178)
  • 5e8ee844829b1a6a59fe05df244e190c4cd7d16f: fix: support future cargo.toml (#250) (@j178)
  • b613106cc8787324d417687ee33bbb28f0e34dea: fix: abort if interrupte the question prompt (@j178)

Others

  • 30ec896055e77fe65503f0a24e49448d2233ae3f: misc: bump deps (@j178)
leetgo - v1.3.12

Published by j178 11 months ago

Changelog

Features

  • 796c13a2fd71a2eb171e6a209ae3b0618b7ee59b: feat: truncate too long test case (#244) (@j178)

Bug fixes

  • 4b40d2639285cf366cbe1e23d8e5fb77a6b35558: fix: bufio.Scanner token too long error (@j178)

Others

  • 9cf3325d5110c1ad7e504369ec90c7355ba348ce: chore: improve long string truncate (@j178)
leetgo - v1.3.11

Published by j178 11 months ago

Changelog

Bug fixes

  • 9e09cf1a014763d325c5d4accd956a0b9f29c73c: fix: switch from pkg/browser to cli/browser (#241) (@j178)
leetgo - v1.3.10

Published by j178 12 months ago

Changelog

Bug fixes

  • 4ce4de394415a2ad731d5b2ec3f5c6d0871676c5: fix: special {{.Files}} argument replacement (@j178)
leetgo - v1.3.9

Published by j178 12 months ago

Changelog

Features

  • 3cdee17494cb6d4860fe3bb6fedc7032e353375e: feat: read testcases.txt when running remotely (#221) (@j178)
  • 20b7bc05f77966703c8788626c1dd4d91997d71d: feat: force submit even if local test failed (#224) (@j178)
  • 3bff88de934eb2bea466fe4fab8346d10376b7ae: feat: retrieve output from LeetCode for custom test cases (#223) (@j178)

Bug fixes

  • 6a40649267e9cc5fb3ded878db8f7709433f8de3: fix: improve go workspace detection (@j178)
  • f5a47098612f64b021da3f7edf2226215b9d7e49: fix: use slash in Cargo.toml path (@j178)
  • c5a5811c42618355d7fe79a49c9e8f32826f2b92: fix: add check for nil test case file (#238) (@pansophism)
  • ec5cff5c56d983bc3d48fcd2b99263195a0d6c11: fix: breakage in charmbracelet/log (@j178)
  • 0dbf80f8463c206b342761d6797b63e919b53ae5: fix: ignore testcases file error when test remotely (@j178)

Others

  • 534c70f3504d2bdca6591202747dbb54b293cc94: misc: resolve some todos (@j178)
  • 430a246741cfef25b78c5e74d48a0fabb8263275: misc: remove an extra empty line (@j178)
  • 48fa7c759c5f007061255369b965699151e0d255: misc: add comments (@j178)
  • 8c026dfd935835807c57de04573246bf1b9a56ac: ci: use zig for cross compiling (@j178)
  • 4e673b19e6dc97cfeb5bacb0b148bb6eeeea2934: misc: add comments and change a little bit (@j178)
  • 4831a6a230ff5972a3ec59c9896838a8e2c6362d: Revert "ci: use zig for cross compiling" (@j178)
  • 5b8411042be20c4711dba767b580b3f7dadea0dd: misc: use builtin min (@j178)
  • 5bb9a06459ffa2d1473582d1ca85041881775204: chore(deps): bump github.com/tidwall/gjson from 1.16.0 to 1.17.0 (#230) (@dependabot[bot])
  • 82bc6627b832770d1e967a415a512087c593d83d: chore(deps): bump actions/checkout from 3 to 4 (#228) (@dependabot[bot])
  • 382a6553aaf10a3c4ab2df6f8a11b69709a632f1: chore(deps): bump goreleaser/goreleaser-action from 4 to 5 (#227) (@dependabot[bot])
  • 94fc3b9efd134b9710e07d60061dff827a28fe4b: chore(deps): bump github.com/sashabaranov/go-openai (#231) (@dependabot[bot])
  • e37e0a03dd7f3fe7ec92dc5f73072771ff105bd0: misc: bump dependencies (@j178)
leetgo - v1.3.8

Published by j178 about 1 year ago

Changelog

Bug fixes

  • d7867d8505cf856e101ee155c85b15064d3b7547: fix: minor improvements (@j178)
  • d8fd252029fd9baceef2c890fc4f5668b81efab4: fix: remove an extra trailing newline of code block (@j178)

Others

  • 6c064a5d35db063837fbbaebc29bfd031db6eca2: misc: update bug_report.yaml (@j178)
  • 7a71e4c7d0b4f9821555c82f523caf9593c286d2: misc: delete feature_request.yaml (@j178)
  • 288dfec3ff7928eefe5bb3503c7d972fcdca1c90: misc: bump deps and use Go 1.21 (@j178)
leetgo - v1.3.7

Published by j178 about 1 year ago

Changelog

Features

  • 170c444c54af8b2ed7b08ff40cc69961cdf144e2: feat: show cookies loading error (#213) (@j178)
  • 8089d7576f7e8fc9c275acebc854a94feaeaa907: feat: error exit if test or submit failure (#216) (@j178)

Bug fixes

  • 63ab89d26215ade7a854d79509432d3d41c25152: fix: improve leetgo fix (@j178)
  • 0f44ad6263b2c3bd2cef1e3b9bb0b7eff0ac5bdf: fix: don't strip output spaces blindly (@j178)
leetgo - v1.3.6

Published by j178 about 1 year ago

Changelog

Features

  • 33ba430d406287a60f310f7b66cc63fcdb06bcc0: feat: add warning for manual questions (#212) (@j178)

Bug fixes

  • 5b40f04bbc5ac7bdfe856705aef37ed4279cf1b7: fix: improve compatibility with manual questions (@j178)
  • d1cd4dd696877e296150b955937f05a9da948381: fix: golangci-lint errors (@j178)

Others

  • 9cf9696be375a51d5692681b6288c683e17015f4: chore: fix goreleaser deprecation warnings (@j178)
  • 90ca664389d7a5cf39061ff3e97c77a2da5b70a5: misc: add analysis scripts (@j178)
  • 657138182d902bd20d49db9ab3cbfce9b895e4cf: chore: minor improvement about unsupported languages (@j178)
  • 3a1a9cc0f358bcfa78d3267cd099604eae820bf7: chore(deps): bump github.com/tidwall/gjson from 1.14.4 to 1.15.0 (#209) (@dependabot[bot])
  • 3dc509eb7367dd7f82a881f123aea358c080b9ad: chore(deps): bump github.com/sashabaranov/go-openai (#210) (@dependabot[bot])
leetgo - v1.3.5

Published by j178 over 1 year ago

Changelog

Bug fixes

  • db4d42acd667fa7ea249554d18c6f3590fa76131: fix: contest question html not converted to markdown (@j178)

Others

  • cf8834f9146a4f8616d34a1d31bca220de38b23f: chore: bump deps (@j178)
leetgo - v1.3.4

Published by j178 over 1 year ago

Changelog

Features

  • 8a8c2c62a58bdf5217a9ca18d28f6b7da60d1a93: feat: update supported langs (#207) (@seognil)

Bug fixes

  • e72e521b1b08fbca9cee7a742e1293fe9977caf8: fix: html not converted to markdown (@j178)

Others

  • 46b45591cb1a02ec32f4278764abdf8992c50a48: chore(deps): bump github.com/sashabaranov/go-openai from 1.9.5 to 1.12.0 (#203) (@dependabot[bot])
  • e326801b28b5ea616fc3d6ba3f6f8a2549133687: chore(deps): bump github.com/AlecAivazis/survey/v2 from 2.3.6 to 2.3.7 (#204) (@dependabot[bot])
  • 372b2dc99ec9da14cfdf61c99fc5f475151661d2: chore(deps): bump github.com/charmbracelet/bubbletea (#205) (@dependabot[bot])
leetgo - v1.3.3

Published by j178 over 1 year ago

Changelog

Features

  • 2961feceef769e45a22b0f6a8b002278b4c2075e: feat: support multiline output result parsing (@j178)

Bug fixes

  • ce2b2784d6d7558adb6e7507b796bb0b99228657: fix: improve example output parsing (@j178)
  • dce50922b3858aa1af51871740b6ca3baed439fd: fix: cpp print code (@j178)

Others

  • ae2a9b9e57750e6ef9c95328165a608045ec8f62: refact: simplify regex pattern (@j178)