Skip to content

Releases: ilri/dspace-statistics-api

Version 1.4.3

26 Mar 16:12
v1.4.3
1a1a14a
Compare
Choose a tag to compare

Updated

  • Update dependencies with poetry update
  • Falcon 3.1.0, a minor change for us, but good to be using a current upstream version

Version 1.4.2

15 Apr 11:24
v1.4.2
964d5df
Compare
Choose a tag to compare

Updated

  • Update dependencies with poetry update
  • Falcon 3.0.0, a minor change for us, but good to be using a current upstream version

Fixed

  • Bug in several of the "valid page" tests

Added

  • GitHub Actions workflow to build and test the API

Version 1.4.1

14 Jan 12:22
v1.4.1
80a11ea
Compare
Choose a tag to compare

Changed

  • Limit Solr query to UUIDs to avoid errors with unmigrated legacy stats (#12)

Updated

  • Dev dependencies

Version 1.4.0

27 Dec 11:13
v1.4.0
33dc210
Compare
Choose a tag to compare

Added

  • indexer.py now indexes views and downloads for communities and collections
  • API endpoints for /communities, /community/id, /collections, and /collections/id
  • Swagger UI interface on /swagger
  • /status page which lists the API version

Changed

  • Add "ORDER BY" to /items resource to make sure results are returned deterministically
  • Use fl parameter in indexer to return only the field we are faceting by
  • Minor refactoring of imports for PEP8 style
  • More correct calculation of totalPages parameter in REST API response

Version 1.3.2

18 Nov 20:04
v1.3.2
3125e96
Compare
Choose a tag to compare

Fixed

  • Minor issue with limit parameter (> 0)
  • Minor issue with limit parameter (<= 100)

Changed

  • Minor semantic refactor in Solr bot filtering

Updated

  • Run poetry update to update all dependencies

Version 1.3.1

06 Oct 19:17
v1.3.1
549b8bf
Compare
Choose a tag to compare

Changed

  • Fix issue with requirements.txt caused by poetry's export

Version 1.3.0

06 Oct 18:53
v1.3.0
4e90643
Compare
Choose a tag to compare

Changed

  • Minor refactoring of indexer

Added

  • Ability to get statistics for arbitrary items and date ranges by POSTing a JSON-formatted request to /items as opposed to the current GET /items which returns pre-indexed all-time stats for all items

Updated

  • Run pipenv update, bringing minor updates to pytest, psycopg2-binary, etc

Version 1.2.1

02 Mar 12:33
Compare
Choose a tag to compare

Changed

  • Help text in API docs should reference UUIDs
  • Sample SQL file for tests should use UUIDs

Version 1.2.0

02 Mar 09:45
Compare
Choose a tag to compare

Changed

  • Remove Python 3.5 from TravisCI because black requires Python >= 3.6
    • Now the minimum Python version is 3.6
  • Adapt API for DSpace 6+ UUIDs
    • This requires dropping the statistics database and re-indexing

Updated

  • Run pipenv update, bringing requests 2.23.0 and pytest 5.3.5

Version 1.1.1

27 Nov 10:47
v1.1.1
1b394ec
Compare
Choose a tag to compare

Added

  • Configuration for automatic sorting of imports with isort
  • Configuration for automatic code formatting with black

Updated

  • Run pipenv update, bringing psycopg2 2.8.4, requests 2.22.0, pytest 5.3.1,
    and gunicorn 20.0.4

Changed

  • Use Ubuntu 18.04 "Bionic" for TravisCI builds
  • Use Python 3.8.0 for pipenv
  • Minor syntax issues highlighted by flake8