Skip to content

Commit

Permalink
v0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
morguldir committed Sep 8, 2022
1 parent fa4a3fa commit 2adc54b
Show file tree
Hide file tree
Showing 8 changed files with 72 additions and 11 deletions.
53 changes: 53 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,53 @@
History
=======

v0.7.0
------

* (BREAKING!) Removed obsolete parameter session_id from load_oauth_session - lutzbuerkle_
* (BREAKING!) Drop support for python2.7 - morguldir_
* (BREAKING!) Change the architecture of the library to allow for using more files, see the migration guide - morguldir_
* Add support for tidal pages (e.g. home, videos and explore in the web ui) - morguldir_
* Add support for parsing mixes and retrieving the media - morguldir_
* Get rid of the old genre and mood support, you can now find them in the pages instead - morguldir_
* Update almost all of the json parsing and classes to include more fields - morguldir_
* Add complete docstrings to many of the functions - morguldir_
* Tests now cover almost all of the code - morguldir_
* Pylint scores are now much higher - morguldir_
* Add option to retrieve master quality tracks (I can't test this, but I believe it works as of writing) - morguldir_
* Add a few documentation pages explaining the basics - morguldir_
* Add support for modifying playlists - morguldir_
* Add a parameter to always fetch the track album if it's not provided - divadsn_
* Add function to retrieve the year and date from either the release data or the stream start date - divadsn_
* Improve the performance of the internal get_items() function by using extend - BlackLight_
* Properly deal with the api returning non-json results - BlackLight_
* Add support for retrieving the reviews of an album - retired-guy_


v0.6.10
-------
* Update the client secret - 1nikolas_
* Use a track url endpoint compatible with the new secret - morguldir_

v0.6.9
------

* Update the client secret - morguldir_
* Fix token_refresh() not correctly including the client secret - morguldir_

v0.6.8
------

* Support OAuth login through login_oauth_simple() and login_oauth() - morguldir_
* Support loading an OAuth session through load_oauth_session() - morguldir_
* Include more info when a request fails - morguldir_

v0.6.7
------

* Fix wimp images not resolving - ktnrg45_
* Made the favorite playlists function also return created playlists - morguldir_

v0.6.6
------

Expand Down Expand Up @@ -37,3 +84,9 @@ v0.6.2

.. _morguldir: https://github.com/morguldir
.. _Husky22: https://github.com/Husky22
.. _ktnrg45: https://github.com/ktnrg45
.. _1nikolas: https://github.com/1nikolas
.. _divadsn: https://github.com/divadsn
.. _BlackLight: https://github.com/BlackLight
.. _lutzbuerkle: https://github.com/lutzbuerkle
.. _retired-guy: https://github.com/retired-guy
9 changes: 4 additions & 5 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,15 @@ tidalapi
:target: https://pypi.org/project/tidalapi

.. image:: https://api.netlify.com/api/v1/badges/f05c0752-4565-4940-90df-d2b3fe91c84b/deploy-status
:target: https://0-7-x--tidalapi.netlify.com/
:target: https://tidalapi.netlify.com/

Unofficial Python API for TIDAL music streaming service.



0.7.0 Rewrite
-------------

This is the development branch for the 0.7.0 rewrite. See https://github.com/tamland/python-tidal/issues/109 for more details
The 0.7.0 rewrite is now complete, see the `migration guide <https://tidalapi.netlify.app/migration.html#migrating-from-0-6-x-0-7-x>`_ for dealing with it

Installation
------------
Expand All @@ -37,7 +36,7 @@ Example usage
session = tidalapi.Session()
# Will run until you visit the printed url and link your account
session.login_oauth_simple()
album = session.album(16909093)
album = session.album(66236918)
tracks = album.tracks()
for track in tracks:
print(track.name)
Expand All @@ -46,4 +45,4 @@ Example usage
Documentation
-------------

Documentation is available at https://0-7-x--tidalapi.netlify.app/
Documentation is available at https://tidalapi.netlify.app/
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
author = 'Thomas Amland, morguldir'

# The full version, including alpha/beta/rc tags
release = '0.7.0rc1'
release = '0.7.0'


# -- General configuration ---------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion docs/runtime.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.7
3.8
9 changes: 9 additions & 0 deletions release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash
python setup.py sdist

python setup.py bdist_wheel

version=$(python setup.py --version)
echo -n "Enter the upload URL"
read url
twine upload --repository "$url" --sign --verbose dist/tidalapi-$version*
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@

with open('HISTORY.rst') as f:
long_description += '\n\n'
long_description += f.read() .replace('.. :changelog:', '')
long_description += f.read().replace('.. :changelog:', '')

setup(
name='tidalapi',
version='0.7.0rc1',
version='0.7.0',
description='Unofficial API for TIDAL music streaming service.',
long_description=long_description,
author='Thomas Amland',
Expand Down
2 changes: 1 addition & 1 deletion tests/test_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def test_genres(session):
def test_moods(session):
moods = session.moods()
first = next(iter(moods))
assert first.title == 'Workout'
assert first.title == 'Music School'
assert isinstance(next(iter(first.get())), tidalapi.Playlist)


Expand Down
2 changes: 1 addition & 1 deletion tidalapi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@

from .request import Requests

__version__ = "0.7.0rc1"
__version__ = "0.7.0"

0 comments on commit 2adc54b

Please sign in to comment.