@henrik@eliitin-some.fi The website is in a state of transition, so it will be fixed eventually when time permits.
A magical full-stack framework for Django ✨
Posts
Version 0.66.1 of django-unicorn, an interactive component library for #Django, is now out. 🎉🦄
@amoateng@mastodon.social is out there fixing all the bugs!
📖 https://www.django-unicorn.com
🛠️ https://github.com/django-commons/django-unicorn
📦 https://pypi.org/project/django-unicorn/
It's been a long time coming, but the Unicorn repository has officially been transferred to https://django-commons.org! 🎉
This move ensures that Unicorn will continue to get updates going forward and should allow other collaborators to work on the project easier than before.
The new repo is at https://github.com/django-commons/django-unicorn (although https://github.com/adamghill/django-unicorn will redirect for a little while).
Lots of fixes and some features are planned for upcoming releases, plus maybe a few other surprises! 🦄
✨ Just released version 0.65.0 of Unicorn! 🦄
Features:
- Escape single quotes in Unicorn.call() args
- Auto init components via MutationObserver
- Support redirect from mount()
Fixes:
- `IndexError` when using a custom setter method with $event.target.value
- Correct debounce behavior with delay
- Prevent poll from overwriting many-to-many fields
All from @amoateng@mastodon.social 🙌
📖 https://www.django-unicorn.com
📦 https://pypi.org/project/django-unicorn/
🛠️ https://github.com/adamghill/django-unicorn
Talked a little bit about Unicorn in this episode of Django Chat and called out all the great work by @amoateng@mastodon.social! 🦄
@amoateng@mastodon.social has put together an initial roadmap to get Unicorn to a stable 1.0 release. 🤩
We'd love your feedback! What would be most useful for Unicorn going forward? How can we set it up for improved support and adoption in the #Django ecosystem?
https://github.com/adamghill/django-unicorn/discussions/768#discussioncomment-15598088
#HTML #Reactive #WebDev #WebDevelopment #Web #AJAX #JavaScript #Python
The first version, 0.1.0 🎉, of the Unicorn Playground has just been released. 🦄🛝
It lets devs try out a Unicorn component without setting up a new Django app or installing Unicorn.
Two options:
1. Create a component script and use `pipx` to run it (no virtual environment needed!)
2. Create a virtual environment and use the CLI
See more details about the project in the README.
https://pypi.org/project/django-unicorn-playground/
https://github.com/adamghill/django-unicorn-playground
✨ Just released version 0.61.0 of Unicorn! 🦄
New features:
- Add `template_html` to specify inline template HTML.
- `resolved` method which is guaranteed to only fire once.
Documentation updates:
- @pythonbynight@fosstodon.org added a “Getting Started" section to the docs to clarify how Unicorn fits in with #Django
Other:
- @djangonaut@indieweb.social members helped fix types and added coverage badges to the readme!
https://www.django-unicorn.com
https://pypi.org/project/django-unicorn/
https://github.com/adamghill/django-unicorn
Unicorn is thrilled to be a part of this session of @djangonaut@indieweb.social!
The Djangonauts are going to learn about building a third-party #OSS library for #Django, fix bugs, add features, and just generally help out. 🦄
We're thrilled to be a part of this initiative! 🚀
Published 0.60.0 of `Unicorn`, a reactive, fullstack component framework for #Django. 🦄
Changes:
- Fix a few bugs when using child components with direct views
- Support for Pydantic Base Model and dataclasses for field type annotations
- Updated `startunicorn` management command
- Unparseable `kwarg` arguments will be parsed as `None` instead of being converted to a string
https://www.django-unicorn.com
https://github.com/adamghill/django-unicorn
https://pypi.org/project/django-unicorn/
🥳 Version 0.59.0 of django-unicorn, a #fullstack, reactive component framework for #Django has been published. 🦄
Changelog:
- Update logic to find components by https://github.com/jacksund.
- Add fallback location to look for components.
https://www.django-unicorn.com
https://pypi.org/project/django-unicorn/
⚡️0.57.0 of Unicorn is now released ⚡️
- log a warning when the component template does not look valid
- improved DOM merging with `morphdom`
- re-write and re-arrange a large portion of the documentation to hopefully be more clear
📦 https://pypi.org/project/django-unicorn/
🛠️ https://github.com/adamghill/django-unicorn
🏠 https://www.django-unicorn.com
Version 0.56.1 of the #django interactive component library has been released! 🥳
- Support using #AlpineJS and Unicorn together in a component (sponsored by https://www.ohne-makler.net)
- Never send a 304 for child actions
- Reduce network payload size for nested components
If you are interested in specific features for `Unicorn`, please sponsor me and reach out: https://github.com/sponsors/adamghill.
https://www.django-unicorn.com
https://pypi.org/project/django-unicorn/
Unicorn, the #reactive component framework for #django, is now at version 0.55.0. 🎉
- Support `List`/`list` type annotations for component actions and fields
- Fix: calling a method in a parent will have the request available
- Dropped official support for Python 3.7
- Dropped official support for Django 2.2
PyPI: https://pypi.org/project/django-unicorn/ ✨
Documentation: https://www.django-unicorn.com 📖
Repo: https://github.com/adamghill/django-unicorn/ 🤖
Sponsor: https://github.com/sponsors/adamghill 😍
Just released 0.54.0! The major feature is coercing arguments in action methods with type annotations. There was also a bug fix so that fields with certain dictionaries won't cause a checksum error.
https://pypi.org/project/django-unicorn/0.54.0/
https://www.django-unicorn.com
0.53.0 has been released! 🎉
- Support passing arguments into a component
- Fix the handling of `None` for select elements
- Better handling of AuthenticationForm
https://www.django-unicorn.com
https://pypi.org/project/django-unicorn/
0.52.0 of 🦄 has been released with some rad new features:
- Use `CSRF_COOKIE_NAME` Django setting
- Asterisk wildcard support for targeting loading
Both features were contributed by the community. Thanks for all the help building `Unicorn`! 😍