@siteimprove/alfa-set
Advanced tools
Changelog
0.100.0 (2025-03-17)
@siteimprove/alfa-dom: The hasBox
predicate has been moved from Element
to Node
. (#1768)
@siteimprove/alfa-style: The white-space
property is now handled as a shorthand. (#1762)
@siteimprove/alfa-tree: Tree.Node
now expects to know the kind of traversal flags used. (#1762)
@siteimprove/alfa-flags: new Flags()
now requires a kind
to be specified. (#1762)
@siteimprove/alfa-result: Result#forEach
and Result#forEachErr
methods are now available. (#1762)
@siteimprove/alfa-flags: A Flags.named
class factory is now available for flags sets where flags can be accessed by name. (#1762)
@siteimprove/alfa-dom: Text.of
now accepts Option<Rectangle>
and Option<Device>
. A rectangle can also be passed through the box
JSON property when using Text.fromText
. (#1768)
@siteimprove/alfa-flags: Flags#is
is now available, testing that a flags set exactly matches the provided list. (#1762)
@siteimprove/alfa-style: Legacy name alias properties are now supported. (#1762)
@siteimprove/alfa-style: Properties hyphens
, line-break
, overflow-wrap
, text-wrap
, text-wrap-mode
, text-wrap-style
, white-space-collapse
, white-space-trim
, wrap-after
, wrap-before
, wrap-inside
, word-break
, and word-wrap
are now supported. (#1762)
@siteimprove/alfa-test: A timeout can now be passed to vitest. (#1762)
Flag#has(0)
now returns false
on non-empty flags set. (#1762)Changelog
0.99.0 (2025-03-05)
@siteimprove/alfa-css: List.some
is now available. (#1756)
@siteimprove/alfa-style: A new predicate isFlexOrGridChild
is available. (#1756)
@siteimprove/alfa-device: Device.isDevice
is now available. (#1756)
@siteimprove/alfa-aria, @siteimprove/alfa-dom: The <search>
element is now correctly handled. (#1759)
@siteimprove/alfa-painting-order: A new package has been added for computing the painting order of HTML elements. (#1756)
@siteimprove/alfa-act: A minimal serialization of rules (and outcomes), including only the URI, is now available. (#1765)
Changelog
0.98.0 (2025-02-03)
String.and
has been renamed String.Transformer.and
. (#1745)@siteimprove/alfa-toolchain: A new utility to skaffold workspace creation with default settings is available. (#1745)
@siteimprove/alfa-string: A new String.fallback
transformer combinator is available, to replace whitespace only strings with a fallback value. (#1745)
@siteimprove/alfa-string: A new String.Transformer.when
combinator is available, to conditionally apply a transformer based on a predicate. (#1745)
@siteimprove/alfa-rng: A new package for handling simple seedable RNGs. (#1746)
@siteimprove/alfa-result: Result#getOrElse
now accepts a Callback(E, U)
(building the new value from the error); Result#getErrOrElse
now accepts a Callback(T, F)
. (#1742)
@siteimprove/alfa-dom: Node serialization with Low
verbosity now also include the Node#path
. (#1748)
@siteimprove/alfa-compatibility, @siteimprove/alfa-css-feature, @siteimprove/alfa-performance, @siteimprove/alfa-trampoline, @siteimprove/alfa-rectangle, @siteimprove/alfa-selective, @siteimprove/alfa-toolchain, @siteimprove/alfa-branched, @siteimprove/alfa-selector, @siteimprove/alfa-sequence, @siteimprove/alfa-cascade, @siteimprove/alfa-emitter, @siteimprove/alfa-network, @siteimprove/alfa-affine, @siteimprove/alfa-device, @siteimprove/alfa-either, @siteimprove/alfa-future, @siteimprove/alfa-option, @siteimprove/alfa-record, @siteimprove/alfa-result, @siteimprove/alfa-cache, @siteimprove/alfa-graph, @siteimprove/alfa-rules, @siteimprove/alfa-slice, @siteimprove/alfa-style, @siteimprove/alfa-table, @siteimprove/alfa-xpath, @siteimprove/alfa-aria, @siteimprove/alfa-http, @siteimprove/alfa-iana, @siteimprove/alfa-lazy, @siteimprove/alfa-list, @siteimprove/alfa-time, @siteimprove/alfa-wcag, @siteimprove/alfa-act, @siteimprove/alfa-css, @siteimprove/alfa-dom, @siteimprove/alfa-fnv, @siteimprove/alfa-map, @siteimprove/alfa-set, @siteimprove/alfa-url, @siteimprove/alfa-web: Classes that do not implement the Singleton pattern now have protected
constructor and can be extended. (#1735)
@siteimprove/alfa-applicative, @siteimprove/alfa-collection, @siteimprove/alfa-foldable, @siteimprove/alfa-functor, @siteimprove/alfa-mapper, @siteimprove/alfa-monad: Packages that only export type now only pack their .d.ts
files. (#1736)
Changelog
0.97.0 (2024-12-13)
@siteimprove/alfa-style: CSS shorthand property mask
and corresponding longhand properties are now supported. (#1711)
@siteimprove/alfa-css: List#cutOrExtend
is now available. (#1711)
@siteimprove/alfa-css: List#size
is now available. (#1711)
Changelog
0.96.0 (2024-12-06)
@siteimprove/alfa-rules: A new experimental rule SIA-R115: "Heading is descriptive" is now available. (#1722)
@siteimprove/alfa-dom: An Element<"summary">#isSummaryForItsParentDetails
predicate is now available. (#1728)
@siteimprove/alfa-rules: SIA-R116: "<summary>
element has non-empty accessible name" is now available. (#1728)
@siteimprove/alfa-cache: A Cache.memoize
decorator is now available. (#1720)
@siteimprove/alfa-dom: An Attribute.Autocomplete
namespace is now available, grouping functionalities around the autocomplete
attribute. (#1724)
@siteimprove/alfa-rules, @siteimprove/alfa-aria: Expose allowedAttributes
on ARIA Element type. (#1721)
@siteimprove/alfa-aria: <summary>
elements that are not summary for their parent details are now correctly treated as generic
role. (#1728)
@siteimprove/alfa-aria: <details>
elements now correctly have an implicit role of group
. (#1728)
@siteimprove/alfa-device: Values of undefined user preferences are now correctly set to their default. (#1725)
@siteimprove/alfa-aria: <summary>
elements that are summary for their parent details now correctly have their name computed from content. (#1728)
@siteimprove/alfa-css-feature: Matching of user-preferences in the boolean context now correctly handles none
defaults. (#1725)
Changelog
0.95.0 (2024-11-28)
alfa-test
package is now called alfa-test-deprecated
and a new alfa-test
package was added. (#1692)Changelog
0.94.1 (2024-11-22)
Changelog
0.94.0 (2024-11-19)
#serializationId
has been replaced with #internalId
. (#1705)@siteimprove/alfa-css, @siteimprove/alfa-style: CSS property will-change
is now supported. (#1707)
@siteimprove/alfa-refinement: Refinement.tee
is now available. (#1709)
@siteimprove/alfa-dom: A Query.descendants
helper is now available, to filter DOM descendants by a predicate. (#1709)
@siteimprove/alfa-style: A Style.innerText
helper is now available. (#1712)
@siteimprove/alfa-string: A String.and
combinator for chaining transformers is now available. (#1712)
@siteimprove/alfa-string: A String.removePunctuation
transformer is now available. (#1712)
@siteimprove/alfa-rules: classes for ARIA and Best Practices requirements are now available. (#1714)
@siteimprove/alfa-string: The function String.toLowerCase
was added. (#1707)
@siteimprove/alfa-rules: Rules checking ARIA conformance, or Best Practices, now have a corresponding requirement. (#1714)
@siteimprove/alfa-rules: An experimental rule "SIA-R114: Title is descriptive" is now available. (#1713)
@siteimprove/alfa-string: A String.hasSoftWrapOpportunity
predicate is now available. (#1710)
@siteimprove/alfa-style, @siteimprove/alfa-css: CSS property perspective
is now supported. (#1708)
@siteimprove/alfa-string: A String.Transformer
type alias is now available. (#1712)
Changelog