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: NEWS.md
+76-1Lines changed: 76 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,19 +1,74 @@
1
+
> Notes: the # between parenthesis referes to the related issue on GitHub, and the @ refers to an external contributor solving this issue.
2
+
1
3
# golem 0.1.9000+
2
4
3
5
## New functions
4
6
7
+
+`add_dockerfile()` was completely refactored. It now starts from r-ver, uses explicit package versions from you local machine, and tries to set as much System Requirements as possible by using `{sysreq}`, and parses and installs the Remotes tag from the DESCRIPTION (#189, #175)
8
+
9
+
+`add_dockerfile()` allow now to directly use the source of the package by mounting the source folder in the container and running `remotes::install_local()`
10
+
11
+
+`add_dockerfile()` now builds the tar.gz (#273)
12
+
5
13
+`add_fct` and `add_utils` add new files in your R folder that can hold utils and functions (#123).
6
14
15
+
+ We switched from `shiny::addResourcePath()` to `golem::add_resource_path()`, which doesn't fail if the folder is empty (#223).
16
+
17
+
+ New JavaScript functions to use alert, prompt and confirm (#108, @zwycl)
18
+
19
+
+`use_external_js_file` and `use_external_css_file` are designed to download .js and .css file off the web to the appropriate directory (#130, @zwycl)
20
+
21
+
7
22
## New features
8
23
24
+
+`{golem}` now comes with an internal config file. Please refer to the `config` Vignette for more information.
25
+
26
+
+`bundle_resources()` comes with every new app and bundles all the css and js files you put inside the `inst/app/www` folder, by matchine the file extension.
27
+
28
+
+ There is now an `app_sys()` function, which is a wrapper around `system.file(..., package = "myapp")` (#207, @novica)
29
+
9
30
+`document_and_reload()` now stops when it fails, and returns an explicit failure message (#157)
10
31
32
+
+ You can now create a golem without any comment (#171, @ArthurData)
33
+
34
+
+ The default `app_ui()` now has a `request` parameter, to natively handle bookmarking.
35
+
36
+
+`document_and_reload()` now stops when it fails, and returns an explicit failure message (#157). It also uses `get_golem_wd()` as a default path, to be consistent with the rest of `{golem}` (#219, @j450h1)
37
+
11
38
+`add_module` now allows to create and `fct_` and an `utils_` file (#154, @novica)
12
39
13
40
+`golem::detach_all_attached()` is now silent (#186, @annakau)
14
41
42
+
+ There is now a series of addins for going to a specific golem file (#212, @novica), and also to wrap a selected text into `ns()` (#143, @kokbent)
43
+
44
+
+ Creation of a golem project is now a little bit more talkative (#63, @novica)
45
+
46
+
+ golem apps now have a title tag in the header by default, (#172, @novica)
47
+
48
+
+ The `rsconnect` folder is now added to `.Rbuildignore` (#244)
49
+
50
+
+`devtools::test()` in 03_deploy.R is now `devtools::check()`
51
+
52
+
+ modules bow have a placeholder for content
53
+
54
+
+ Dev scripts have been rewritten and rerordered a litte bit
55
+
15
56
## Breaking changes
16
57
58
+
+`invoke_js()` now takes a list of elements to send to JS (through `...`) instead of a vector (#155, @zwycl)
59
+
60
+
+`get_dependencies` was removed from this package, please use `desc::desc_get_deps()` instead (#251)
61
+
62
+
+`{golem}` now uses `here::here()` to determine the default working directory (#287)
63
+
64
+
+ Modules used to be exported by default. You now have to specify it when creating the modules (#144)
65
+
66
+
+`run_app()` is no longer explicitely namespaced in the run_dev script (#267)
67
+
68
+
+ JavaScript files now default to having `$(document).ready()` (#227)
69
+
70
+
+ Every filesystem manipulation is now done with `{fs}`. That should be pretty transparent for most users but please open an issue if it causes problem (#285)
71
+
17
72
## Bug fix
18
73
19
74
+ The Dockerfile is now correctly added to .Rbuildignore (#81)
@@ -24,8 +79,26 @@
24
79
25
80
+ spellcheck in files (@privefl)
26
81
82
+
+ Message to link to `golem_add_external_resources()` is now conditional to R being in a golem project (#167, @novica)
83
+
84
+
+ Better error on missing name in add_*, (#120, @novica)
85
+
86
+
+ When adding file, the extension is now ignored if provided by the user (#231)
87
+
88
+
+ The dots R/run_app.R are now documented by default (#243)
89
+
90
+
+ Bug fix of the pkgdown website (#180)
91
+
92
+
+`{golem}` now correctly handles command line creation of projet inside the current directory (#248)
93
+
94
+
+ The test are now more robust when it comes to random name generation (#281)
95
+
27
96
## Internal changes
28
97
98
+
+ We no longer depend on `{stringr}` (#201, @TomerPacific)
99
+
100
+
+ get_golem_wd() is now used everywhere in `{golem}` (#237, @felixgolcher)
101
+
29
102
# golem 0.1.0 - CRAN release candidate, v2
30
103
31
104
## New Functions
@@ -42,11 +115,13 @@
42
115
43
116
+ The `installed.packages()` function is no longer used.
44
117
118
+
+ Every filesystem manipulation is now done with `{fs}` (#285)
119
+
45
120
# golem 0.0.1.9999 - CRAN release candidate
46
121
47
122
## Changes in the way run_app and deploy files are build
48
123
49
-
+ There is now a unique framework for run_app, that allows to deploy anywhere and can accept arguments. These arguments can then be retrieved with `get_golem_options()`. #
124
+
+ There is now a unique framework for run_app, that allows to deploy anywhere and can accept arguments. These arguments can then be retrieved with `get_golem_options()`.
50
125
51
126
> See https://rtask.thinkr.fr/blog/shinyapp-runapp-shinyappdir-difference/
0 commit comments