Skip to content

Commit

Permalink
Add attribution and pull request links to changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
n-peugnet committed Feb 18, 2023
1 parent 32200ae commit 152437d
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,18 @@

- Fix links incorrectly displayed as [unknown discussion] when request or
actor is null, by fallbacking to parsing and rendering discussion links
as viewed by guests.
as viewed by guests. (thanks to [@rob006] in [#32])
- Fix links incorrectly displayed as [unknown discussion] in some cases
by improving the detection of permissions to view referenced discussions
in both rendering and parsing.
in both rendering and parsing. (thanks to [@rob006] in [#32])

### Changed

- Increase PHPStan level from 5 to 7 and add some return types along the way.
- Log actor/request is null error and stack trace only when Flarum is in
debug mode.
debug mode. (thanks to [@rob006] in [#32])

[#32]: https://github.com/club-1/flarum-ext-cross-references/pull/32

## [v1.0.2] - 2023-02-14

Expand All @@ -24,16 +26,21 @@
- Fallback gracefully to invalidating tag parsing if actor is null.
- Detect again discussion URL in manually created links, and create a
cross-reference in target discussion.
This has been broken since v0.5.0 when TextFormatter was added. (#27)
This has been broken since v0.5.0 when TextFormatter was added. ([#27])
- Remove space after source link's title when show ID is disabled.

[#27]: https://github.com/club-1/flarum-ext-cross-references/issues/27

### Changed

- Add this CHANGELOG.md file.
- Add and setup PHPStan for static analysis of PHP code.
- Add and setup PHPStan for static analysis of PHP code. ([#25])
- Use different flags for non-interactive shells in Makefile.
- Add script to bump CHANGELOG.md on release.
- Add tests for TextFormatter templates rendering. (#26)
- Add tests for TextFormatter templates rendering. ([#26])

[#25]: https://github.com/club-1/flarum-ext-cross-references/pull/25
[#26]: https://github.com/club-1/flarum-ext-cross-references/issues/26

## [v1.0.1] - 2023-02-12

Expand All @@ -49,6 +56,8 @@

First stable release.

[@rob006]: https://github.com/rob006

[unreleased]: https://github.com/club-1/flarum-ext-cross-references/compare/v1.0.2...HEAD
[v1.0.2]: https://github.com/club-1/flarum-ext-cross-references/releases/tag/v1.0.2
[v1.0.1]: https://github.com/club-1/flarum-ext-cross-references/releases/tag/v1.0.1
Expand Down

0 comments on commit 152437d

Please sign in to comment.