Skip to content

Commit 21e3670

Browse files
authored
Merge pull request #228 from cmu-delphi/ndefries/doc-changelog
Describe recent bug fix, small documentation changes
2 parents 3aabdd3 + 4ea1453 commit 21e3670

File tree

4 files changed

+25
-9
lines changed

4 files changed

+25
-9
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 1.1.0
2+
current_version = 1.0.0.9000
33
commit = False
44
tag = False
55

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Package: epidatr
22
Type: Package
33
Title: Client for Delphi's 'Epidata' API
4-
Version: 1.1.0.9000
5-
Date: 2023-09-11
4+
Version: 1.0.0.9000
5+
Date: 2023-12-07
66
Authors@R:
77
c(
88
person("Logan", "Brooks", email = "lcbrooks@andrew.cmu.edu", role = c("aut")),

NEWS.md

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,25 @@
1-
# epidatr 1.1.0
1+
# epidatr 1.0.0.9000
22

3-
- renamed the mostly internal `get_auth_key` to `get_api_key`
4-
- added `save_api_key` to more easily set the option
5-
- various CRAN submission related doc-fixes
6-
- fixed some errors from passing "" as a key
3+
- Function reference now displays commonly-used functions first (#205).
4+
- Endpoints now fail when passed misspelled arguments (#187, #201).
5+
- `pub_fluview_meta` fixed to `fetch` the response automatically.
6+
- `pub_covid_hosp_state_timeseries` now supports use of the `as_of` parameter (#209).
7+
- `pub_covid_hosp_state_timeseries` now correctly parses the `issue` field,
8+
instead of returning a missing value (#202).
9+
- `release_date` and `latest_update` fields are now parsed as `Date`, rather
10+
than as text. This change impacts several endpoints..
11+
- In `pub_fluview_meta`, `latest_issue` field is now parsed as epiweek, rather
12+
than being parsed as `Date` and returning a missing value.
13+
- Support `Date` objects passed to version arguments `as_of` and `issues` in
14+
endpoints (#192, #194).
15+
- `set_cache` cache size no longer runs into integer overflow (#189).
16+
- `clear_cache` now handles positional arguments just like `set_cache` (#197).
17+
- Improve line-wrapping of warning messages (#191).
18+
- `set_api_key` now available to help persist API key environment variables (#181, #217).
19+
- `get_auth_key` renamed to `get_api_key` (#181).
20+
- `get_api_key` no longer reads from R options and only uses environment variables (#217).
21+
- Fix documentation related to CRAN submission.
22+
- Fix some errors from passing "" as a key.
723

824
# epidatr 1.0.0
925

R/constants.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
version <- "1.1.0"
1+
version <- "1.0.0.9000"
22
http_headers <- httr::add_headers("User-Agent" = paste0("epidatr/", version), "Accept-Encoding" = "gzip")
33
global_base_url <- "https://api.delphi.cmu.edu/epidata/"

0 commit comments

Comments
 (0)