Releases: matsu-chara/gol
Releases · matsu-chara/gol
build with go 1.9.3
v0.6.0 release v0.6.0
POST to PUT
breaking change
register new link API is now PUT
instead of POST
improve UI
force update on html
v0.4.2 add html
change html and css
- improve ui of
http://localhost:5656/
. changed<table>
from list<ul><li>
.
add metadata(registeredBy, createdAt) for entries and drop os dependent commands(peco, open)
BC break
- delete open, peco command support
- dump cli,api return new json schema which include RegisteredBy, CreatedAt
New Feature
- add
registeredBy
to link attribute- for delete, same registeredBy should be passed.
- it is not secure, but it will be enough for team use.
- api, cli's supports (optional) registeredBy parameter
- add $key $link [$registeredBy]
- curl -X POST -d "link=http://foo[®isteredBy=bar]"
- rm $key [$registeredBy]
- curl -X DELETE "http://localhost:5656/foo[?registeredBy=bar]"
Internal Change
- data schema was changed.(gol will update for old schema automatically)
add get/post/delete ui
Breaking Change
GET /
returns html contents which include get/post/delete UI.GET /api/dump
returns all links as json (previously, this contents was returned by/
)
add force option
add a link to key (if replace key when conflict)
curl -d "value=${some_url}&force=true" localhost:5656/${key}
gol add --force ${key} ${some_url}
add post/delete api
- Breaking Change: now, key can't contain "/"
- add post api for adding a new link
- add delete api for removing a link
add dump
add dump