Skip to content

Commit

Permalink
Merge pull request #1080 from ecomfe/release-dev
Browse files Browse the repository at this point in the history
Release 5.6.0
  • Loading branch information
pissang committed Jun 17, 2024
2 parents 60195df + a48515c commit d3e0e17
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions dist/zrender.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
else {
text = text || '';
font = font || DEFAULT_FONT;
var res = /(\d+)px/.exec(font);
var res = /((?:\d+)?\.?\d*)px/.exec(font);
var fontSize = res && +res[1] || DEFAULT_FONT_SIZE;
var width = 0;
if (font.indexOf('mono') >= 0) {
Expand Down Expand Up @@ -7338,7 +7338,7 @@
function registerSSRDataGetter(getter) {
ssrDataGetter = getter;
}
var version = '5.5.0';
var version = '5.6.0';

var STYLE_MAGIC_KEY = '__zr_style_' + Math.round((Math.random() * 10));
var DEFAULT_COMMON_STYLE = {
Expand Down
2 changes: 1 addition & 1 deletion dist/zrender.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/zrender.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "zrender",
"version": "5.5.0",
"version": "5.6.0",
"description": "A lightweight graphic library providing 2d draw for Apache ECharts",
"keywords": [
"canvas",
Expand Down
2 changes: 1 addition & 1 deletion src/zrender.ts
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ export function registerSSRDataGetter<T>(getter: ElementSSRDataGetter<T>) {
/**
* @type {string}
*/
export const version = '5.5.0';
export const version = '5.6.0';


export interface ZRenderType extends ZRender {};

0 comments on commit d3e0e17

Please sign in to comment.