Jwiki Versions Save

📖 A library for effortlessly interacting with Wikipedia/MediaWiki

v1.11.0

1 year ago

v1.11.0 includes:

  • Replaced ColorLog with slf4j so consumers of this library can specify their own logging schemes.
  • Replaced JwikiCookieJar with JavaNetCookieJar from okhttp. Also includes an option to allow consumers to specify their own custom java.net.CookieManager (#42)
  • Bumped dependency versions.

v1.10.0

2 years ago

v1.10.0 includes:

  • jwiki has new maven central group ID: io.github.fastily. This is a breaking change.
    • This change does not apply to older versions of jwiki (≤1.9.0), the org.fastily group id will continue to work for these versions.
  • All package names have been updated (from org.fastily) to use the new io.github.fastily prefix. This is a breaking change.
  • Bumped dependency versions.

v1.9.0

2 years ago

v1.9.0 includes:

  • Added the ability to move pages, Wiki.move() (#27)
  • Miscellaneous documentation improvements/fixes (#25, #30)
  • Bumped dependency versions

v1.8.0

4 years ago

v1.8.0 includes:

  • Dropped JDK 8 Support, oldest supported version is now JDK 11. If you need JDK 8, please use 1.7.0 or older.*
  • Dropped support for okhttp interceptors.*
  • Implemented Builder pattern to create new Wiki instances. Most settings can now be configured in this way. This decision was made because it reduces maintenance overhead and enhances flexibility when creating new Wiki instances. Refer to class Wiki.Builder for details.*
  • Feature: upload by url (#19)
  • Added org. prefix to all packages; jwiki is now on Maven Central.*
  • Added a new boolean parameter to Wiki.getContribs to allow filtering by new page creations (#22)*
  • Various: Dependency upgrades, housekeeping, spelling fixes (#23)

* = This is a breaking change.

v1.7.0

5 years ago

v1.7.0 includes:

  • Output from ColorLog can now be turned on and off (#9)
  • Added a constructor to Wiki to better support non-WMF Wikis.
  • Moved FSystem and WGen to wp-toolbox as they are not a core part of jwiki functionality.
  • listUserRights in Wiki now returns null for non-existent users.
  • Added search function to Wiki
  • Removed overloaded getCategoryMembers method in Wiki for consistency with other methods in jwiki
  • getDuplicatesOf and getSharedDuplicatesOf in Wiki now return file names with a namespace prefix
  • Bug fixes and under-the-hood optimizations.

v1.6.0

6 years ago

v1.6.0 includes:

  • Wiki now has a constructor option for setting a Proxy and/or OkHTTP Interceptor (#4)
  • Wiki now fetches the username information from the server. This allows use of BotPasswords without massively breaking Wiki.whoami() (related: #5).
  • upload() now makes up to 3 retries for failed unstash attempts.
  • New methods in Wiki. You can now:
    • get the content page associated with a talk page
    • query special pages (#6)
  • Updated test suite to Junit 5.
  • Many, many bug fixes (including #7) and under-the-hood optimizations.

v1.5.0

6 years ago

v1.5.0 includes:

  • Merged tp package into WParser in core. WTemplate and WikiText are now static subclasses of WParser. This is a small breaking change.
  • MQuery functions now accept any java Collection as input.
  • New methods in Wiki. You can now:
    • fetch talk page of a page
    • get the creator/last editor of a page
    • get random pages
  • Rewrote Wiki.getPageSections() to make it more useful. This is a breaking change.
  • Implemented deserialization for dwrap classes extending DataEntry. This should reduce some API clutter. Minor changes to ImageInfo and ProtectedTitleEntry; this is a small breaking change.
  • Fixed purge()
  • Fixed recentChanges()
  • Numerous miscellaneous bug fixes and under-the-hood optimizations.

v1.4.0

6 years ago

v1.4.0 includes:

  • Added several new methods to Wiki: getExternalLinks, genericPOST, getTextExtracts.
  • Added new package, tp, to parse templates and wiki-text into an easy-to-manipulate format.
  • Added WGen credential manager to util package
  • Many bug fixes and optimizations

v1.3.0

7 years ago

v1.3.0 includes:

  • Switched to using Gson and OkHttp libraries for JSON and HTTP methods, respectively.
  • New logic for configuration. This is a breaking change.
  • Total internal rewrite of query and action logic.
  • Dropped some util methods that are not used anywhere in the API.
  • New methods in Wiki
  • Ability to use jwiki with a Wiki that uses custom API endpoints.

Most clients should be able to upgrade with minimal amounts of breakage. As the API matures, there will be fewer/no breaking changes with future releases.

v1.2.1

7 years ago

v1.2.1 includes:

  • The ability to get data about section headers on a page, and fetch the list of protected titles on a Wiki.
  • Gradle and Maven integration
  • Package names are now prefixed with fastily for Gradle and Maven (this is a breaking change)
  • Bug fixes and optimizations