Skip to content

Commit 06142be

Browse files
committed
Update changelog and bump versions for v2.0.0-beta
Also make version checking liberal enough to allow -beta. Change-Id: I75dbffb78f3bc96f0f9a6c4a34fa2c639c419caf
1 parent b5841a2 commit 06142be

File tree

4 files changed

+77
-16
lines changed

4 files changed

+77
-16
lines changed

CHANGELOG.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,63 @@
1+
## 2.0.0-beta (2016-04-07)
2+
3+
New Features:
4+
- DASH support for:
5+
- Multi-Period content
6+
- https://github.com/google/shaka-player/issues/186
7+
- Location elements
8+
- https://github.com/google/shaka-player/issues/298
9+
- UTCTiming elements (for clock synchronization)
10+
- https://github.com/google/shaka-player/issues/241
11+
- Better browser compatibility
12+
- Testing on Safari 9, IE 11, Edge, Firefox 45+, Opera, Chrome
13+
- https://github.com/google/shaka-player/issues/101
14+
- New plugin and build system to extend Shaka
15+
- Networking plugins
16+
- https://github.com/google/shaka-player/issues/228
17+
- https://github.com/google/shaka-player/issues/198
18+
- Cache-friendly networking
19+
- https://github.com/google/shaka-player/issues/76
20+
- https://github.com/google/shaka-player/issues/191
21+
- https://github.com/google/shaka-player/issues/235
22+
- Limit memory usage by clearing old data from buffer
23+
- https://github.com/google/shaka-player/issues/247
24+
- Simpler, more mobile-friendly demo app
25+
- New test assets
26+
- https://github.com/google/shaka-player/issues/224
27+
- Made play()/pause() independent of buffering
28+
- https://github.com/google/shaka-player/issues/233
29+
- Numerical error code system
30+
- https://github.com/google/shaka-player/issues/201
31+
- Distinguish between subtitle and caption tracks
32+
- https://github.com/google/shaka-player/issues/206
33+
- Separate audio & text language preferences
34+
- https://github.com/google/shaka-player/issues/207
35+
- Update timeShiftBufferDepth when updating the manifest
36+
- https://github.com/google/shaka-player/issues/295
37+
- Simplified clearkey setup using configure()
38+
- Initial bandwidth is now configurable:
39+
- https://github.com/google/shaka-player/issues/268
40+
41+
Bugfixes:
42+
- Stopped using Date headers for clock sync
43+
- https://github.com/google/shaka-player/issues/205
44+
- https://github.com/google/shaka-player/issues/241
45+
46+
Docs:
47+
- New tutorials!
48+
49+
Missing Features from v1 (to be added later):
50+
- Custom controls demo for live streams
51+
- https://github.com/google/shaka-player/issues/322
52+
- Chromecast demo
53+
- Trick play demo
54+
- Track restrictions based on key status
55+
- Offline support
56+
57+
Broken Compatibility:
58+
- Almost everything! (v2 upgrade guide coming soon)
59+
60+
161
## 1.6.4 (2016-03-03)
262

363
Bugfixes:

build/checkversion.py

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -45,27 +45,28 @@ def checkVersion(_):
4545
print 'player version:', player
4646
print 'changelog version:', changelog
4747

48+
ret = 0
4849
if 'dirty' in git:
49-
print >> sys.stderr, 'Git version is dirty'
50-
return 1
51-
if '-' in git or 'unknown' in git:
52-
print >> sys.stderr, 'Git version is not a tag'
53-
return 1
54-
if not re.match(r'^v[0-9]+\.[0-9]+\.[0-9]+$', git):
55-
print >> sys.stderr, 'Git version is a malformed release version'
56-
print >> sys.stderr, 'It should be three numbers separated by dots, with'
57-
print >> sys.stderr, 'a \'v\' prepended.'
58-
return 1
50+
print >> sys.stderr, 'Git version is dirty.'
51+
ret = 1
52+
if 'unknown' in git:
53+
print >> sys.stderr, 'Git version is not a tag.'
54+
ret = 1
55+
if not re.match(r'^v[0-9]+\.[0-9]+\.[0-9]+(?:-[a-z0-9]+)?$', git):
56+
print >> sys.stderr, 'Git version is a malformed release version.'
57+
print >> sys.stderr, 'It should be a \'v\', followed by three numbers'
58+
print >> sys.stderr, 'separated by dots, optionally followed by a hyphen'
59+
print >> sys.stderr, 'and a pre-release identifier. See http://semver.org/'
60+
ret = 1
5961

60-
ret = 0
6162
if 'v' + npm != git:
62-
print >> sys.stderr, 'NPM version does not match git version'
63+
print >> sys.stderr, 'NPM version does not match git version.'
6364
ret = 1
6465
if player != git + '-debug':
65-
print >> sys.stderr, 'Player version does not match git version'
66+
print >> sys.stderr, 'Player version does not match git version.'
6667
ret = 1
6768
if 'v' + changelog != git:
68-
print >> sys.stderr, 'Changelog version does not match git version'
69+
print >> sys.stderr, 'Changelog version does not match git version.'
6970
ret = 1
7071

7172
return ret

lib/player.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ shaka.Player.prototype.destroy = function() {
161161
/**
162162
* @define {string} A version number taken from git at compile time.
163163
*/
164-
goog.define('GIT_VERSION', 'v1.9.9-alpha-debug');
164+
goog.define('GIT_VERSION', 'v2.0.0-beta-debug');
165165

166166

167167
/**

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "shaka-player",
33
"description": "DASH/EME video player library",
4-
"version": "1.6.4",
4+
"version": "2.0.0-beta",
55
"homepage": "https://github.com/google/shaka-player",
66
"author": "Google",
77
"maintainers": [

0 commit comments

Comments
 (0)