Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
pofider committed Oct 9, 2019
2 parents 27e4a7f + 7aed29a commit 728e85e
Show file tree
Hide file tree
Showing 8 changed files with 55 additions and 18 deletions.
40 changes: 40 additions & 0 deletions _posts/release-2-6-0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@

{{{
"title" : "Release 2.6.0",
"date": "09-22-2019 19:30"
}}}

**jsreport 2.6.0 is now live.**
You can find the full details and release notes in the [github releases](https://github.com/jsreport/jsreport/releases/tag/2.6.0) as always.

The 2.6.0 brings dark theme, white labeling, new recipes and optimized single executable. Let's take a look in detail.

## Dark theme
The default jsreport now includes the dark theme. Every user can switch it through the studio settings or you can also switch it globally using jsreport configuration. See [studio](/learn/studio) documentation for the details.

![dark-theme](/img/dark-theme.jpg)

## White labeling
The dark theme is built on the top of a more general feature introduced in the 2.6.0. The white labeling lets you create new studio themes and customize the colors and styles. The companies can add custom logos and adapt colors to their brand through jsreport configuration or through a custom theme extension.

![white-labeling](/img/white-labeling.jpg)

This topic is also deeply covered in the [studio](/learn/studio) documentation.

## New recipes
The [static-pdf](/learn/static-pdf) is now included as default jsreport recipe. No need to install it as a custom extension as in the previous version. Just to remind, it can be used to upload an existing pdf and simply output it. This is very handy in combination with [pdf-utils](/learn/pdf-utils) extension.

The 2.6.0 also includes two recipes which were recently released. The [docx](/learn/docx) and [pptx](/learn/pptx) recipes can be used to produce office reports. You can put templating engine like [handlebars](/learn/handlebars) right to the uploaded word or powerpoint file and the recipe will evaluate the engine syntax and produce the final report.

![docx](/img/docx.png)

These recipes are still in the beta and their API may change, however, both are already included in the default installation so you can easily play with them and give us feedback. It is the future for producing word and powerpoint from jsreport.

## Single executable optimizations
jsreport 2.6.0 executables are now built using different technology. The main technical change is that it now embeds to the exe already compiled javascript modules and uses the virtual filesystem to reach them. This method is significantly faster for boot. The best performing rendering with `keepAlive` attribute is now 2x faster for pdf.

<hr/>
That's all from the 2.6.0 highlighs. There also many smaller improvements included in the 2.6.0 which you can find in the [github release notes](https://github.com/jsreport/jsreport/releases).
As always, please fill github ticket or forum topic if you have any issues or suggestions.


Binary file added public/img/dark-theme.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/img/docx.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/export.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/white-labeling-f12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/white-labeling.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion views/learn/docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,5 +90,6 @@
"pptx": "Pptx",
"customize-docker-image": "Customize docker image",
"pdf-meta": "Pdf meta",
"studio": "Studio"
"studio": "Studio",
"office-preview": "Office preview"
};
30 changes: 13 additions & 17 deletions views/learn/recipes.html
Original file line number Diff line number Diff line change
Expand Up @@ -106,21 +106,18 @@ <h1 class="fg-white">Recipes</h1>

<div class="span4">
<a href="/learn/static-pdf">
<div class="tile thin bg-darkViolet text-center">
<div class="tile thin bg-darkCyan text-center">
<div class="tile-content">
<i class="icon-github fg-white"></i>
<span class="fg-white">Static pdf</span>
</div>
</div>
</a>
</div>

<div class="span4">
<a href="/learn/phantom-pdf">
<div class="tile thin bg-darkViolet text-center">
<div class="tile-content">
<i class="icon-github fg-white"></i>
<span class="fg-white">Phantom pdf</span>
<a href="/learn/docx">
<div class="tile thin bg-darkCyan text-center">
<div class="tile-content">
<span class="fg-white">Docx</span>
</div>
</div>
</a>
Expand All @@ -129,31 +126,30 @@ <h1 class="fg-white">Recipes</h1>

<div class="row">
<div class="span4">
<a href="/learn/wkhtmltopdf">
<div class="tile thin bg-darkViolet text-center">
<div class="tile-content">
<i class="icon-github fg-white"></i>
<span class="fg-white">wkhtmltopdf</span>
<a href="/learn/pptx">
<div class="tile thin bg-darkCyan text-center">
<div class="tile-content">
<span class="fg-white">Pptx</span>
</div>
</div>
</a>
</div>
<div class="span4">
<a href="/learn/docx">
<a href="/learn/phantom-pdf">
<div class="tile thin bg-darkViolet text-center">
<div class="tile-content">
<i class="icon-github fg-white"></i>
<span class="fg-white">Docx</span>
<span class="fg-white">Phantom pdf</span>
</div>
</div>
</a>
</div>
<div class="span4">
<a href="/learn/pptx">
<a href="/learn/wkhtmltopdf">
<div class="tile thin bg-darkViolet text-center">
<div class="tile-content">
<i class="icon-github fg-white"></i>
<span class="fg-white">Pptx</span>
<span class="fg-white">wkhtmltopdf</span>
</div>
</div>
</a>
Expand Down

0 comments on commit 728e85e

Please sign in to comment.