Releases: faketunaPrivateCamp/SkriptWebAPI
Releases · faketunaPrivateCamp/SkriptWebAPI
Version 0.1.2
What's Changed
- Fix: java.io.IOException: too many bytes to write to stream error by @faketuna in #15
- Add get remote IP expression in HTTP server by @faketuna in #16
Full Changelog: 0.1.1...v0.1.2
Version 0.1.1
What's Changed
- Fix: HTTP Server context path doesn't set correctly by @faketuna in #11
Full Changelog: v0.1.0...0.1.1
Version 0.1.0
Caution
This version only supports Skript 2.7.3 or higher and Minecraft version 1.13 or higher.
I will only provide official support if Skript is 2.7.3 or higher and Minecraft version 1.20.2 or higher.
Whats new
New syntax
Now able to send PATCH and any custom request method
Version 0.0.4
Whats new
- Plugin now able to load in 1.13 or newer.
Version 0.0.3b
Fixed plugin wont load due to package rename.
Version 0.0.3a
Version 0.0.3
What added
Added async web request feature.
Syntax
Added:
event-value
event-connection
event
[on] [skeb] get [web] [request] response[on] [skeb] put [web] [request] response[on] [skeb] post [web] [request] response[on] [skeb] delete [web] [request] response
effect
[skeb] send get [web] request to [url] %string% [[(with|and)] header %header%] [[(with|and)] body %string%][skeb] send put [web] request to [url] %string% [[(with|and)] header %header%] [[(with|and)] body %string%][skeb] send post [web] request to [url] %string% [[(with|and)] header %header%] [[(with|and)] body %string%][skeb] send delete [web] request to [url] %string% [[(with|and)] header %header%] [[(with|and)] body %string%]
Full Changelog: v0.0.2...v0.0.3
Version 0.0.2
This update have breaking changes in syntax.
What changed
Changed internal code.
Changed Syntax more than half.
What removed
Some Syntax has removed.
Syntax
Removed:
- any
parsed as textis no longer available. event-bodyevent-headerevent-[user]agentevent-[sender]addressevent-[context]path
Changed:
response of delete requestis no longer returns%string%. now returns%httpurlcon%response of put requestis no longer returns%string%. now returns%httpurlcon%response of post requestis no longer returns%string%. now returns%httpurlcon%response of get requestis no longer returns%string%. now returns%httpurlcon%
Added:
For event processing
%httpexchange%['s] request header properties %string%%httpexchange%['s] body%httpexchange%['s] [context][-]path%httpexchange%['s] [target][-]host%httpexchange%['s] [user][-]agent
For web request
%httpurlcon%['s] response body%httpurlcon%['s] response code%httpurlcon%['s] response header [(properties|prop)] %string%
Full Changelog: v0.0.1...v0.0.2
Version 0.0.1
Initial release