| # History of Changes | |
| ## 0.7.16 | |
| * Fix DocumentState enum (#185). | |
| ## 0.7.16-beta1 | |
| * Updated kotlin and gradle version (#167). | |
| * Update copyright information in model files (#175). | |
| * Update copyright info in source files. | |
| * Added missing overrides to extra list (#139). | |
| * Upgraded IPP registrations to 2024-06-13 | |
| ## 0.7.15 | |
| * Handle sonatype vulnerability (#160). | |
| * Revert kotlin lib version (#161). | |
| ## 0.7.15-beta3 | |
| * Handle duplicate attributes and take last (#133). | |
| * Remove api code for circleci (#158). | |
| ## 0.7.15-beta2 | |
| * Added fix to set IppPacket elements in Java (#147). | |
| * Updated access modifier for AttributeGroupImpl (#151) | |
| ## 0.7.15-beta1 | |
| * Update to 2023-03 registered IANA types (#142). | |
| * Added delimiter tags and helper functions for notification (#135) | |
| ## 0.7.14 | |
| * Restore support for deprecated registered IANA types (#130). | |
| ## 0.7.13 | |
| * Update to 2022-08 registered IANA types (#125). | |
| ## 0.7.12 | |
| * Update to 2021-10 registered IANA types (#118). | |
| ## 0.7.11 | |
| * Better support for "extra" attributes found e.g. in `job-resolvers-supported` | |
| * Update to 2021-05 registered IANA types (#93). | |
| ## 0.7.10 | |
| * Support allowPadding in PWG-Raster (#109). | |
| * Update Kotlin to 1.5.0. | |
| ## 0.7.9 | |
| * Support RGBA ColorSpace conversions from PwgReader. | |
| ## 0.7.7 | |
| * Allow stream reads/writes of AttributeGroup (#103). | |
| ## 0.7.6 | |
| * Fetch CUPS attributes from https://www.cups.org/doc/spec-ipp.html (#95). | |
| * Handle copy count and blank page insertion in `PclmWriter` and `PwgWriter` (#99). | |
| * Update Kotlin to 1.4.0 (#100). | |
| ## 0.7.5 | |
| * Retain modifications to collection attribute values whenever possible (#97, #98). | |
| ## 0.7.4 | |
| NOTE: This release contains a breaking change for Java callers. If you refer to `AttributeCollection` types directly, you must replace (for example): `MediaCol.Types.mediaSize` with `MediaCol.mediaSize` | |
| * Support pretty print of `AttributeGroup`s (#94). | |
| * Remove Types object from `AttributeCollection` subtypes (#92). | |
| * Update to 2020-06-20 registered IANA types (#93). | |
| ## 0.7.3 | |
| * Fix type coercion for `MutableAttributeGroup` (#91). | |
| ## 0.7.2 | |
| * Remove use of `.sun` packages (#90). | |
| * Fix use of `.plus` operator between `AttributeGroup`s (#88). | |
| ## 0.7.0 - 0.7.1 | |
| * Stabilize `IppInputStream` and `IppOutputStream` APIs (#79). | |
| * Replace Kotlin DSL with Java-friendly IppPacket.Builder (#77). | |
| * Subclass `Tag` objects to prevent misuse (#82). | |
| * Update types for IANA registrations as of 2020-02-20 (#83). | |
| * Remove useless types from `.model` package (#47). | |
| * Cleaner `toString()` output for collection types (#28). | |
| * Only allow multiple attribute values when permitted by the spec (#29). | |
| ## 0.6.22 | |
| * Handle PWG raster color space of 1 (RGB) (#72). | |
| ## 0.6.21 | |
| * Do not assume the packet will be read completely before parsing it (#71). | |
| ## 0.6.19 | |
| * Allow both multiple groups and extensions to existing groups (follow up to #62). | |
| * Allow mutable attribute groups (#65). Unfortunately this breaks `new AttributeGroup(...)`, which must be replaced with `groupOf(...)` or `mutableGroupOf(...)`. | |
| * Simplified Kotlin DSL by introducing `MutableAttributeGroup`, which replaces `InAttributeGroup`. | |
| * Added format check to jprint (#66). | |
| ## 0.6.17 | |
| * Pass orientation into `PwgHeader` (#59). | |
| * More flexible Kotlin DLS (#62). | |
| * Latest symbols from IANA listing. | |
| ## 0.6.16 | |
| * Allow for more attribute groups in the IPP Packet DSL (#33). | |
| * Add better `toString()` output for AttributeTypes (#55). | |
| * Replace OutputSettings `outputBin` and `stackingOrder` with `reversed` (#56). | |
| ## 0.6.12 | |
| * PCLM and PWG Raster got upgrades, in that they properly handle multi-page and duplex cases. You're only responsible for providing a normal, front-to-back RenderableDocument, and to pass along valid settings based on known printer attributes and user output requirements. The PDL library internally handles page re-ordering, page rotation, flipping, etc to provide the best possible output. As a result the `PwgCapabilities` and `PclmCapabilties` classes have been removed in favor of `PwgSettings` and `PclmSettings`. | |
| * `Attribute.unknown` etc was moved to `Attributes.unknown` for backwards-compatibility with Java. | |
| ## 0.6.6 | |
| * The `KeywordOrName` type was introduced to allow for fields that can legitimately contain either IANA-registered | |
| keywords OR unregistered, locally-defined names. For example, `MediaCol.mediaType` must contain a KeywordOrName, | |
| not simply a String (Keyword). | |
| ## Earlier versions | |
| * `Types` includes all defined types as published as of 2018-04-06 at | |
| [IANA](https://www.iana.org/assignments/ipp-registrations/ipp-registrations.xml). | |
| * Collection types such as `MediaCol` are expressed as POJO and are automatically constructed/deconstructed. | |
| * `com.hp.jipp.model.IppPacket` moved to `com.hp.jipp.encoding.IppPacket` so that all PWG generated code lives in `.model`. | |
| * Keyword attribute values are present as simple, untyped Strings. Allowed strings are provided in static objects | |
| (e.g. `Media.java` defines all possible media types.) | |
| * The `MediaSize` type is removed in favor of Media strings. If needed, the `MediaSizes` utility class provides a method | |
| to extract x- and y-dimensions from a Media keyword containing dimensions. | |
| * The `Attribute` class is a `List` of attribute values, so it is no longer necessary to call `.getValues()` | |
| to obtain them. | |
| * The `AttributeGroup` class is a `List` of `Attribute<*>` so it may be iterated directly to access attributes it | |
| contains. | |
| * Attributes of `Name` or `Text` types appear in those types to allow clients to access language information if | |
| present and to distinguish from ordinary keywords. The following additional methods may help to convert attribute | |
| values to String: | |
| * `Name.asString()` and `Text.asString()` are `Stringable` and extract the value in string form. `.getValue()` also does this. | |
| * `Attribute.strings()`, `AttributeGroup.getStrings()`, and `IppPacket.getStrings()` do the same for all types. | |
| * `Status.ok` becomes `Status.successfulOk`, etc. |