Skip to content

Commit 7f9c9e5

Browse files
committed
chore: Prepare for v1.15.0
1 parent d500018 commit 7f9c9e5

File tree

4 files changed

+12
-7
lines changed

4 files changed

+12
-7
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Changelog
22

3-
#### v1.15.0 (Unreleased)
3+
#### v1.15.0 (2020-04-15):
44

55
**BREAKING CHANGE**
66
We are making two-fold change in the underlying DB, we are upgrading from postgres 10 to 12, which was a long time due. And also, we are going to use postgis in future for nearby event fetching, hence we are doing this now in order to avoid changing DB layer later again in future.
@@ -21,6 +21,12 @@ Note that if you changed the user and DB name using enironment variables, you ha
2121
7. Start the servers up
2222
`docker-compose up -d`
2323

24+
- GraphQL alpha trial
25+
- Allow old dates in session PATCH requests
26+
- Add postgis DB for future use
27+
- Integrate Sentry APM tracing support
28+
- Bug fixes and dependency updates
29+
2430
#### v1.14.0 (2020-03-08):
2531

2632
- Fix discount code quantity calculation

app/api/server_version.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1-
from flask import Blueprint, jsonify
1+
from flask import Blueprint, current_app, jsonify
22

3-
SERVER_VERSION = '1.14.0'
43

54
info_route = Blueprint('info', __name__)
6-
_build = {'version': SERVER_VERSION}
75

86

97
@info_route.route('/info')
108
def version():
11-
return jsonify(build=_build)
9+
return jsonify(build={'version': current_app.config['VERSION']})

app/instance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def create_app():
202202
CeleryIntegration(),
203203
SqlalchemyIntegration(),
204204
],
205-
traces_sample_rate=0.1
205+
traces_sample_rate=app.config['SENTRY_TRACES_SAMPLE_RATE'],
206206
)
207207

208208
# redis

config.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
basedir = os.path.abspath(os.path.dirname(__file__))
99

10-
VERSION_NAME = '2.1.0-alpha.0'
10+
VERSION_NAME = '1.14.0'
1111

1212
LANGUAGES = {
1313
'en': 'English',
@@ -72,6 +72,7 @@ class Config:
7272
'API_PROPOGATE_UNCAUGHT_EXCEPTIONS', default=True
7373
)
7474
ETAG = True
75+
SENTRY_TRACES_SAMPLE_RATE = env.float('SENTRY_TRACES_SAMPLE_RATE', default=0.01)
7576

7677
if not SQLALCHEMY_DATABASE_URI:
7778
print('`DATABASE_URL` either not exported or empty')

0 commit comments

Comments
 (0)