Releases: django-commons/django-unicorn
Releases · django-commons/django-unicorn
Release list
0.67.0
What's Changed
- component fixes by @JohananOppongAmoateng in #803
- form bugs by @JohananOppongAmoateng in #807
- Fix: Support LoginRequiredMiddleware on public Unicorn components by @JohananOppongAmoateng in #794
- Tighten up security by @adamghill in #820
Full Changelog: 0.66.1...0.67.0
0.66.1
0.66.0
What's Changed
- Improve Installation Tutorial and Add Pagination Documentation by @JohananOppongAmoateng in #778
- docs: Add warning about unpicklable objects in components by @JohananOppongAmoateng in #782
- Document how to call a method on another component by @JohananOppongAmoateng in #788
- Fix ValueError when deserializing ForeignKey fields on models loaded … by @JohananOppongAmoateng in #780
- Fix: Include child component JavaScript calls in response by @JohananOppongAmoateng in #774
- Remove a Component by @JohananOppongAmoateng in #799
- Fix: Trigger loading states for actions called via Unicorn.call() by @JohananOppongAmoateng in #798
- feat: Implement popstate support for history navigation by @JohananOppongAmoateng in #790
- docs: clarify Unicorn can be adopted incrementally by @JohananOppongAmoateng in #793
- docs: Add guide on table structure limitations by @JohananOppongAmoateng in #786
- fix: restore float values in nested tuple[dict] fields by @JohananOppongAmoateng in #789
- Fix: u:loading on child elements no longer disables parent u:click by @JohananOppongAmoateng in #783
- Implemented a timestamp-based (epoch) tracking mechanism to identify and discard stale responses on the frontend. by @JohananOppongAmoateng in #781
- Consolidate
checksum,hash,epochtometaby @adamghill in #800 - fix js by @JohananOppongAmoateng in #801
- fix js test by @JohananOppongAmoateng in #806
- Implement script tag loading from newly added child components by @JohananOppongAmoateng in #802
- fix: surface broken import errors when loading components by @JohananOppongAmoateng in #805
- add signals for lifecycle hooks by @JohananOppongAmoateng in #804
- fix linting by @JohananOppongAmoateng in #809
- Bump rollup from 4.55.1 to 4.59.0 by @dependabot[bot] in #813
- Bump minimatch by @dependabot[bot] in #812
New Contributors
- @dependabot[bot] made their first contribution in #813
Full Changelog: 0.65.2...0.66.0
0.65.2
0.65.0
What's Changed
- upgrading django version by @JohananOppongAmoateng in #763
- Fix IndexError in custom setter with empty value by @JohananOppongAmoateng in #761
- fix(js): ensure
queueMessagecorrectly debounces by managing timer … by @JohananOppongAmoateng in #764 - fixed the issue where unicorn:poll was overwriting M2M changes by @JohananOppongAmoateng in #769
- feat: Support returning HttpResponse and redirects from mount() by @JohananOppongAmoateng in #767
- feat: Auto-initialize dynamically added Unicorn components via MutationObserver by @JohananOppongAmoateng in #760
- docs: Update component key documentation by @JohananOppongAmoateng in #777
- Fix: Properly escape single quotes in Unicorn.call() arguments by @JohananOppongAmoateng in #773
Full Changelog: 0.64.0...0.65.0
0.64.0
What's Changed
- Add unicorn:bind as synonym for unicorn:model by @JohananOppongAmoateng in #752
- Update unicorn.js to coerce types for component key by @gsxdsm in #728
- Set request on restored component by @adamghill in #753
- docs: add JohananOppongAmoateng as a contributor for code by @allcontributors[bot] in #757
- Action modifier to disable element while in-flight by @JohananOppongAmoateng in #755
- loading delay modifier by @JohananOppongAmoateng in #754
- Fix get_type_hints to support inherited type hints by @JohananOppongAmoateng in #759
- Refactor views into classes to split up the logic by @adamghill in #756
- Fix "Multiple root elements" error with unicorn:view and unicorn:poll… by @JohananOppongAmoateng in #758
New Contributors
- @JohananOppongAmoateng made their first contribution in #752
- @gsxdsm made their first contribution in #728
Full Changelog: 0.63.3...0.64.0
0.63.3
0.62.0
What's Changed
- Add
mypycheck by @adamghill in #720 - Add Django 5.0 to test matrix (fixes #704) by @JeremyLWright in #710
- docs: add JeremyLWright as a contributor for code by @allcontributors in #721
- Coverage badge attempt by @adamghill in #719
- Create SECURITY.md by @superboy-zjc in #742
- Fixed missing form_class in readme by @adamsc64 in #740
- Security fix: class pollution vulnerability (reported by superboy-zjc).
Breaking changes
- Remove support for Python 3.8 and 3.9 because Django 5.0 has dropped support.
New Contributors
- @JeremyLWright made their first contribution in #710
- @superboy-zjc made their first contribution in #742
- @adamsc64 made their first contribution in #740
Full Changelog: 0.61.0...0.62.0
0.61.0
0.60.0
- Silence warnings about multiple root elements for direct views.
- Handle
force_renderin nested children for direct views #663. - Handle error when manually refreshing direct views.
- Handle component field type annotations for
dataclassesandPydanticBaseModel#649 by siliconcow. - Update
startunicorncommand to prevent spamming users and handle folder creation for nested components #642 by felipmartins.
Breaking changes
- Unparseable
kwargargument passed into a component will be consideredNoneinstead of being converted to a string.
<!-- If `abcde` is not a variable in the template context, it will get set to `name` as `None` whereas before it would get set as 'abcde' -->
{% unicorn 'hello' name=abcde %}