You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,21 @@
1
1
# Change Log for Dash for R
2
2
All notable changes to this project will be documented in this file.
3
3
4
+
## [0.3.0] - 2020-02-12
5
+
### Added
6
+
- Support for config-aware relative paths [#172](https://github.com/plotly/dashR/pull/172)
7
+
- Support index customization and index templates [#168](https://github.com/plotly/dashR/pull/168)
8
+
- Application titles may be set using the `app$title()` method, for parity with Dash for Python's `app.title` syntax [#168](https://github.com/plotly/dashR/pull/168)
9
+
10
+
### Changed
11
+
- Dash for R now requires `dashCoreComponents` v1.8.0
12
+
- Rename `DASH_HOST` to `HOST` and `DASH_PORT` to `PORT`[#167](https://github.com/plotly/dashR/pull/167)
13
+
- Automatically set routes and requests pathname prefixes if `DASH_APP_NAME` environment variable has been set [#165](https://github.com/plotly/dashR/pull/165)
14
+
15
+
### Removed
16
+
- Application titles can no longer be set using `name` parameter, which is now deprecated with a warning, for parity with Dash for Python [#168](https://github.com/plotly/dashR/pull/168)
17
+
18
+
4
19
## [0.2.0] - 2020-01-03
5
20
### Added
6
21
- Support for asynchronous/dynamic loading of dependencies, resource caching, and asset fingerprinting [#157](https://github.com/plotly/dashR/pull/157)
Description: A framework for building analytical web applications, Dash offers a pleasant and productive development experience. No JavaScript required.
#' The `get_relative_path` method simplifies the handling of URLs and pathnames for apps
122
+
#' running locally and on a deployment server such as Dash Enterprise. It handles the prefix
123
+
#' for requesting assets similar to the `get_asset_url` method, but can also be used for URL handling
124
+
#' in components such as `dccLink` or `dccLocation`. For example, `app$get_relative_url("/page/")`
125
+
#' would return `/app/page/` for an app running on a deployment server. The path must be prefixed with
126
+
#' a `/`.
127
+
#' \describe{
128
+
#' \item{path}{Character. A path string prefixed with a leading `/` which directs at a path or asset directory.}
129
+
#' \item{requests_pathname_prefix}{Character. The pathname prefix for the app on a deployed application. Defaults to the environment variable set by the server, or `""` if run locally.}
#' The `strip_relative_path` method simplifies the handling of URLs and pathnames for apps
133
+
#' running locally and on a deployment server such as Dash Enterprise. It acts almost opposite the `get_relative_path`
134
+
#' method, by taking a `relative path` as an input, and returning the `path` stripped of the `requests_pathname_prefiex`,
135
+
#' and any leading or trailing `/`. For example, a path string `/app/homepage/`, would be returned as
136
+
#' `homepage`. This is particularly useful for `dccLocation` URL routing.
137
+
#' \describe{
138
+
#' \item{path}{Character. A path string prefixed with a leading `/` and `requests_pathname_prefix` which directs at a path or asset directory.}
139
+
#' \item{requests_pathname_prefix}{Character. The pathname prefix for the app on a deployed application. Defaults to the environment variable set by the server, or `""` if run locally.}
140
+
#' }
141
+
#' \item{`index_string(string)`}{
142
+
#' The `index_string` method allows the specification of a custom index by changing
143
+
#' the default `HTML` template that is generated by the Dash UI. Meta tags, CSS, Javascript,
144
+
#' are some examples of features that can be modified.
145
+
#' This method will present a warning if your HTML template is missing any necessary elements
146
+
#' and return an error if a valid index is not defined. The following interpolation keys are
147
+
#' currently supported:
148
+
#' \describe{
149
+
#' \item{`{%metas%}`}{Optional - The registered meta tags.}
150
+
#' \item{`{%favicon%}`}{Optional - A favicon link tag if found in assets.}
151
+
#' \item{`{%css%}`}{Optional - Link tags to css resources.}
152
+
#' \item{`{%config%}`}{Required - Config generated by dash for the renderer.}
153
+
#' \item{`{%app_entry%}`}{Required - The container where dash react components are rendered.}
#' The `run_server` method has 13 formal arguments, several of which are optional:
120
200
#' \describe{
121
-
#' \item{host}{Character. A string specifying a valid IPv4 address for the Fiery server, or `0.0.0.0` to listen on all addresses. Default is `127.0.0.1` Environment variable: `DASH_HOST`.}
122
-
#' \item{port}{Integer. Specifies the port number on which the server should listen (default is `8050`). Environment variable: `DASH_PORT`.}
201
+
#' \item{host}{Character. A string specifying a valid IPv4 address for the Fiery server, or `0.0.0.0` to listen on all addresses. Default is `127.0.0.1` Environment variable: `HOST`.}
202
+
#' \item{port}{Integer. Specifies the port number on which the server should listen (default is `8050`). Environment variable: `PORT`.}
123
203
#' \item{block}{Logical. Start the server while blocking console input? Default is `TRUE`.}
124
204
#' \item{showcase}{Logical. Load the Dash application into the default web browser when server starts? Default is `FALSE`.}
125
205
#' \item{use_viewer}{Logical. Load the Dash application into RStudio's viewer pane? Requires that `host` is either `127.0.0.1` or `localhost`, and that Dash application is started within RStudio; if `use_viewer = TRUE` and these conditions are not satsified, the user is warned and the app opens in the default browser instead. Default is `FALSE`.}
"The supplied application title, '%s', should be set using the title() method, or passed via index_string() or interpolate_index(); it has been ignored, and 'dash' will be used instead.",
282
+
name),
283
+
call.=FALSE
284
+
)
285
+
}
201
286
private$serve_locally<-serve_locally
202
287
private$eager_loading<-eager_loading
203
288
# remove leading and trailing slash(es) if present
0 commit comments