diff --git a/.editorconfig b/.editorconfig index f066b28..939c23e 100644 --- a/.editorconfig +++ b/.editorconfig @@ -14,7 +14,6 @@ end_of_line = lf indent_size = 4 max_line_length = 120 - [*.md] indent_size = 4 diff --git a/CHANGELOG.md b/CHANGELOG.md index 7fc4f03..3bc200b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,10 @@ Don't forget to remove deprecated code on each major release! ## [Unreleased] +- Nothing (yet)! + +## [2.0.0] - 2025-06-14 + ### Added - Support for custom routers. @@ -114,7 +118,8 @@ Don't forget to remove deprecated code on each major release! - Rename `configure` to `create_router`. - Rename from `idom-router` to `reactpy-router`. -[Unreleased]: https://github.com/reactive-python/reactpy-router/compare/1.0.3...HEAD +[Unreleased]: https://github.com/reactive-python/reactpy-router/compare/2.0.0...HEAD +[2.0.0]: https://github.com/reactive-python/reactpy-router/compare/1.0.3...2.0.0 [1.0.3]: https://github.com/reactive-python/reactpy-router/compare/1.0.2...1.0.3 [1.0.2]: https://github.com/reactive-python/reactpy-router/compare/1.0.1...1.0.2 [1.0.1]: https://github.com/reactive-python/reactpy-router/compare/1.0.0...1.0.1 diff --git a/docs/src/about/contributing.md b/docs/src/about/contributing.md index 82b82f1..fc4a234 100644 --- a/docs/src/about/contributing.md +++ b/docs/src/about/contributing.md @@ -31,7 +31,7 @@ By utilizing `hatch`, the following commands are available to manage the develop The `hatch test` command is a wrapper for `pytest`. Hatch "intercepts" a handful of arguments, which can be previewed by typing `hatch test --help`. - Any additional arguments in the `test` command are directly passed on to pytest. See the [pytest documentation](https://docs.pytest.org/en/stable/reference/reference.html#command-line-flags) for what additional arguments are available. + Any additional arguments in the `test` command are provided directly to pytest. See the [pytest documentation](https://docs.pytest.org/en/stable/reference/reference.html#command-line-flags) for what additional arguments are available. ### Linting and Formatting diff --git a/pyproject.toml b/pyproject.toml index 0f3d7f1..f346125 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -124,8 +124,8 @@ type_check = ["pyright src"] detached = true [tool.hatch.envs.javascript.scripts] -check = ["cd src/js && bun install", "cd src/js && bun run check"] -fix = ["cd src/js && bun install", "cd src/js && bun run format"] +check = ['bun install --cwd "src/js"', 'bun run --cwd "src/js" check'] +fix = ['bun install --cwd "src/js"', ' bun run --cwd "src/js" format'] ######################### # >>> Generic Tools <<< # @@ -150,7 +150,7 @@ lint.preview = true [tool.coverage.run] branch = true parallel = true -source = ["src/", "tests/"] +source = ["src/"] [tool.coverage.paths] source = ["src/"] diff --git a/src/reactpy_router/__init__.py b/src/reactpy_router/__init__.py index 7ed7d3b..add1e5d 100644 --- a/src/reactpy_router/__init__.py +++ b/src/reactpy_router/__init__.py @@ -1,4 +1,4 @@ -__version__ = "1.0.3" +__version__ = "2.0.0" from reactpy_router.components import link, navigate, route