added versioning to prevent breaking existing projects

This commit is contained in:
Maria Sormanova 2016-07-26 10:43:18 +02:00
parent 51f8a3056b
commit 3a25d9bf17
2 changed files with 1 additions and 7 deletions

View File

@ -83,12 +83,6 @@ echo $engine->render(
)
);
```
upgrading to newer versions
-----
If you are upgrading to the new library version which uses TTL with Disk cache,
first do not forget to delete all the files in the cache directory
created by older versions, since the data structure has changed.
contribution
------------

View File

@ -38,7 +38,7 @@ use Handlebars\Cache\Dummy;
class Handlebars
{
private static $_instance = false;
const VERSION = '1.0.0';
const VERSION = '1.1.0';
/**
* factory method