1
0
mirror of https://github.com/ilri/dspace-statistics-api.git synced 2024-11-10 16:55:45 +01:00
dspace-statistics-api/CHANGELOG.md

89 lines
2.5 KiB
Markdown
Raw Normal View History

# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [0.4.2] - 2018-10-04
2018-09-27 08:30:48 +02:00
### Changed
- README.md introduction and requirements
2018-09-27 08:53:42 +02:00
- Use ujson instead of json
- Iterate directly on SQL cursor in `/items` route
2018-09-27 08:30:48 +02:00
### Fixed
- Logic error in SQL for item views
## [0.4.1] - 2018-09-26
2018-09-26 22:26:48 +02:00
### Changed
- Use execute_values() to batch insert records to PostgreSQL
## [0.4.0] - 2018-09-25
2018-09-25 22:09:44 +02:00
### Fixed
- Invalid OnCalendar syntax in dspace-statistics-indexer.timer
- Major logic error in indexer.py
2018-09-25 22:09:44 +02:00
2018-09-25 12:14:08 +02:00
## [0.3.2] - 2018-09-25
## Changed
- /item/id route now returns HTTP 404 if an item is not found
## [0.3.1] - 2018-09-25
### Changed
- Force SolrClient's kazoo dependency to version 2.5.0 to work with Python 3.7
- Add Python 3.7 to Travis CI configuration
## [0.3.0] - 2018-09-25
### Added
- requirements.txt for pip
2018-09-25 11:17:01 +02:00
- Travis CI build configuration for Python 3.5 and 3.6
- Documentation on using the API
### Changed
- The "all items" route from / to /items
2018-09-25 01:21:44 +02:00
## [0.2.1] - 2018-09-24
### Changed
- Environment settings in example systemd unit files
- Use psycopg2.extras.DictCursor for PostgreSQL connection
## [0.2.0] - 2018-09-24
### Changed
- Use PostgreSQL instead of SQLite because UPSERT support needs a very new libsqlite3 whereas it's already in PostgreSQL 9.5+
## [0.1.0] - 2018-09-24
2018-09-23 22:04:01 +02:00
### Changed
- Rename project to "DSpace Statistics API"
2018-09-23 23:30:58 +02:00
- Use read-only database connection in API
- Update systemd units for CGSpace→DSpace rename
2018-09-24 13:31:05 +02:00
- Use UPSERT to simplify database schema and Python logic
2018-09-23 22:04:01 +02:00
### Added
- Example systemd service and timer unit for indexer service
- Add top-level route to expose all item statistics
2018-09-23 23:30:58 +02:00
### Removed
- Ability to customize SOLR_CORE variable
## [0.0.4] - 2018-09-23
### Added
- Added example systemd unit file for API
- Added indexer.py to ingest views and downloads from Solr to a SQLite database
### Changed
- Refactor Solr configuration and connection
- /item route now expects id as part of the URI instead of a query parameter: /item/id
- View and download stats are now fetched from a SQLite database
## [0.0.3] - 2018-09-20
### Changed
- Refactor environment variables into config module
- Simplify Solr query for "downloads"
- Optimize Solr query by using rows=0
- Fix Solr queries for item views
2018-09-18 14:36:56 +02:00
## [0.0.2] - 2018-09-18
### Added
- Ability to get Solr parameters from environment (`SOLR_SERVER` and `SOLR_CORE`)
## [0.0.1] - 2018-09-18
- Initial release