Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 1.0.0

### Bug fixes

* Fix `flet create --template extension` generating an example app whose `pyproject.toml` cannot be parsed on Windows. The `[tool.flet.dev_packages]` and `[tool.uv.sources]` entries that point back at the extension package interpolated the host's `os.sep` into a TOML basic string, so on Windows they rendered as `"..\.."` and `"..\..\"`: the first is an invalid escape sequence, and in the second the trailing `\"` escapes the closing quote and leaves the string unterminated — the "unbalanced quotes" error reporters hit before they could build or run the generated example. Both paths are now written with forward slashes, which need no escaping in TOML and which `pathlib` and `uv` accept on Windows just as they do elsewhere ([#5507](https://github.com/flet-dev/flet/issues/5507), [#6775](https://github.com/flet-dev/flet/pulls/6775)) by @ndonkoHenri.

## 0.86.7

### Bug fixes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ def add_arguments(self, parser: argparse.ArgumentParser) -> None:
default=[],
help="Build for specific CPU architectures "
"(used in macOS and Android builds only). "
"Android: arm64-v8a, armeabi-v7a, x86_64; macOS: arm64, x64. "
"Android: arm64-v8a, armeabi-v7a, x86_64; macOS: arm64, x86_64. "
"Example: `--arch arm64-v8a`",
)
parser.add_argument(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ copyright = "Copyright (C) 2026 by MyCompany"
path = "src"

[tool.flet.dev_packages]
{{cookiecutter.project_name}} = "..{{cookiecutter.sep}}.." # relative path
{{cookiecutter.project_name}} = "../.." # relative path

[tool.uv.sources]
{{cookiecutter.project_name}} = { path = "..{{cookiecutter.sep}}..{{cookiecutter.sep}}", editable = true }
{{cookiecutter.project_name}} = { path = "../../", editable = true }
Loading