Skip to content

Commit 55f495f

Browse files
committed
[skip vbump] upversion to 0.6.0
1 parent 0eeaf0a commit 55f495f

File tree

4 files changed

+17
-12
lines changed

4 files changed

+17
-12
lines changed

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Type: Package
22
Package: teal.code
33
Title: Code Storage and Execution Class for 'teal' Applications
4-
Version: 0.5.0.9022
5-
Date: 2025-01-07
4+
Version: 0.6.0
5+
Date: 2025-01-24
66
Authors@R: c(
77
person("Dawid", "Kaledkowski", , "[email protected]", role = c("aut", "cre")),
88
person("Aleksander", "Chlebowski", , "[email protected]", role = "aut"),

NEWS.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,26 @@
1-
# teal.code 0.5.0.9022
1+
# teal.code 0.6.0
22

33
### Enhancements
44

5-
* Introduced `[.qenv` function to subset `qenv` object (code and environment) to specified object names. #211
5+
* Introduced `[.qenv` function to subset `qenv` object (code and environment) to specified object names.
66
* `get_code()` was extended with `names` parameter and allows the code extraction to be limited to objects stored in
7-
`qenv` but limited to `names`. #210
8-
* Introduced `get_messages()` to get messages produced during code evaluation. #217
9-
* `get_code()` returns original code formatting (white spaces and comments) passed to `eval_code()`. #212
7+
`qenv` but limited to `names`.
8+
* Introduced `get_messages()` to get messages produced during code evaluation.
9+
* `get_code()` returns original code formatting (white spaces and comments) passed to `eval_code()`.
1010
* `qenv` inherits from the `environment` class, allowing to use `ls()`, `names()`, `as.environment()` and other functions on `qenv` objects.
11+
12+
### Miscellaneous
13+
1114
* `join()` method is deprecated, please use `c()` instead
1215
* `get_var()` method is deprecated, please use `get`, `[[` or `$` instead.
16+
* Remove deprecated function `new_qenv`.
17+
* Numerous bug fixes
1318

1419
# teal.code 0.5.0
1520

1621
### Breaking Change
1722

18-
* `qenv` objects should now be created with `qenv()` rather than `new_qenv()` (which has been removed). The new constructor always creates an empty object.
23+
* `qenv` objects should now be created with `qenv()` rather than `new_qenv()`. The new constructor always creates an empty object. `new_qenv` is now deprecated.
1924

2025
### Miscellaneous
2126

R/qenv-get_var.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ setGeneric("get_var", function(object, var) {
2828
})
2929

3030
setMethod("get_var", signature = c("qenv", "character"), function(object, var) {
31-
lifecycle::deprecate_soft("0.5.1", "get_var()", "base::get()")
31+
lifecycle::deprecate_soft("0.6.0", "get_var()", "base::get()")
3232
tryCatch(
3333
get(var, envir = object@.xData, inherits = FALSE),
3434
error = function(e) {

R/qenv-join.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,16 +137,16 @@
137137
setGeneric("join", function(x, y) standardGeneric("join"))
138138

139139
setMethod("join", signature = c("qenv", "qenv"), function(x, y) {
140-
lifecycle::deprecate_soft("0.5.1", "join()", "c()")
140+
lifecycle::deprecate_soft("0.6.0", "join()", "c()")
141141
c(x, y)
142142
})
143143

144144
setMethod("join", signature = c("qenv", "qenv.error"), function(x, y) {
145-
lifecycle::deprecate_soft("0.5.1", "join()", "c()")
145+
lifecycle::deprecate_soft("0.6.0", "join()", "c()")
146146
y
147147
})
148148

149149
setMethod("join", signature = c("qenv.error", "ANY"), function(x, y) {
150-
lifecycle::deprecate_soft("0.5.1", "join()", "c()")
150+
lifecycle::deprecate_soft("0.6.0", "join()", "c()")
151151
x
152152
})

0 commit comments

Comments
 (0)