Skip to content

Commit

Permalink
Merge pull request #615 from Appsilon/release-1.10.0
Browse files Browse the repository at this point in the history
Release 1.10.0
  • Loading branch information
jakubnowicki authored Sep 10, 2024
2 parents 78dfe9b + 360ad81 commit 27994d5
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 6 deletions.
4 changes: 2 additions & 2 deletions 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 All @@ -24,7 +24,7 @@ Depends:
R (>= 2.10)
Imports:
box (>= 1.1.3),
box.linters (>= 0.10.4),
box.linters (>= 0.10.5),
box.lsp,
cli,
config,
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).

0 comments on commit 27994d5

Please sign in to comment.