- Changed: Classes that do not implement the Singleton pattern now have
protected
constructor and can be extended. (#1735)
- Added: The
:checked
pseudo-class is now supported. (#1684)
- Changed: Alfa packages are now (also) published on the npmjs registry. (
5b924adf304b6f809f4c8b9d5a2f4a8950d5b10b
)
- Changed: Dummy minor version to experiment with publish flow, use the previous or next minor version instead. (
2a62d8a43e294ee56c18315c8fad29fbdc18c0df
)
- Changed: Trying to fix a problem in generating provenance statements (#1674)
- Added: Trying to publish Alfa packages on the npm registry (#1673)
-
Fixed: The publish flow was updated to a new version. (
a2f19cf9a6c7c72b8bf085597e4f1a95ac3e4eb2
)Some 0.87.* versions were generating uninstallable package. This should be fixed now.
-
Breaking: TS resolution has been changed to
Node16
, target toes2022
. (#1636) -
Breaking: Alfa is now distributed as ESM rather than CJS modules; projects using it must be ESM or use dynamic
import()
. (#1636)⚠️ This is the last of a series of changes on the internal structure and build process of distributed packages that was started with v0.85.0.
-
Breaking: The .js files are now built in the
dist
folder rather than insrc
. (#1628)⚠️ This is the first of a series of changes on the internal structure and build process of distributed packages. It is probably better to not use this version and wait until more of these internal changes have been done to jump directly to the final result. We are internally releasing these changes for validation purpose only.This should not impact consumers, the
package.json
files should be set correctly to consume these files.
- Added: The
:any-link
pseudo-class is now supported. (#1629)
- Breaking: Node 18 is no longer supported. (#1618)
- Added: Each package now contains its internal dependency graph in its
docs
directory. (#1610)
- Added: The
:host
and:host-context
pseudo-classes, as well as the::slotted
pseudo-element are now supported. (#1554)
- Added:
Specificity
is now exported for external use. (#1540)
- Added: Selectors now contain a "key selector" which is the leftmost simple selector in a compound one, or the rightmost in a complex one. (#1534)
-
Added: The
:nth-child
and:nth-last-child
pseudo-classes now accept the "of selector" syntax. (#1524) -
Added:
Selector
now contain their ownSpecificity
. (#1514) -
Breaking: The type guards on selectors are now under the namespace of the same name. (#1508)
That is, use
Compound.isCompound
instead ofSelector.isCompound
, … -
Breaking:
Compound
selectors are now built on top of Iterable, rather than re-inventing chained lists. (#1508)That is,
Compound#left
andCompound#right
are no more available, butCompound#selectors
replaces them. -
Breaking: The various kinds of selectors are now directly exported from the package, out of the
Selector
namespace. (#1508)That is, use
Id
instead ofSelector.Id
, … (orimport * as Selector
and keep usingSelector.Id
). -
Added: The
:where
pseudo-class is now handled. (#1518) -
Breaking:
List
selectors are now built on top of Iterable, rather than re-inventing chained lists. (#1508)That is,
List#left
andList#right
are no more available, butList#selectors
replaces them.
- Added: A function
isEmpty
toContext
class (#1464)