7.0.2
INCOMPATIBLES CHANGES : Nothing incompatible changed is you only used HTML layout or CSS variables. But, there may be some work to adapt previous cpu-audio.js (< 7.0) to cpu-audio version and above 7, only and only if you used the javascript API on document.CPU
or component.CPU
. We hope Javascript coders will enjoy most of thoses changes, and discuss about them in our tickets.
RELEASE NOTES versions 7.0 to 7.0.2
- Changing license from GPL to LGPL (#174)
- Removing an example that incits a bad habit
- Correct credit for @tdd
- Regression on
<a>
tags with actions (#170), released as 7.0.1 - Simplify examples/Usage_controller.html
RELEASE NOTES version 7.0
New features
- Persistent
<CPU-Controller>
for single page web-app, with current playing remanence (#87) - Added a theme with a direct download button, instead of the action button. Example for creating graphic theme (#56)
- Added a theme with a simple big square button. Example for creating leaner graphic theme (#56)
- Possibility to create themed versions with specific html and css files (#56)
- Possibility to change css breakpoints (#51) by this way (#56)
- Possibility to create RTL version (#26) by this way (#56)
- A11y : Support reduced motion preferences
- Adding support for ↑ and ↓ keys, moving focus among panels
- Adding support for
prevcue
/nextcue
facultative buttons (#108) - Adding support for
prevtrack
/nexttrack
facultative buttons (#125) - Added method
Element.CPU.bulkPoints()
- Some examples added
- Degradable code, some elements are no more absolutely required in template (#56)
- Revised chapters-editors application, can now accept “uploaded” files #126
- Wonderful example of React integration (#120)
- Attributes for the webcomponent can be live-changed
<CPU-Controller>
has a specific CSS class (#87)- WebVTT tag translation in chapters editor (#152)
- Added a FAQ page
Corrections
- Removing annoying interactions from Safari iOS (#138)
- Resolving graphic glitches on Safari, SVG aren't correctly calculated on iOS (#138)
- Production files are now more logically created in
build/
instead ofdirectory/
<CPU-Controller>
cannot be instanced twice- Methods and parameters names have been unified camelCase. Changes are incompatible with versions <7.0 (#112)
- Title parameter in
Element.CPU.addPlane()
is now inplanePoint
Element.CPU.removeHighlightsPoints()
was too generic. Modification in parameters (#109)Element.CPU.build_chapters()
andElement.CPU.build_playlist()
are no more public API- Some accessibilities issues on keyboard behavior and time line (#116)
- Don't hide nymore the mouse cursor over the time-line (#133)
- Reduce repaints, graphic glitches
- An unuseful focusable was removed
- Restauring alternative fine browsing mode on Safari (#150)
- Do not change color when changing mode play→loading→play (#114)
- Resolving a probable issue on fine navigation panel on handheld
- Play/pause button may have issues if Chrome got numerous webcomponents in the same page
- An translation error may occurs in shareable URL. We remove audio id if we are not in same URL
- Issue with intermittent
.replaceAll()
resolved - When changing component title, its title="" must follows
- Attributes
hide
,mode
andglow
weren't properly checked - Leave error mode if template is recompleted
- Update controller playlist panel if current playlist has changed
- Removing a
<CPU-Audio>
will remove its reference in playlists - Heavy simplification of the fine-position panel management
- Pop-up on time-line may have incorrectly displayed “0:00”
- Too many problems in documentations in gh-pages, links to config and chaptering applications are now absolute (#135)
- Do not show panels when in error state
- Disambiguation in renaming
findContainer()
infindCPU()
(#142) - Faster instantiation time, removing
<template>
from host page (#148) - Documentation re-formated (#134)
HTMLAudioElement.CPU_Update()
andHTMLAudioElement.CPU_Controller()
going private (vestigial use) (#143)- Build lib still under 50,000 bytes
Back-end
- Made a call on contribulle.org
- gh-pages jekyll theme changed
- Using standard ECMA imports (#110)
- Using ECMA5+ classes, getters, setters, rests & spreads (#115)
- Renamed files (#110)
- Better separation between public objects and private methods (#110)
- Use
npm
to catch dependencies - Leaving Google Closure for webpack : too many bugs, too old
- Using a more aggressive linter
- Using
css-minify
for compressing css, instead of home-boiled regex (#56) - Using
html-minifier
for compressing html, for the exact same reasons (#56) - Reduce CSS and HTML compressions operations if no need to freshen (#56)
- Re-inverted play/pause button semantic (#116)
- QUnit removed from repo, provided via
npm
- QUnit-puppeteer integrated into
make.sh
- Automated links from MD (or examples.html) to examples and applications
- Playlist are now using the standard API, with special code for CPU-Controller (#109)
- Some builders are removed from
Element.CPU
, to avoid expose them in public API - gh-pages re-organized (#135)
- A INTERNALS.md documentation for theme builders