Juro Oravec
f36581ed86
feat: benchmarking ( #999 )
...
* feat: add benchmarking dashboard, CI hook on PR, and store lifetime results
* refactor: change python env to 3.13 in benchmarks
* refactor: add verbosity, use 3.11 for benchmarking
* fix: OSError: [Errno 7] Argument list too long
* refactor: add debug statements
* refactor: remove extraneous -e
* refactor: fix tests and linter errors
* fix: track main package in coverage
* refactor: fix test coverage testing
* refactor: fix repo owner name in benchmark on pushing comment
* refactor: add asv monkeypatch to docs workflow
* refactor: temporarily allow building docs in forks
* refactor: use py 3.13 for benchmarking
* refactor: run only a single benchmark for PRs to speed them up
* refactor: install asv in the docs build workflow
* refactor: use hatch docs env to generate benhcmarks in docs CI
* refactor: more trying
* refactor: move tests
* Add benchmark results for 0.137
* Trigger Build
* Add benchmark results for 0.138
* refactor: set constant machine name when benchmarking
* Add benchmark results for 0.139
* refactor: fix issue with paths too long
* Add benchmark results for 0.140
* docs: update comment
* refactor: remove test benchmarking data
* refactor: fix comment
* refactor: allow the benchmark workflow to write to PRs
* refactor: use personal access token to set up the PR benchmark bot
* refactor: split the benchmark PR flow into two to make it work with PRs from forks
* refactor: update deprecated actions/upload-artifact@v3 to v4
* refactor: fix missing directory in benchmarking workflow
* refactor: fix triggering of second workflow
* refactor: fix workflow finally?
* docs: add comments to cut-offs and direct people to benchmarks PR
---------
Co-authored-by: github-actions <github-actions@github.com>
2025-02-23 16:18:57 +01:00
Juro Oravec
dcd4203eea
refactor: fix missing docs dependencies ( #994 )
2025-02-20 12:24:34 +01:00
Juro Oravec
0adf8fa7db
chore: bump v0.130 ( #993 )
2025-02-20 11:48:48 +01:00
Juro Oravec
314ec77d3d
docs: Syntax highlighting for mkdocs ( #984 )
...
* feat:forward context processors variables in context in ISOLATED mode
provide context_processors_data property to Component to access those variables in Component
* refactor: internalize RequestContext and pass HttpRequest internally
* docs: document HttpRequest and context processors
* docs: use djc_py code blocks for component definitions
---------
Co-authored-by: Lilian Durey <dureylilian@gmail.com>
2025-02-20 11:47:14 +01:00
github-actions[bot]
1f7e28db22
Merge pull request #991 from django-components/dependabot/pip/mkdocstrings-python-1.16.1
...
build(deps): bump mkdocstrings-python from 1.13.0 to 1.16.1
2025-02-20 10:35:38 +00:00
Juro Oravec
77a9099235
refactor: fix mkdocs Django docs definition
2025-02-20 10:31:13 +00:00
dependabot[bot]
9a1644f293
build(deps): bump mkdocstrings-python from 1.13.0 to 1.16.1
...
Bumps [mkdocstrings-python](https://github.com/mkdocstrings/python ) from 1.13.0 to 1.16.1.
- [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.13.0...1.16.1 )
---
updated-dependencies:
- dependency-name: mkdocstrings-python
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-02-20 10:14:32 +00:00
github-actions[bot]
e75d613461
Merge pull request #987 from django-components/dependabot/pip/mkdocs-material-9.6.4
...
build(deps): bump mkdocs-material from 9.6.3 to 9.6.4
2025-02-20 10:13:13 +00:00
Juro Oravec
bb3b53239d
Merge branch 'master' into dependabot/pip/mkdocs-material-9.6.4
2025-02-20 11:07:11 +01:00
lilian D
8b5579d2be
feat:forward context processors variables in context in ISOLATED mode ( #975 )
...
* feat:forward context processors variables in context in ISOLATED mode
provide context_processors_data property to Component to access those variables in Component
* refactor: internalize RequestContext and pass HttpRequest internally
* docs: document HttpRequest and context processors
---------
Co-authored-by: Juro Oravec <juraj.oravec.josefson@gmail.com>
2025-02-20 11:06:49 +01:00
Juro Oravec
471760e569
Merge branch 'master' into dependabot/pip/mkdocs-material-9.6.4
2025-02-20 11:05:59 +01:00
github-actions[bot]
5535f3bad8
Merge pull request #988 from django-components/dependabot/pip/mypy-1.15.0
...
build(deps-dev): bump mypy from 1.14.1 to 1.15.0
2025-02-17 18:22:20 +00:00
dependabot[bot]
bd2610ca5b
build(deps-dev): bump mypy from 1.14.1 to 1.15.0
...
Bumps [mypy](https://github.com/python/mypy ) from 1.14.1 to 1.15.0.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md )
- [Commits](https://github.com/python/mypy/compare/v1.14.1...v1.15.0 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-02-17 18:15:18 +00:00
github-actions[bot]
ad3c4643c5
Merge pull request #986 from django-components/dependabot/pip/mkdocs-autorefs-1.3.1
...
build(deps): bump mkdocs-autorefs from 1.3.0 to 1.3.1
2025-02-17 18:13:33 +00:00
dependabot[bot]
c2fb77f715
build(deps): bump mkdocs-material from 9.6.3 to 9.6.4
...
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material ) from 9.6.3 to 9.6.4.
- [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.3...9.6.4 )
---
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-02-17 18:07:28 +00:00
dependabot[bot]
e9e6bdf243
build(deps): bump mkdocs-autorefs from 1.3.0 to 1.3.1
...
Bumps [mkdocs-autorefs](https://github.com/mkdocstrings/autorefs ) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/mkdocstrings/autorefs/releases )
- [Changelog](https://github.com/mkdocstrings/autorefs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/mkdocstrings/autorefs/compare/1.3.0...1.3.1 )
---
updated-dependencies:
- dependency-name: mkdocs-autorefs
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-02-17 18:07:04 +00:00
github-actions[bot]
e21538d3de
Merge pull request #985 from django-components/dependabot/pip/mkdocstrings-0.28.1
...
build(deps): bump mkdocstrings from 0.28.0 to 0.28.1
2025-02-17 18:05:51 +00:00
dependabot[bot]
4e365c826f
build(deps): bump mkdocstrings from 0.28.0 to 0.28.1
...
Bumps [mkdocstrings](https://github.com/mkdocstrings/mkdocstrings ) from 0.28.0 to 0.28.1.
- [Release notes](https://github.com/mkdocstrings/mkdocstrings/releases )
- [Changelog](https://github.com/mkdocstrings/mkdocstrings/blob/main/CHANGELOG.md )
- [Commits](https://github.com/mkdocstrings/mkdocstrings/compare/0.28.0...0.28.1 )
---
updated-dependencies:
- dependency-name: mkdocstrings
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-02-17 18:01:26 +00:00
Juro Oravec
691443a0a8
chore: bump v0.129 ( #981 )
2025-02-16 21:12:14 +01:00
Juro Oravec
fdfdc72ed2
refactor: fix error when template cache is set to 0 ( #980 )
2025-02-16 21:06:33 +01:00
lilian D
58d4c78671
Bug : Relative path in extends
and include
does not work when using template_file ( #976 )
...
Co-authored-by: Juro Oravec <juraj.oravec.josefson@gmail.com>
2025-02-16 13:29:37 +01:00
Oliver Haas
3cf586a974
fix: thread unsafe media resolve validation by moving it to ComponentMedia __post_init ( #979 )
2025-02-15 22:42:38 +01:00
github-actions[bot]
8f9d675097
Merge pull request #970 from django-components/dependabot/npm_and_yarn/src/django_components_js/esbuild-0.25.0
...
build(deps-dev): bump esbuild from 0.23.1 to 0.25.0 in /src/django_components_js
2025-02-12 10:32:27 +00:00
dependabot[bot]
5d01f203ab
build(deps-dev): bump esbuild in /src/django_components_js
...
Bumps [esbuild](https://github.com/evanw/esbuild ) from 0.23.1 to 0.25.0.
- [Release notes](https://github.com/evanw/esbuild/releases )
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG-2024.md )
- [Commits](https://github.com/evanw/esbuild/compare/v0.23.1...v0.25.0 )
---
updated-dependencies:
- dependency-name: esbuild
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-02-12 10:26:31 +00:00
Juro Oravec
eb3f72ee0d
refactor: fix bug with complex slots and "django" mode + add docs on debugging with AI agents ( #956 )
2025-02-11 10:57:37 +01:00
github-actions[bot]
be4d744d64
Merge pull request #962 from django-components/dependabot/pip/black-25.1.0
...
build(deps): bump black from 24.10.0 to 25.1.0
2025-02-10 17:56:57 +00:00
dependabot[bot]
33130c749e
build(deps): bump black from 24.10.0 to 25.1.0
...
Bumps [black](https://github.com/psf/black ) from 24.10.0 to 25.1.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.10.0...25.1.0 )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-02-10 17:50:50 +00:00
github-actions[bot]
137e36e96d
Merge pull request #963 from django-components/dependabot/pip/pymdown-extensions-10.14.3
...
build(deps): bump pymdown-extensions from 10.14.1 to 10.14.3
2025-02-10 17:49:25 +00:00
dependabot[bot]
b76d8b36c0
build(deps): bump pymdown-extensions from 10.14.1 to 10.14.3
...
Bumps [pymdown-extensions](https://github.com/facelessuser/pymdown-extensions ) from 10.14.1 to 10.14.3.
- [Release notes](https://github.com/facelessuser/pymdown-extensions/releases )
- [Commits](https://github.com/facelessuser/pymdown-extensions/compare/10.14.1...10.14.3 )
---
updated-dependencies:
- dependency-name: pymdown-extensions
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-02-10 17:43:56 +00:00
github-actions[bot]
e243050eff
Merge pull request #964 from django-components/dependabot/pip/mkdocs-material-9.6.3
...
build(deps): bump mkdocs-material from 9.6.2 to 9.6.3
2025-02-10 17:42:46 +00:00
dependabot[bot]
cf336e1a04
build(deps): bump mkdocs-material from 9.6.2 to 9.6.3
...
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material ) from 9.6.2 to 9.6.3.
- [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.2...9.6.3 )
---
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-02-10 17:34:43 +00:00
github-actions[bot]
e1881e5af7
Merge pull request #961 from django-components/dependabot/pip/mkdocs-include-markdown-plugin-7.1.4
...
build(deps): bump mkdocs-include-markdown-plugin from 7.1.2 to 7.1.4
2025-02-10 17:33:23 +00:00
dependabot[bot]
f15892b9e8
build(deps): bump mkdocs-include-markdown-plugin from 7.1.2 to 7.1.4
...
Bumps [mkdocs-include-markdown-plugin](https://github.com/mondeja/mkdocs-include-markdown-plugin ) from 7.1.2 to 7.1.4.
- [Release notes](https://github.com/mondeja/mkdocs-include-markdown-plugin/releases )
- [Commits](https://github.com/mondeja/mkdocs-include-markdown-plugin/compare/v7.1.2...v7.1.4 )
---
updated-dependencies:
- dependency-name: mkdocs-include-markdown-plugin
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-02-10 17:27:43 +00:00
Juro Oravec
de99abf6bf
refactor: udpate formatting and wording for the "devguides" docs ( #960 )
2025-02-09 16:04:46 +01:00
Bernat Frangi
fe128053c9
Update indenting typo in slots_and_blocks.md
( #959 )
2025-02-09 15:29:18 +01:00
Juro Oravec
61515b3454
docs: update CHANGELOG for v0.128 ( #954 )
2025-02-04 10:52:35 +01:00
Juro Oravec
af179f3a1f
chore: bump v0.128 ( #953 )
2025-02-04 10:32:21 +01:00
Juro Oravec
48bae51ab9
feat: allow to configure media cache (for JS and CSS files) ( #946 )
2025-02-03 21:24:26 +01:00
github-actions[bot]
bb61ff42eb
Merge pull request #952 from django-components/dependabot/pip/mkdocs-material-9.6.2
...
build(deps): bump mkdocs-material from 9.5.50 to 9.6.2
2025-02-03 18:19:19 +00:00
dependabot[bot]
9f92419737
build(deps): bump mkdocs-material from 9.5.50 to 9.6.2
...
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material ) from 9.5.50 to 9.6.2.
- [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.5.50...9.6.2 )
---
updated-dependencies:
- dependency-name: mkdocs-material
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-02-03 18:14:37 +00:00
github-actions[bot]
2767655a89
Merge pull request #949 from django-components/dependabot/pip/pytz-2025.1
...
build(deps): bump pytz from 2024.2 to 2025.1
2025-02-03 18:13:30 +00:00
dependabot[bot]
57ec784df0
build(deps): bump pytz from 2024.2 to 2025.1
...
Bumps [pytz](https://github.com/stub42/pytz ) from 2024.2 to 2025.1.
- [Release notes](https://github.com/stub42/pytz/releases )
- [Commits](https://github.com/stub42/pytz/compare/release_2024.2...release_2025.1 )
---
updated-dependencies:
- dependency-name: pytz
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-02-03 18:07:44 +00:00
github-actions[bot]
60fc86386e
Merge pull request #950 from django-components/dependabot/pip/mkdocstrings-0.28.0
...
build(deps): bump mkdocstrings from 0.27.0 to 0.28.0
2025-02-03 18:06:38 +00:00
dependabot[bot]
444f2dceb5
build(deps): bump mkdocstrings from 0.27.0 to 0.28.0
...
Bumps [mkdocstrings](https://github.com/mkdocstrings/mkdocstrings ) from 0.27.0 to 0.28.0.
- [Release notes](https://github.com/mkdocstrings/mkdocstrings/releases )
- [Changelog](https://github.com/mkdocstrings/mkdocstrings/blob/main/CHANGELOG.md )
- [Commits](https://github.com/mkdocstrings/mkdocstrings/compare/0.27.0...0.28.0 )
---
updated-dependencies:
- dependency-name: mkdocstrings
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-02-03 18:01:00 +00:00
github-actions[bot]
5d9f0ddf91
Merge pull request #951 from django-components/dependabot/pip/certifi-2025.1.31
...
build(deps): bump certifi from 2024.12.14 to 2025.1.31
2025-02-03 17:59:55 +00:00
dependabot[bot]
f4820c09f6
build(deps): bump certifi from 2024.12.14 to 2025.1.31
...
Bumps [certifi](https://github.com/certifi/python-certifi ) from 2024.12.14 to 2025.1.31.
- [Commits](https://github.com/certifi/python-certifi/compare/2024.12.14...2025.01.31 )
---
updated-dependencies:
- dependency-name: certifi
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-02-03 17:51:47 +00:00
github-actions[bot]
d55dfaf817
Merge pull request #948 from django-components/dependabot/pip/griffe-1.5.6
...
build(deps): bump griffe from 1.5.5 to 1.5.6
2025-02-03 17:50:26 +00:00
dependabot[bot]
1b3b514b29
build(deps): bump griffe from 1.5.5 to 1.5.6
...
Bumps [griffe](https://github.com/mkdocstrings/griffe ) from 1.5.5 to 1.5.6.
- [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.5.5...1.5.6 )
---
updated-dependencies:
- dependency-name: griffe
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-02-03 17:43:47 +00:00
github-actions[bot]
e469cb362e
Merge pull request #947 from django-components/dependabot/pip/isort-6.0.0
...
build(deps-dev): bump isort from 5.13.2 to 6.0.0
2025-02-03 17:42:36 +00:00
dependabot[bot]
3d9d43639c
build(deps-dev): bump isort from 5.13.2 to 6.0.0
...
Bumps [isort](https://github.com/pycqa/isort ) from 5.13.2 to 6.0.0.
- [Release notes](https://github.com/pycqa/isort/releases )
- [Changelog](https://github.com/PyCQA/isort/blob/main/CHANGELOG.md )
- [Commits](https://github.com/pycqa/isort/compare/5.13.2...6.0.0 )
---
updated-dependencies:
- dependency-name: isort
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-02-03 17:37:15 +00:00