Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] 3.0.x #131

Open
wants to merge 40 commits into
base: 2.0.x
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
840fa42
PHP 8 support
Ultimater Aug 3, 2021
930edfa
updating tests and lock file
Ultimater Aug 3, 2021
2d13078
.
Ultimater Aug 3, 2021
2c12ae6
test ci adjustments
Ultimater Aug 3, 2021
5171a4d
adjusting tests phalcon 5 installation
Ultimater Aug 3, 2021
dc6704e
adjusting tests
Ultimater Aug 3, 2021
ce0b316
updated composer packages
BeMySlaveDarlin Aug 3, 2021
26246e3
replaced deprecated assert
BeMySlaveDarlin Aug 3, 2021
ec1add1
disabled psalm negative rule
BeMySlaveDarlin Aug 3, 2021
1358254
CHANGELOG
BeMySlaveDarlin Aug 3, 2021
4249f8a
ISSUE-111: Column types fix
BeMySlaveDarlin Aug 3, 2021
4b3d7cc
ISSUE-112: mkdir redundant call removed
BeMySlaveDarlin Aug 3, 2021
9771725
typehints on db testers seeExceptionThrown
BeMySlaveDarlin Aug 3, 2021
fb0e3bd
2.2.1 (#120)
BeMySlaveDarlin Aug 3, 2021
8518ffb
FEATURE-90: Added new code generator (#121)
BeMySlaveDarlin Aug 8, 2021
0ee5c70
Merge branch 'master' into 2.2.x
Jeckerson Aug 8, 2021
9dea962
Add Phalcon versions to the matrix
Jeckerson Aug 8, 2021
15de29d
Update composer.lock
Jeckerson Aug 8, 2021
3eb4c20
Update workflow name
Jeckerson Aug 8, 2021
3f2a47a
Add Phalcon 4.0.5 to the matrix
Jeckerson Aug 8, 2021
78c0694
Skip non-existing `4.1.1` phalcon's version
Jeckerson Aug 8, 2021
4fd501c
Merge pull request #122 from phalcon/2.2.x
Jeckerson Aug 8, 2021
0e76b22
Change 'on' in `.phar` release
Jeckerson Aug 8, 2021
1b6b57d
#97 - Renaming column does not drops column on morphTable
BeMySlaveDarlin Aug 9, 2021
70e50f8
Merge pull request #123 from BeMySlaveDarlin/renaming-column-on-morph…
Jeckerson Aug 11, 2021
b906bf2
Update CHANGELOG.md
Jeckerson Aug 11, 2021
e58dae3
Update CHANGELOG.md
Jeckerson Aug 11, 2021
8f2368a
Move from `actions/upload-release-asset` to `softprops/action-gh-rele…
Jeckerson Aug 11, 2021
32a6678
Remove 'env' from 'Upload to release' step
Jeckerson Aug 11, 2021
9765d35
Updated composer packages
Oct 3, 2021
4a57782
Merge pull request #124 from BeMySlaveDarlin/f/composer-lock-update
Jeckerson Oct 19, 2021
34e6d6e
#126 - Fix update column name alg
Nov 30, 2021
afbd64c
Merge pull request #127 from BeMySlaveDarlin/issue/126-fix-update-col…
Jeckerson Dec 7, 2021
6647e19
Update CHANGELOG.md
Jeckerson Dec 7, 2021
df71fb3
Update CHANGELOG.md
Jeckerson Dec 10, 2021
1600896
Bump guzzlehttp/psr7 from 2.0.0 to 2.2.1
dependabot[bot] Mar 30, 2022
85f54c4
Merge pull request #130 from phalcon/dependabot/composer/guzzlehttp/p…
Jeckerson Apr 3, 2022
8028577
Adjustments To Config
Fenikkusu Apr 15, 2022
917ec0a
Text Adjustments
Fenikkusu Apr 16, 2022
860d838
Debugging References
Fenikkusu Apr 16, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 5 additions & 10 deletions .github/workflows/release-phar.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
on:
release:
types:
- created
push:
tags:
- '*'

name: Upload Phar to Release

Expand All @@ -22,11 +22,6 @@ jobs:
run: test -e phalcon-migrations.phar && exit 0 || exit 10

- name: Upload to Release
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: softprops/action-gh-release@v1
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./phalcon-migrations.phar
asset_name: phalcon-migrations.phar
asset_content_type: application/octet-stream
files: phalcon-migrations.phar
12 changes: 7 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ name: "Tests"
on: [push, pull_request]

jobs:
run-tests:
name: PHP ${{ matrix.php-versions }}
run-tests-php7:
name: PHP ${{ matrix.php-versions }} with Phalcon ${{ matrix.phalcon-versions }}
runs-on: ubuntu-latest
env:
extensions: mbstring, intl, json, phalcon-4.0.6, mysql, pgsql
extensions: mbstring, intl, json, phalcon-${{ matrix.phalcon-versions }}, mysql, pgsql
key: cache-v2.2~17.05.2020
services:
mysql:
Expand All @@ -26,10 +26,11 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: ['7.2', '7.3', '7.4']
php-versions: ['7.3', '7.4']
# There is no 4.1.1 version due release bug
phalcon-versions: ['4.0.5', '4.0.6', '4.1.0', '4.1.2']
steps:
- uses: actions/checkout@v1

- name: Setup cache environment
id: cache-env
uses: shivammathur/cache-extensions@v1
Expand Down Expand Up @@ -82,3 +83,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
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
# [2.2.4](https://github.com/phalcon/migrations/releases/tag/v2.2.4) (2021-12-10)
- Changed column modification behaviour during table morph ([#126](https://github.com/phalcon/migrations/issues/126))

# [2.2.3](https://github.com/phalcon/migrations/releases/tag/v2.2.3) (2021-08-11)
- Changed column modification behaviour during table morph ([#97](https://github.com/phalcon/migrations/issues/97))
- Updated composer packages ([#124](https://github.com/phalcon/migrations/pull/124))

# [2.2.2](https://github.com/phalcon/migrations/releases/tag/v2.2.2) (2021-08-08)
- Integrated nette/php-generator, changed algorithm of migrations generation ([#90](https://github.com/phalcon/migrations/issues/90))

# [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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Configuration filename can be whatever you want.
```php
<?php

use Phalcon\Config;
use Phalcon\Config\Config;

return new Config([
'database' => [
Expand Down
9 changes: 5 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,16 @@
"forum": "https://forum.phalcon.io"
},
"require": {
"php": ">=7.2",
"ext-phalcon": "^4.0.5",
"phalcon/cli-options-parser": "^1.2"
"php": ">=7.3",
"ext-phalcon": ">=4.0.5",
"phalcon/cli-options-parser": "^1.2",
"nette/php-generator": "^3.5"
},
"require-dev": {
"ext-pdo": "*",
"phalcon/ide-stubs": "^4.0.0",
"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",
Expand Down
Loading