Skip to content

Commit

Permalink
Prepare for 0.60.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
adamghill committed Feb 25, 2024
1 parent c73cf58 commit 1f2f941
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
17 changes: 17 additions & 0 deletions docs/source/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# Changelog

## 0.60.0

- Silence warnings about multiple root elements for direct views.
- Handle `force_render` in nested children for direct views [#663](https://github.com/adamghill/django-unicorn/pull/663).
- Handle error when manually refreshing direct views.
- Handle component field type annotations for `dataclasses` and `Pydantic` `BaseModel` [#649](https://github.com/adamghill/django-unicorn/pull/649) by [siliconcow](https://github.com/siliconcow).
- Update `startunicorn` command to prevent spamming users and handle folder creation for nested components [#642](https://github.com/adamghill/django-unicorn/pull/642) by [felipmartins](https://github.com/felipmartins).

**Breaking changes**

- Unparseable `kwarg` argument passed into a component will be considered `None` instead of being converted to a string.

```html
<!-- 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 %}
```

## 0.59.0

- Update logic to find components [#655](https://github.com/adamghill/django-unicorn/pull/655) by [jacksund](https://github.com/jacksund).
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.59.0",
"version": "0.60.0",
"name": "django-unicorn",
"scripts": {
"build": "npx rollup -c",
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "django-unicorn"
version = "0.59.0"
version = "0.60.0"
description = "A magical full-stack framework for Django."
authors = ["Adam Hill <unicorn@adamghill.com>"]
license = "MIT"
Expand Down

0 comments on commit 1f2f941

Please sign in to comment.