Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bugs, make compatible with new spago and prepare 7.0.0 release #61

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 4 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,13 @@ jobs:

- uses: actions/setup-node@v2
with:
node-version: "14"
node-version: "18"

- name: Install dependencies
run: |
npm install -g bower
npm install -g spago@next
npm install
bower install --production
spago install

- name: Build source
run: npm run-script build

- name: Run tests
run: |
bower install
npm run-script test --if-present
run: spago build
28 changes: 14 additions & 14 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ Notable changes to this project are documented in this file. The format is based

## [Unreleased]

Breaking changes:

New features:

Bugfixes:

Other improvements:

## [v7.0.0](https://github.com/purescript-web/purescript-web-dom/releases/tag/v7.0.0) - 2024-11-06

Breaking changes:
- The `id` function returns an `ElementId` instead of a `String`. (#58 by @nsaunders)
- The `setId` function is parameterized by `ElementId` instead of `String`. (#58 by @nsaunders)
Expand All @@ -13,12 +23,10 @@ Breaking changes:
- The `getAttribute`, `setAttribute`, `hasAttribute`, and `removeAttribute` functions are parameterized by `AttrName` instead of `String`. (#58 by @nsaunders)

New features:
- `AttrName`, `ClassName`, and `PropName` types have been added, migrated from [web-html](https://github.com/purescript-web/purescript-web-html). (#58 by @nsaunders)
- A new `ElementId` type, representing the value of an `id` property/attribute, has been added. (#58 by @nsaunders)

Bugfixes:

Other improvements:
- Added modules `NamedNodeMap`, `Attr` and `DOMTokenList` (#59 by @flip111)
- Added types `AttrName`, `AttrLocalName`, `ClassName`, and `PropName`, migrated from [web-html](https://github.com/purescript-web/purescript-web-html). (#58 by @nsaunders)
- Added type `ElementId`, representing the value of an `id` property/attribute. (#58 by @nsaunders)
- Added types `CompatMode`, `ElementName`, `NamespacePrefix` and `NamespaceURI` (#59 by @garyb)

## [v6.0.0](https://github.com/purescript-web/purescript-web-dom/releases/tag/v6.0.0) - 2022-04-27

Expand All @@ -27,12 +35,6 @@ Breaking changes:
- Unwrap returned `Effect` for `doctype` (#52 by @JordanMartinez)
- Port `getBoundingClientRect` from `web-html`; set arg to `Element` (#53 by @JordanMartinez)

New features:

Bugfixes:

Other improvements:

## [v5.0.0](https://github.com/purescript-web/purescript-web-dom/releases/tag/v5.0.0) - 2021-02-26

Breaking changes:
Expand All @@ -43,8 +45,6 @@ New features:
- Add support for ShadowRoot API (#34)
- Add support for `Element.matches` and `Element.closest` (#39)

Bugfixes:

Other improvements:
- Migrated CI to GitHub Actions and updated installation instructions to use Spago (#28, #30)
- Added a CHANGELOG.md file and updated pull request template (#35, #36, #37)
Expand Down
20 changes: 0 additions & 20 deletions bower.json

This file was deleted.

Loading
Loading