Skip to content

Commit

Permalink
Merge pull request #1 from jsicot/dev
Browse files Browse the repository at this point in the history
Merged from origin repo
  • Loading branch information
jsicot authored Mar 5, 2024
2 parents 63d3978 + b34c6ba commit 06e5c75
Show file tree
Hide file tree
Showing 6 changed files with 333 additions and 86 deletions.
32 changes: 32 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Changelog

### 0.1.9

Date: 2023-12-03

PyPI release page: https://pypi.org/project/dspace-rest-client/0.1.9/

** Changes **

1. All `print` statements in client module replaced with Python logging: https://github.com/the-library-code/dspace-rest-python/issues/12
2. A customisable user agent header is added to each request, to allow for better logging at the
API endpoint and to force requests through Cloudfront, other WAF proxies that filter
requests by user agent. Reported by @abubelinha: https://github.com/the-library-code/dspace-rest-python/issues/10
3. In the `search_objects` client method, the `dsoType` arg is renamed to `dso_type` to conform with
PEP 8 style guidlelines, and a new `scope` arg is added to restrict the search to a particular collection or community.
4. A new `get_items` client method is added, to get all items (admin-only)
5. A new `get_short_lived_token` client method is added, for bitstream retrieval
6. A new `download_bitstream` client method is added to retrieve actual /content
7. A new `example_gets.py` script is added, and `example.py` updated to include basic examples of how to retrieve, iterate and work with existing data in the repository. Reported by @pnbecker: https://github.com/the-library-code/dspace-rest-python/issues/11
8. pysolr added to requirements.txt to satisfy this solr client dependency missing from the last version: https://github.com/the-library-code/dspace-rest-python/issues/7

### 0.1.8

PyPI release page: https://pypi.org/project/dspace-rest-client/0.1.8/

Date: 2023-10-07

** Changes**

Fixes a bug when using get_communities with a uuid parameter to fetch a single community,
see: https://github.com/the-library-code/dspace-rest-python/issues/8
Loading

0 comments on commit 06e5c75

Please sign in to comment.