{"action":"published","release":{"url":"https://api.github.com/repos/dompdf/dompdf/releases/1379703","assets_url":"https://api.github.com/repos/dompdf/dompdf/releases/1379703/assets","upload_url":"https://uploads.github.com/repos/dompdf/dompdf/releases/1379703/assets{?name,label}","html_url":"https://github.com/dompdf/dompdf/releases/tag/v0.7.0-beta.2","id":1379703,"tag_name":"v0.7.0-beta.2","target_commitish":"develop","name":"dompdf 0.7.0 beta 2","draft":false,"author":{"login":"bsweeney","id":485897,"avatar_url":"https://avatars.githubusercontent.com/u/485897?v=3","gravatar_id":"","url":"https://api.github.com/users/bsweeney","html_url":"https://github.com/bsweeney","followers_url":"https://api.github.com/users/bsweeney/followers","following_url":"https://api.github.com/users/bsweeney/following{/other_user}","gists_url":"https://api.github.com/users/bsweeney/gists{/gist_id}","starred_url":"https://api.github.com/users/bsweeney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsweeney/subscriptions","organizations_url":"https://api.github.com/users/bsweeney/orgs","repos_url":"https://api.github.com/users/bsweeney/repos","events_url":"https://api.github.com/users/bsweeney/events{/privacy}","received_events_url":"https://api.github.com/users/bsweeney/received_events","type":"User","site_admin":false},"prerelease":true,"created_at":"2015-09-25T21:40:53Z","published_at":"2015-09-27T14:21:21Z","assets":[{"url":"https://api.github.com/repos/dompdf/dompdf/releases/assets/894789","id":894789,"name":"dompdf_0-7-0_beta2.zip","label":null,"uploader":{"login":"bsweeney","id":485897,"avatar_url":"https://avatars.githubusercontent.com/u/485897?v=3","gravatar_id":"","url":"https://api.github.com/users/bsweeney","html_url":"https://github.com/bsweeney","followers_url":"https://api.github.com/users/bsweeney/followers","following_url":"https://api.github.com/users/bsweeney/following{/other_user}","gists_url":"https://api.github.com/users/bsweeney/gists{/gist_id}","starred_url":"https://api.github.com/users/bsweeney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsweeney/subscriptions","organizations_url":"https://api.github.com/users/bsweeney/orgs","repos_url":"https://api.github.com/users/bsweeney/repos","events_url":"https://api.github.com/users/bsweeney/events{/privacy}","received_events_url":"https://api.github.com/users/bsweeney/received_events","type":"User","site_admin":false},"content_type":"application/zip","state":"uploaded","size":5250374,"download_count":0,"created_at":"2015-09-25T22:16:16Z","updated_at":"2015-09-25T22:16:30Z","browser_download_url":"https://github.com/dompdf/dompdf/releases/download/v0.7.0-beta.2/dompdf_0-7-0_beta2.zip"}],"tarball_url":"https://api.github.com/repos/dompdf/dompdf/tarball/v0.7.0-beta.2","zipball_url":"https://api.github.com/repos/dompdf/dompdf/zipball/v0.7.0-beta.2","body":"**Change highlights since 0.6.1**\r\n\r\n - Add namespace support\r\n - Restructure code for implementation of the PSR coding standard\r\n - Drop support for the dompdf_config.inc.php configuration file; see the migration section below for more details\r\n - Remove non-library utility code (load_font.php, dompdf.php, the www content)\r\n - Add initial support for SVG\r\n\r\nThe majority of work in this release went towards support for namespaces, PSR, and SVG support but a few code improvements were also made. Highlights include:\r\n\r\n - Update DejaVu fonts to v2.34\r\n - Optimize performance by removing support for versions of PHP prior to 5.3\r\n - Improve PDF structure produced by CPDF\r\n - Add rendered document page selection support to the GD adapter\r\n - Take Unicode and float support out of \"beta\"\r\n - Add support for unit testing\r\n\r\n**Requirements**\r\n\r\nThe dompdf 0.7.0 beta 2 requires the following:\r\n\r\n - PHP 5.3 or greater\r\n - MBString\r\n - GD (for image processing)\r\n - `allow_url_fopen` set to true (for retrieving stylesheets or images via http)\r\n - php-font-lib v0.4.x\r\n - php-svg-lib v0.1 (if rendering SVG)\r\n\r\nFor full requirements and recommendations see the [requirements page on the wiki](https://github.com/dompdf/dompdf/wiki/Requirements).\r\n\r\nThe dompdf team recommends that you use Composer for easier dependency management. If you're not yet using Composer you can download a packaged release of dompdf which includes all the files you need to use the library. The beta package is titled dompdf_0-7-0_beta2.zip.\r\n\r\n**Notes on migrating from an earlier version of dompdf**\r\n\r\n 1. Because the *dompdf_config.inc.php* file has been removed from this release (and is no longer referenced) all dompdf options will have to be set at run time. To simplify your in-code instantiation you can implement an intermediary script to instantiate dompdf and set the options, referencing this intermediate script in your project. We may provide such a script in the final release to help with migration.\r\n\r\n 2. The class naming conventions required a change to the *dompdf_font_family_cache.php* file. Though we have attempted to accommodate this change your first step when encountering bugs (if you don't know where to start) might be to reset your font directory (i.e. remove custom font files, font metrics files, and the font family cache file).\r\n\r\n 3. During the beta period the utilities for pre-loading fonts are not available. We hope to make these utilities available for the final release (in a separate project). You may continue to use the `@font-face` CSS rule to install fonts at run time.\r\n\r\n 4. The FontMetrics class is now instantiated instead of static. To simplify migration we provide access to it via the $fontMetrics variable. Please update your inline scripts. For example, `FontMetrics::get_font('helvetica')` would now be `$fontMetrics->getFont('helvetica')`.\r\n"}}