Commit graph

826 commits

Author SHA1 Message Date
Emil Stenström
ae5cda9f72 Bump version. 2024-03-30 09:18:33 +01:00
Juro Oravec
2c8fc6c3a2
fix: avoid nested django contexts when rendering (#415)
* fix: avoid nested django contexts when rendering

* refactor: make input for slot context processing more specific

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-03-30 09:17:55 +01:00
Emil Stenström
20847b978b Bump version. 2024-03-29 23:41:49 +01:00
Emil Stenström
7e90444ae2
Merge pull request #410 from GabDug/feat/type-hints
feat: full type hints
2024-03-29 23:41:00 +01:00
Gabriel Dugny
b9f4e596a4 feat: add type hints everywhere 2024-03-29 08:51:58 +01:00
Emil Stenström
c11f30ec7c
Merge pull request #407 from GabDug/fix/tox-use-wheel
Use wheel in tests, adopt src layout
2024-03-29 07:56:06 +01:00
pre-commit-ci[bot]
05fbd70b32 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-03-29 07:50:10 +01:00
Gabriel Dugny
a818f18423 fix: support legacy tox and setuptools for Python 3.6 2024-03-29 07:50:10 +01:00
Gabriel Dugny
44f984c84b fix: make tox use the wheel 2024-03-29 07:50:10 +01:00
Gabriel Dugny
a7901c7c17 chore: use src layout 2024-03-29 07:50:10 +01:00
Emil Stenström
f2c925e1e2
Merge pull request #408 from EmilStenstrom/dependabot/pip/pre-commit-3.7.0
Bump pre-commit from 3.6.2 to 3.7.0
2024-03-25 22:52:51 +01:00
dependabot[bot]
e47fa0d85c Bump pre-commit from 3.6.2 to 3.7.0
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 3.6.2 to 3.7.0.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pre-commit/pre-commit/compare/v3.6.2...v3.7.0)

---
updated-dependencies:
- dependency-name: pre-commit
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-25 22:52:34 +01:00
Emil Stenström
ae9e99a412
Merge pull request #409 from EmilStenstrom/dependabot/pip/tox-4.14.2
Bump tox from 4.14.1 to 4.14.2
2024-03-25 22:52:18 +01:00
dependabot[bot]
23671cf6a2
Bump tox from 4.14.1 to 4.14.2
Bumps [tox](https://github.com/tox-dev/tox) from 4.14.1 to 4.14.2.
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/tox/compare/4.14.1...4.14.2)

---
updated-dependencies:
- dependency-name: tox
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-25 17:55:06 +00:00
Emil Stenström
a9c922c8e6
Merge pull request #406 from GabDug/fix/type-component-registry
fix: type component registry
2024-03-24 21:52:27 +01:00
pre-commit-ci[bot]
0a1b6ca6ab [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-03-24 17:01:07 +00:00
Gabriel Dugny
715326b5c2 fix: 3.6 syntax for type hints 2024-03-24 18:00:55 +01:00
Gabriel Dugny
3952fd7437 fix: type component registry 2024-03-24 17:40:16 +01:00
Emil Stenström
04160f4e0b Bump version. 2024-03-24 12:11:13 +01:00
Emil Stenström
fa6abab06e
Merge pull request #404 from JuroOravec/fix-release-v0.60
Fix realeases v0.60 and v0.52
2024-03-24 12:10:47 +01:00
Juro Oravec
12463c365b refactor: move py.typed into django_components dir 2024-03-24 10:09:36 +01:00
Juro Oravec
d4244578ed refactor: change utils dir to file to fix missing import 2024-03-24 10:09:15 +01:00
Emil Stenström
ceb74b289d
Merge pull request #400 from EmilStenstrom/dependabot/pip/black-24.3.0
Bump black from 24.2.0 to 24.3.0
2024-03-23 19:03:53 +01:00
Emil Stenström
d512cfb0fe Bump version. 2024-03-23 19:03:05 +01:00
Juro Oravec
37fd901908
Resolve media and template files relative to component class dir (#395), thanks @JuroOravec
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Emil Stenström <emil@emilstenstrom.se>
2024-03-23 19:01:39 +01:00
dependabot[bot]
4c997fde9a Bump black from 24.2.0 to 24.3.0
Bumps [black](https://github.com/psf/black) from 24.2.0 to 24.3.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/24.2.0...24.3.0)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-23 18:50:27 +01:00
pre-commit-ci[bot]
1de859bd34
[pre-commit.ci] pre-commit autoupdate (#402)
updates:
- [github.com/psf/black: 24.2.0 → 24.3.0](https://github.com/psf/black/compare/24.2.0...24.3.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-03-18 23:27:13 +01:00
Emil Stenström
95d6eacb5c Bump version. 2024-03-15 23:39:35 +01:00
Emil Stenström
33bd14e75c Remove unnessesary debug from tox run. 2024-03-15 23:39:00 +01:00
Emil Stenström
5f30917664 Remove old comments. 2024-03-15 23:38:15 +01:00
Juro Oravec
b14dec9777
Add mypy support (#396), thanks @JuroOravec 2024-03-15 23:31:15 +01:00
dependabot[bot]
4090c928ee Bump pytest from 8.0.2 to 8.1.1
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.0.2 to 8.1.1.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/8.0.2...8.1.1)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-11 21:50:21 +01:00
dependabot[bot]
f1c2a1b310 Bump tox from 4.13.0 to 4.14.1
Bumps [tox](https://github.com/tox-dev/tox) from 4.13.0 to 4.14.1.
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/tox/compare/4.13.0...4.14.1)

---
updated-dependencies:
- dependency-name: tox
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-11 21:49:33 +01:00
Emil Stenström
7058f05e04 Bump version. 2024-03-07 08:21:47 +01:00
Emil Stenström
454b9ee4dc
Merge pull request #391 from dylanjcastillo/add-type-hints
Add type hints
2024-03-05 11:05:56 +01:00
Dylan Castillo
b58100eb9d Remove typing-extensions 2024-03-05 10:29:39 +01:00
Dylan Castillo
25fe39c6d6
Merge branch 'master' into add-type-hints 2024-03-04 21:45:37 +01:00
Emil Stenström
f7dbad34f9
Merge pull request #393 from EmilStenstrom/dependabot/pip/django-5.0.3
Bump django from 5.0.2 to 5.0.3
2024-03-04 20:55:09 +01:00
Emil Stenström
0782639c96
Merge pull request #392 from EmilStenstrom/dependabot/pip/black-24.2.0
Bump black from 24.1.1 to 24.2.0
2024-03-04 20:54:56 +01:00
dependabot[bot]
1ec1c54500
Bump django from 5.0.2 to 5.0.3
Bumps [django](https://github.com/django/django) from 5.0.2 to 5.0.3.
- [Commits](https://github.com/django/django/compare/5.0.2...5.0.3)

---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-04 17:13:52 +00:00
dependabot[bot]
2f3ea75a22
Bump black from 24.1.1 to 24.2.0
Bumps [black](https://github.com/psf/black) from 24.1.1 to 24.2.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/24.1.1...24.2.0)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-04 17:13:28 +00:00
Dylan Castillo
2ed3b40d05 Add type hints 2024-03-02 14:39:26 +01:00
Emil Stenström
24517ddd61
Merge pull request #389 from EmilStenstrom/EmilStenstrom-patch-1
Update README.md
2024-02-26 22:59:17 +01:00
Emil Stenström
5a13a611f5
Update README.md 2024-02-26 22:59:09 +01:00
Emil Stenström
a074d0c70f
Merge pull request #376 from EmilStenstrom/simplify-api
Rename component_block to compnent (Fixes #232)
2024-02-26 22:55:19 +01:00
Emil Stenström
58f46448bd
Merge branch 'master' into simplify-api 2024-02-26 22:52:55 +01:00
Emil Stenström
c932f28cb4 Make a big version jump to signify big change. 2024-02-26 22:51:49 +01:00
Emil Stenström
02ca78a480
Merge pull request #388 from EmilStenstrom/dependabot/pip/pytest-8.0.2
Bump pytest from 8.0.1 to 8.0.2
2024-02-26 21:09:16 +01:00
dependabot[bot]
da2dfab489
Bump pytest from 8.0.1 to 8.0.2
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.0.1 to 8.0.2.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/8.0.1...8.0.2)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-26 17:28:57 +00:00
Emil Stenström
f5855b50e3
Merge pull request #387 from dylanjcastillo/add-community-examples
Add django-htmx-components
2024-02-24 16:28:14 +01:00