Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump django-modern-rpc from 0.12.1 to 1.0.2 #3434

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 28, 2023

Bumps django-modern-rpc from 0.12.1 to 1.0.2.

Release notes

Sourced from django-modern-rpc's releases.

v1.0.2 (2023-11-27)

Fixes

  • When request is received with an invalid Content-Type (or missing one), the error response is now returned with a "text/plain" Content-Type header.

Misc

  • Dropped support of python 3.5 and 3.6
  • Added support for python 3.12 and Django 4.2

v1.0.1 (2023-01-26)

Fixes

  • Fixed invalid argument used to initialized default handlers instances (#52). Thanks to @​washeck

v1.0.0 (2023-01-03)

After months of work, the 1.0 milestone is a major refactoring of the library. Many parts of the project have been modernized to improve readability and robustness, and a few issues were fixed.

Improvements

  • Type hinting is now supported in RPC methods. Auto-generated documentation will use it when it is defined. Old-style "doctypes" are still supported.
  • Dependency to six have been completely removed

Breaking Changes

  • When an authentication error is raised, the returned status code is now 200 instead of 403 for consistency with batch and system.multicall requests (#35)
  • Django < 2.1 and Python < 3.5 support have been dropped.

Other API changes

  • A new modernrpc.core.Protocol enum has been introduced to enforce correct protocol value when needed. (#29, #30). This new class replaces modernrpc.core.JSONRPC_PROTOCOL and modernrpc.core.XMLRPC_PROTOCOL but aliases were created for backward compatibility.
  • RPCUnknownMethod exception has been renamed to RPCMethodNotFound. An alias has been created for backward compatibility

Fixes

  • Initialization process updated: exceptions are now raised on startup for invalid RPC modules. In addition, Django check system is used to notify common errors. This was requested multiple times (#2, #13, #34).
  • JSON-RPC notification behavior has been fixed to respect standard. Requests without id are handled as notifications but requests with null id are considered invalid and will return an error
  • Batch request behavior has been fixed when one or more results failed to be serialized
  • Builtin system.methodSignature behavior have been updated to respect standard. It now returns a list of list and unknown types are returned as "undef" (see http://xmlrpc-c.sourceforge.net/introspection.html)

Misc

  • Added support for Python 3.9, 3.10 and 3.11
  • Added support for Django 3.2, 4.0 and 4.1
  • Documentation tree was completely reworked for clarity and simplicity. A new theme (Book) is now used to improve

... (truncated)

Changelog

Sourced from django-modern-rpc's changelog.

v1.0.2

Release date: 2023-11-27

Fixes

  • When request is received with an invalid Content-Type (or missing one), the error response is now returned with a "text/plain" Content-Type header.

Misc

  • Dropped support of python 3.5 and 3.6
  • Added support for python 3.12 and Django 4.2

v1.0.1

Release date: 2023-01-26

Fixes

  • Fixed invalid argument used to initialized default handlers instances (#52). Thanks to @​washeck

v1.0.0

Release date: 2023-01-03

After months of work, the 1.0 milestone is a major refactoring of the library. Many parts of the project have been modernized to improve readability and robustness, and a few issues were fixed.

Improvements

  • Type hinting is now supported in RPC methods. Auto-generated documentation will use it when it is defined. Old-style "doctypes" are still supported.
  • Dependency to six have been completely removed

Breaking Changes

  • When an authentication error is raised, the returned status code is now 200 instead of 403 for consistency with batch and system.multicall requests (#35)
  • Django < 2.1 and Python < 3.5 support have been dropped.

Other API changes

  • A new modernrpc.core.Protocol enum has been introduced to enforce correct protocol value when needed. (#29, #30). This new class replaces modernrpc.core.JSONRPC_PROTOCOL and modernrpc.core.XMLRPC_PROTOCOL but aliases were created for backward compatibility.
  • RPCUnknownMethod exception has been renamed to RPCMethodNotFound. An alias has been created for backward compatibility

Fixes

  • Initialization process updated: exceptions are now raised on startup for invalid RPC modules. In addition, Django check system is used to notify common errors. This was requested multiple times (#2, #13, #34).
  • JSON-RPC notification behavior has been fixed to respect standard. Requests without id are handled as

... (truncated)

Commits
  • e7b3fc7 Bump 1.0.2
  • d322ee9 Rollback poetry to 1.5.1, since next release require python 3.8
  • ba2a7d2 Update Ruff to 0.1.6
  • aa95f38 Updated README & CI poetry version
  • 50bf628 Added test configs for python 3.12 (and 3.11 when missing)
  • 1132e3d Update dependencies
  • 2ca2eb0 Merge pull request #59 from alorence/dependabot/pip/urllib3-2.0.7
  • 0659ff6 Bump urllib3 from 2.0.5 to 2.0.7
  • 93a9031 Update Ruff version & config
  • 08bae29 Update dependencies
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [django-modern-rpc](https://github.com/alorence/django-modern-rpc) from 0.12.1 to 1.0.2.
- [Release notes](https://github.com/alorence/django-modern-rpc/releases)
- [Changelog](https://github.com/alorence/django-modern-rpc/blob/main/CHANGELOG.md)
- [Commits](alorence/django-modern-rpc@0.12.1...1.0.2)

---
updated-dependencies:
- dependency-name: django-modern-rpc
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Nov 28, 2023
@atodorov atodorov marked this pull request as draft November 28, 2023 10:34
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 28, 2023

Looks like django-modern-rpc is up-to-date now, so this is no longer needed.

@dependabot dependabot bot closed this Nov 28, 2023
@dependabot dependabot bot deleted the dependabot/pip/django-modern-rpc-1.0.2 branch November 28, 2023 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants