Changelog
Source:NEWS.md
version 1.4.0
- removed
items_create(),items_upsert(), anditems_update()as they are no longer supported by sciencebase. - Fixed bugs related to sciencebase updates.
- added
get_username()as exported function. - added
get_cached_token()as exported function. - added
token_stache_path()as exported function.
version 1.3.2
CRAN release: 2024-03-21
-
item_rm_files()now uses cloud end point. #315 -
initialize_sciencebase_session()has less warnings. #319 and #323 -
initialize_sciencebase_session()works at the terminal now. #317 -
initialize_sciencebase_session()caching works better. #318 - improve test coverage #316
version 1.3.0
CRAN release: 2023-12-20
In this release, sbtools underwent a significant migration from josso login to keycloak-based two factor authentication. See #314 for details of the changes.
A vignette showing the old and new login methods is now included see: vignette("sbtools")
In addition to login modifications, a pkgdown site was created, and the package code was reorganized significantly.
- Added
initialize_sciencebase_session()to support tokenized login. - Sciencebase
sessionobject no longer returned byauthenticate_sb() -
current_session()now returns the active login token. - Removed
session_logout()andsession_age_reset()there is now an internal functionsbtools:::clean_session()to accomplish the same goal. - Removed
sbtools_DELETE()as the method is no longer the accepted way to delete sciencebase items. - Modified item deletion functions to use a delete helper that ensures files are removed from all locations.
Version 1.2.0 (2023-04-28)
CRAN release: 2023-04-30
- added
item_publish_cloud()to push files to S3 public cloud storage. #302 - update URLs for new repository. #303
- improved handling of authentication and invalid logins
- check error messages for firewall blocks
Version 1.1.21 (2022-11-03)
CRAN release: 2022-11-03
- All web calls now use
httr::RETRY()to be a bit more robust. #213 - Password management can now be done with the
keyring - File uploads for very large files should now be more robust with longer time out tolerances.
Version 1.1.20 (2022-10-27)
CRAN release: 2022-10-28
Added checksum validation to both regular and cloud uploads.
Version 1.1.18 (2022-05-26)
CRAN release: 2022-05-26
- Added support for cloud file upload and download. See
item_upload_cloud()anditem_list_files()anditem_file_download(). - Added ability to pull jossoSessionId from
session_details(), This is useful for pulling files directly from sciencebase via R functions that do not use the sbtools session for authentication. Seesession_details()description for more. - Removed deprecated
item_get_wfs()function. - Renamed
masterbranch tomain. - Added
facetsto locations that sciencebase files can be found. Seeitem_list_files()description for more info. Note that the response fromitem_list_files()has changed. A “facet” attribute which lists the name of the facet the file came from is included.
Version 1.1.16/1.1.17 (2021-07-01)
CRAN release: 2021-07-01
Versions 1.1.16 and 1.1.17 were minor changes for CRAN.
Version 1.1.15 (2021-06-07)
CRAN release: 2021-06-04
- Added
scrape_filesparameter toitem_upload_files()anditem_append_files() - Fixed CRAN check issues with ScienceBase availability. 10 second timeout was added for all web service calls.
Version 1.1.14 (2020-03-01)
CRAN release: 2021-02-16
Version 1.1.10 to 1.1.14 are all minor changes for CRAN.
Version 1.1.9 (2020-01-07)
CRAN release: 2020-01-08
- Fixed travis build and addressed CRAN test failures.
- Deprecated item_get_wfs – will be removed in a future version.
- Changed maintainer to dblodgett@usgs.gov
- See repository for other updates.
Version 1.1.3 (2016-08-18)
CRAN release: 2016-08-19
Fix items_create to properly handle cases creating one item
Add sbtools to user agent string
Alter
item_list_childrento usequery_sbso item return limit can be > 1000.rawoption removed to support this functionality.
Version 0.19.3 (2016-06-17)
Bunch of changes from reviews
item_get_parentnow returnssbitem, not just IDfixed probablem with
query_sb_doiquery_sb_spatialno longer has awkard bounding box specification, just uses lat/long arrays and determines box from thosesb_pingreturns boolean TRUE/FALSE for success/failset_endpointno longer includes verbose message and properly usesmatch.argitem_list_childrennow returns list ofsbitemto be uniform with rest ofsbtoolsLots of documentation updates and new demos
Version 0.18.5 (2016-06-01)
Fixed issue with
query_sb_datatypeNew and improved
item_get_wfs. Better performance and no longer requires hard-to-install external dependencies.
Version 0.18.0 (2016-04-10)
Improved version of
query_sb()now requests useful metadata sosbitemlist has key metadataquery_item_identifier()now returns ansbitemlist instead of a data.frame. Also,*_item_identifier()funcitons now have unified parameter order
Version 0.17.0 (2016-04-10)
On
item_replace_files()changed default onallflag to FALSE so it doesn’t delete files by default.Added
item_rename_files()to enable user to easily rename files attached to items directly.