Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace CHANGELOG.md with NEWS.md similar to other shiny.tools packages #133

Merged
merged 18 commits into from
Sep 12, 2023
Merged
Show file tree
Hide file tree
Changes from 17 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
52 changes: 0 additions & 52 deletions CHANGELOG.md

This file was deleted.

34 changes: 34 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# shiny.router 0.3.1

- Changed the dots (`...`) argument in `router_ui()` to allow dynamically passing of arguments. Now, its possible to pass routes in dynamic way with dynamic dots (`...`).
- Fixed the issue where the 404 page was not working when a user opens a non-valid link without going to a valid one first.

# shiny.router 0.3.0

- Added a new API that is compatible with Rhino. New functions `router_ui` and `router_server` are added. `make_router` is deprecated.

# shiny.router 0.2.3

- Fixed error with `shiny.router::disable_bootstrap_on_bookmark()` when used with development version of shiny by applying `shiny::createWebDependency()` before `renderDependencies()`.
- Fixed the issue displaying the main page bookmark on app start. Added update of hash path to be run once after default router page is being set-up.

# shiny.router 0.2.2

- Resolve `htmltools::tagFunction()` returned by `bootstrapLib()` with `resolveDependencies()` before rendering to achieve dynamic disabling of bootstrap.

# shiny.router 0.2.1

No changes.

# shiny.router 0.2.0

- Page state is now remembered. Forced all pages to be rendered during run time, but between page state is remembered and not rendered again. Use `router$ui()` instead of `router_ui()` and `router$server(input, output, session)` instead of `router(input, output, session)`.
- Prevented re-rendering the whole page every time the URL was changed.
- Modify `parse_url_path()` to support query strings following hashbang/path.
- Fixed the issue when the root page is running twice on initial run.
- Used relative paths when creating router links.
- Allowed passing a common value for each server callback.

# shiny.router 0.1.1

- First release
3 changes: 3 additions & 0 deletions inst/WORDLIST
anirbanshaw24 marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
AGPL
Analytics
anirbanshaw24 marked this conversation as resolved.
Show resolved Hide resolved
Appsilon
CMD
Rhinoverse
Expand All @@ -9,6 +11,7 @@ config
cranlogs
dropdown
dyn
hashbang
htmltools
http
https
Expand Down
6 changes: 5 additions & 1 deletion pkgdown/_pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ url: https://appsilon.github.io/shiny.router/
navbar:
bg: primary
structure:
left: [home, tutorials, reference]
left: [home, tutorials, reference, news]
right: [search, github, twitter, mastodon]
components:
home:
Expand All @@ -54,6 +54,10 @@ navbar:
icon: fa-file-code-o
text: "Reference"
href: reference/index.html
news:
icon: fa-newspaper-o
text: "Changelog"
href: news/index.html
github:
icon: fa-github fa-lg
href: https://github.com/Appsilon/shiny.router
Expand Down