Skip to content

Release/0.3.0 - #71

Merged
2ik merged 5 commits into
devfrom
release/0.3.0
Jul 6, 2026
Merged

2ik merged 5 commits into
devfrom
release/0.3.0

Conversation

@2ik

@2ik 2ik commented Jul 6, 2026

Copy link
Copy Markdown
Owner

No description provided.

Ilya Kotlyakov added 4 commits July 5, 2026 02:03
…t, tests

- Update Editor.js from 2.25.0 to 2.31.6, fix @editorjs/list export (EditorjsList)
- Dark theme: support Django admin data-theme toggle and prefers-color-scheme
- JS: modernize widget script (const/let, remove eval), fix formset:added for Django 3.1–6.x
- Storage: fallback from storages["default"] to default_storage (Django 4.2–6.x)
- Replace pylint+autopep8 with ruff
- Add pytest suite (58 tests) covering fields, widgets, views, utils, templatetags
- CI: GitHub Actions matrix (Python 3.8–3.13 × Django 3.2–6.0) + tox
- Bump python min to ^3.8, add Python 3.13 classifier
- Add Makefile for common dev commands
Handle { default: Constructor } pattern used by webpack-built plugins
like @calumk/editorjs-columns. Also add columns to example model.
@2ik
2ik force-pushed the release/0.3.0 branch 6 times, most recently from 3b8f664 to 47c2666 Compare July 6, 2026 16:31
- Fix EMBED_HOSTNAME_ALLOWED wrapped in str() breaking embed validation
- Remove duplicate player.twitch.tv in allowed hostnames
- Fix KeyError in validate_embed when data/embed keys are missing
- Fix AttributeError in generate_link when image is null
- Fix class="None" rendered in quote blocks without alignment
- Fix IMAGE_NAME_ORIGINAL identity check (is False -> not)
- Add cached_property fallback for Django 3.1 compatibility
- Add timeout to urlopen in LinkToolView
- Handle invalid JSON in ImageByUrl without 500 error
- Fix JS TDZ race condition with editor variable
- Remove dead commented-out delete method and unused import
- Support dict-style list items (Editor.js @editorjs/list 2.x)
- Rewrite and optimize test suite (64 -> 73 tests)
@2ik
2ik force-pushed the release/0.3.0 branch from 47c2666 to 65d4bd3 Compare July 6, 2026 16:40
@2ik
2ik merged commit 8a2fa85 into dev Jul 6, 2026
8 checks passed
2ik added a commit that referenced this pull request Jul 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant