Nonebot-plugin-orm

Latest version: v0.7.6

Safety actively analyzes 682387 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 5

0.5.1

What's Changed
* :arrow_up: auto update by pre-commit hooks by pre-commit-ci in https://github.com/nonebot/plugin-orm/pull/5
* [🐛 fix(alembic): no cmd opts when startup](https://github.com/nonebot/plugin-orm/commit/4a7dda38e22c986993a976162217e4bc085a871c)

**Full Changelog**: https://github.com/nonebot/plugin-orm/compare/v0.5.0...v0.5.1

0.5.0

What's Changed
- [🐛 fix(sqla): redirect logger](https://github.com/nonebot/plugin-orm/commit/0212d1e46f9bbc4f6173e28482d8f71a84d6e52c)
- [🐛 fix: allow rewrite all argument](https://github.com/nonebot/plugin-orm/commit/00247c6f8e5f95e9754749426abe350ab30905f6)
- [🐛 fix(alembic): store cli params into cmd opts](https://github.com/nonebot/plugin-orm/commit/88b884784d2551dd9d8567acd4382753bfcb97f8)
- [â™ŧïļ refactor(alembic): support unload or uninstall used plugins](https://github.com/nonebot/plugin-orm/commit/88a9019675cf5fb21c2d59bff99344115d806e55)

**Full Changelog**: https://github.com/nonebot/plugin-orm/compare/v0.4.1...v0.5.0

0.4.1

What's Changed
- [🐛 fix: missing default metadata if specify SQLALCHEMY_DATABASE_URL](https://github.com/nonebot/plugin-orm/commit/8c3d7e7713f672488a1707191a39aa17aca7055a)
- [🐛 fix(sqla): fail with unusual type annotation](https://github.com/nonebot/plugin-orm/commit/ada70b5c930745154ac676852655c9d0da29a40c)
- [🐛 fix(alembic): multidb env.py type annotation](https://github.com/nonebot/plugin-orm/commit/19950e5a87927fbea9849ad4ee9f7c421bda5d44)
- [🐛 fix(alembic): sync fail when db is not up to date](https://github.com/nonebot/plugin-orm/commit/2b35f7e60678b78e1c765c7c234d2fc82c2c7efe)
- [🐛 fix(alembic): more robust editable plugin detect](https://github.com/nonebot/plugin-orm/commit/dded41ae5680d7d6df7d103e81b1cf6aaf842243)
- [ðŸ’Ĩ revert(sqla)!: Model as pydantic dataclass](https://github.com/nonebot/plugin-orm/commit/847322fc3972c9362d8e10d44442e4ddd805996f)

**Full Changelog**: https://github.com/nonebot/plugin-orm/compare/v0.4.0...v0.4.1

0.4.0

Notable Changes
- [âœĻ feat(sqla): Model as pydantic dataclass](https://github.com/nonebot/plugin-orm/commit/45405ae559fd4c6e1983fb0e102ce2116eb6d5a3)
åŪžéŠŒåŠŸčƒ―: `Model` įŽ°åœĻæ˜Ŋ [`pydantic.dataclasses.dataclass`](https://docs.pydantic.dev/dev/concepts/dataclasses/), 提äū›åŸšæœŽįš„įąŧ型提įĪšå’ŒéŠŒčŊ:
python
from datetime import datetime
from sqlalchemy.orm import Mapped, mapped_column

from nonebot_plugin_orm import Model


class User(Model):
id: Mapped[int] = mapped_column(primary_key=True)
name: Mapped[str]
signup_ts: Mapped[datetime]


user = User(id="42", name="John Doe", signup_ts="2032-06-21T12:00")
print(
user User(id=42, name='John Doe', signup_ts=datetime.datetime(2032, 6, 21, 12, 0))
)


What's Changed
- [🐛 fix(alembic): don't get dist by top-level package](https://github.com/nonebot/plugin-orm/commit/687b54e94ed031365a1ab3362bdc404c5ba8a6eb)
- [âœĻ feat(alembic): sync](https://github.com/nonebot/plugin-orm/commit/95624a6b38a39d903ebc59318eac0c4a3f9a1685)
- [â™ŧïļ refactor(sqla): ORMParam](https://github.com/nonebot/plugin-orm/commit/d0fd0301e26c865f482d35eff79ef02ffa8ab642)

**Full Changelog**: https://github.com/nonebot/plugin-orm/compare/v0.3.0...v0.4.0

0.3.0

What's Changed
* [â™ŧïļ refactor(sqla): Model di by ModelParam](https://github.com/nonebot/plugin-orm/commit/ad5f8d5bf26ec6985e01eb2039d1519b1585d949)

**Full Changelog**: https://github.com/nonebot/plugin-orm/compare/v0.2.4...v0.3.0

0.2.4

What's Changed
* [🐛 fix(sqla): Mapped[Model]](https://github.com/nonebot/plugin-orm/commit/4f1a23582f9ad01417f6aa65cbddf4e8a1e0514f)

**Full Changelog**: https://github.com/nonebot/plugin-orm/compare/v0.2.3...v0.2.4

Page 3 of 5

ÂĐ 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.