Skip to content

Commit

Permalink
Release v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rlanvin committed Sep 1, 2019
1 parent cc91354 commit 4ace47e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 15 deletions.
12 changes: 9 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@

## [Unreleased]

n/a

## [2.0.0] - 2019-09-01

### Backward Compatibility Breaking Changes

- All classes now reside within `PhpIP` namespace. [#14](https://github.com/rlanvin/php-ip/pull/14)
- Deprecated `IPBlock::getSuper`, use `IPBlock::getSuperBlock()` instead. [#46](https://github.com/rlanvin/php-ip/pull/46)

Expand All @@ -13,7 +18,7 @@
- New method `reversePointer()` [#44](https://github.com/rlanvin/php-ip/pull/44)
- New method `IpBlock::getGivenIp` to return the IP used in the constructor [#6](https://github.com/rlanvin/php-ip/pull/6)

### Removed
### Removed

- Drop support for PHP 5 [#8](https://github.com/rlanvin/php-ip/issues/8)

Expand All @@ -27,5 +32,6 @@

First release

[Unreleased]: https://github.com/rlanvin/php-rrule/compare/v1.0.1...HEAD
[1.0.1]: https://github.com/rlanvin/php-ip/compare/v1.0.0...v1.0.1
[Unreleased]: https://github.com/rlanvin/php-rrule/compare/v2.0.0...HEAD
[2.0.0]: https://github.com/rlanvin/php-rrule/compare/v1.0.1...v2.0.0
[1.0.1]: https://github.com/rlanvin/php-ip/compare/v1.0.0...v1.0.1
13 changes: 1 addition & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,11 @@ IPv4/IPv6 manipulation library for PHP inspired by Python [ipaddress](https://do

The recommended way is to install the lib [through Composer](http://getcomposer.org/).

Just add this to your `composer.json` file (change the version by the release you want, or use `dev-master` for the development version):

```JSON
{
"require": {
"rlanvin/php-ip": "1.*"
}
}
```

Then run `composer install` or `composer update`.
Simply run `composer require rlanvin/php-rrule` for it to be automatically installed and included in your `composer.json`.

Now you can use the autoloader, and you will have access to the library:

```php
<?php
require 'vendor/autoload.php';
```

Expand Down

0 comments on commit 4ace47e

Please sign in to comment.