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
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