Skip to content

Commit

Permalink
release: version 1.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
romm committed Oct 23, 2023
1 parent 4618985 commit e384ad6
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/pages/project/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Below are listed the changelogs for all released version of the library.

## Version 1

- [`1.7.0` — 23rd of October 2023](changelog/version-1.7.0.md)
- [`1.6.1` — 11th of October 2023](changelog/version-1.6.1.md)
- [`1.6.0` — 25th of August 2023](changelog/version-1.6.0.md)
- [`1.5.0` — 7th of August 2023](changelog/version-1.5.0.md)
Expand Down
48 changes: 48 additions & 0 deletions docs/pages/project/changelog/version-1.7.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Changelog 1.7.0 — 23rd of October 2023

!!! info inline end "[See release on GitHub]"
[See release on GitHub]: https://github.com/CuyZ/Valinor/releases/tag/1.7.0

## Notable changes

**Non-positive integer**

Non-positive integer can be used as below. It will accept any value equal to or
lower than zero.

```php
final class SomeClass
{
/** @var non-positive-int */
public int $nonPositiveInteger;
}
```

**Non-negative integer**

Non-negative integer can be used as below. It will accept any value equal to or
greater than zero.

```php
final class SomeClass
{
/** @var non-negative-int */
public int $nonNegativeInteger;
}
```

## Features

* Handle non-negative integer type ([f444ea](https://github.com/CuyZ/Valinor/commit/f444eae1f1205a9bbba75670524dbb6799e576aa))
* Handle non-positive integer type ([53e404](https://github.com/CuyZ/Valinor/commit/53e4047f12718b985822926b57226805671206b9))

## Bug Fixes

* Add missing `@psalm-pure` annotation to pure methods ([004eb1](https://github.com/CuyZ/Valinor/commit/004eb16717d2f16dc899e1a6b2c0d987ee0f77c1))
* Handle comments in classes when parsing types imports ([3b663a](https://github.com/CuyZ/Valinor/commit/3b663a903abe6b7ea5bbbe41281d8ea711be7226))

## Other

* Add comment for future PHP version change ([461898](https://github.com/CuyZ/Valinor/commit/46189854c335565317edbf42e36c01fca8c3614b))
* Fix some typos ([5cf8ae](https://github.com/CuyZ/Valinor/commit/5cf8ae54d57dee1b92097d0e01e06105b73b7732))
* Make `NativeBooleanType` a `BooleanType` ([d57ffa](https://github.com/CuyZ/Valinor/commit/d57ffae91b961019ec5fcb8344fddb8921f750dd))

0 comments on commit e384ad6

Please sign in to comment.