Skip to content

Commit cd7ba9b

Browse files
committed
bump version 0.4.0
1 parent 730437d commit cd7ba9b

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@ All notable changes to this project should be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7-
## [Unreleased]
7+
## [0.4.0] - 2019-08-22
88
### Added
99
- `http`: Rewrite specific URL patterns to DBpedia resource URIs:
1010
- `http://<locale>.dbpedia.org/page/<slug>`
1111
- `https?://<locale>.wikipedia.org/wiki/<slug>`
12+
- `http`: Allow lookup of multiple URI clusters at once with the `uris` parameter.
1213
- `http`: log in the Uvicorn logger that app startup is ready.
1314

1415
### Changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM python:3.7
22

3-
LABEL version="0.3.3"
3+
LABEL version="0.4.0"
44
LABEL maintainer="Alex Olieman <[email protected]>"
55

66
RUN DEBIAN_FRONTEND=noninteractive \

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The service is accessed with HTTP GET requests, and accepts the `uri` parameter,
2222
### Single URI-Cluster Lookup
2323

2424
`curl "http://localhost:8027/lookup/?meta=off&uri=http://www.wikidata.org/entity/Q8087"`
25-
```json
25+
```
2626
{
2727
"global": "https://global.dbpedia.org/id/4y9Et",
2828
"locals": [
@@ -57,7 +57,7 @@ To do this, provide the `uris` parameter (instead of `uri`), and repeat it for e
5757
This changes the output to include multiple clusters under the `uris` key, as the following example shows:
5858

5959
`curl "http://localhost:8027/lookup/?meta=off&uris=http%3A%2F%2Fdbpedia.org%2Fresource%2FDouglas_Adams&uris=http%3A%2F%2Fdbpedia.org%2Fpage%2FNebraska_Cornhuskers_football&uris=http%3A%2F%2Fdbpedia.org%2Fresource%2FFran%25C3%25A7ois_Legault&uris=http%3A%2F%2Fdbpedia.org%2Fresource%2FFran%C3%A7ois_Legault&uris=http%3A%2F%2Fdbpedia.org%2Fpage%2FToys_%2522R%2522_Us&uris=http%3A%2F%2Fdbpedia.org%2Fresource%2FGio_Gonzalez"`
60-
```json
60+
```
6161
{
6262
"uris": {
6363
"http://dbpedia.org/resource/Douglas_Adams": {

0 commit comments

Comments
 (0)