Skip to content

Commit

Permalink
Merge pull request #118 from dapper91/dev
Browse files Browse the repository at this point in the history
- aiohttp integration specification wrong path bug fixed.
  • Loading branch information
dapper91 authored Jan 15, 2025
2 parents f09e767 + 4bd7a02 commit 1f490d3
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Changelog
=========

1.12.2 (2025-01-15)
------------------

- aiohttp integration specification wrong path bug fixed.


1.12.1 (2024-12-20)
------------------

Expand Down
2 changes: 1 addition & 1 deletion pjrpc/__about__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
__description__ = 'Extensible JSON-RPC library'
__url__ = 'https://github.com/dapper91/pjrpc'

__version__ = '1.12.1'
__version__ = '1.12.2'

__author__ = 'Dmitry Pershin'
__email__ = 'dapper1291@gmail.com'
Expand Down
2 changes: 1 addition & 1 deletion pjrpc/server/integration/aiohttp.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def add_subapp(self, prefix: str, subapp: 'Application') -> None:
"""

prefix = prefix.rstrip('/')
self._endpoints[prefix] = subapp.dispatcher
self._endpoints[utils.join_path(prefix, subapp._path)] = subapp.dispatcher
self._app.add_subapp(utils.join_path(self._path, prefix), subapp.app)

def add_endpoint(
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pjrpc"
version = "1.12.1"
version = "1.12.2"
description = "Extensible JSON-RPC library"
authors = ["Dmitry Pershin <dapper1291@gmail.com>"]
license = "Unlicense"
Expand Down Expand Up @@ -89,7 +89,7 @@ pytest-aiohttp = "^1.0.4"
pytest-cov = "^4.1.0"
pytest-mock = "^3.11.1"
responses = "^0.23.3"
respx = "^0.20.2"
respx = "^0.22.0"
mypy = "^1.7.1"
pre-commit = "~3.2.0"
types-jsonschema = "^4.23.0.20240813"
Expand Down

0 comments on commit 1f490d3

Please sign in to comment.