Skip to content

Commit c930168

Browse files
authored
Bump version numbers for release (#2441)
1 parent a0d1a33 commit c930168

File tree

4 files changed

+53
-13
lines changed

4 files changed

+53
-13
lines changed

R/DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: prophet
22
Title: Automatic Forecasting Procedure
3-
Version: 1.1.2
4-
Date: 2023-01-20
3+
Version: 1.1.4
4+
Date: 2023-05-30
55
Authors@R: c(
66
person("Sean", "Taylor", email = "[email protected]", role = c("cre", "aut")),
77
person("Ben", "Letham", email = "[email protected]", role = "aut")

README.md

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,12 @@ Prophet is [open source software](https://code.facebook.com/projects/) released
3131
- Contributing: https://facebook.github.io/prophet/docs/contributing.html
3232
- Prophet R package: https://cran.r-project.org/package=prophet
3333
- Prophet Python package: https://pypi.python.org/pypi/prophet/
34-
- Release blogpost: https://research.fb.com/prophet-forecasting-at-scale/
34+
- Release blogpost: https://research.facebook.com/blog/2017/2/prophet-forecasting-at-scale/
3535
- Prophet paper: Sean J. Taylor, Benjamin Letham (2018) Forecasting at scale. The American Statistician 72(1):37-45 (https://peerj.com/preprints/3190.pdf).
3636

37-
## Installation in R
37+
## Installation in R - CRAN
38+
39+
⚠️ **The CRAN version of prophet is fairly outdated. To get the latest bug fixes and updated country holiday data, we suggest installing the latest release with remotes::install_github().**
3840

3941
Prophet is a [CRAN package](https://cran.r-project.org/package=prophet) so you can use `install.packages`.
4042

@@ -44,6 +46,13 @@ install.packages('prophet')
4446

4547
After installation, you can [get started!](https://facebook.github.io/prophet/docs/quick_start.html#r-api)
4648

49+
## Installation in R - Latest release
50+
51+
```r
52+
install.packages('remotes')
53+
remotes::install_github('facebook/prophet@*release')
54+
```
55+
4756
#### Experimental backend - cmdstanr
4857

4958
You can also choose an experimental alternative stan backend called `cmdstanr`. Once you've installed `prophet`,
@@ -117,6 +126,32 @@ Using `cmdstanpy` with Windows requires a Unix-compatible C compiler such as min
117126

118127
## Changelog
119128

129+
### Version 1.1.4 (2023.05.30)
130+
131+
#### Python
132+
133+
- We now rely solely on `holidays` package for country holidays.
134+
- Upgraded cmdstan version to 2.31.0, enabling Apple M1 support.
135+
- Fixed bug with Windows installation caused by long paths.
136+
137+
#### R
138+
139+
- Updated `holidays` data based on holidays version 0.25.
140+
141+
### Version 1.1.2 (2023.01.20)
142+
143+
#### Python
144+
145+
- Sped up `.predict()` by up to 10x by removing intermediate DataFrame creations.
146+
- Sped up fourier series generation, leading to at least 1.5x speed improvement for `train()` and `predict()` pipelines.
147+
- Fixed bug in how warm start values were being read.
148+
- Wheels are now version-agnostic.
149+
150+
#### R
151+
152+
- Fixed a bug in `construct_holiday_dataframe()`
153+
- Updated `holidays` data based on holidays version 0.18.
154+
120155
### Version 1.1.1 (2022.09.08)
121156

122157
- (Python) Improved runtime (3-7x) of uncertainty predictions via vectorization.

python/prophet/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.1.3"
1+
__version__ = "1.1.4"

python/prophet/hdays.py

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@
1717
from dateutil.easter import easter, EASTER_ORTHODOX
1818
from dateutil.relativedelta import relativedelta as rd
1919

20+
warnings.warn(
21+
"hdays module is deprecated and will be removed in prophet 1.1.5. All holidays should be read directly from the holidays package.",
22+
FutureWarning,
23+
)
24+
2025

2126
# Official public holidays at a country level
2227
# ------------ Holidays in Indonesia---------------------
@@ -441,15 +446,15 @@ def _populate(self, year):
441446
# Nooruz Mairamy
442447
name = "Nooruz Mairamy"
443448
self[date(year, 3, 21)] = name
444-
449+
445450
# Day of the People's April Revolution
446451
name = "Day of the People's April Revolution"
447452
self[date(year, 4, 7)] = name
448-
453+
449454
# Spring and Labour Day
450455
name = "Spring and Labour Day"
451456
self[date(year, 5, 1)] = name
452-
457+
453458
# Constitution Day
454459
name = "Constitution Day"
455460
self[date(year, 5, 5)] = name
@@ -461,25 +466,25 @@ def _populate(self, year):
461466
# Children's Day
462467
name = "Russia Day"
463468
self[date(year, 6, 1)] = name
464-
469+
465470
# Independence Day
466471
name = "Independence Day"
467472
self[date(year, 8, 31)] = name
468-
473+
469474
# Day 1 of History and Commemoration of Ancestors
470475
name = "Day 1 of History and Commemoration of Ancestors"
471476
self[date(year, 11, 7)] = name
472-
477+
473478
# Day 2 of History and Commemoration of Ancestors
474479
name = "Day 2 of History and Commemoration of Ancestors"
475480
self[date(year, 11, 8)] = name
476481

477482
# New Year's Eve
478483
name = "New Year's Eve"
479484
self[date(year, 12, 31)] = name
480-
485+
481486
# Islamic Holidays
482-
487+
483488
# Eid ul-Fitr
484489
# 1st and 2nd day of 10th Islamic month
485490
name = "Eid al-Fitr"

0 commit comments

Comments
 (0)