Commit graph

1748 commits

Author SHA1 Message Date
dependabot[bot]
8cf42dd20f
build(deps): bump markdown from 3.7 to 3.8
Bumps [markdown](https://github.com/Python-Markdown/markdown) from 3.7 to 3.8.
- [Release notes](https://github.com/Python-Markdown/markdown/releases)
- [Changelog](https://github.com/Python-Markdown/markdown/blob/master/docs/changelog.md)
- [Commits](https://github.com/Python-Markdown/markdown/compare/3.7...3.8)

---
updated-dependencies:
- dependency-name: markdown
  dependency-version: '3.8'
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-14 18:26:16 +00:00
github-actions[bot]
2905c6980a
Merge pull request #1130 from django-components/dependabot/pip/urllib3-2.4.0
build(deps): bump urllib3 from 2.3.0 to 2.4.0
2025-04-14 18:25:07 +00:00
dependabot[bot]
0fad34f271
build(deps): bump urllib3 from 2.3.0 to 2.4.0
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/2.3.0...2.4.0)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-version: 2.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-14 18:16:17 +00:00
github-actions[bot]
6e7e5cd162
Merge pull request #1132 from django-components/dependabot/pip/pytz-2025.2
build(deps): bump pytz from 2025.1 to 2025.2
2025-04-14 20:15:18 +02:00
dependabot[bot]
a69c2329b0
build(deps): bump pytz from 2025.1 to 2025.2
Bumps [pytz](https://github.com/stub42/pytz) from 2025.1 to 2025.2.
- [Release notes](https://github.com/stub42/pytz/releases)
- [Commits](https://github.com/stub42/pytz/compare/release_2025.1...release_2025.2)

---
updated-dependencies:
- dependency-name: pytz
  dependency-version: '2025.2'
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-14 17:43:21 +00:00
Juro Oravec
c650e7f3a5
refactor: prefix component ID with c (#1127) 2025-04-14 12:01:16 +02:00
Juro Oravec
fc026cbd99
docs: update section on working with request object (#1126)
* docs: update section on working with request object

* refactor: fix linting
2025-04-14 11:35:48 +02:00
Juro Oravec
06cad2ec64
refactor: use typevar defaults + raise on conflicting extensions (#1125)
* refactor: use typevar defaults + raise on conflicting extensions

* refactor: fix linter errors
2025-04-14 10:00:18 +02:00
Juro Oravec
61528ef0ad
build: Change versioning to major.minor.patch (#1123) 2025-04-12 20:48:54 +02:00
components-release-bot
3148557e91 Add benchmark results for 0.139 2025-04-12 07:41:59 +00:00
Juro Oravec
ad402fc619
refactor: fix compat with Django 5.2 Finder.find() (#1121)
* refactor: fix compat with Django 5.2 Finder.find()

* refactor: fix tests and linters
2025-04-12 09:35:33 +02:00
Juro Oravec
d37291a3b6
docs: document how to access component instance from within View (#1115) 2025-04-10 09:39:52 +02:00
components-release-bot
5b01d6c3c6 Add benchmark results for 0.138 2025-04-09 16:37:58 +00:00
Juro Oravec
07f747d705
refactor: fix - allow components with Url.public to be defined before django.setup() (#1112) 2025-04-09 18:31:07 +02:00
components-release-bot
cc249022c4 Add benchmark results for 0.137 2025-04-09 13:22:30 +00:00
Juro Oravec
1319a95627
chore: bump v0.137 (#1111) 2025-04-09 15:09:26 +02:00
Juro Oravec
613dfea379
refactor: cleanup docs, add docs on Render API, allow get_context_data return None (#1110)
* refactor: cleanup docs, add docs on Render API, allow get_context_data return None

* refactor: fix linter and tests
2025-04-09 15:06:14 +02:00
Juro Oravec
9ede779fa3
docs: update testing, single file comp, and syntax highlight (#1109) 2025-04-08 14:32:23 +02:00
Juro Oravec
b6994e9ad3
feat: component caching (#1097)
* feat: allow to set defaults

* refactor: remove input validation and link to it

* feat: component URL

* feat: component caching

* refactor: Mark `OnComponentRenderedContext` as extension hook for docs

* docs: update changelog

* refactor: simplify hash methods
2025-04-08 11:54:39 +02:00
github-actions[bot]
ef15117459
Merge pull request #1108 from django-components/dependabot/pip/mkdocs-material-9.6.11
build(deps): bump mkdocs-material from 9.6.10 to 9.6.11
2025-04-07 20:59:59 +00:00
Emil Stenström
625c1a4735
Merge branch 'master' into dependabot/pip/mkdocs-material-9.6.11 2025-04-07 22:52:29 +02:00
dependabot[bot]
c8f9b35f2e
build(deps): bump mkdocs-material from 9.6.10 to 9.6.11
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.6.10 to 9.6.11.
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.6.10...9.6.11)

---
updated-dependencies:
- dependency-name: mkdocs-material
  dependency-version: 9.6.11
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-07 20:06:09 +00:00
dependabot[bot]
077ba59ce1
build(deps): bump pytest-django from 4.10.0 to 4.11.1 (#1102)
Bumps [pytest-django](https://github.com/pytest-dev/pytest-django) from 4.10.0 to 4.11.1.
- [Release notes](https://github.com/pytest-dev/pytest-django/releases)
- [Changelog](https://github.com/pytest-dev/pytest-django/blob/main/docs/changelog.rst)
- [Commits](https://github.com/pytest-dev/pytest-django/compare/v4.10.0...v4.11.1)

---
updated-dependencies:
- dependency-name: pytest-django
  dependency-version: 4.11.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Juro Oravec <juraj.oravec.josefson@gmail.com>
2025-04-07 22:02:09 +02:00
github-actions[bot]
0417e369f7
Merge pull request #1106 from django-components/dependabot/pip/pyparsing-3.2.3
build(deps): bump pyparsing from 3.2.2 to 3.2.3
2025-04-07 19:47:31 +00:00
Juro Oravec
2213f43c89
Merge branch 'master' into dependabot/pip/pyparsing-3.2.3 2025-04-07 21:36:48 +02:00
github-actions[bot]
1074ebe2f1
Merge pull request #1103 from django-components/dependabot/pip/mkdocstrings-python-1.16.10
build(deps): bump mkdocstrings-python from 1.16.8 to 1.16.10
2025-04-07 21:36:26 +02:00
Juro Oravec
225f45d0b8
Merge branch 'master' into dependabot/pip/pyparsing-3.2.3 2025-04-07 21:36:21 +02:00
dependabot[bot]
ec5cc278a4
build(deps): bump pyparsing from 3.2.2 to 3.2.3
Bumps [pyparsing](https://github.com/pyparsing/pyparsing) from 3.2.2 to 3.2.3.
- [Release notes](https://github.com/pyparsing/pyparsing/releases)
- [Changelog](https://github.com/pyparsing/pyparsing/blob/master/CHANGES)
- [Commits](https://github.com/pyparsing/pyparsing/compare/3.2.2...3.2.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-07 19:12:42 +00:00
dependabot[bot]
e0e9501dca
build(deps): bump mkdocstrings-python from 1.16.8 to 1.16.10
Bumps [mkdocstrings-python](https://github.com/mkdocstrings/python) from 1.16.8 to 1.16.10.
- [Release notes](https://github.com/mkdocstrings/python/releases)
- [Changelog](https://github.com/mkdocstrings/python/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mkdocstrings/python/compare/1.16.8...1.16.10)

---
updated-dependencies:
- dependency-name: mkdocstrings-python
  dependency-version: 1.16.10
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-07 18:32:24 +00:00
github-actions[bot]
fd12bb47ab
Merge pull request #1104 from django-components/dependabot/pip/griffe-1.7.2
build(deps): bump griffe from 1.7.1 to 1.7.2
2025-04-07 18:31:13 +00:00
Juro Oravec
bd703ead4b
Merge branch 'master' into dependabot/pip/griffe-1.7.2 2025-04-07 20:21:49 +02:00
github-actions[bot]
084b6c7f34
Merge pull request #1100 from django-components/dependabot/pip/flake8-7.2.0
build(deps-dev): bump flake8 from 7.1.2 to 7.2.0
2025-04-07 20:21:21 +02:00
Juro Oravec
dfb675343e
Merge branch 'master' into dependabot/pip/flake8-7.2.0 2025-04-07 20:04:57 +02:00
dependabot[bot]
2fedd9d0e2
build(deps): bump griffe from 1.7.1 to 1.7.2
Bumps [griffe](https://github.com/mkdocstrings/griffe) from 1.7.1 to 1.7.2.
- [Release notes](https://github.com/mkdocstrings/griffe/releases)
- [Changelog](https://github.com/mkdocstrings/griffe/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mkdocstrings/griffe/compare/1.7.1...1.7.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-07 18:03:26 +00:00
dependabot[bot]
db324e291f
build(deps-dev): bump flake8 from 7.1.2 to 7.2.0
Bumps [flake8](https://github.com/pycqa/flake8) from 7.1.2 to 7.2.0.
- [Commits](https://github.com/pycqa/flake8/compare/7.1.2...7.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-07 17:53:36 +00:00
Juro Oravec
1dfec8fc6d
docs: mention URL auto-gen in README (#1099) 2025-04-07 19:26:50 +02:00
Juro Oravec
9f9b1f7232
refactor: fix link in docs + call django.setup() in @djc_test if not done so (#1098) 2025-04-07 15:07:46 +02:00
Juro Oravec
bb5de86b69
feat: expose _class_hash as class_id (#1094)
* feat: expose _class_hash as class_id

* refactor: fix linting
2025-04-07 11:08:02 +02:00
Juro Oravec
a49f5e51dd
feat: component URL (#1088)
* feat: allow to set defaults

* refactor: remove input validation and link to it

* feat: component URL

* refactor: fix linter errors

* refactor: fix linter errors + update examples to use Component.View..get

* docs: update comment

* refactor: revert change to hash_comp_cls

* docs: update comment
2025-04-07 10:44:41 +02:00
Juro Oravec
3555411f1e
docs: move extension command- and url-related API to own API pages (#1093)
* docs: move extension command- and url-related API to own API pages

* refactor: fix linters
2025-04-06 14:12:15 +02:00
Juro Oravec
0ed46e4d30
chore: add support for Django 5.2 and drop for 5.0 (#1092) 2025-04-06 11:57:41 +02:00
components-release-bot
637e143538 Add benchmark results for 0.136 2025-04-05 07:18:52 +00:00
Juro Oravec
fdd29baa65
chore: bump v0.136 (#1087) 2025-04-05 09:10:55 +02:00
Juro Oravec
2499126d1f
refactor: fix ext URLs lookup (#1086)
* refactor: fix ext URLs lookup
2025-04-05 09:10:04 +02:00
Juro Oravec
7e74831599
refactor: remove input validation and link to it (#1082)
* feat: allow to set defaults

* refactor: remove input validation and link to it

* docs: update changelog

* Update typing_and_validation.md

* Update typing_and_validation.md
2025-04-05 08:19:19 +02:00
github-actions[bot]
5e263ec143
Merge pull request #1078 from django-components/dependabot/pip/markdown-exec-1.10.3
build(deps): bump markdown-exec from 1.10.2 to 1.10.3
2025-03-31 20:09:25 +00:00
dependabot[bot]
ce140ae2c2
build(deps): bump markdown-exec from 1.10.2 to 1.10.3
Bumps [markdown-exec](https://github.com/pawamoy/markdown-exec) from 1.10.2 to 1.10.3.
- [Release notes](https://github.com/pawamoy/markdown-exec/releases)
- [Changelog](https://github.com/pawamoy/markdown-exec/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pawamoy/markdown-exec/compare/1.10.2...1.10.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-31 20:03:11 +00:00
github-actions[bot]
57d035c67d
Merge pull request #1080 from django-components/dependabot/pip/mkdocs-material-9.6.10
build(deps): bump mkdocs-material from 9.6.9 to 9.6.10
2025-03-31 20:01:57 +00:00
dependabot[bot]
1b8122312e
build(deps): bump mkdocs-material from 9.6.9 to 9.6.10
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.6.9 to 9.6.10.
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.6.9...9.6.10)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-31 19:55:36 +00:00
github-actions[bot]
e184834e93
Merge pull request #1077 from django-components/dependabot/pip/mkdocstrings-0.29.1
build(deps): bump mkdocstrings from 0.29.0 to 0.29.1
2025-03-31 19:54:24 +00:00