Releases: ukatech/jsstp-lib
Releases · ukatech/jsstp-lib
v3.2.0.0
npm ver: 3.2.0
What's Changed
- Upgraded doc and type hint files, thanks @nikolat for help!
- Typo Fixes:
jsstp.costom_send
->jsstp.custom_send
jsstp.costom_text_send
->jsstp.custom_text_send
jsstp.row_send
->jsstp.raw_send
Full Changelog: v3.1.1.3...v3.2.0.0
v3.1.1.3
v3.1.1.2
v3.1.0.2
v3.1.0.1
v3.1.0.0
npm ver: 3.1.0
What's Changed
New Features
- Added
jsstp.list_info_t
to handlelist
type SSTP response - Added
jsstp.Get*
index reflector to Execute Get* commands conveniently
const { jsstp } = require('jsstp')
var SSPver=await jsstp.GetShortVersion()
console.log(SSPver)
var names=await jsstp.GetNames()
for(var name of names)
console.log(name)
- Added
jsstp.Set*
index reflector to Execute Set* commands conveniently
const { jsstp } = require('jsstp')
await jsstp.SetCookie('name','value')
- Added
jsstp.command
(getter) to Execute commands conveniently
Breaking Changes
- Removed
base_sstp_info_t.toString()
, use newbase_sstp_info_t.text_content
(getter) instead - Removed
base_sstp_info_t.to_string()
, use newbase_sstp_info_t.text_content
(getter) instead - Changed
new sstp_info_t(info_head: String, info_body: Object, unknown_lines?: String[])
tonew sstp_info_t(text_content: String)
- Removed
sstp_info_t.static from_string()
, usenew sstp_info_t
instead method_caller
now has new methodswith_type
andbind_args_processor
jsstp.get_caller_of_event
&jsstp.get_simple_caller_of_event
renamed tojsstp.get_caller_of_key
&jsstp.get_simple_caller_of_key
with argument list changes
Documentation
- Add language dropdown to docs site by @Gerrit0 in #4
- Japanese translation fixes by @nikolat in #6
- English translation fixes by @Zichqec in #5
Other improvements
- Use packer to further compress dist
- Refactored the dist and dts generation process
New Contributors
Full Changelog: v3.0.0.1...v3.1.0.0
v3.0.0.1
npm ver: 3.0.1
- Updating @Taromatibot 's workflow logic to fix issues in bot-generated dist code
- More code compression
- Updated readme file to instruct users on how to set the language of hints.
- Web page updates
Full Changelog: v3.0.0.0...v3.0.0.1
v3.0.0.0
npm ver: 3.0.0
- Removed
jsstp.then
, now you can safely use jsstp as the return value of an async function or useawait
on it without worrying about the whole program or page getting stuck in a dead loop. - Added
jsstp.if_available
as a replacement.
Full Changelog: v2.0.4.2...v3.0.0.0
v2.0.4.2
npm ver: 2.4.2
- Updating @Taromatibot 's workflow logic to fix issues in bot-generated dist code
- More code compression
Full Changelog: v2.0.4.1...v2.0.4.2
v2.0.4.1
npm ver: 2.4.1
- Updating @Taromatibot 's workflow logic to fix issues in bot-generated dist code
Full Changelog: v2.0.4.0...v2.0.4.1