Skip to content

Commit cec17d6

Browse files
authored
Prepare for next release (LeetCode-OpenSource#488)
1 parent 4979a0f commit cec17d6

File tree

6 files changed

+63
-15
lines changed

6 files changed

+63
-15
lines changed

ACKNOWLEDGEMENTS.md

+2
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,5 @@ A big thanks to the following individuals for contributing:
2020
- [@SF-Zhou](https://github.com/SF-Zhou) - [contributions](https://github.com/jdneo/vscode-leetcode/commits?author=SF-Zhou)
2121
- [@fuafa](https://github.com/fuafa) - [contributions](https://github.com/jdneo/vscode-leetcode/commits?author=fuafa)
2222
- [@iFun](https://github.com/iFun) - [contributions](https://github.com/jdneo/vscode-leetcode/commits?author=iFun)
23+
- [@hologerry](https://github.com/hologerry) - [contributions](https://github.com/jdneo/vscode-leetcode/commits?author=hologerry)
24+
- [@yihong0618](https://github.com/yihong0618) - [contributions](https://github.com/jdneo/vscode-leetcode/commits?author=yihong0618)

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@ All notable changes to the "leetcode" extension will be documented in this file.
33

44
Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.
55

6+
## [0.15.8]
7+
### Added
8+
- Add a new command `Sign In by Cookie` to workaround the issue that [users cannot login to LeetCode](https://github.com/jdneo/vscode-leetcode/issues/478). Please check the [workaround steps](https://github.com/jdneo/vscode-leetcode/tree/master#%EF%B8%8F-attention-%EF%B8%8F--workaround-to-login-to-leetcode-endpoint) for more details!
9+
10+
### Changed
11+
- Update the explorer icons to be align with the VS Code design [#460](https://github.com/jdneo/vscode-leetcode/issues/460)
12+
613
## [0.15.7]
714
### Fixed
815
[Bugs fixed](https://github.com/jdneo/vscode-leetcode/issues?q=is%3Aissue+milestone%3A0.15.7+is%3Aclosed+label%3Abug)

README.md

+11
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,17 @@
2222

2323
- English Document | [中文文档](https://github.com/jdneo/vscode-leetcode/blob/master/docs/README_zh-CN.md)
2424

25+
## ❗️ Attention ❗️- Workaround to login to LeetCode endpoint
26+
> Note: If you are using `leetcode-cn.com`, you can just ignore this section.
27+
28+
Recently we observed that [the extension cannot login to leetcode.com endpoint anymore](https://github.com/jdneo/vscode-leetcode/issues/478). The root cause of this issue is that leetcode.com changed its login mechanism and so far there is no ideal way to fix that issue.
29+
30+
Thanks for [@yihong0618](https://github.com/yihong0618) provided a workaround which can somehow mitigate this by using the cookie to login. Here are the steps about what you should do if you want to login to `leetcode.com` endpoint using cookie:
31+
1. Logout from the extension
32+
2. Make sure current active endpoint is `leetcode.com` (Not leetcode-cn.com)
33+
3. Copy the cookie as mentioned [here](https://github.com/jdneo/vscode-leetcode/issues/478#issuecomment-560395305)
34+
4. Trigger the command `Sign In by Cookie` to login through the copied cookie.
35+
2536
## Requirements
2637
- [VS Code 1.30.1+](https://code.visualstudio.com/)
2738
- [Node.js 8+](https://nodejs.org)

docs/README_zh-CN.md

+11
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,17 @@
2222

2323
- [English Document](https://github.com/jdneo/vscode-leetcode#requirements) | 中文文档
2424

25+
## ❗️ 注意 ❗️- 无法登录 LeetCode 节点的临时解决办法
26+
> 注意:如果使用的是 `leetcode-cn.com` 账户,可以跳过此段落。
27+
28+
近期我们发现插件出现了[无法登录 leetcode.com 节点的问题](https://github.com/jdneo/vscode-leetcode/issues/478)。原因是因为近期 leetcode.com 改变了登录机制,目前我们暂时没有找到解决该问题的完美解决方案。
29+
30+
感谢 [@yihong0618](https://github.com/yihong0618) 提供了一个通过 cookie 登录的临时解决办法。你可以参考如下步骤实现通过 cookie 登录 `leetcode.com`
31+
1. 登出账户
32+
2. 确保当前激活的节点为 `leetcode.com` (而非 leetcode-cn.com)
33+
3. 按照这里的方法,[从浏览器中拷贝 cookie](https://github.com/jdneo/vscode-leetcode/issues/478#issuecomment-560395305)
34+
4. 使用命令 `Sign In by Cookie` 登录。
35+
2536
## 运行条件
2637
- [VS Code 1.23.0+](https://code.visualstudio.com/)
2738
- [Node.js 8+](https://nodejs.org)

package-lock.json

+30-13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "vscode-leetcode",
33
"displayName": "LeetCode",
44
"description": "Solve LeetCode problems in VS Code",
5-
"version": "0.15.7",
5+
"version": "0.15.8",
66
"author": "Sheng Chen",
77
"publisher": "shengchen",
88
"license": "MIT",
@@ -689,6 +689,6 @@
689689
"markdown-it": "^8.4.2",
690690
"require-from-string": "^2.0.2",
691691
"unescape-js": "^1.1.1",
692-
"vsc-leetcode-cli": "2.6.17"
692+
"vsc-leetcode-cli": "2.6.18"
693693
}
694694
}

0 commit comments

Comments
 (0)