Skip to content

Releases: FriendsOfFlarum/synopsis

2.0.1

Choose a tag to compare

@imorland imorland released this 23 Oct 17:14

What's Changed

  • [2.x] chore: update JS tooling (flarum-webpack-config ^3.1.0, webpack-cli ^7.2.3, typescript ^5.9.3) by @imorland in #15

Full Changelog: 2.0.0...2.0.1

2.0.0

Choose a tag to compare

@imorland imorland released this 17 Oct 22:53
1806314

What's Changed

  • fix: settings page js error by @imorland in #2
  • [2.x] perf: serve plain excerpts as an attribute instead of including posts by @imorland in #5
  • [2.x] fix: per-tag rich excerpt overrides never applied by @imorland in #6
  • [2.x] chore: modernize phpunit configs to the PHPUnit 12 shape by @imorland in #7
  • [2.x] fix: Don't fatal the discussion list on a textless first post by @imorland in #8
  • [2.x] perf: read the excerpt configuration once per request, not once per discussion by @ernestdefoe in #10
  • [2.x] fix: leave images out of plain excerpts by @ernestdefoe in #12
  • [2.x] chore: require stable Flarum 2 by @imorland in #13
  • [2.x] fix: don't leave already-loaded excerpt posts queued in the relationship buffer by @imorland in #14

New Contributors

Full Changelog: 1.0.1...2.0.0

2.0.0-rc.2

2.0.0-rc.2 Pre-release
Pre-release

Choose a tag to compare

@imorland imorland released this 24 Aug 11:24
f83e96c

What's Changed

  • [2.x] fix: Don't fatal the discussion list on a textless first post by @imorland in #8

Full Changelog: 2.0.0-rc.1...2.0.0-rc.2

2.0.0-rc.1

2.0.0-rc.1 Pre-release
Pre-release

Choose a tag to compare

@imorland imorland released this 02 Aug 11:49
53b5ab7

What's Changed

  • [2.x] perf: serve plain excerpts as an attribute instead of including posts by @imorland in #5
  • [2.x] fix: per-tag rich excerpt overrides never applied by @imorland in #6
  • [2.x] chore: modernize phpunit configs to the PHPUnit 12 shape by @imorland in #7

Full Changelog: 2.0.0-beta.2...2.0.0-rc.1

2.0.0-beta.2

2.0.0-beta.2 Pre-release
Pre-release

Choose a tag to compare

@imorland imorland released this 03 Nov 10:44

What's Changed

New Contributors

Full Changelog: 2.0.0-beta.1...2.0.0-beta.2

2.0.0-beta.1

2.0.0-beta.1 Pre-release
Pre-release

Choose a tag to compare

@imorland imorland released this 02 Nov 22:27

Full Changelog: 1.0.1...2.0.0-beta.1

1.0.1

Choose a tag to compare

@clarkwinkelmann clarkwinkelmann released this 30 Apr 13:23

⚠️ Security update

Version 1.0.0 (and the ianm/synopsis package before it) contains an HTML injection vulnerability in the plain content mode. You should update immediately.

A second issue with the rich content HTML truncation could also lead to security issues, though I have not been able to create an exploit for it.

If you cannot update immediately, you should disable the extension.

These problems were discovered through internal code review.

Version 1.0.1

  • Fix HTML injection in plain content mode
  • Implement proper HTML truncating in rich content mode

If you use rich content mode, the excerpt length now counts the number of printed characters and ignores the length of invisible HTML tags and attributes. This means the excerpt will probably be longer than before and actually reflect the value of the setting.

For extension developers, the signature of the javascript component Excerpt::getContent() had to be changed. It must now return a plain text or Vnode, and is no longer parsed as HTML. If you were returning an HTML string, the HTML will now be printed as text and no longer injected as HTML.

Full Changelog: 1.0.0...1.0.1

1.0.0

Choose a tag to compare

@imorland imorland released this 28 Mar 10:38
757cfb1