Skip to content

Releases: apache/jspwiki

New in JSPWiki 2.12.2 - Released on 17/06/2024

19 Jun 08:45
Compare
Choose a tag to compare
  • CustomWikiEventListener, to easily allow custom components to be aware of all kind of events fired by JSPWiki

  • SBOMs now published to central

  • JSPWIKI-778 - JSPWiki missing some translations in Finnish

  • JSPWIKI-925 - JSPWiki Missing i18n resources

  • JSPWIKI-1056 - URL in registration mail is relative while it should be absolute

  • JSPWIKI-1165 - long text in monospace font inside {{}} is shown without scroll bar

  • JSPWIKI-1167 - prettify: line numbering is wrong with longer lines

  • JSPWIKI-1181 - Search popup does not handle attachments correctly

  • JSPWIKI-1184 - !!! Image missing and German text typo

  • JSPWIKI-1186 - Windows, Install.jsp double escapes the jspwiki.workDir and nothing else

  • JSPWIKI-1188 - Support system property / env replacement for JSPWiki configuration properties
    provided by Alex O'Ree on PR #330, thanks!

  • JSPWIKI-1190 - Changing jspwiki.syntax=markdown breaks all the predefined/default wiki content

  • MailUtil now uses every mail.smtp / mail.smtps property provided through your jspwiki[-custom].properties file

  • Initial sets of markdown pages available as part of the build

  • Upgraded bundled dependencies
    Apache parent to 32
    Awaitility to 4.2.1
    AWS Kendra Java SDK to 1.12.565
    Commons IO to 2.16.1
    Commons Lang to 3.14.0
    Commons text to 1.12.0
    Gson to 2.11.0
    JavaMail to 1.6.2
    Jetty to 9.4.54.v20240208
    JUnit to 5.10.2
    Log4J to 2.23.1
    Lucene to 9.11.0
    Mockito to 5.12.0
    Selenide to 6.19.0
    Tika to 2.9.2
    Tomcat to 9.0.89
    HSQLDB to 2.7.3

    Security Fixes
    CVE-2024-27136

New in JSPWiki 2.12.1 - Released on 11/08/2023

14 Aug 17:18
Compare
Choose a tag to compare
  • JSPWIKI-1172 - {{jspwiki.workDir}} default should be in {{$javax.servlet.context.tempdir}} previously, this property was set to {{java.io.tmpdir}}, if you need {{jspwiki.workDir}} to continue pointing there please update your {{jspwiki[[-custom].properties}} file accordingly
  • Fixed Workflow screen, which wasn't working since 2.11.0.M5
  • Upgraded bundled dependencies
    • Commons IO to 2.13.'
    • Commons Lang to 3.13.0
    • Flexmark to 0.64.8
    • Hslqdb to 2.7.2
    • JUnit to 5.10.0
    • Lucene to 9.7.0
    • Mockito to 5.4.0
    • Selenide to 6.16.1
    • Tika to 2.8.0
    • Tomcat to 9.0.78

New in JSPWiki 2.12.0 - Released on 23/05/2023

21 Jun 20:20
Compare
Choose a tag to compare
  • Breaking change: Java 11 required to compile & run JSPWiki
  • Breaking change: .html, .htm and .js attachments are now forcibly downloaded by default
    • if you want to open them rather than downloading them, set the jspwiki.attachment.forceDownload property to empty on your jspwiki\[-custom\].properties file
  • ReferenceManager implementation can be set via jspwiki.refManager property on your jspwiki\[-custom\].properties file
    • The provided implementation is expected to have a constructor receiving only an Engine
  • Install.jsp now properly displays its styles
  • Upgraded bundled dependencies
    • Apache parent to 29
    • AWS Kendra Java SDK to 1.12.468
    • Commons Fileupload to 1.5
    • Commons Text to 1.10.0
    • Flexmark to 0.64.4
    • Gson to 2.10.1
    • HSQLDB to 2.7.1
    • Jaxen to 2.0.0
    • Jetty all to 9.4.51.v20230217
    • JUnit to 5.9.3
    • Log4j2 to 2.20.0
    • Lucene to 9.6.0
    • Mockito to 5.3.1
    • NekoHTML to 2.1.2
    • Selenide to 6.14.0
    • Tika to 2.7.0
    • Tomcat to 9.0.75
  • Security Fixes

New in JSPWiki 2.11.3 - Released on 02/08/2022

12 Aug 14:58
Compare
Choose a tag to compare
  • Engine Lifecycle Extensions
  • JSPWIKI-802 - Markdown support improvements
  • JSPWIKI-1075 - New CsrfProtectionFilter to protect POST requests from CSRF attacks
    • org.apache.wiki.api.core.Session gains new String antiCsrfToken() method
    • Custom templates must ensure that all <form> elements and the commonheader.jsp file contain a <wiki:CsrfProtection/> custom tag (like this and this)
  • JSPWIKI-1171 - Ensure Lucene indexes all pages and attachments, even when they don't fit in the cache
  • Fixed logout modal dialog not showing up
  • Add default application name on <title> elements to templates' templates, and Main as default frontpage is none is defined on default template
  • Upgraded bundled dependencies
    • Awaitility to 4.2.0
    • JUnit to 5.9.0
    • HSQLDB to 2.7.0
    • Log4J to 2.18.0
    • Lucene to 8.11.2
    • Mockito to 4.6.1
    • Selenide to 6.6.6
    • Tika to 2.4.1
    • Tomcat to 9.0.65
    • XStream to 1.4.19
  • Security Fixes
  • Devs only
    • JSPWiki memory footprint can be established by running mvn test -Dtest=MemoryProfiling on the jspwiki-main module
    • TestEngine#shutdown now cleans cache, wiki pages dir and their associated attachments, if any. This allows cleaning up a handful of tests
    • TestEngine#emptyWikiDir deletes both page and attachment directories
    • TestEngine is able to not clean up directories / ensure they have unique names if jspwiki.test.disable-clean-props wiki property is set to true

New in JSPWiki 2.11.2 - Released on 24/02/2022

27 Feb 22:04
Compare
Choose a tag to compare

JSPWiki 2.11.1 - Released on 18/12/2021

18 Dec 19:12
Compare
Choose a tag to compare
  • Fix for Log4J-CVE-2021-44228
  • Cache management moved to a new maven module, jspwiki-cache
    • Cache backend can now be overriden by providing a custom CachingManager via classmappings-extra.xml
    • Default cache manager remains ehcache-based, with default configuration file on classpath located at ehcache-jspwiki.xml
    • Tests wanting to invalidate cache(s) should call either Engine#shutdown() or Engine#getManager(CachingManager.class).shutdown()
    • The jspwiki.cache.config-file setting on the jspwiki[-custom].properties file allows to use a custom ehcache configuration file, located elsewhere on classpath
    • Fixed JSPWIKI-873 - AttachmentManager#getAllAttachments() does not return more than exactly 1000 attachments
  • A few properties from jspwiki[-custom]-properties are being deprecated , they will continue to work, but they'll be removed on a future version
    • jspwiki.usePageCache -> jspwiki.cache.enable should be used instead
    • jspwiki.attachmentProvider -> jspwiki.attachment.provider should be used instead
    • jspwiki.attachmentProvider.adapter.impl -> jspwiki.attachment.provider.adapter.impl should be used instead
  • Upgraded bundled dependencies
    • Awaitility to 4.1.1
    • Log4J to 2.16.0
    • JUnit to 5.8.2
    • Mockito to 4.1.0
    • Selenide to 6.1.1
    • Tomcat to 9.0.56
  • Security Fixes

JSPWiki 2.11.0 - Released on 22/11/2021

18 Dec 19:04
Compare
Choose a tag to compare
  • Added AWS Kendra as a Search Provider, contributed by Julien Masnada, thanks!
  • Breaking change: New logging facade, Log4J2 (2.14.1), supersedes existing Log4J one
    • Although all Log4J (and SLF4J) calls are transparently routed to Log4J2, the log configuration inside jspwiki.properties has changed, so installations with customized logging configuration will need to be set up again.
    • Existing 3rd party plugins, filters and providers will continue to work as expected, as Log4J calls will be routed to Log4J2, but the use of Log4J2 should be preferred onwards.
    • By default, JSPWiki will configure Log4J2 from the jspwiki[-custom].properties files, expecting log configuration to be there using Log4J2 properties syntax
    • jspwiki.use.external.logconfig=true can still be used on jspwiki[-custom].properties files to bypass JSPWiki log re-configuration and rely directly on Log4J2 configuration mechanisms
    • IMPORTANT: if you're using a JSPWiki customized .war, please ensure that neither Log4J nor any SLF4J implementation end up in your customized .war.
  • JSPWIKI-1143 - SpamFilter now accepts the jspwiki.filters.spamfilter.allowedgroups property as a comma separated list of groups that will bypass the filter.
  • JSPWiki now takes the following properties sources:
    1. Default JSPWiki properties
    2. System environment
    3. JSPWiki custom property files
    4. JSPWiki cascading properties
    5. System properties
    • With the later ones taking precedence over the previous ones. To avoid leaking system information, only System environment and properties beginning with jspwiki (case unsensitive) are taken into account.
    • Also, to ease docker integration, System env properties containing _are turned into .. F.ex., ENV jspwiki_fileSystemProvider_pageDir would be loaded as jspwiki.fileSystemProvider.pageDir.
  • JSPWIKI-1147 - The button "Clear user preferences" doesn't clear user preferences
  • JSPWIKI-1140 - Autogenerate changenote on page comments
  • Devs only
  • Upgraded bundled dependencies
    • Awaitility to 4.1.0
    • Commons IO to 2.11.0
    • Commons Lang to 3.12.0
    • EhCache to 2.10.9.2
    • Gson to 2.8.9
    • HSQLDB to 2.6.1
    • Jetty-all to 9.4.44.v20210927
    • JUnit to 5.8.1
    • Lucene to 8.11.0
    • Mockito to 4.0.3
    • Selenide to 6.0.3
    • SLF4J to 1.7.32
    • Tika to 2.1.0
    • Tomcat to 9.0.55
  • Security Fixes