Releases: iwpnd/pyle38
v0.11.2
v0.11.2 (2024-01-09)
Chore
-
chore: ignore mypy error on aclose until types updated (
c99fa4a
) -
chore: drop old website (
feaa39a
) -
chore: change email (
aa1a4bc
) -
chore: update semantic release config (
35bc5f3
) -
chore: pre-commit autoupdate (
2a5008e
) -
chore: update dependencies (
df34edb
) -
chore(deps-dev): bump isort from 5.12.0 to 5.13.2
Bumps isort from 5.12.0 to 5.13.2.
updated-dependencies:
- dependency-name: isort
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected]> (942035b
)
- chore(deps-dev): bump ruff from 0.1.7 to 0.1.9
Bumps ruff from 0.1.7 to 0.1.9.
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected]> (e5a0e2e
)
- chore(deps-dev): bump mypy from 1.7.1 to 1.8.0
Bumps mypy from 1.7.1 to 1.8.0.
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected]> (45e8a12
)
- chore(deps-dev): bump python-semantic-release from 8.3.0 to 8.5.0
Bumps python-semantic-release from 8.3.0 to 8.5.0.
updated-dependencies:
- dependency-name: python-semantic-release
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected]> (f28f591
)
- chore(deps-dev): bump black from 23.11.0 to 23.12.0
Bumps black from 23.11.0 to 23.12.0.
updated-dependencies:
- dependency-name: black
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected]> (113d735
)
- chore(deps-dev): bump pre-commit from 3.5.0 to 3.6.0
Bumps pre-commit from 3.5.0 to 3.6.0.
updated-dependencies:
- dependency-name: pre-commit
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected]> (a82b938
)
- chore(deps-dev): bump pytest-asyncio from 0.21.1 to 0.23.2
Bumps pytest-asyncio from 0.21.1 to 0.23.2.
updated-dependencies:
- dependency-name: pytest-asyncio
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected]> (cdb225e
)
- chore(deps-dev): bump ruff from 0.1.6 to 0.1.7
Bumps ruff from 0.1.6 to 0.1.7.
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected]> (70651e6
)
- chore(deps-dev): bump mypy from 1.7.0 to 1.7.1
Bumps mypy from 1.7.0 to 1.7.1.
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected]> (4708457
)
- chore(deps-dev): bump types-redis from 4.6.0.10 to 4.6.0.11
Bumps types-redis from 4.6.0.10 to 4.6.0.11.
updated-dependencies:
- dependency-name: types-redis
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected]> (eea3bd8
)
- chore(deps-dev): bump ruff from 0.1.5 to 0.1.6
Bumps ruff from 0.1.5 to 0.1.6.
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected]> (c667c5e
)
- chore(deps): bump pydantic from 2.5.1 to 2.5.2
Bumps pydantic from 2.5.1 to 2.5.2.
updated-dependencies:
- dependency-name: pydantic
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected]> (9d26cc8
)
- chore(deps-dev): bump poethepoet from 0.24.3 to 0.24.4
Bumps poethepoet from 0.24.3 to 0.24.4.
updated-dependencies:
- dependency-name: poethepoet
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected]> (f9d04a7
)
- chore(deps): bump pydantic from 2.5.0 to 2.5.1
Bumps pydantic from 2.5.0 to 2.5.1.
updated-dependencies:
- dependency-name: pydantic
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected]> (5cb4d03
)
- chore(deps): bump pydantic from 2.4.2 to 2.5.0
Bumps pydantic from 2.4.2 to 2.5.0.
updated-dependencies:
- dependency-name: pydantic
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected]> ([7b4456c
](7b4456ca1f727003a33cc1a...
[0.11.1]
[0.11.0]
[0.10.0]
[0.9.1]
[0.9.0]
[0.8.1]
Fixed an issue with FSET
command of Tile38 that would not allow to set fields with dictionary values.
key = fleet
id = truck
fields = {"driver": {"name":"John", "lastname":"Connor"}}
# before
await tile38.fset(key, id, fields).exec() # -> would fail
# now
await tile38.fset(key, id, fields).exec() # -> 🪄 just works
v0.8.1 (2023-01-25)
Fix
- 🐛 fset when field value is object (
c16f487
)
[0.8.0]
As of Tile38 1.30.0 object FIELD
s are no longer limited to just numbers and can take any value. On top return values can be filtered using filter-expressions.
previously:
await tile38.set('fleet','truck').fields({'speed':10'}).exec()
await tile38.scan('fleet').where('speed',10,10).asCount()
now:
await tile38.set('fleet','truck').fields({'motor': {'horse_power':'1000'}}).exec()
await tile38.scan('fleet').where_expr('motor.horse_power === 1000').asCount()
Please be aware that every field that is not a number, can only be queried with where_expr()
.
v0.8.0 (2022-12-22)
Feature
- ✨ allow field Any field value (
ddc3f4a
) - ✨ add test helpers (
277679b
) - ✨ implement whereable (
65fa065
)
Fix
Documentation
[0.7.0]
v0.7.0 (2022-09-06)
Since aioredis moved into the redis organization and is part of redis-py from 4.2.0 on, I moved pyle38 to redis-py as well.
Instead of a connection pool pyle38 now uses a single connection client. This fixes #154 where opening addtional connections would lose the state of OUTPUT JSON
send to tile38. This would cause responses of new connections to be returned as RESP
that would fail on the attempt to parse responses.
Added side-effect is a 100% speed increase.
Feature
- ✨ upgrade to redis-py, use single connection instead of pool (
b31136d
)
[0.6.1]
Fixed a minor issue that would not allow Generic types to be used in Pyle38 responses.
from pyle38.responses import ObjectsResponse
from pydantic import BaseModel
class Vehicle(BaseModel):
id: str
vehicles: ObjectsResponse[Vehicle] = await tile38.scan("fleet").asObjects()
# no longer raises
# Type "Vehicle" cannot be assigned to type variable "T@ObjectResponse"
# Type "Vehicle" is incompatible with bound type
# "Dict[Unknown, Unknown] | str"
v0.6.1 (2022-01-24)
Fix
- 🐛 generic types and defaults (
45fcd5d
)