Skip to content

Commit

Permalink
Finish 3.52.2
Browse files Browse the repository at this point in the history
  • Loading branch information
dweinber committed Nov 23, 2023
2 parents e3cd5b4 + 128797a commit b84b04b
Show file tree
Hide file tree
Showing 85 changed files with 26,675 additions and 30,600 deletions.
55 changes: 55 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: CI

on:
push:
branches:
- '**'

workflow_dispatch:

workflow_call:

jobs:
test_and_build:
runs-on: ubuntu-latest

steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout
uses: actions/checkout@v3

- name: Set up node.js
uses: actions/[email protected]
with:
node-version-file: .nvmrc

- name: Cache node modules
id: cache-nodemodules
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
path: node_modules
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}

- name: Install dependencies
if: steps.cache-nodemodules.outputs.cache-hit != 'true'
run: npm ci

- name: Test
run: npm test

- name: Build and prepare for a potential 'npm publish'
run: gulp npm-prepare

- name: Package artifact for upload
run: tar -czvf artifact.tar.gz dist
shell: bash

- uses: actions/upload-artifact@v3
with:
path: |
${{ github.workspace }}/artifact.tar.gz
if-no-files-found: error
retention-days: 1

34 changes: 34 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Release

on:
push:
tags:
- '!player/'
- 'v*'

jobs:
test_and_build:
uses: ./.github/workflows/ci.yml

download_and_publish:
needs: test_and_build
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3

- uses: actions/download-artifact@v3
with:
path: .

- name: Unpackage artifact files
run: tar -xzvf artifact/artifact.tar.gz -C .
shell: bash

- name: Publish
run: ./publish.sh
shell: bash
env:
NPM_DRY_RUN: false
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v16.15.1
19 changes: 0 additions & 19 deletions .travis.yml

This file was deleted.

101 changes: 100 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,91 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

## [3.52.2] - 2023-11-23

### Fixed
- Potential name clashing in CSS animations due to missing `bmpui` prefix

## [3.52.1] - 2023-11-13

### Fixed
- Crash when receiving a `SourceLoaded` event during scrubbing

## [3.52.0] - 2023-09-25

### Fixed
- When having a spatial navigation and using a mouselike device, components will lose focus when the mouse leaves the hovered component. Spatial navigation will continue at the last active component when using arrow keys again.

## [3.51.0] - 2023-09-18

### Changed
- On seek/timeshift operations the UI will only remove subtitle cues which do not enclose the seek target instead of removing all.

## [3.50.0] - 2023-07-24

### Fixed
- Settings panel does not close on single tap on mobile devices
- Restoring volume on unmute not working when volume was changed through the player API
- Gulp `watch` task not working

## [3.49.0] - 2023-07-17

### Added
- `onActiveUiChanged` event on the `UIManager` that is dispatched when the UI manager switches to a different UI variant
- Readonly `currentUi` field on the `UIManager` that exposes the active `UIInstanceManager`

## [3.48.0] - 2023-07-03

### Fixed
- When more than one UI with spatial navigation is managed by the UI manager, all UIs would handle key events, instead of only the active one.

## [3.47.0] - 2023-05-17

### Changed
- Updated package dependencies.

## [3.46.0] - 2023-03-22

### Added
- Config option `forceSubtitlesIntoViewContainer` to handle overflowing subtitle labels

## [3.45.0] - 2023-03-06

### Added
- Scrubbing during a FaceTime call automatically creates a SharePlay suspension to not synchronize scrubbing to other participants.

## [3.44.0] - 2023-02-13

### Fixed
- Circular dependency in the import of `AudioTrackListBox` between `main.ts` and `uifactory.ts`

## [3.43.0] - 2023-02-06

### Added
- `UIConfig.enterFullscreenOnInitialPlayback` to enter fullscreen when clicking `PlaybackToggleButton` or `HugePlaybackToggleButton` to initiate the initial playback

## [3.42.0] - 2023-01-30

### Added
- Language localization for Spanish

## [3.41.0] - 2023-01-12

### Added
- Export Localization and SpatialNavigation to use in external UI configuration

## [3.40.0] - 2022-12-20

### Added
- Support for spatial navigation
- SmartTV UI via `UIFactory.buildDefaultTvUI`

### Changed
- Node.js from 10 to 16
- Typescript from ^3.9.6 to 4.3

## [3.39.0] - 2022-12-01

### Added
Expand Down Expand Up @@ -804,7 +889,21 @@ Version 2.0 of the UI framework is built for player 7.1. If absolutely necessary
## 1.0.0 (2017-02-03)
- First release

[develop]: https://github.com/bitmovin/bitmovin-player-ui/compare/v3.38.0...HEAD
[3.52.2]: https://github.com/bitmovin/bitmovin-player-ui/compare/v3.52.1...v3.52.2
[3.52.1]: https://github.com/bitmovin/bitmovin-player-ui/compare/v3.52.0...v3.52.1
[3.52.0]: https://github.com/bitmovin/bitmovin-player-ui/compare/v3.51.0...v3.52.0
[3.51.0]: https://github.com/bitmovin/bitmovin-player-ui/compare/v3.50.0...v3.51.0
[3.50.0]: https://github.com/bitmovin/bitmovin-player-ui/compare/v3.49.0...v3.50.0
[3.49.0]: https://github.com/bitmovin/bitmovin-player-ui/compare/v3.48.0...v3.49.0
[3.48.0]: https://github.com/bitmovin/bitmovin-player-ui/compare/v3.47.0...v3.48.0
[3.47.0]: https://github.com/bitmovin/bitmovin-player-ui/compare/v3.46.0...v3.47.0
[3.46.0]: https://github.com/bitmovin/bitmovin-player-ui/compare/v3.45.0...v3.46.0
[3.45.0]: https://github.com/bitmovin/bitmovin-player-ui/compare/v3.44.0...v3.45.0
[3.44.0]: https://github.com/bitmovin/bitmovin-player-ui/compare/v3.43.0...v3.44.0
[3.43.0]: https://github.com/bitmovin/bitmovin-player-ui/compare/v3.42.0...v3.43.0
[3.42.0]: https://github.com/bitmovin/bitmovin-player-ui/compare/v3.41.0...v3.42.0
[3.41.0]: https://github.com/bitmovin/bitmovin-player-ui/compare/v3.40.0...v3.41.0
[3.40.0]: https://github.com/bitmovin/bitmovin-player-ui/compare/v3.39.0...v3.40.0
[3.39.0]: https://github.com/bitmovin/bitmovin-player-ui/compare/v3.38.0...v3.39.0
[3.38.0]: https://github.com/bitmovin/bitmovin-player-ui/compare/v3.37.0...v3.38.0
[3.37.0]: https://github.com/bitmovin/bitmovin-player-ui/compare/v3.36.0...v3.37.0
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ There are various conditions upon which the `UIManager` can automatically switch
* `buildDefaultUI`: The default UI as used by the player by default
* `buildDefaultCastReceiverUI`: A light UI specifically for Google Cast receivers
* `buildDefaultSmallScreenUI`: A light UI specifically for small handheld devices
* `buildDefaultTvUI`: A UI specifically for big screens with remote control ans main input option

You can easily test and switch between these UIs in the UI playground.

Expand Down
19 changes: 6 additions & 13 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ gulp.task('sass', function() {
'./node_modules'],
}).on('error', sass.logError))
.pipe(postcss([
autoprefixer({browsers: ['> 1%', 'last 2 versions', 'Firefox ESR']}),
autoprefixer(),
postcssSVG()
]))
.pipe(cssBase64())
Expand Down Expand Up @@ -209,26 +209,19 @@ gulp.task('build-prod', gulp.series(function(callback) {
gulp.task('default', gulp.series('build'));

// Watches files for changes and runs their build tasks
gulp.task('watch', function() {
gulp.task('watch', gulp.series('build', function() {
// Watch for changed html files
gulp.watch(paths.source.html).on('change', gulp.series('html'));

// Watch SASS files
gulp.watch(paths.source.sass).on('change', gulp.series('sass'));

// Watch JSON files
// Watch JSON files
gulp.watch(paths.source.json).on('change', gulp.series('browserify'));

// Watch files for changes through Browserify with Watchify
catchBrowserifyErrors = true;
return browserifyInstance
.plugin(watchify)
// When a file has changed, rerun the browserify task to create an updated bundle
.on('update', function() {
gulp.start('browserify');
})
.bundle();
});
// Watch TypeScript files
gulp.watch(paths.source.ts).on('change', gulp.series('browserify'));
}));

// Serves the project in the browser and updates it automatically on changes
gulp.task('serve', gulp.series('build', function() {
Expand Down
4 changes: 3 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,7 @@ module.exports = {
// A map from regular expressions to paths to transformers
transform: {
'^.+\\.tsx?$': 'ts-jest'
}
},

setupFilesAfterEnv: ['<rootDir>/setup-jest.ts'],
};
Loading

0 comments on commit b84b04b

Please sign in to comment.