Skip to content
a8276ff
Compare
Choose a tag to compare

Domino JNA for XPages

Pre-release
Pre-release
  • API to read and write the Notes workspace (read, create and modify pages and icons, change page order, move replicas on top etc.) eedcdc7 e573dbf 7f97fab fead391
  • Formula execution now supports more than 64k of return data 713a05d
  • API to apply security to formula execution (e.g. prevent Notes.ini changes) 0c5c764
  • API for QueryResultsProcessor (produces JSON and views) aacd420
  • Java 8 date/time support for NotesNote.replaceItemValue(...) 39cbae3
  • New utility class to format view data as markdown table a109b93 24bafa4
  • Added method to get agent design doc UNID bfd094f
  • Added hierarchical recycling (parent/child auto recycle) ec5b0a1

If you are having trouble installing the OSGi plugin into Notes/Designer and see compilation errors with Domino JNA classes, add the workspace/eclipse folder to the target platform. See Jesse Gallagher's blog article for details: https://frostillic.us/blog/posts/058650E080E352178525832B00519D2C

f9b405a
Compare
Choose a tag to compare

Domino JNA for XPages

Pre-release
Pre-release
  • fixed TIMEDATE/Calendar conversion bug where the resulting date was 1-2 days off
  • added Java 8 Date/Time API support
  • fixed DQL time formatting bug

It is highly recommended to switch to this new version to avoid hitting the TIMEDATE/Calendar conversion in your application code!

Compare
Choose a tag to compare

Domino JNA for XPages

Pre-release
Pre-release
  • API to read server console (R12+ with DEBUG_ALLOW_REMOTE_CON_SERVER=1 in Notes.ini) 1b0c483
  • Added method to validate an SSO token 9689cbd
  • Fixed creating doc attachments that grow dynamically dedc85f 8976e04
  • Fixed MIME production issue in XPages environment d1f7ef5
  • various other bugfixes and fixes for memory leaks (see 0.9.42...0.9.44)

Breaking change (sorry):

  • changed MIMEStream API to use InputStream/OutputStream instead of Reader/Writer (required to support parts with binary non-base64 encoded data) 27124e5
Compare
Choose a tag to compare

Domino JNA for XPages

Pre-release
Pre-release
  • Added NotesNote.getAttachmentNames() 78a7a74
  • NotesNote.getItemValue(String) for richtext items now returns an IRichTextNavigator instead of throwing an exception 85b9b7f
  • Fixed I/O error writing incomplete MIME lines via MIMEStreamWrite 52d0be3
  • Fixed RT-HTML conversion issues for large richtext spread across >10 items where images could not be read 117af3f
Compare
Choose a tag to compare

Domino JNA for XPages

Pre-release
Pre-release

Please note that there are some breaking changes in the richtext-HTML-conversion APIs, e.g. a new class HtmlConvertProperties to specify the conversion settings and some moved classes. No functionality was removed, the APIs now have much more settings than before to control the conversion quality.

Compare
Choose a tag to compare

Domino JNA for XPages

Pre-release
Pre-release

Important bugfix:
This release fixes a major C handle leak that got introduced in 0.9.35. It's highly recommended to install this new version. 7ccfe86

Changed project dependencies:
We removed the dependency to javax.mail 606a98e that was used in the MIMEStream class. There are now two separate projects/artifacts, one (domino-jna-mime-javaxmail) that works with javax.mail and another one (domino-jna-mime-jakartamail) that works with jakarta.mail, which is the successor API. Both mail projects (javax/jakarta) are incompatible with each other and the Domino server platform already contains javax.mail, so just adding a dependency for jakarta.mail was not an option.
Both new projects only contain one Java class that can also be copied into your code base.

Other changes:

  • API to read replication history 75a04de
  • bugfix for computeWithForm c6fd744
  • added methods to read System.getProperties() and System.getenv() without triggering a SecurityException 565cad5 455894f
Compare
Choose a tag to compare

Domino JNA for XPages

Pre-release
Pre-release
  • Fixed duplicate handle error in NotesGC when opening more than one MIMEStream at the same time in a runWithAutoGC block a8719b0
  • Breaking change: Renamed/unified Navigate constant names added in 0.9.35 cc7ed37
Compare
Choose a tag to compare

Domino JNA for XPages

Pre-release
Pre-release
  • Added MIMEStream.getMIMEReader(...) to get a Java Reader to read raw MIME data; fixed MIMEStream GC issue (duplicate handle detected) cd82161
  • Added NotesNote.send() to send a note via email 6d95536
  • Added IDUtils.isIDInVault() 1e134fa
  • Added Navigate.NAVIGATE_AUTOEXPAND_SELECTED to automatically expand entries in the selected list IDTable when navigating a collection (used in the Notes.jar ViewNavigator code to work with expand/collapse lists when navigating categorized views) 75db2e4
  • Added some more NIF navigation constants for special cases d51b3a0
  • Added alternative handle collection/disposal method NotesGC.initThread() instead of NotesGC.runWithAutoGC(Callable). Useful in async servers like vert.x where the GC contexts should be kept valid between code invocations. Make sure to dispose the returned DominoGCContext even in error conditions or you will create a resource leak! 94255e5
  • fixed alignment issue on Mac/64bit when reading owner-names of schedules 43494ce 3a6b5e2

Breaking change:
NotesCollection.locateNote()now has a parameter for the last known position. This one is required to find the nearest new position of a note after a view index update, based on the last position (important if the note appears multiple times in the view). 75db2e4

Compare
Choose a tag to compare

Domino JNA for XPages

Pre-release
Pre-release
  • APIs for folder operations, e.g. create from specified/default design, delete, rename, move or copy an existing folder with content fc5b05e a5e3f00

  • new methods NotesDatabase.findFolder(String name) and NotesDatabase.findView(String name) to look up folder/views by name and get back the design doc note id; NotesDatabase.findCollection(String name) existed before and finds both views and folders a5e3f00

  • new utility class NoteSummaryIterator to efficiently read/compute summary buffer data for a ordered list of note ids (testcase: https://github.com/klehmann/domino-jna/blob/master/domino-jna/src/test/java/com/mindoo/domino/jna/test/TestNoteSummaryIterator.java) ec4ca7f

  • fixed wrong decoding of item type TYPE_NOTEREF_LIST, e.g. $FolderRef items b099f95

  • breaking change: folder operation of NotesCollection have been moved to NotesDatabase class (since opening the folder is not required for their parameters) 3035e27

Compare
Choose a tag to compare

Domino JNA for XPages

Pre-release
Pre-release
  • New methods to create a blank DB, a DB from template and a DB replica f5cb4a4
  • extended DirectoryScanner class to return database options 75df71f
  • API to delete database, extended DB opening to search in shared directories (in Notes Client program dir) 60cb93c
  • Bugfixing