Commit graph

1748 commits

Author SHA1 Message Date
Juro Oravec
77178190ed
Merge branch 'master' into dependabot/pip/mkdocs-material-9.6.13 2025-05-13 09:23:40 +02:00
github-actions[bot]
d7e6d5a961
Merge pull request #1184 from django-components/dependabot/pip/virtualenv-20.31.2
build(deps): bump virtualenv from 20.30 to 20.31.2
2025-05-13 09:22:51 +02:00
dependabot[bot]
406828c51a
build(deps): bump virtualenv from 20.30 to 20.31.2
Bumps [virtualenv](https://github.com/pypa/virtualenv) from 20.30 to 20.31.2.
- [Release notes](https://github.com/pypa/virtualenv/releases)
- [Changelog](https://github.com/pypa/virtualenv/blob/main/docs/changelog.rst)
- [Commits](https://github.com/pypa/virtualenv/compare/20.30.0...20.31.2)

---
updated-dependencies:
- dependency-name: virtualenv
  dependency-version: 20.31.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-12 17:14:24 +00:00
dependabot[bot]
fcc8d71dca
build(deps): bump mkdocs-material from 9.6.12 to 9.6.13
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.6.12 to 9.6.13.
- [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.12...9.6.13)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-12 17:12:51 +00:00
Juro Oravec
ccf02fa316
chore: util to manage URLs in the codebase (#1179)
* chore: util to manage URLs in the codebase

* docs: mentiion validate_links and supported_versions in docs

* refactor: fix linter errors
2025-05-11 14:59:34 +02:00
Juro Oravec
5f4fbe76e5
feat: add BaseNode.contents (#1177) 2025-05-11 08:11:07 +02:00
Juro Oravec
661413d4a9
refactor: change caching methods to accept slots + typing fixes (#1173) 2025-05-09 10:19:34 +02:00
github-actions[bot]
e64cd197c1
Merge pull request #1176 from django-components/dependabot/pip/django-4.2.21
build(deps): bump django from 4.2.20 to 4.2.21
2025-05-09 09:41:08 +02:00
dependabot[bot]
ccd8e26956
build(deps): bump django from 4.2.20 to 4.2.21
Bumps [django](https://github.com/django/django) from 4.2.20 to 4.2.21.
- [Commits](https://github.com/django/django/compare/4.2.20...4.2.21)

---
updated-dependencies:
- dependency-name: django
  dependency-version: 4.2.21
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-09 06:51:25 +00:00
github-actions[bot]
6aa2a39fe9
Merge pull request #1175 from django-components/dependabot/pip/django-4.2.21
build(deps): bump django from 4.2.20 to 4.2.21
2025-05-09 08:50:10 +02:00
dependabot[bot]
26078d5340
build(deps): bump django from 4.2.20 to 4.2.21
Bumps [django](https://github.com/django/django) from 4.2.20 to 4.2.21.
- [Commits](https://github.com/django/django/compare/4.2.20...4.2.21)

---
updated-dependencies:
- dependency-name: django
  dependency-version: 4.2.21
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-08 15:27:54 +00:00
Juro Oravec
2dacac1f43
temp (#1172) 2025-05-06 21:48:18 +02:00
Juro Oravec
6253042e9e
refactor: remove middleware, add strategy "raw", and call render_deps() from within Template.render() (#1166)
* refactor: remove middleware, add strategy "raw", and call render_deps() from within Template.render()

* refactor: fix formatting

* refactor: fix benchmark tests

* refactor: avoid processing deps if rendered HTML contains no components

* refactor: remove comments

* refactor: rename "raw" to "ignore"
2025-05-06 21:36:41 +02:00
github-actions[bot]
1049c08324
Merge pull request #1167 from django-components/dependabot/pip/charset-normalizer-3.4.2
build(deps): bump charset-normalizer from 3.4.1 to 3.4.2
2025-05-06 13:11:30 +02:00
Juro Oravec
ca4e7f7f8b refactor: pin virtualenv to v20.30 to fix asv 2025-05-06 10:09:32 +00:00
dependabot[bot]
b13f859d7b
build(deps): bump charset-normalizer from 3.4.1 to 3.4.2
Bumps [charset-normalizer](https://github.com/jawah/charset_normalizer) from 3.4.1 to 3.4.2.
- [Release notes](https://github.com/jawah/charset_normalizer/releases)
- [Changelog](https://github.com/jawah/charset_normalizer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jawah/charset_normalizer/compare/3.4.1...3.4.2)

---
updated-dependencies:
- dependency-name: charset-normalizer
  dependency-version: 3.4.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-05 18:07:36 +00:00
Juro Oravec
330578a2c7
refactor: update impl of format_url (#1163) 2025-05-04 12:24:04 +02:00
Juro Oravec
d4d834256a
refactor: rename context_data field to template_data (#1162) 2025-05-04 01:49:54 +02:00
Juro Oravec
28b61c1609
refactor: Update docs and tests to use get_template_data() (#1161)
* refactor: update docs and tests to use get_template_data()

* refactor: fix linting

* docs: add note about difference between the two methods
2025-05-03 12:04:10 +02:00
Juro Oravec
c69980493d
feat: allow to set query and fragment on get_component_url (#1160) 2025-05-03 10:29:38 +02:00
Juro Oravec
bf7a204e92
feat: add "simple", "prepend", and "append" render types (#1156)
* feat: add "simple", "prepend", and "append" render types

* refactor: explicitly set strategy for "document" in tests
2025-05-02 15:07:16 +02:00
github-actions[bot]
e74e1241ac
Merge pull request #1158 from django-components/dependabot/github_actions/actions/create-github-app-token-2
build(deps): bump actions/create-github-app-token from 1 to 2
2025-05-01 20:54:55 +02:00
dependabot[bot]
76a888aa11
build(deps): bump actions/create-github-app-token from 1 to 2
Bumps [actions/create-github-app-token](https://github.com/actions/create-github-app-token) from 1 to 2.
- [Release notes](https://github.com/actions/create-github-app-token/releases)
- [Commits](https://github.com/actions/create-github-app-token/compare/v1...v2)

---
updated-dependencies:
- dependency-name: actions/create-github-app-token
  dependency-version: '2'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-01 17:31:27 +00:00
github-actions[bot]
bb9e8e0bad
Merge pull request #1155 from django-components/dependabot/pip/mypy-extensions-1.1.0
build(deps): bump mypy-extensions from 1.0.0 to 1.1.0
2025-04-28 21:21:52 +00:00
Juro Oravec
95e5df9d3c
Merge branch 'master' into dependabot/pip/mypy-extensions-1.1.0 2025-04-28 23:15:27 +02:00
dependabot[bot]
c5c7b7a52c
build(deps): bump mypy-extensions from 1.0.0 to 1.1.0
Bumps [mypy-extensions](https://github.com/python/mypy_extensions) from 1.0.0 to 1.1.0.
- [Commits](https://github.com/python/mypy_extensions/compare/1.0.0...1.1.0)

---
updated-dependencies:
- dependency-name: mypy-extensions
  dependency-version: 1.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-28 18:48:11 +00:00
dependabot[bot]
3eb148754a
build(deps): bump pymdown-extensions from 10.14.3 to 10.15 (#1151)
Bumps [pymdown-extensions](https://github.com/facelessuser/pymdown-extensions) from 10.14.3 to 10.15.
- [Release notes](https://github.com/facelessuser/pymdown-extensions/releases)
- [Commits](https://github.com/facelessuser/pymdown-extensions/compare/10.14.3...10.15)

---
updated-dependencies:
- dependency-name: pymdown-extensions
  dependency-version: '10.15'
  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>
2025-04-28 20:15:37 +02:00
dependabot[bot]
b8dbf89612
build(deps): bump importlib-metadata from 8.6.1 to 8.7.0 (#1150)
Bumps [importlib-metadata](https://github.com/python/importlib_metadata) from 8.6.1 to 8.7.0.
- [Release notes](https://github.com/python/importlib_metadata/releases)
- [Changelog](https://github.com/python/importlib_metadata/blob/main/NEWS.rst)
- [Commits](https://github.com/python/importlib_metadata/compare/v8.6.1...v8.7.0)

---
updated-dependencies:
- dependency-name: importlib-metadata
  dependency-version: 8.7.0
  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>
2025-04-28 20:15:08 +02:00
dependabot[bot]
d33a1b87aa
build(deps): bump certifi from 2025.1.31 to 2025.4.26 (#1153)
Bumps [certifi](https://github.com/certifi/python-certifi) from 2025.1.31 to 2025.4.26.
- [Commits](https://github.com/certifi/python-certifi/compare/2025.01.31...2025.04.26)

---
updated-dependencies:
- dependency-name: certifi
  dependency-version: 2025.4.26
  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>
2025-04-28 20:14:42 +02:00
dependabot[bot]
456e011f9b
build(deps): bump mkdocs-git-authors-plugin from 0.9.4 to 0.9.5 (#1154)
Bumps [mkdocs-git-authors-plugin](https://github.com/timvink/mkdocs-git-authors-plugin) from 0.9.4 to 0.9.5.
- [Release notes](https://github.com/timvink/mkdocs-git-authors-plugin/releases)
- [Commits](https://github.com/timvink/mkdocs-git-authors-plugin/compare/v0.9.4...v0.9.5)

---
updated-dependencies:
- dependency-name: mkdocs-git-authors-plugin
  dependency-version: 0.9.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-28 20:14:15 +02:00
github-actions[bot]
6a452b285e
Merge pull request #1152 from django-components/dependabot/pip/griffe-1.7.3
build(deps): bump griffe from 1.7.2 to 1.7.3
2025-04-28 20:08:33 +02:00
dependabot[bot]
7b15ea9ea8
build(deps): bump griffe from 1.7.2 to 1.7.3
Bumps [griffe](https://github.com/mkdocstrings/griffe) from 1.7.2 to 1.7.3.
- [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.2...1.7.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-28 17:54:33 +00:00
Juro Oravec
59f82307ae
docs: docstrings, fundamentals, and minor changes (#1145)
* docs: docstrings, fundamentals, and minor changes

* refactor: fix tests + linter errors
2025-04-24 12:47:04 +02:00
Ralph Bibera
89db10a643
fixed README Quickstart file extension typo (#1146) 2025-04-24 09:21:08 +02:00
github-actions[bot]
5704bc86a1
Merge pull request #1142 from django-components/dependabot/pip/mkdocs-material-9.6.12
build(deps): bump mkdocs-material from 9.6.11 to 9.6.12
2025-04-22 07:16:11 +00:00
Juro Oravec
a5a93e9bbb
Merge branch 'master' into dependabot/pip/mkdocs-material-9.6.12 2025-04-22 09:08:07 +02:00
github-actions[bot]
a368786267
Merge pull request #1143 from django-components/dependabot/pip/packaging-25.0
build(deps): bump packaging from 24.2 to 25.0
2025-04-21 21:23:09 +00:00
Juro Oravec
dbe8dc074d
Merge branch 'master' into dependabot/pip/mkdocs-material-9.6.12 2025-04-21 23:13:16 +02:00
Juro Oravec
2b69980845
Merge branch 'master' into dependabot/pip/packaging-25.0 2025-04-21 23:12:57 +02:00
Juro Oravec
519529d4e4
refactor: move Url.public to View.public (#1140)
* refactor: move Url.public to View.public

* refactor: fix tests / imports
2025-04-21 23:12:40 +02:00
dependabot[bot]
c8002d241a
build(deps): bump packaging from 24.2 to 25.0
Bumps [packaging](https://github.com/pypa/packaging) from 24.2 to 25.0.
- [Release notes](https://github.com/pypa/packaging/releases)
- [Changelog](https://github.com/pypa/packaging/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pypa/packaging/compare/24.2...25.0)

---
updated-dependencies:
- dependency-name: packaging
  dependency-version: '25.0'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-21 18:00:44 +00:00
dependabot[bot]
b949e4a6ec
build(deps): bump mkdocs-material from 9.6.11 to 9.6.12
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.6.11 to 9.6.12.
- [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.11...9.6.12)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-21 18:00:19 +00:00
Juro Oravec
b49002b545
refactor: change component typing from generics to class attributes (#1138) 2025-04-20 22:05:29 +02:00
components-release-bot
912d8e8074 Add benchmark results for 0.139.1 2025-04-20 10:07:16 +00:00
Juro Oravec
4c90948606
chore: bump v0.139.1 (#1139) 2025-04-20 11:58:12 +02:00
Oliver Haas
e0b718c314
test: test to illustrate bug in component caching when using include tag (#1135)
* test: test to illustrate bug in component caching when using include tag

* fix: add cleanup for render context in component rendering

* refactor: clarify cleanup comment in component rendering logic

* refactor: fix linter errors

* test: formatting and unnecessary test setup

---------

Co-authored-by: Juro Oravec <juraj.oravec.josefson@gmail.com>
2025-04-20 11:53:06 +02:00
Juro Oravec
eed15d32ab
Update tests.yml (#1137) 2025-04-20 00:02:28 +02:00
dependabot[bot]
68ede4f662
build(deps): bump pillow from 11.1.0 to 11.2.1 (#1129)
Bumps [pillow](https://github.com/python-pillow/Pillow) from 11.1.0 to 11.2.1.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/11.1.0...11.2.1)

---
updated-dependencies:
- dependency-name: pillow
  dependency-version: 11.2.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>
2025-04-14 20:40:43 +02:00
dependabot[bot]
bd1a4fd65d
build(deps): bump typing-extensions from 4.12.2 to 4.13.2 (#1131)
Bumps [typing-extensions](https://github.com/python/typing_extensions) from 4.12.2 to 4.13.2.
- [Release notes](https://github.com/python/typing_extensions/releases)
- [Changelog](https://github.com/python/typing_extensions/blob/main/CHANGELOG.md)
- [Commits](https://github.com/python/typing_extensions/compare/4.12.2...4.13.2)

---
updated-dependencies:
- dependency-name: typing-extensions
  dependency-version: 4.13.2
  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>
2025-04-14 20:39:46 +02:00
github-actions[bot]
56846c5fc4
Merge pull request #1128 from django-components/dependabot/pip/markdown-3.8
build(deps): bump markdown from 3.7 to 3.8
2025-04-14 18:35:38 +00:00