diff --git a/CHANGELOG.md b/CHANGELOG.md index 6f46b74..4fc7c50 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ All notable changes to this project will be documented in this file. This project follows [Semantic Versioning](http://semver.org/). +## [1.2.0] - 2017-07-22 +### Changed +- Vector's minimum and default capacity down from 10 to 8. +- Map and Set's minimum and default capacity down from 16 to 8. +- Hash function of arrays is now the length of the array, so O(1). + ## [1.1.10] - 2017-06-22 ### Fixed - Using a key as reference not working correctly with array access. #86 diff --git a/README.md b/README.md index 1f57064..6c8eb0b 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![Build Status](https://travis-ci.org/php-ds/extension.svg?branch=master)](https://travis-ci.org/php-ds/extension) [![Build status](https://ci.appveyor.com/api/projects/status/dbcssp6flml2gher?svg=true)](https://ci.appveyor.com/project/rtheunissen/extension) [![Code Coverage](https://scrutinizer-ci.com/g/php-ds/polyfill/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/php-ds/polyfill/?branch=master) -[![PECL](https://img.shields.io/badge/PECL-1.1.10-blue.svg)](https://pecl.php.net/package/ds) +[![PECL](https://img.shields.io/badge/PECL-1.2.0-blue.svg)](https://pecl.php.net/package/ds) An extension providing specialized data structures as efficient alternatives to the PHP array. You can read about it in more detail [in this blog post](https://medium.com/p/9dda7af674cd) which highlights the API, performance and other benefits of using the extension. diff --git a/package.xml b/package.xml index 3d73da6..e318f61 100644 --- a/package.xml +++ b/package.xml @@ -16,10 +16,10 @@ krakjoe@php.net yes - 2017-04-26 + 2017-07-22 - 1.1.10 + 1.2.0 1.1.0 @@ -28,7 +28,9 @@ MIT License - - Fix using a key as reference not working correctly with array access. #86 + - Vector's minimum and default capacity down from 10 to 8. + - Map and Set's minimum and default capacity down from 16 to 8. + - Hash function of arrays is now the length of the array, so O(1). diff --git a/php_ds.h b/php_ds.h index 525e1e0..2f4421e 100644 --- a/php_ds.h +++ b/php_ds.h @@ -20,7 +20,7 @@ extern zend_module_entry ds_module_entry; #define phpext_ds_ptr &ds_module_entry /* Replace with version number for your extension */ -#define PHP_DS_VERSION "1.1.10" +#define PHP_DS_VERSION "1.2.0" #ifdef PHP_WIN32 # define PHP_API __declspec(dllexport)