Commit graph

108 commits

Author SHA1 Message Date
Juro Oravec
7f819b5f08
refactor: replace hatch with pip (#1347) 2025-09-14 16:20:49 +02:00
Juro Oravec
b770f83aa9
chore: bump v0.141.5 (#1373) 2025-09-10 22:35:28 +02:00
Juro Oravec
f100cc1836
refactor: replace isort, black and flake8 with ruff (#1346)
Some checks are pending
Docs - build & deploy / docs (push) Waiting to run
Run tests / build (ubuntu-latest, 3.10) (push) Waiting to run
Run tests / build (ubuntu-latest, 3.11) (push) Waiting to run
Run tests / build (ubuntu-latest, 3.12) (push) Waiting to run
Run tests / build (ubuntu-latest, 3.13) (push) Waiting to run
Run tests / build (ubuntu-latest, 3.8) (push) Waiting to run
Run tests / test_sampleproject (3.13) (push) Waiting to run
Run tests / build (ubuntu-latest, 3.9) (push) Waiting to run
Run tests / build (windows-latest, 3.10) (push) Waiting to run
Run tests / build (windows-latest, 3.11) (push) Waiting to run
Run tests / build (windows-latest, 3.12) (push) Waiting to run
Run tests / build (windows-latest, 3.13) (push) Waiting to run
Run tests / build (windows-latest, 3.8) (push) Waiting to run
Run tests / build (windows-latest, 3.9) (push) Waiting to run
Run tests / test_docs (3.13) (push) Waiting to run
2025-09-10 14:06:53 +02:00
Juro Oravec
9be4124339
fix: fix compat with extends and includes (#1344) 2025-08-15 10:42:25 +02:00
Juro Oravec
9c429d21f6
chore: bump v0.141.3 (#1341) 2025-08-14 11:42:01 +02:00
Juro Oravec
81c0d419b4
fix: Fix bug where JS and CSS were missing when {% component %} tag was inside {% include %} tag (#1300)
* fix: Fix bug where JS and CSS were missing when `{% component %}` tag was inside `{% include %}` tag

* refactor: fix mypy error
2025-07-20 23:42:59 +02:00
Juro Oravec
c692b7a310
refactor: Fix #1277 + Cache components' JS/CSS scripts at class creation (#1283)
* refactor: Cache components' JS and CSS scripts at class creation time

* refactor: add test for no template_rendered signal for component with no template
2025-07-03 12:27:21 +02:00
Juro Oravec
06c89cf9e8
chore: bump v0.141.0 (#1253) 2025-06-10 11:12:49 +02:00
Juro Oravec
7b24b86f4a
Update pyproject.toml (#1237)
* Update pyproject.toml

* chore: bump v0.140.1
2025-06-05 00:35:21 +02:00
Juro Oravec
593c66db7f
chore: bump v0.140 (#1234) 2025-06-04 23:41:34 +02:00
Juro Oravec
4c90948606
chore: bump v0.139.1 (#1139) 2025-04-20 11:58:12 +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
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
07f747d705
refactor: fix - allow components with Url.public to be defined before django.setup() (#1112) 2025-04-09 18:31:07 +02:00
Juro Oravec
1319a95627
chore: bump v0.137 (#1111) 2025-04-09 15:09:26 +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
Juro Oravec
fdd29baa65
chore: bump v0.136 (#1087) 2025-04-05 09:10:55 +02:00
Juro Oravec
a6455d70f6
chore: bump v0.135 (#1076) 2025-03-31 16:10:42 +02:00
Juro Oravec
42818ad6ff
refactor: fix component media URLs (#1067)
* refactor: fix component media URLs

* refactor: remove extraneous check and fix tests

* chore: bump v0.134
2025-03-23 22:32:18 +01:00
Juro Oravec
2472c2ad33
refactor: fix use of URLs in Component.Media (#1064) 2025-03-23 09:54:24 +01:00
Juro Oravec
2037ed20b7
chore: bump v0.132 (#1060) 2025-03-22 13:11:45 +01:00
Juro Oravec
30f3739499
build: add support for py3.13 windows (#1055) 2025-03-22 13:09:58 +01:00
Juro Oravec
c034b7da65
chore: bump v0.131 (#1042)
* Update pyproject.toml

* docs: update changelog and rename "start" command to "create"
2025-03-19 09:57:26 +01:00
Juro Oravec
0f41a62592
feat: add a command to list all components (#1041)
* feat: add a command to list all components

* refactor: fix tests

* refactor: fix linter errors

* refactor: fix the tests for tests running within tox

* temp: print out test outputs

* refactor: fix tests for windows

* refactor: remove escape from slash?

* refactor: fixes to regex

* refactor: remove print statements

* docs: update API reference
2025-03-19 09:38:25 +01:00
Juro Oravec
7dfcb447c4
feat: add decorator for writing component tests (#1008)
* feat: add decorator for writing component tests

* refactor: udpate changelog + update deps pins

* refactor: fix deps

* refactor: make cached_ref into generic and fix linter errors

* refactor: fix coverage testing

* refactor: use global var instead of env var for is_testing state
2025-03-02 19:46:12 +01:00
Juro Oravec
d5e45125dc
refactor: use .nav.yml to define page order instead of nav weights (#1000) 2025-02-23 22:44:12 +01:00
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
691443a0a8
chore: bump v0.129 (#981) 2025-02-16 21:12:14 +01:00
Juro Oravec
af179f3a1f
chore: bump v0.128 (#953) 2025-02-04 10:32:21 +01:00
Juro Oravec
e105500350
chore: bump v0.127 (#939) 2025-02-01 11:14:07 +01:00
Juro Oravec
3d187d7aba
chore: bump v0.126 (#933) 2025-01-29 14:34:40 +01:00
Juro Oravec
b69c6e6624
feat: replacepython html parser djc-core-html-parser (#929)
Co-authored-by: Emil Stenström <emil@emilstenstrom.se>
2025-01-29 14:24:25 +01:00
Juro Oravec
0b65761fce
refactor: replace bs4 and perf optimizations (#927) 2025-01-24 10:30:41 +01:00
Juro Oravec
914576e681
chore: bump v0.125 (#925) 2025-01-22 16:09:05 +01:00
Juro Oravec
92f5497c74
refactor: change repo name and URL after org migration (#924) 2025-01-22 16:02:46 +01:00
Juro Oravec
3bbd4326e6
chore: bump v0.124 (#893) 2025-01-07 23:01:55 +01:00
Emil Stenström
9b611f78fc
Merge branch 'master' into docs-remove-wip 2024-12-30 23:12:21 +01:00
Juro Oravec
c76f8198dd
chore: bump v0.123 (#863) 2024-12-23 13:09:46 +01:00
Juro Oravec
6bb73bd8af
chore: bump v0.122 (#860) 2024-12-19 10:26:06 +01:00
Juro Oravec
ca3a247bb3
Merge branch 'master' into docs-remove-wip 2024-12-17 20:42:22 +01:00
Juro Oravec
6681fc0085
chore: bump v0.121 (#858) 2024-12-17 20:36:27 +01:00
Juro Oravec
f768a3cf55 docs: more work in progress comments 2024-12-16 14:36:18 +01:00
Juro Oravec
6813c9d7aa
chore: bump v0.120 (#850) 2024-12-15 07:45:22 +01:00
Juro Oravec
aaeba99f54
chore: bump v0.119 (#846) 2024-12-13 10:02:01 +01:00
Juro Oravec
a5659691d0
chore: bump v0.118 (#843) 2024-12-10 13:44:14 +01:00
Juro Oravec
2f14e8e090
chore: bump v0.117 (#832)
* chore: bump v0.117

* refactor: update changelog
2024-12-08 09:02:33 +01:00
Juro Oravec
1cd545b986
refactor: replace selectolax with beautifulsoup (#823)
* refactor: replace selectolax with beautifulsoup

* refactor: add tests for html parser impl

* refactor: add missing import

* refactor: fix tests

* refactor: fix linter issues

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-12-08 08:42:48 +01:00