Releases: isFakeAccount/psnawp
v3.0.1
What's Changed
- Remove pytest-coverage-comment from code-coverage-cicd by @isFakeAccount in https://codeberg.org/YoshikageKira/psnawp/pulls/129
- 130-readme-ci-update by @isFakeAccount in https://codeberg.org/YoshikageKira/psnawp/pulls/131
- 132-pytest-code-coverage by @isFakeAccount in https://codeberg.org/YoshikageKira/psnawp/pulls/133
- Add code coverage by @isFakeAccount in https://codeberg.org/YoshikageKira/psnawp/pulls/134
- Add response parsing to PSNAWPError base exception class by @tr4nt0r in https://codeberg.org/YoshikageKira/psnawp/pulls/135
- Set max_delay to match the rate limiter interval instead of hardcoding by @tr4nt0r in https://codeberg.org/YoshikageKira/psnawp/pulls/136
- Generate unique names for rate limiter buckets by @tr4nt0r in https://codeberg.org/YoshikageKira/psnawp/pulls/137
v3.0.0
This is a major release of PSNAWP, introducing several exciting new features, important bug fixes, and various enhancements. It introduces some breaking changes so be sure to check docs before upgrading. The docs are also improved and should be easier to navigate as compared to the old docs.
Following are the changes introduced in this release:
What's Changed
- Docs, Linter and metadata by @isFakeAccount in #105
- 99 basic presence endpoint by @isFakeAccount in #109
- Add support for retrieving localized title details by @JackJPowell in #110
- Add npsso helper function by @JackJPowell in #111
- Add a helper method to generate image URLs for PS3 titles by @tr4nt0r in #114
- Split pytest into trusted and sandboxed ci by @isFakeAccount in #118
- Switch to pyrate_limiter instead of requests-ratelimiter by @isFakeAccount in #120
- 117 refactor gametitle class after pr 114 is merged by @isFakeAccount in #121
- Remove attrs as dependency by @isFakeAccount in #123
- Add endpoint to search users using psn search by @isFakeAccount in #125
- Implement initial version of game entitlement by @isFakeAccount in #126
Breaking Changes Summary
This release contains breaking changes.
Docs, Linter and metadata by @isFakeAccount in #105
This PR changes the class names of exceptions to follow the PEP8 naming convention guidelines for exception classes. All the exceptionclass now end with Error. e.g PSNAWPNotFound is changed to PSNAWPNotFoundError.
Switch to pyrate_limiter instead of requests-ratelimiter by @isFakeAccount in #120
The default rate limit is now significantly stricter, making it difficult to accidentally send a large number of requests at once. While this limit can be overridden, proceed at your own risk.
117 refactor gametitle class after pr 114 is merged by @isFakeAccount in #121
The method signature for gametitle is changed. Now the platform type is passed via the init method instead of trophy methods. See the documentation for more details.
New Contributors
- @JackJPowell made their first contribution in #110
- @tr4nt0r made their first contribution in #114
Full Changelog: v2.2.0...v3.0.0
v2.2.0
What's Changed
- feat: Add region/country support for client and user models by @Dev-R in #95
- 89 new endpoint share profile by @isFakeAccount in #96
Full Changelog: v2.1.0...v2.2.0
v2.1.0
What's Changed
- feat: Adds requests-ratelimiter and updates request builder by @isFakeAccount in #79
- feat: Add method to remove friends by @isFakeAccount in #81
- feat: Add methods to invite and kick users to/from Group by @isFakeAccount in #82
Full Changelog: v2.0.0...v2.1.0
Fixes Search, Improves pagination and typing and more.
Release Notes:
This is a major release, and it's been a while since the last one. This time I wanted to address all the shortcoming in the library. One of the short comings how the Authentication and RequestBuilder class worked. The authentication and the request builder class architecture is much more cleaner now.
The release also fixes the bug with the Search class since Sony ended up deprecating the previous API.
Lastly, this version uses improved pagination that I added a while ago. But previously it was only limited to TitleStats. But now all trophy endpoints use this pagination class.
This version introduces small changes to the methods of the library. Hence, the major release. Keep in mind when upgrading to this version.
If you have any question, feel free to ask me on subreddit r/DevYoshikageKira
What's Changed (auto generated)
- Fixed search method name for README by @Dev-R in #56
- Correct codeblock example by @NiccoloGranieri in #59
- Bugfix: incorrect play time parsing by @omz1990 in #60
- Bugfix: Add PSPC platform type by @omz1990 in #66
- Improved README Code Example Readability and Generator Handling by @Dev-R in #69
- Authentication Rewrite by @isFakeAccount in #70
New Contributors
- @Dev-R made their first contribution in #56
- @NiccoloGranieri made their first contribution in #59
Full Changelog: v1.3.3...v2.0.0
Added support for languages
Added support for languages. The language preference can be set from PSNAWP class.
For example
psnawp = PSNAWP(getenv("NPSSO_CODE"), accept_language="de-de", country="de")
trophies = psnawp.game_title(title_id="NPWR20188_00", np_communication_id="NPWR20188_00").trophies("PS5")
for trophy in trophies:
print(trophy)The default is still set to en-US
Fixed the PlatformType Bug in TrophyGroupSummary
Fixed the PlatformType Bug in TrophyGroupSummary. Issue link: https://github.com/isFakeAccount/psnawp/issues/54
Updated the Requirements
- Updated all the packages
Some minor fixed with Title Stats
- Fixed the issue with the Title stats page size issue
- More improvements are upcoming in the future where all the listing generators will use the generic listing generator like title stats. This will allow users to skip pages. Useful for mobile and web apps.
- Small breaking change with title stats. The
total_item_countis now in a different location.
Fixed Title Stats Limit Bug
- Fixed Title Stats Limit Bug that was causing the bug
invalid request, requested limit=1000 allowed limit=500 - Fixed a minor pagination bug in title_stats.py