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

Merge release 2.31.0 into 3.0.x #222

Merged
merged 35 commits into from
Oct 18, 2023
Merged

Conversation

github-actions[bot]
Copy link

Release Notes for 2.31.0

2.31.0

  • Total issues resolved: 1
  • Total pull requests resolved: 6
  • Total contributors: 3

Documentation,Enhancement

renovate

Documentation

Documentation,Documentation Needed,Enhancement

gsteel and others added 30 commits July 20, 2023 12:27
The return type for a template resolver _should_ simply be `string`. Any kind of failure should cause an exception, ideally something like `TemplateNotFound`.

All existing resolvers are marked as `@final` and there are several additional deprecations to clean up un-documented behaviour.

Signed-off-by: George Steel <[email protected]>
Moves all docs to v2/ in preparation for v3 documentation changes

Signed-off-by: George Steel <[email protected]>
Signed-off-by: George Steel <[email protected]>
Collect V2 Docs into a sub-folder
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Lock file maintenance, introduce test case for `templatemap_generator.php`
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…vers

Co-authored-by: Frank Brückner <[email protected]>
Signed-off-by: George Steel <[email protected]>
Initial 'Preparing for v3' docs
Deprecations and type inference improvements for template resolvers
This is to satisfy static code analytic tools like PHPStan and Psalm.

Resolves #73

Signed-off-by: func0der <[email protected]>
gsteel and others added 3 commits October 17, 2023 22:54
Add return type hint to ViewModel::getIterator()
…ments

Minor type inference improvements to ViewModel and ModelInterface
…to-3.0.x_6n8wir0l

# Conflicts:
#	composer.lock
#	docs/book/v2/helpers/flash-messenger.md
#	docs/book/v2/helpers/intro.md
#	mkdocs.yml
#	psalm-baseline.xml
#	src/Resolver/TemplatePathStack.php
#	test/Resolver/TemplatePathStackTest.php
Copy link
Member

@gsteel gsteel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Baseline expanded slightly here because of new deprecations and better type inference.

@gsteel gsteel merged commit 90a9f2a into 3.0.x Oct 18, 2023
23 checks passed
@gsteel gsteel deleted the 2.31.x-merge-up-into-3.0.x_6n8wir0l branch November 3, 2023 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants