Skip to content

Commit 14c6839

Browse files
committed
feat: Removed dependency rinvex/laravel-support for full Laravel 9 support
[BREAKING]
1 parent 61849d0 commit 14c6839

20 files changed

+203
-652
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ charset = utf-8
66
end_of_line = lf
77
indent_style = space
88
insert_final_newline = true
9-
max_line_length = 80
9+
max_line_length = 140
1010
trim_trailing_whitespace = true
1111

1212
[*.md]

.travis.yml

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,37 +2,34 @@ dist: bionic
22
language: php
33

44
php:
5-
- 8.0
6-
- 8.1
5+
- 8.0
6+
- 8.1
77

88
env:
99
global:
10-
- SETUP=stable
10+
- SETUP=stable
1111
matrix:
12-
- COMPOSER_FLAGS="--prefer-lowest"
13-
- COMPOSER_FLAGS=""
12+
- COMPOSER_FLAGS="--prefer-lowest"
13+
- COMPOSER_FLAGS=""
1414

1515
cache:
1616
directories:
17-
- $HOME/.composer/cache
17+
- $HOME/.composer/cache
1818

1919
install:
20-
- if [[ $SETUP = 'stable' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-stable --no-suggest; fi
21-
- if [[ $SETUP = 'lowest' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-lowest --prefer-stable --no-suggest; fi
20+
- if [[ $SETUP = 'stable' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-stable --no-suggest; fi
21+
- if [[ $SETUP = 'lowest' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-lowest --prefer-stable --no-suggest; fi
2222

2323
before_script:
24-
- travis_retry composer self-update
25-
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-source
24+
- travis_retry composer self-update
25+
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-source
2626

2727
script:
28-
- vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
28+
- vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
2929

3030
after_script:
31-
- wget https://scrutinizer-ci.com/ocular.phar
32-
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
31+
- wget https://scrutinizer-ci.com/ocular.phar
32+
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
3333

3434
notifications:
3535
email: false
36-
slack:
37-
rooms:
38-
- secure: 9aO2+TMXt8CwXfF5j5MUI5edHBTny5LXSWZq2kCCJPmIFk9b/4k0zvtmfSG4xNA3SDLX6xHOZRATeJPgk35jIyTBNDwfO5IM15/DvndQMHJWvT9AH6kOKITpSstf2gB6cORlH2NYTsFs8mVuvC84FgZLXS2zv22zIXAsZ6frZuTh75KPG9OEQOjrnSD2unGWLG2L0iYKBaDnpo4GURTkr0zSXM8zfGIdQopSzs2/ouSnc6+m5D4YdDtynmF7fRUWbOX2EbzeAKynY7fx+fsk0UoQ/bAJuG6zKMDmXFpZSzvei/A/W4BQFyUvmye+9X+yu+apiH3uRRj1eVeZJXTX4APo5aTAgNyBLYUMVk+nItJzVgJqOXBTv1ML/emRY1GWcbl5SW3diSdU6OkAtOAJF+N72diGI4KIrBRSUmVYWWou7YD2naG/r3NCgpc88L5X1GBbv8Q70yrkMpqQFPjhWjWcDRnfR1z5KP8lpbErsrU3VuE9Ev6KffA7AxORxn5txsxw/6N52NDzP+jfTaCPtNrD6RyWBpgW7CCM6BC2YGTz23i82PTPWSQqJeUCnLfNW7fN98LM0LqFiFOgMiYTLWA47QlawgBDKHPCnuAjlVJrq7feiLF2DuP4bandBovDuxoQuXCFpGkui+yX+qtbsQEEOd1YaXCHmlBmsnAa7iM=

CHANGELOG.md

Lines changed: 3 additions & 170 deletions
Original file line numberDiff line numberDiff line change
@@ -1,171 +1,4 @@
1-
# Rinvex Addresses Change Log
1+
## [v7.0.0] - 2022-03-24
2+
- Removed dependency rinvex/laravel-support for full Laravel 9 support
23

3-
All notable changes to this project will be documented in this file.
4-
5-
This project adheres to [Semantic Versioning](CONTRIBUTING.md).
6-
7-
8-
## [v6.1.0] - 2022-02-14
9-
- Update composer dependencies to Laravel v9
10-
- Fix `findByDistance` method compatibility
11-
- Override latitude & longitude column names (fix #22)
12-
13-
## [v6.0.0] - 2021-08-22
14-
- Drop PHP v7 support, and upgrade rinvex package dependencies to next major version
15-
- Update composer dependencies
16-
- Merge rules instead of resetting, to allow adequate model override
17-
- Fix constructor initialization order (fill attributes should come next after merging fillables & rules)
18-
- Set validation rules in constructor for consistency & flexibility
19-
- Upgrade to GitHub-native Dependabot
20-
- Enabled use of Google api key
21-
- Utilize SoftDeletes
22-
- Define morphMany parameters explicitly
23-
- Simplify service provider model registration into IoC
24-
- Enable StyleCI risky mode
25-
26-
## [v5.0.1] - 2020-12-25
27-
- Add support for PHP v8
28-
29-
## [v5.0.0] - 2020-12-22
30-
- Upgrade to Laravel v8
31-
- Move custom eloquent model events to module layer from core package layer
32-
- Refactor and tweak Eloquent Events
33-
34-
## [v4.1.0] - 2020-06-15
35-
- Fix for Events namespace
36-
- Drop using rinvex/laravel-cacheable from core packages for more flexibility
37-
- Caching should be handled on the application layer, not enforced from the core packages
38-
- Drop PHP 7.2 & 7.3 support from travis
39-
40-
## [v4.0.6] - 2020-05-30
41-
- Remove default indent size config
42-
- Add strip_tags validation rule to string fields
43-
- Specify events queue
44-
- Explicitly specify relationship attributes
45-
- Add strip_tags validation rule
46-
- Explicitly define relationship name
47-
48-
## [v4.0.5] - 2020-04-12
49-
- Fix ServiceProvider registerCommands method compatibility
50-
51-
## [v4.0.4] - 2020-04-09
52-
- Tweak artisan command registration
53-
- Reverse commit "Convert database int fields into bigInteger"
54-
- Refactor publish command and allow multiple resource values
55-
56-
## [v4.0.3] - 2020-04-04
57-
- Fix namespace issue
58-
59-
## [v4.0.2] - 2020-04-04
60-
- Enforce consistent artisan command tag namespacing
61-
- Enforce consistent package namespace
62-
- Drop laravel/helpers usage as it's no longer used
63-
64-
## [v4.0.1] - 2020-03-20
65-
- Convert into bigInteger database fields
66-
- Add shortcut -f (force) for artisan publish commands
67-
- Fix migrations path
68-
69-
## [v4.0.0] - 2020-03-15
70-
- Upgrade to Laravel v7.1.x & PHP v7.4.x
71-
72-
## [v3.0.2] - 2020-03-13
73-
- Tweak TravisCI config
74-
- Add migrations autoload option to the package
75-
- Tweak service provider `publishesResources`
76-
- Update StyleCI config
77-
78-
## [v3.0.1] - 2019-12-18
79-
- Fix `migrate:reset` args as it doesn't accept --step
80-
- Create event classes and map them in the model
81-
82-
## [v3.0.0] - 2019-09-23
83-
- Upgrade to Laravel v6 and update dependencies
84-
85-
## [v2.1.1] - 2019-06-03
86-
- Enforce latest composer package versions
87-
88-
## [v2.1.0] - 2019-06-02
89-
- Update composer deps
90-
- Drop PHP 7.1 travis test
91-
- Refactor migrations and artisan commands, and tweak service provider publishes functionality
92-
93-
## [v2.0.0] - 2019-03-03
94-
- Rename environment variable QUEUE_DRIVER to QUEUE_CONNECTION
95-
- Require PHP 7.2 & Laravel 5.8
96-
- Apply PHPUnit 8 updates
97-
98-
## [v1.0.2] - 2018-12-22
99-
- Update composer dependencies
100-
- Add PHP 7.3 support to travis
101-
102-
## [v1.0.1] - 2018-10-05
103-
- Fix wrong composer package version constraints
104-
105-
## [v1.0.0] - 2018-10-01
106-
- Enforce Consistency
107-
- Support Laravel 5.7+
108-
- Rename package to rinvex/laravel-addresses
109-
110-
## [v0.0.4] - 2018-09-22
111-
- Update travis php versions
112-
- Define polymorphic relationship parameters explicitly
113-
- Rename lat/lng to latitude/longitude and change database column type to decimal
114-
- Require composer package rinvex/countries and tweak country validation rule
115-
- Simplify address fields
116-
- Require full name address field
117-
- Enforce consistency
118-
- Add soft deletes
119-
- Drop StyleCI multi-language support (paid feature now!)
120-
- Update composer dependencies
121-
- Split full_name into given_name and family_name fields
122-
- Prepare and tweak testing configuration
123-
- Update StyleCI options
124-
- Update PHPUnit options
125-
- Add address model factory
126-
- Update PHPUnit options
127-
128-
## [v0.0.3] - 2018-02-18
129-
- Update supplementary files
130-
- Update composer dependencies
131-
- Add PublishCommand to artisan
132-
- Add Rollback Console Command
133-
- Add PHPUnitPrettyResultPrinter
134-
- Require PHP v7.1.3
135-
- Typehint method returns
136-
- Drop useless model contracts (models already swappable through IoC)
137-
- Add Laravel v5.6 support
138-
- Simplify IoC binding
139-
- Add force option to artisan commands
140-
- Drop Laravel 5.5 support
141-
142-
## [v0.0.2] - 2017-09-08
143-
- Fix many issues and apply many enhancements
144-
- Rename package rinvex/laravel-addresses from rinvex/addressable
145-
146-
## v0.0.1 - 2017-04-07
147-
- Tag first release
148-
149-
[v6.1.0]: https://github.com/rinvex/laravel-addresses/compare/v6.0.0...v6.1.0
150-
[v6.0.0]: https://github.com/rinvex/laravel-addresses/compare/v5.0.1...v6.0.0
151-
[v5.0.1]: https://github.com/rinvex/laravel-addresses/compare/v5.0.0...v5.0.1
152-
[v5.0.0]: https://github.com/rinvex/laravel-addresses/compare/v4.1.0...v5.0.0
153-
[v4.1.0]: https://github.com/rinvex/laravel-addresses/compare/v4.0.6...v4.1.0
154-
[v4.0.5]: https://github.com/rinvex/laravel-addresses/compare/v4.0.4...v4.0.5
155-
[v4.0.4]: https://github.com/rinvex/laravel-addresses/compare/v4.0.3...v4.0.4
156-
[v4.0.3]: https://github.com/rinvex/laravel-addresses/compare/v4.0.2...v4.0.3
157-
[v4.0.2]: https://github.com/rinvex/laravel-addresses/compare/v4.0.1...v4.0.2
158-
[v4.0.1]: https://github.com/rinvex/laravel-addresses/compare/v4.0.0...v4.0.1
159-
[v4.0.0]: https://github.com/rinvex/laravel-addresses/compare/v3.0.2...v4.0.0
160-
[v3.0.2]: https://github.com/rinvex/laravel-addresses/compare/v3.0.1...v3.0.2
161-
[v3.0.1]: https://github.com/rinvex/laravel-addresses/compare/v3.0.0...v3.0.1
162-
[v3.0.0]: https://github.com/rinvex/laravel-addresses/compare/v2.1.1...v3.0.0
163-
[v2.1.1]: https://github.com/rinvex/laravel-addresses/compare/v2.1.0...v2.1.1
164-
[v2.1.0]: https://github.com/rinvex/laravel-addresses/compare/v2.0.0...v2.1.0
165-
[v2.0.0]: https://github.com/rinvex/laravel-addresses/compare/v1.0.2...v2.0.0
166-
[v1.0.2]: https://github.com/rinvex/laravel-addresses/compare/v1.0.1...v1.0.2
167-
[v1.0.1]: https://github.com/rinvex/laravel-addresses/compare/v1.0.0...v1.0.1
168-
[v1.0.0]: https://github.com/rinvex/laravel-addresses/compare/v0.0.4...v1.0.0
169-
[v0.0.4]: https://github.com/rinvex/laravel-addresses/compare/v0.0.3...v0.0.4
170-
[v0.0.3]: https://github.com/rinvex/laravel-addresses/compare/v0.0.2...v0.0.3
171-
[v0.0.2]: https://github.com/rinvex/laravel-addresses/compare/v0.0.1...v0.0.2
4+
[Forked From]: https://github.com/rinvex/laravel-addresses

CODE_OF_CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ further defined and clarified by project maintainers.
5555
## Enforcement
5656

5757
Instances of abusive, harassing, or otherwise unacceptable behavior may be
58-
reported by contacting the project team at [help@rinvex.com](mailto:help@rinvex.com). All
58+
reported by contacting the project team at [help@customd.com](mailto:help@customd.com). All
5959
complaints will be reviewed and investigated and will result in a response that
6060
is deemed necessary and appropriate to the circumstances. The project team is
6161
obligated to maintain confidentiality with regard to the reporter of an incident.

CONTRIBUTING.md

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ And constructed with the following guidelines:
1818
- New additions without breaking backward compatibility bump the minor and reset the patch.
1919
- Bug fixes and misc changes bump the patch.
2020

21+
## Commit Notes
22+
23+
This project uses conventional commits. Any commits made that ultimately get included in this project must use this standard.
24+
Version numbers and changelogs will automatically be generated from commit notes.
2125

2226
## Pull Requests
2327

@@ -36,12 +40,3 @@ This project follows the FIG PHP Standards Recommendations compliant with the [P
3640
If you have a proposal or a feature request, you may create an issue with `[Proposal]` in the title.
3741

3842
The proposal should also describe the new feature, as well as implementation ideas. The proposal will then be reviewed and either approved or denied. Once a proposal is approved, a pull request may be created implementing the new feature.
39-
40-
41-
## Git Flow
42-
43-
This project follows [Git-Flow](http://nvie.com/posts/a-successful-git-branching-model/), and as such has `master` (latest stable releases), `develop` (latest WIP development) and X.Y support branches (when there's multiple major versions).
44-
45-
Accordingly all pull requests MUST be sent to the `develop` branch.
46-
47-
> **Note:** Pull requests which do not follow these guidelines will be closed without any further notice.

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2016-2021, Rinvex LLC,
3+
Copyright (c) 2022, Custom D Ltd,
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)