Skip to content

Releases: pda/flexihash

Ecosystem Upgraded: PHP 7.2 minimum

07 Aug 01:02
a8f9a3b
Compare
Choose a tag to compare
  • Use PHPUnit 8 instead of PHPUnit 4.
  • PHP 7.2 minimum.
  • Enable strict typing mode for all PHP files.

Fix continuous integration support

22 Apr 21:04
Compare
Choose a tag to compare

Sort out dev dependencies for tests to pass under 5.4

Bugfix for MD5 target leaking

22 Apr 20:00
Compare
Choose a tag to compare

PHP treats numeric strings as integers when used as an array key. This means they pop out of order and cause incorrect remapping when a target is removed.

This release fixes that issue with thanks to @kojik1010 and @banks.

PSR-4 and namespacing

08 Nov 00:46
Compare
Choose a tag to compare

Changes

  • Namespacing.
  • PSR-4 autoloading.
  • Reorganisation of files.
  • Full PSR-2 support.
  • Drops PHP<5.4 support.

Upgrading

This is a breaking update. The class names have changed. To upgrade you will need to:

  • Update any references to Flexihash to Flexihash\Flexihash.
  • Update any references to the hashers from (for example) Flexihash_Crc32Hasher to Flexihash\Hasher\Crc32Hasher.
  • Catch Flexihash\Exception instead of 'Flexihash_Exception`.

Initial Composer Release

07 Nov 23:14
Compare
Choose a tag to compare

Install with composer require flexihash/flexihash

  • Remove legacy autoloader.
  • Migrate tests to PHPUnit.
  • Get as close to PSR-2 as possible without changing class names.
  • Setup automatic testing with Travis.
  • Give code coverage information with Coveralls.

Posterity Release

07 Nov 23:09
Compare
Choose a tag to compare

This is the repository in it's historical state.

It does not support composer , PSR or PHPUnit.

You are recommended to use v1.0.0 as a minimum unless you have a good reason.