Skip to content

Commit

Permalink
release/v2.18.0: updating version numbers.
Browse files Browse the repository at this point in the history
  • Loading branch information
seantalts committed Jul 13, 2018
1 parent 80c0d91 commit e842044
Show file tree
Hide file tree
Showing 6 changed files with 65 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ Describe what you expect the output to be. Knowing the correct behavior is also
Provide any additional information here.

#### Current Version:
v2.17.1
v2.18.0
57 changes: 56 additions & 1 deletion RELEASE-NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,64 @@ Note: these are the release notes for the stan-dev/stan repository.
Further changes may arise at the interface level (stan-dev/{rstan,
pystan, cmdstan}) and math library level (stan-dev/math).

v2.18.0 (13 July 2018)
======================================================================
This is our first release with parallelism (threading and MPI)!

New Features
--------------------------------------------------
* New functions from Math library:
- map_rect
- multi_normal_rng
- multi_normal_cholesky_rng
- multi_student_t_rng
- many vectorized RNGs
- multi_normal_rng
- multi_normal_cholesky_rng
- multi_student_t_rng
- bernoulli_rng
- beta_binomial_rng
- binomial_rng
- neg_binomial_2_rng
- neg_binomial_2_log_rng
- neg_binomial_rng
- poisson_rng
- poisson_log_rng
- uniform_rng
- von_mises_rng
- qr_thin_Q
- qr_thin_R
- matrix_exp_multiply
- scale_matrix_exp_multiply
- integrate_ode_adams
- log_mix
- std_normal
- ordered_logistic_log
- ordered_probit_log

* Manual now available in HTML (#2558)
* other vectorized RNGs (#2467)
* Easier-to-use algebra_solver
* Changes to effective sample size calculation (#2451)
* Foreach loops (#2438)
* Standalone generated quantities (#2434)
* Allow users to qualify function parameters as data (#2430)

Bug Fixes
--------------------------------------------------
* Better error messages (#2508, #2554)
* Fixes the behavior in mcmc_writer so that when there's an exception thrown in the model's generated quantities block, it writes out the parameter values and NaN for any generated quantity (#2571)
* Allow initialization of a Stan program to continue when there's a violation of constraints in transformed parameters (#2570)
* Fixed `+=` #(2482)
* rising_factorial and falling_factorial type checking (#2413)
* have parser check return type of integrate_ode_bdf functional (#2411)
* increase precision in output of ELBO values (#2406)
* ternary op fixes (#2101)


v2.17.1 (11 December 2017)
======================================================================
This is a bugfix release fixing a performance regression in the math repo. See
This is a bugfix release fixing a performance regression in the math repo. See
https://github.com/stan-dev/math/issues/667 for more details.

v2.17.0 (05 September 2017)
Expand Down
2 changes: 1 addition & 1 deletion src/docs/reference-manual/statements.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ An assignment statement consists of a variable (possibly multivariate
with indexing information) and an expression. Executing an
assignment statement evaluates the expression on the right-hand side
and assigns it to the (indexed) variable on the left-hand side.
An example of a simple assignment is as follows.^[In versions of Stan before 2.17.1, the operator `<-` was used for assignment rather than using the equal sign `=`. The old operator `<-` is now deprecated and will print a warning. In the future, it will be removed.]
An example of a simple assignment is as follows.^[In versions of Stan before 2.18.0, the operator `<-` was used for assignment rather than using the equal sign `=`. The old operator `<-` is now deprecated and will print a warning. In the future, it will be removed.]

```stan
n = 0;
Expand Down
2 changes: 1 addition & 1 deletion src/doxygen/doxygen.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ PROJECT_NAME = "Stan"
# could be handy for archiving the generated documentation or if some version
# control system is used.

PROJECT_NUMBER = 2.17.1
PROJECT_NUMBER = 2.18.0

# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
Expand Down
4 changes: 2 additions & 2 deletions src/stan/version.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
#endif

#define STAN_MAJOR 2
#define STAN_MINOR 17
#define STAN_PATCH 1
#define STAN_MINOR 18
#define STAN_PATCH 0

namespace stan {

Expand Down
8 changes: 4 additions & 4 deletions src/test/unit/version_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@

TEST(Stan, macro) {
EXPECT_EQ(2, STAN_MAJOR);
EXPECT_EQ(17, STAN_MINOR);
EXPECT_EQ(1, STAN_PATCH);
EXPECT_EQ(18, STAN_MINOR);
EXPECT_EQ(0, STAN_PATCH);
}

TEST(Stan, version) {
EXPECT_EQ("2", stan::MAJOR_VERSION);
EXPECT_EQ("17", stan::MINOR_VERSION);
EXPECT_EQ("1", stan::PATCH_VERSION);
EXPECT_EQ("18", stan::MINOR_VERSION);
EXPECT_EQ("0", stan::PATCH_VERSION);
}

0 comments on commit e842044

Please sign in to comment.