Releases: funnygeeker/micropython-easyweb
Releases · funnygeeker/micropython-easyweb
v2.1.2
修复
- URL解码器将空格解码成加号的BUG。
- 获取不到状态码说明时出错的BUG,现在找不到时将默认返回
NULL
。 - 更新
micropython-easynetwork
- 该BUG会影响到GET请求的参数解析,建议尽快更新。
Bug Fixes
- Fixed a bug where the URL decoder decoded spaces as plus signs.
- Fixed a bug where an error occurred when unable to retrieve the status code description; it now defaults to
NULL
when not found. - Update
micropython-easynwork
- This bug could affect parameter parsing for GET requests. It is recommended to update as soon as possible.
v2.1.1
更新
- 重命名 libs 为 lib
Update
- Renamed
libs
tolib
.
v2.1.0-beta.1
更新
- 示例代码
- 添加
set_cookie()
函数 - 完善未找到文件时的报错
- 添加了
make_response()
函数 - 该版本开始 return 的用法更接近于 Flask
修复
- 部分变量名拼写错误,如
succes
注意事项
- 该版本与
v2.0.0
不完全兼容,升级后请留意代码的兼容性,并对部分地方进行修改
Update
- Sample Code
- Added
set_cookie()
function - Improved error handling when file not found
- Added
make_response()
function - In this version, the usage of
return
is closer to Flask
Fixes
- Fixed spelling errors in some variable names, such as
succes
Note
- This version is not fully compatible with
v2.0.0
. After upgrading, please check the compatibility of your code and make necessary modifications in some areas.
v2.0.0-beta.2
修复(非常重要)
- 请尽快更新到最新版本!!!
handle
运行时,request
实例中某些变量数据混乱的 BUG,该问题可能会导致:- 通过
request
获取到的数据是错误的 - 提交表单后,前往其他页面会无响应
- 通过
Fix (Critical)
- Please update to the latest version as soon as possible!!!
- Fixed a bug in the
handle
function where certain variables in therequest
instance were getting mixed up. This issue could lead to:- Incorrect data retrieved through
request
. - Unresponsive behavior when navigating to other pages after submitting a form.
- Incorrect data retrieved through
v2.0.0-beta.1
梦开始的地方~
The place where dreams begin~