Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 1 0 1 #95

Merged
merged 3 commits into from
Mar 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: unbiased
Title: Unbiased: Production-Grade Randomization API
Version: 1.0.0
Version: 1.0.1
Authors@R: c(
person("Kamil", "Sijko", , "[email protected]",
role = c("aut", "cre"), comment = c(ORCID = "0000-0002-2203-1065")),
Expand Down
10 changes: 10 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# unbiased 1.0.1

## Bug Fixes

- Fixed and issue when too aggressive input validation in the `randomize` endpoint was causing the API to reject valid requests with `current_state` of length other than 2.

## DevOps

- Updated docker build GitHub Action to use the latest version of cosign and checkout actions.

# unbiased 1.0.0

## New Features
Expand Down
2 changes: 1 addition & 1 deletion inst/plumber/unbiased_api/plumber.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#* url = "https://ttscience.github.io/unbiased/")
#* @apiLicense list(name = "MIT",
#* url = "https://github.com/ttscience/unbiased/LICENSE.md")
#* @apiVersion 1.0.0
#* @apiVersion 1.0.1
#* @apiTag initialize Endpoints that initialize study with chosen
#* randomization method and parameters.
#* @apiTag randomize Endpoints that randomize individual patients after the
Expand Down
4 changes: 2 additions & 2 deletions tests/testthat/test-error-handling.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ testthat::test_that("uses correct environment variables when setting up sentry",
SENTRY_DSN = "https://sentry.io/123",
GITHUB_SHA = "abc",
SENTRY_ENVIRONMENT = "production",
SENTRY_RELEASE = "1.0.0"
SENTRY_RELEASE = "1.0.1"
)
)

Expand All @@ -18,7 +18,7 @@ testthat::test_that("uses correct environment variables when setting up sentry",
testthat::expect_equal(app_name, "unbiased")
testthat::expect_equal(app_version, "abc")
testthat::expect_equal(environment, "production")
testthat::expect_equal(release, "1.0.0")
testthat::expect_equal(release, "1.0.1")
},
.package = "sentryR",
)
Expand Down
2 changes: 1 addition & 1 deletion vignettes/articles/references.bib
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,6 @@ @Manual{unbiased
title = {unbiased: Diverse Randomization Algorithms for Clinical Trials},
author = {Kamil Sijko and Kinga Sałata and Aleksandra Duda and Łukasz Wałejko},
year = {2024},
note = {R package version 1.0.0},
note = {R package version 1.0.1},
url = {https://ttscience.github.io/unbiased/},
}
Loading