Releases: jabbany/CommentCoreLibrary
Bugfix for previous release
Release 0.11.0
Make some of the API changes final and publish as latest to NPM.
Small performance improvements.
Updated APIs and New Rendering Systems
本次 Release 跳过了单独点发布 0.10.0-rc 系列内实验性的CSS弹幕,直接将其设定为默认渲染模式。
本次更新有API变动
We are skipping the v0.10.0 series of changes in favor of introducing the improvements directly from merging changes in modularization and animation to produce v0.11.
This update introduces breaking changes to the API
更新内容
- 并入代码弹幕引擎优化
- Bezier移动支持
- 初步“渐变”填充支持
- 修正Tween库的一些BUG情况
- 传递 blendMode到前端CSS(不知道是不是work)
- 弹幕加载器实现 (提供了可扩展弹幕加载和发送的API模板,和一些简单的用来加载HTTP下XML和JSON弹幕的实现)
- 修正格式解析器的一些BUG
- BilibiliFormat 修正 border 可以同时接受
(bool) false
和(string) "false"
- AcfunFormat 通过 Acfun 播放器高级弹幕实验结合 Issue 内提到的的一些参考材料,极大改善了 AcfunFormat支持
- 弹幕格式文档
- BilibiliFormat 修正 border 可以同时接受
- 新的 CommentFactory 实现,可以提供 Legacy (DOM + Timer)和 CSS (CSS3 Animation + 高级弹幕依然Timer)不同渲染引擎选项
- 全面并入
0.10.0-rc
下提出的的CSS3实现(*虽然前些时候围观了一下各种CCL的未开源第三方改进发现了另一些更高端的 CSS Animation 和 Canvas弹幕的实现 >_< )
- 全面并入
- 更多的 TypeScript 组件。为 1.0.0 过渡到纯 TS 项目准备。
- 一些文档改进和修正+新的测试。文档增加初步多语言支持。
Updates:
- Merge in improvements from
dev-scripter
- Support bezier movement
- Fix base case errors (no-tween case) in tween library
- Basic support for gradient fills
- Basic support for blendMode passthrough to CSS (not tested yet)
- Comment Loader Mechanism update. Introduced a new extensible system+API to load and send comments.
- Parser Fixes
- Bilibili: Fixed parsing of border to accept both
(bool) false
and(string) "false"
- AcFun: Enabled support for lots of new properties by testing output of the new AcFun Flash player and using documents provided in the Issues section.
- Documented the formats for reference use (this may eventually move out to separate project?)
- Bilibili: Fixed parsing of border to accept both
- New CommentFactory implementation supports different render modes such as Legacy (DOM + Timer) or CSS (CSS3 animations) etc.
- Merge in improvements experimented from
v0.10.0-rc
for CSS3 danmaku (* Although newer and possibly better approaches are around in third party improvements for CCL (plz PR me >_<))
- Merge in improvements experimented from
- More things in TypeScript to prepare for transition to full TS in version 1.0.0
- Lots of documentation updates and new unit tests. Basic multi-language documentation (still needs work! Translations welcome!)
Compilation Flow Update 编译流程更新
- Updated dependencies
- Moved from
grunt-typescript
togrunt-ts
to use newer version of grunt
New Architecture 新的弹幕抽象化
This version introduces a new abstraction layer to our danmaku objects. Now we can support multiple render planes, a wide variety of CommentSpaceAllocators all with minimal code changes. It also fixes some old bugs and adds many new features including better conformation to the future API.
New Features & Bugfixes:
- Support Bilibili Path follow format
- Support changing danmaku display type
- Support AcFun comments better
- Better abstraction
- Support most of the new API including events
新版本增加了一系列的对于弹幕和空间管理器的抽象层。现在支持新的显示渲染媒介(如 canvas 或 css)变得容易很多,支持新的空间规划器也变得非常容易,只需微小代码变动。同时我们修复了一些旧的BUG,增加了一些新功能。
功能和修正:
- 支持B站的轨迹跟随弹幕
- 支持弹幕样式的灵活化
- 更好的支持Acfun的高级弹幕
- 更好的抽象化,节约代码
- 支持了更多的新API规范(保持兼容性的前提下)
Bugfix 错误修正和性能提升
Fixes bug in CommentSpaceAllocator of returning undefined
when we enter a second danmaku layer. Enforce GPU rendering by forcing each comment onto a composite layer.
Submitted to npm & bower.
修正前一版空间规划模块的BUG,this.setY 在一些情况下不返回(因为忘记了return),这样应该能解决第二弹幕层以上弹幕都会跑到第0行的BUG。(以前竟然一直不知道问题在哪)
CSS上现在强制进行GPU加速(如果支持)。
First Full-Featured Release 首发全功能到 Mode 7
First full featured release of CommentCoreLibrary. We can now fully support up to all danmaku in modes <= 7
. These include: scrolling (ltr, rtl, top scroll, bottom scroll), top-clustered, bottom-clustered, and positional (including movement and animation) comments.
本次标记位置能在全平台,多浏览器下,以很高的还原度实现 Bilibili 的各种弹幕。可以保证非常高标准的还原 任何 Mode <= 7
的弹幕!我们支持包括:
- 滚动
- 左到右
- 右到左
- 上方滚动
- 下方滚动
- 顶部弹幕
- 底部弹幕
- 定位弹幕
- 包括高级移动定位弹幕
- 3D旋转定位弹幕