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

Release 1.10.0 #615

Merged
merged 4 commits into from
Sep 10, 2024
Merged
Show file tree
Hide file tree
Changes from 3 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
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: rhino
Title: A Framework for Enterprise Shiny Applications
Version: 1.9.0.9002
Version: 1.10.0
Authors@R:
c(
person("Kamil", "Żyła", role = c("aut", "cre"), email = "[email protected]"),
Expand Down
6 changes: 3 additions & 3 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# rhino (development version)
# rhino 1.10.0

* Integrate `box.lsp` for auto-complete support for `box` modules in VS Code.
* Integrated {box.linters} styling functions to style `box::use()` calls according to the Rhino style guide.
* Integrated `box.lsp` for auto-complete support for `box` modules in VS Code.
* Integrated `box.linters` styling functions to style `box::use()` calls according to the Rhino style guide.
* Added compatibility check for `treesitter` and `treesitter.r` dependencies

# [rhino 1.9.0](https://github.com/Appsilon/rhino/releases/tag/v1.9.0)
Expand Down
4 changes: 3 additions & 1 deletion pkgdown/_pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,9 @@ navbar:
href: articles/how-to/migrate-1-8.html
- text: Migration to Rhino 1.9
href: articles/how-to/migrate-1-9.html

- text: Migration to Rhino 1.10
href: articles/how-to/migrate-1-10.html

faq:
text: FAQ
href: articles/faq.html
Expand Down
58 changes: 58 additions & 0 deletions vignettes/how-to/migrate-1-10.Rmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
---
title: "How-to: Rhino 1.10 Migration Guide"
output: rmarkdown::html_vignette
vignette: >
%\VignetteIndexEntry{How-to: Rhino 1.10 Migration Guide}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{UTF-8}
---

Follow the steps outlined in this guide to migrate your project to Rhino 1.10.
Before starting, ensure your Git working tree is clean, or back up your project if not using Git.

This guide assumes you are migrating from Rhino 1.9.
If you are currently using an older version of Rhino,
please review the older migration guides first:

* [Rhino 1.6 Migration Guide](https://appsilon.github.io/rhino/articles/how-to/migrate-1-6.html).
* [Rhino 1.7 Migration Guide](https://appsilon.github.io/rhino/articles/how-to/migrate-1-7.html).
* [Rhino 1.8 Migration Guide](https://appsilon.github.io/rhino/articles/how-to/migrate-1-8.html).
* [Rhino 1.9 Migration Guide](https://appsilon.github.io/rhino/articles/how-to/migrate-1-9.html).

# Step 1: Install Rhino 1.10

Use the following command to install Rhino 1.10 and update your `renv.lock` file:

```r
rhino::pkg_install("[email protected]")
```

After the installation, restart your R session to ensure all changes take effect.

# Step 2: Update your .Rprofile

Update your `.Rprofile` with `languageserver` parsers for `box::use`, by running:

```r
box.lsp::use_box_lsp()
```

Restart your R session so changes can take effect

Follow ["How-to: Auto-complete in VSCode" guide]() to enable auto-complete in VSCode or Vim.

# Step 3 (optional, requires R >= 4.3): Install `treesitter` and `treesitter.r`

To enable automated styling of `box::use` statements and `box.linters::namespace_function_calls()` linter,
install `treesitter` and `treesitter.r`:

```r
rhino::pkg_install(c("treesitter", "treesitter.r"))
```

# Step 4: Test your project

Test your project thoroughly to ensure everything works properly after the migration.
If you encounter any issues or have further questions,
don't hesitate to reach out to us via
[GitHub Discussions](https://github.com/Appsilon/rhino/discussions).
Loading