From f82c0e61c7f0bd74279425134b459580453c3cc0 Mon Sep 17 00:00:00 2001 From: Philip Sampaio Date: Mon, 25 Mar 2024 15:25:09 -0300 Subject: [PATCH 01/10] Start a new dev version and fix release checklist --- RELEASE_CHECKLIST.md | 5 +++-- mix.exs | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/RELEASE_CHECKLIST.md b/RELEASE_CHECKLIST.md index f7a97b4..7e1fdb2 100644 --- a/RELEASE_CHECKLIST.md +++ b/RELEASE_CHECKLIST.md @@ -7,10 +7,11 @@ In order to release a new version to Hex.pm we first need to: 3. commit and create a tag for that version 4. push the changes to the repository with: `git push origin master --tags` 5. wait the CI to build all release files -6. run `mix rustler.download Html5ever.Native --all --print` +6. run `HTML5EVER_BUILD=1 mix rustler_precompiled.download Html5ever.Native --all --print` 7. copy the output of the mix task and add to the release notes 8. run `mix hex.publish` and **make sure the checksum file is present** -in the list of files to be published. +in the list of files to be published. Also make sure that the `target` +directory of `native/html5ever_elixir` is **NOT** present. It's important to ensure that we publish the checksum file with the package because otherwise the users won't be able to use the lib diff --git a/mix.exs b/mix.exs index c8fa7b6..04d5fdf 100644 --- a/mix.exs +++ b/mix.exs @@ -1,7 +1,7 @@ defmodule Html5ever.Mixfile do use Mix.Project - @version "0.16.0" + @version "0.16.0-dev" @repo_url "https://github.com/rusterlium/html5ever_elixir" def project do From 08085632ab0e1d2b5aae30e46b0c36ac777ab140 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 10 Apr 2024 12:10:26 -0300 Subject: [PATCH 02/10] Bump ex_doc from 0.31.2 to 0.32.0 (#143) Bumps [ex_doc](https://github.com/elixir-lang/ex_doc) from 0.31.2 to 0.32.0. - [Release notes](https://github.com/elixir-lang/ex_doc/releases) - [Changelog](https://github.com/elixir-lang/ex_doc/blob/main/CHANGELOG.md) - [Commits](https://github.com/elixir-lang/ex_doc/compare/v0.31.2...v0.32.0) --- updated-dependencies: - dependency-name: ex_doc dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- mix.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mix.lock b/mix.lock index f3b1a00..3887873 100644 --- a/mix.lock +++ b/mix.lock @@ -1,7 +1,7 @@ %{ "castore": {:hex, :castore, "1.0.6", "ffc42f110ebfdafab0ea159cd43d31365fa0af0ce4a02ecebf1707ae619ee727", [:mix], [], "hexpm", "374c6e7ca752296be3d6780a6d5b922854ffcc74123da90f2f328996b962d33a"}, "earmark_parser": {:hex, :earmark_parser, "1.4.39", "424642f8335b05bb9eb611aa1564c148a8ee35c9c8a8bba6e129d51a3e3c6769", [:mix], [], "hexpm", "06553a88d1f1846da9ef066b87b57c6f605552cfbe40d20bd8d59cc6bde41944"}, - "ex_doc": {:hex, :ex_doc, "0.31.2", "8b06d0a5ac69e1a54df35519c951f1f44a7b7ca9a5bb7a260cd8a174d6322ece", [:mix], [{:earmark_parser, "~> 1.4.39", [hex: :earmark_parser, repo: "hexpm", optional: false]}, {:makeup_c, ">= 0.1.1", [hex: :makeup_c, repo: "hexpm", optional: true]}, {:makeup_elixir, "~> 0.14", [hex: :makeup_elixir, repo: "hexpm", optional: false]}, {:makeup_erlang, "~> 0.1", [hex: :makeup_erlang, repo: "hexpm", optional: false]}], "hexpm", "317346c14febaba9ca40fd97b5b5919f7751fb85d399cc8e7e8872049f37e0af"}, + "ex_doc": {:hex, :ex_doc, "0.32.0", "896afb57b1e00030f6ec8b2e19d3ca99a197afb23858d49d94aea673dc222f12", [:mix], [{:earmark_parser, "~> 1.4.39", [hex: :earmark_parser, repo: "hexpm", optional: false]}, {:makeup_c, ">= 0.1.1", [hex: :makeup_c, repo: "hexpm", optional: true]}, {:makeup_elixir, "~> 0.14", [hex: :makeup_elixir, repo: "hexpm", optional: false]}, {:makeup_erlang, "~> 0.1", [hex: :makeup_erlang, repo: "hexpm", optional: false]}], "hexpm", "ed2c3e42c558f49bda3ff37e05713432006e1719a6c4a3320c7e4735787374e7"}, "jason": {:hex, :jason, "1.4.1", "af1504e35f629ddcdd6addb3513c3853991f694921b1b9368b0bd32beb9f1b63", [:mix], [{:decimal, "~> 1.0 or ~> 2.0", [hex: :decimal, repo: "hexpm", optional: true]}], "hexpm", "fbb01ecdfd565b56261302f7e1fcc27c4fb8f32d56eab74db621fc154604a7a1"}, "makeup": {:hex, :makeup, "1.1.1", "fa0bc768698053b2b3869fa8a62616501ff9d11a562f3ce39580d60860c3a55e", [:mix], [{:nimble_parsec, "~> 1.2.2 or ~> 1.3", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "5dc62fbdd0de44de194898b6710692490be74baa02d9d108bc29f007783b0b48"}, "makeup_elixir": {:hex, :makeup_elixir, "0.16.2", "627e84b8e8bf22e60a2579dad15067c755531fea049ae26ef1020cad58fe9578", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}, {:nimble_parsec, "~> 1.2.3 or ~> 1.3", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "41193978704763f6bbe6cc2758b84909e62984c7752b3784bd3c218bb341706b"}, From 6e3811b9430c9a87f369814d30b9937877630fa1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 7 May 2024 16:36:44 -0300 Subject: [PATCH 03/10] Bump thiserror from 1.0.58 to 1.0.60 in /native/html5ever_nif (#147) Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.58 to 1.0.60. - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.58...1.0.60) --- updated-dependencies: - dependency-name: thiserror dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- native/html5ever_nif/Cargo.lock | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/native/html5ever_nif/Cargo.lock b/native/html5ever_nif/Cargo.lock index 357ca5c..3521838 100644 --- a/native/html5ever_nif/Cargo.lock +++ b/native/html5ever_nif/Cargo.lock @@ -447,18 +447,18 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.58" +version = "1.0.60" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03468839009160513471e86a034bb2c5c0e4baae3b43f79ffc55c4a5427b3297" +checksum = "579e9083ca58dd9dcf91a9923bb9054071b9ebbd800b342194c9feb0ee89fc18" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.58" +version = "1.0.60" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c61f3ba182994efc43764a46c018c347bc492c79f024e705f46567b418f6d4f7" +checksum = "e2470041c06ec3ac1ab38d0356a6119054dedaea53e12fbefc0de730a1c08524" dependencies = [ "proc-macro2", "quote", From 84007685a4bc6417fc1ce0724213b845b472e6ff Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 7 May 2024 16:37:06 -0300 Subject: [PATCH 04/10] Bump markup5ever from 0.12.0 to 0.12.1 in /native/html5ever_nif (#146) Bumps [markup5ever](https://github.com/servo/html5ever) from 0.12.0 to 0.12.1. - [Commits](https://github.com/servo/html5ever/compare/markup5ever-v0.12.0...markup5ever-v0.12.1) --- updated-dependencies: - dependency-name: markup5ever dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- native/html5ever_nif/Cargo.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/native/html5ever_nif/Cargo.lock b/native/html5ever_nif/Cargo.lock index 3521838..bf7a978 100644 --- a/native/html5ever_nif/Cargo.lock +++ b/native/html5ever_nif/Cargo.lock @@ -118,9 +118,9 @@ checksum = "c41e0c4fef86961ac6d6f8a82609f55f31b05e4fce149ac5710e439df7619ba4" [[package]] name = "markup5ever" -version = "0.12.0" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7940b09815a02810a42b9e1bc41c069880a87de68e9b1dcbe754a3ba3b47c20" +checksum = "16ce3abbeba692c8b8441d036ef91aea6df8da2c6b6e21c7e14d3c18e526be45" dependencies = [ "log", "phf", From a092e27758d36e3ae1e24175b76b7b776f7b241c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 10 May 2024 12:37:25 -0300 Subject: [PATCH 05/10] Bump ex_doc from 0.32.0 to 0.32.2 (#148) Bumps [ex_doc](https://github.com/elixir-lang/ex_doc) from 0.32.0 to 0.32.2. - [Release notes](https://github.com/elixir-lang/ex_doc/releases) - [Changelog](https://github.com/elixir-lang/ex_doc/blob/main/CHANGELOG.md) - [Commits](https://github.com/elixir-lang/ex_doc/compare/v0.32.0...v0.32.2) --- updated-dependencies: - dependency-name: ex_doc dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- mix.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mix.lock b/mix.lock index 3887873..61420ab 100644 --- a/mix.lock +++ b/mix.lock @@ -1,11 +1,11 @@ %{ "castore": {:hex, :castore, "1.0.6", "ffc42f110ebfdafab0ea159cd43d31365fa0af0ce4a02ecebf1707ae619ee727", [:mix], [], "hexpm", "374c6e7ca752296be3d6780a6d5b922854ffcc74123da90f2f328996b962d33a"}, "earmark_parser": {:hex, :earmark_parser, "1.4.39", "424642f8335b05bb9eb611aa1564c148a8ee35c9c8a8bba6e129d51a3e3c6769", [:mix], [], "hexpm", "06553a88d1f1846da9ef066b87b57c6f605552cfbe40d20bd8d59cc6bde41944"}, - "ex_doc": {:hex, :ex_doc, "0.32.0", "896afb57b1e00030f6ec8b2e19d3ca99a197afb23858d49d94aea673dc222f12", [:mix], [{:earmark_parser, "~> 1.4.39", [hex: :earmark_parser, repo: "hexpm", optional: false]}, {:makeup_c, ">= 0.1.1", [hex: :makeup_c, repo: "hexpm", optional: true]}, {:makeup_elixir, "~> 0.14", [hex: :makeup_elixir, repo: "hexpm", optional: false]}, {:makeup_erlang, "~> 0.1", [hex: :makeup_erlang, repo: "hexpm", optional: false]}], "hexpm", "ed2c3e42c558f49bda3ff37e05713432006e1719a6c4a3320c7e4735787374e7"}, + "ex_doc": {:hex, :ex_doc, "0.32.2", "f60bbeb6ccbe75d005763e2a328e6f05e0624232f2393bc693611c2d3ae9fa0e", [:mix], [{:earmark_parser, "~> 1.4.39", [hex: :earmark_parser, repo: "hexpm", optional: false]}, {:makeup_c, ">= 0.1.0", [hex: :makeup_c, repo: "hexpm", optional: true]}, {:makeup_elixir, "~> 0.14 or ~> 1.0", [hex: :makeup_elixir, repo: "hexpm", optional: false]}, {:makeup_erlang, "~> 0.1 or ~> 1.0", [hex: :makeup_erlang, repo: "hexpm", optional: false]}, {:makeup_html, ">= 0.1.0", [hex: :makeup_html, repo: "hexpm", optional: true]}], "hexpm", "a4480305cdfe7fdfcbb77d1092c76161626d9a7aa4fb698aee745996e34602df"}, "jason": {:hex, :jason, "1.4.1", "af1504e35f629ddcdd6addb3513c3853991f694921b1b9368b0bd32beb9f1b63", [:mix], [{:decimal, "~> 1.0 or ~> 2.0", [hex: :decimal, repo: "hexpm", optional: true]}], "hexpm", "fbb01ecdfd565b56261302f7e1fcc27c4fb8f32d56eab74db621fc154604a7a1"}, "makeup": {:hex, :makeup, "1.1.1", "fa0bc768698053b2b3869fa8a62616501ff9d11a562f3ce39580d60860c3a55e", [:mix], [{:nimble_parsec, "~> 1.2.2 or ~> 1.3", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "5dc62fbdd0de44de194898b6710692490be74baa02d9d108bc29f007783b0b48"}, "makeup_elixir": {:hex, :makeup_elixir, "0.16.2", "627e84b8e8bf22e60a2579dad15067c755531fea049ae26ef1020cad58fe9578", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}, {:nimble_parsec, "~> 1.2.3 or ~> 1.3", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "41193978704763f6bbe6cc2758b84909e62984c7752b3784bd3c218bb341706b"}, - "makeup_erlang": {:hex, :makeup_erlang, "0.1.5", "e0ff5a7c708dda34311f7522a8758e23bfcd7d8d8068dc312b5eb41c6fd76eba", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}], "hexpm", "94d2e986428585a21516d7d7149781480013c56e30c6a233534bedf38867a59a"}, + "makeup_erlang": {:hex, :makeup_erlang, "1.0.0", "6f0eff9c9c489f26b69b61440bf1b238d95badae49adac77973cbacae87e3c2e", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}], "hexpm", "ea7a9307de9d1548d2a72d299058d1fd2339e3d398560a0e46c27dab4891e4d2"}, "nimble_parsec": {:hex, :nimble_parsec, "1.4.0", "51f9b613ea62cfa97b25ccc2c1b4216e81df970acd8e16e8d1bdc58fef21370d", [:mix], [], "hexpm", "9c565862810fb383e9838c1dd2d7d2c437b3d13b267414ba6af33e50d2d1cf28"}, "rustler": {:hex, :rustler, "0.32.1", "f4cf5a39f9e85d182c0a3f75fa15b5d0add6542ab0bf9ceac6b4023109ebd3fc", [:mix], [{:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}, {:toml, "~> 0.6", [hex: :toml, repo: "hexpm", optional: false]}], "hexpm", "b96be75526784f86f6587f051bc8d6f4eaff23d6e0f88dbcfe4d5871f52946f7"}, "rustler_precompiled": {:hex, :rustler_precompiled, "0.7.1", "ecadf02cc59a0eccbaed6c1937303a5827fbcf60010c541595e6d3747d3d0f9f", [:mix], [{:castore, "~> 0.1 or ~> 1.0", [hex: :castore, repo: "hexpm", optional: false]}, {:rustler, "~> 0.23", [hex: :rustler, repo: "hexpm", optional: true]}], "hexpm", "b9e4657b99a1483ea31502e1d58c464bedebe9028808eda45c3a429af4550c66"}, From 87239c3ebc469eaddfb9344166bf9671cda2fca2 Mon Sep 17 00:00:00 2001 From: Philip Sampaio Date: Wed, 15 May 2024 15:12:58 -0300 Subject: [PATCH 06/10] Fix parsing of documents that may contain XML before Doctype (#149) * Fix parsing of documents that may contain XML before Doctype This is a fix for malformed documents that may start with an XML tag, or even a comment before the declaration of the doctype. * Change assertion to check comments len --- native/html5ever_nif/src/flat_dom.rs | 10 ++++++- test/html5ever_test.exs | 42 ++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+), 1 deletion(-) diff --git a/native/html5ever_nif/src/flat_dom.rs b/native/html5ever_nif/src/flat_dom.rs index da2eee3..f1d0c8f 100644 --- a/native/html5ever_nif/src/flat_dom.rs +++ b/native/html5ever_nif/src/flat_dom.rs @@ -526,6 +526,8 @@ pub fn flat_sink_to_rec_term<'a>( child_base: 0, child_n: 0, }]; + let mut comments_bf_doctype = 0usize; + let mut read_doctype = false; loop { let mut top = stack.pop().unwrap(); @@ -567,7 +569,9 @@ pub fn flat_sink_to_rec_term<'a>( system_id, } => { assert!(!stack.is_empty()); - assert!(child_stack.is_empty()); + assert!(child_stack.is_empty() || comments_bf_doctype == child_stack.len()); + + read_doctype = true; term = ( atoms::doctype(), @@ -596,6 +600,10 @@ pub fn flat_sink_to_rec_term<'a>( term = StrTendrilWrapper(contents).encode(env); } NodeData::Comment { contents } => { + if !read_doctype { + comments_bf_doctype += 1 + }; + term = (atoms::comment(), StrTendrilWrapper(contents)).encode(env); } _ => unimplemented!(""), diff --git a/test/html5ever_test.exs b/test/html5ever_test.exs index 9fbbae5..44797dc 100644 --- a/test/html5ever_test.exs +++ b/test/html5ever_test.exs @@ -308,4 +308,46 @@ defmodule Html5everTest do ]} ]} end + + test "parse html starting with a XML tag" do + html = """ + + + + + Hello + + link + + + """ + + assert Html5ever.parse(html) == + {:ok, + [ + {:comment, "?xml version=\"1.0\" encoding=\"UTF-8\"?"}, + {:comment, " also a comment is allowed "}, + {:doctype, "html", "-//W3C//DTD XHTML 1.0 Strict//EN", + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"}, + { + "html", + [{"xmlns", "http://www.w3.org/1999/xhtml"}, {"xml:lang", "en"}, {"lang", "en"}], + [ + {"head", [], [{"title", [], ["Hello"]}]}, + "\n", + " ", + {"body", [], + [ + "\n", + " ", + {"a", [{"id", "anchor"}, {"href", "https://example.com"}], ["link"]}, + "\n", + " ", + "\n", + "\n" + ]} + ] + } + ]} + end end From 4365ad337f9dfe9c9c9179e284018c960c8c2cd8 Mon Sep 17 00:00:00 2001 From: Philip Sampaio Date: Wed, 15 May 2024 20:15:23 -0300 Subject: [PATCH 07/10] Update actions (#150) --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index adb1190..7427c02 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -57,7 +57,7 @@ jobs: - name: Build the project id: build-crate - uses: philss/rustler-precompiled-action@v1.1.3 + uses: philss/rustler-precompiled-action@v1.1.4 with: project-name: html5ever_nif project-version: ${{ env.PROJECT_VERSION }} @@ -78,7 +78,7 @@ jobs: echo "${{ steps.build-crate.outputs.file-sha256 }} ${{ steps.build-crate.outputs.file-name }}" >> $GITHUB_STEP_SUMMARY - name: Publish archives and packages - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: files: | ${{ steps.build-crate.outputs.file-path }} From 07be26c95b846d809bbcf617652800bb85ce1701 Mon Sep 17 00:00:00 2001 From: Philip Sampaio Date: Wed, 15 May 2024 20:28:05 -0300 Subject: [PATCH 08/10] Add Artifact Attestations (#151) This new feature from GitHub Actions is going to make more explicit that no artifact was modified after the build. --- .github/workflows/release.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7427c02..5a713c9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,5 +1,9 @@ name: Build precompiled NIFs +permissions: + id-token: write + attestations: write + on: push: branches: @@ -66,6 +70,11 @@ jobs: use-cross: ${{ matrix.job.use-cross }} project-dir: "native/html5ever_nif" + - name: Artifact attestation + uses: actions/attest-build-provenance@v1 + with: + subject-path: ${{ steps.build-crate.outputs.file-path }} + - name: Artifact upload uses: actions/upload-artifact@v4 with: From bad711ca9960948f67d44d4e0c220372c1aada86 Mon Sep 17 00:00:00 2001 From: Philip Sampaio Date: Wed, 15 May 2024 20:38:52 -0300 Subject: [PATCH 09/10] Release v0.16.1 --- CHANGELOG.md | 9 ++++++++- mix.exs | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e77731b..63dd139 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.16.1] - 2024-05-15 + +### Fixed + +- Fix parsing of HTML documents that may start with a comment or an XML doc tag. + ## [0.16.0] - 2024-03-25 ### Fixed @@ -171,7 +177,8 @@ is not needed for most of people using this project. - Add support for OTP 24. This was achieved by updating Rustler to v0.22. -[Unreleased]: https://github.com/rusterlium/html5ever_elixir/compare/v0.16.0...HEAD +[Unreleased]: https://github.com/rusterlium/html5ever_elixir/compare/v0.16.1...HEAD +[0.16.1]: https://github.com/rusterlium/html5ever_elixir/compare/v0.16.0...v0.16.1 [0.16.0]: https://github.com/rusterlium/html5ever_elixir/compare/v0.15.0...v0.16.0 [0.15.0]: https://github.com/rusterlium/html5ever_elixir/compare/v0.14.3...v0.15.0 [0.14.3]: https://github.com/rusterlium/html5ever_elixir/compare/v0.14.2...v0.14.3 diff --git a/mix.exs b/mix.exs index 04d5fdf..c8dcd69 100644 --- a/mix.exs +++ b/mix.exs @@ -1,7 +1,7 @@ defmodule Html5ever.Mixfile do use Mix.Project - @version "0.16.0-dev" + @version "0.16.1" @repo_url "https://github.com/rusterlium/html5ever_elixir" def project do From cd0662eba5d3dcb83f39d4e916fa73360bdcd879 Mon Sep 17 00:00:00 2001 From: Philip Sampaio Date: Wed, 15 May 2024 20:43:51 -0300 Subject: [PATCH 10/10] Enable contents write for GH release workflow --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5a713c9..b3e21df 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,6 +3,7 @@ name: Build precompiled NIFs permissions: id-token: write attestations: write + contents: write on: push: