Navigation Menu

Skip to content

Releases: faketunaPrivateCamp/SkriptWebAPI

Version 0.1.2

19 Mar 01:13
bc88f7a
Compare
Choose a tag to compare
Version 0.1.2 Pre-release
Pre-release

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

20 Feb 11:45
3d3fc95
Compare
Choose a tag to compare
Version 0.1.1 Pre-release
Pre-release

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

28 Dec 12:16
8c54fbf
Compare
Choose a tag to compare
Version 0.1.0 Pre-release
Pre-release

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

21 Dec 17:22
3ee1ed5
Compare
Choose a tag to compare
Version 0.0.4 Pre-release
Pre-release

Whats new

  • Plugin now able to load in 1.13 or newer.

Version 0.0.3b

26 Feb 03:24
502f97e
Compare
Choose a tag to compare
Version 0.0.3b Pre-release
Pre-release

Fixed plugin wont load due to package rename.

Version 0.0.3a

13 Feb 15:03
8a0a9d8
Compare
Choose a tag to compare
Version 0.0.3a Pre-release
Pre-release

This update contains hotfix for fissue #5

Fixed:
event-connection's body don't returns value in after 2nd excecution (#5)

Version 0.0.3

13 Jan 15:56
d1ba35b
Compare
Choose a tag to compare
Version 0.0.3 Pre-release
Pre-release

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

03 Jan 17:14
dac016f
Compare
Choose a tag to compare
Version 0.0.2 Pre-release
Pre-release

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 text is no longer available.
  • event-body
  • event-header
  • event-[user]agent
  • event-[sender]address
  • event-[context]path

Changed:

  • response of delete request is no longer returns %string%. now returns %httpurlcon%
  • response of put request is no longer returns %string%. now returns %httpurlcon%
  • response of post request is no longer returns %string%. now returns %httpurlcon%
  • response of get request is 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

29 Dec 22:10
6320e8d
Compare
Choose a tag to compare
Version 0.0.1 Pre-release
Pre-release

Initial release