Skip to content

Commit

Permalink
2.2.1 (#120)
Browse files Browse the repository at this point in the history
* ISSUE-112: Fixed empty index type on pgsql adapter usage

* ISSUE-111: Replaced pgsql unsupported double type to supported float

* Codestyle fixes

* Added tests and validation fixes

* PHP 8 support

* updating tests and lock file

* .

* test ci adjustments

* adjusting tests phalcon 5 installation

* adjusting tests

* updated composer packages

* replaced deprecated assert

* disabled psalm negative rule

* CHANGELOG

* ISSUE-111: Column types fix

* ISSUE-112: mkdir redundant call removed

* typehints on db testers seeExceptionThrown

Co-authored-by: Kevin Yarmak <[email protected]>
  • Loading branch information
BeMySlaveDarlin and Ultimater authored Aug 3, 2021
1 parent fec5c23 commit fb0e3bd
Show file tree
Hide file tree
Showing 27 changed files with 2,654 additions and 1,790 deletions.
26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
> Questions should go to https://forum.phalcon.io
> Documentation issues should go to https://github.com/phalcon/docs/issues
### Expected and Actual Behavior

> **Describe what you are trying to achieve and what goes wrong.**
> Provide output if related
```php
// paste output here
```
> Provide minimal script to reproduce the issue
```php
// paste code
```

### Details

* System info and versions (if possible): (`phalcon info`)
* Phalcon Framework version: (`php --ri phalcon`)
* PHP Version: (`php -v`)
* Operating System:
* Server: Nginx | Apache | Other
* Other related info (Database, table schema):
16 changes: 16 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Hello!

* Type: bug fix | new feature | code quality | documentation
* Link to issue:

**In raising this pull request, I confirm the following (please check boxes):**

- [ ] I have read and understood the [Contributing Guidelines][:contrib:]
- [ ] I have checked that another pull request for this purpose does not exist
- [ ] I wrote some tests for this PR

Small description of change:

Thanks

[:contrib:]: https://github.com/phalcon/migrations/blob/master/CONTRIBUTING.md
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: "Tests"
on: [push, pull_request]

jobs:
run-tests:
run-tests-php7:
name: PHP ${{ matrix.php-versions }}
runs-on: ubuntu-latest
env:
Expand All @@ -26,10 +26,9 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: ['7.2', '7.3', '7.4']
php-versions: ['7.3', '7.4']
steps:
- uses: actions/checkout@v1

- name: Setup cache environment
id: cache-env
uses: shivammathur/cache-extensions@v1
Expand Down Expand Up @@ -82,3 +81,4 @@ jobs:
with:
token: ${{secrets.CODECOV_TOKEN}}
file: ./tests/_output/coverage-*.xml

2 changes: 1 addition & 1 deletion .github/workflows/validations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: ['7.2', '7.3', '7.4']
php-versions: ['7.3', '7.4']

steps:
- name: Checkout the code
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# [2.2.1](https://github.com/phalcon/migrations/releases/tag/v2.2.1) (2021-08-03)
- Fixed types and indexes definition on pgsql adapter ([#111](https://github.com/phalcon/migrations/issues/111), [#112](https://github.com/phalcon/migrations/issues/112), [#118](https://github.com/phalcon/migrations/issues/118))

# [2.2.0](https://github.com/phalcon/migrations/releases/tag/v2.2.0) (2021-08-03)
Supported Versions: 7.3, 7.4, 8.0

- This release provides initial PHP 8 support.

# [2.1.6](https://github.com/phalcon/migrations/releases/tag/v2.1.6) (2021-03-22)
- Fixed duplicated table `phalcon_migrations` in PostgreSQL ([#104](https://github.com/phalcon/migrations/issues/104))
- Fixed morphing when column attribute `unsiged` is changed ([#109](https://github.com/phalcon/migrations/issues/109))
Expand Down
65 changes: 65 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# Contributing to Phalcon Migrations Utility

Phalcon Migrations Utility is an open source project and a volunteer effort.
Phalcon Migrations Utility welcomes contribution from everyone.

## Contributions

Contributions to Phalcon Migrations Utility should be made in the form of [GitHub pull requests][pr].
Each pull request will be reviewed by a core contributor (someone with permission to land patches) and either landed in
the main tree or given feedback for changes that would be required before it can be merged. All contributions should
follow this format, even those from core contributors.

## Questions & Support

*We only accept bug reports, new feature requests and pull requests in GitHub*.
For questions regarding the usage of the Phalcon Migrations Utility or support requests please visit the
[official forums][forum]. IDE stubs must not be modified manually, if you want to improve them please submit a PR
to [Phalcon Framework][cphalcon].

## Bug Report Checklist

- Make sure you are using the latest released version of Phalcon Framework and Phalcon Migrations Utility
before submitting a bug report. Bugs in versions older than the latest released one will not be addressed by the
core team

- If you have found a bug it is important to add relevant reproducibility information to your issue to allow us
to reproduce the bug and fix it quicker. Add a script, small program or repository providing the necessary code to
make everyone reproduce the issue reported easily. If a bug cannot be reproduced by the development it would be
difficult provide corrections and solutions. [Submit Reproducible Test][srt] for more information.

- Be sure that information such as OS, Phalcon Framework and Phalcon Migrations Utility versions and PHP version are
part of the bug report

- If you're submitting a Segmentation Fault error, we would require a backtrace, please see [Generating a Backtrace][gb]

## Pull Request Checklist

- Don't submit your pull requests to the `master` branch. Branch from the required branch and,
if needed, rebase to the proper branch before submitting your pull request.
If it doesn't merge cleanly with master you may be asked to rebase your changes

- Don't put submodule updates, composer.lock, etc in your pull request unless they are to landed commits

- Make sure that the code you write fits with the general style and coding standards of the [Accepted PHP Standards][psr]

## Getting Support

If you have a question about how to use Phalcon, please see the [support page][support].

## Requesting Features

If you have a change or new feature in mind, please fill an [NFR][nfr].

Thanks! <br />
Phalcon Team


[pr]: https://help.github.com/articles/about-pull-requests/
[forum]: https://forum.phalcon.io/
[cphalcon]: https://github.com/phalcon/cphalcon
[srt]: https://docs.phalcon.io/en/latest/reproducible-tests
[gb]: https://docs.phalcon.io/en/latest/generating-backtrace
[support]: https://phalcon.io/en/support/
[nfr]: https://docs.phalcon.io/en/latest/new-feature-request
[psr]: https://www.php-fig.org/psr/
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,22 +26,22 @@
"forum": "https://forum.phalcon.io"
},
"require": {
"php": ">=7.2",
"ext-phalcon": "^4.0.5",
"php": ">=7.3",
"ext-phalcon": ">=4.0.5",
"phalcon/cli-options-parser": "^1.2"
},
"require-dev": {
"ext-pdo": "*",
"phalcon/ide-stubs": "^4.0.0",
"vimeo/psalm": "^4.1",
"squizlabs/php_codesniffer": "^3.5",
"fzaninotto/faker": "^1.9",
"fakerphp/faker": "^1.15",
"humbug/box": "^3.8",
"codeception/codeception": "^4.1",
"codeception/module-asserts": "^1.0.0",
"codeception/module-cli": "^1.0",
"codeception/module-phpbrowser": "^1.0.0",
"codeception/module-db": "^1.0",
"vimeo/psalm": "^4.6",
"vlucas/phpdotenv": "^4.1"
},
"autoload": {
Expand Down
Loading

0 comments on commit fb0e3bd

Please sign in to comment.