Skip to content
This repository has been archived by the owner on Aug 14, 2021. It is now read-only.

v1 πŸŽ‰πŸŽ‰πŸŽ‰

Compare
Choose a tag to compare
@andreskrey andreskrey released this 03 Dec 12:35
· 256 commits to master since this release

Hi all!

Finally v1 is here. πŸŽ‰πŸŽ‰πŸŽ‰ The project changed drastically from v0, mainly because the HTMLParser is gone and the Readability class replaces it. I know, confusing, but this change aligns us with Readability.js and makes everything easier to port.

Also another huge change that I wanted to do since version 0.0.1 was getting rid of the node encapsulation. v0 used league\html-to-markdown NodeElement class to encapsulate the nodes and act as a middle man between your code and the DOMDocument. This caused lots of trouble because when you encapsulate nodes, you are actually severing the relation between the original DOM and the encapsulated node, forcing you to keep track of the changes between them instead of letting the system do it. This version instead of encapsulating nodes, extends the original class, solving all these issues.

Check the readme file to understand how to port your v0 code to v1 and the changelog to read about all the other changes.

Enjoy!