# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.0.0] - 2025-10-10
### Added
- Initial release

## [1.0.1] - 2025-10-10
### Changed
- README.md with CDN links

## [1.0.2] - 2025-10-10
### Changed
- more JS examples in README.md 

## [1.0.3] - 2025-11-02
### Fixed
- Support comma-separated selectors with relative combinators (`>`, `~`, `+`)  

### Changed
- link to InDom GitHub Discussions in README.md Contribute section 

## [1.0.4] - 2026-03-05
### Added
- `getOffsetBox` method that returns a `DOMRect` with page-relative coordinates (viewport rect plus window scroll, root borders excluded).

### Changed
- Geometry methods (`getBox`, `getOuterBox`, `getRelativeBox`, `getOffsetBox`) now require the underlying element to be connected to the DOM, they throw Error otherwise.

## [1.0.5] - 2026-03-05
### Changed
- More tests for new geometry method (and npm package fix) 

## [1.0.6] - 2026-03-05
### Changed
- Npm publishing issues #1

## [1.0.7] - 2026-03-05
### Changed
- Npm publishing issues #2

## [1.0.8] - 2026-07-06
### Changed
- `getData` and `removeData` no longer require the underlying element to be connected to the DOM — `data-*` attributes are now readable and removable on disconnected elements
- `setStyle` now supports CSS custom properties (`--fw`, `--color`, etc.) via `style.setProperty()`

## [1.0.9] - 2026-07-06
### Added
- `onInput` shortcut method for on('input') both on InDomArray and on InDom classes 
- `removeStyle` removes a style property form the underline element 


