Commit graph

762 commits

Author SHA1 Message Date
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
Dylan Castillo
b5acdd6a99 Add django-htmx-components 2024-02-24 15:25:15 +01:00
Emil Stenström
76a0cde3af Bump version. 2024-02-22 08:58:36 +01:00
Emil Stenström
f4bfeb2404 Bump version. 2024-02-22 08:54:08 +01:00
Emil Stenström
a32128a420 Don't rely on BASE_DIR being a Path. 2024-02-22 08:31:50 +01:00
Emil Stenström
94110b5e91 Add red notice to README. 2024-02-21 22:38:06 +01:00
pre-commit-ci[bot]
c8a1915f58 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-02-21 22:38:06 +01:00
Emil Stenström
1f50ed0bd5 Add script to upgrade component syntax. 2024-02-21 22:38:06 +01:00
Emil Stenström
926877d1d6 Make tox read from pyproject.toml too. 2024-02-21 22:38:06 +01:00
Emil Stenström
eb5f5952ae Remove duplicate mention of component tag. 2024-02-21 22:38:06 +01:00
Emil Stenström
edf3885632 Replace all instances of component_block with component. Remove duplicate tests. 2024-02-21 22:38:06 +01:00
Emil Stenström
48fe8171b4 Reformat lines that became too long. And enforce 119 line length. 2024-02-21 22:38:06 +01:00
Emil Stenström
ef6a082238 Remove component tag in favour of component_block. 2024-02-21 22:38:06 +01:00
dependabot[bot]
f3350ced11 Bump tox from 4.12.1 to 4.13.0
Bumps [tox](https://github.com/tox-dev/tox) from 4.12.1 to 4.13.0.
- [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.12.1...4.13.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-21 21:38:20 +01:00
Emil Stenström
4b28793a99 Ignore python-version. 2024-02-21 21:31:32 +01:00