8000 Prepare for next release (#488) · zmen/vscode-leetcode@cec17d6 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Lines changed: 2 additions & 0 deletions
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

Lines changed: 7 additions & 0 deletions
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

Lines changed: 11 additions & 0 deletions
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

Lines changed: 11 additions & 0 deletions
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

Lines changed: 30 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
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)
0