Releases: czwinzscher/myhtmlpp
Releases · czwinzscher/myhtmlpp
v2.3.0
v2.2.0
Tree
- add
operator bool
which returnsgood()
- fix potential bug in
select
, where a nullptr check was made too late
Node
- add
operator bool
which returnsgood()
Attribute
- add
operator bool
which returnsgood()
Misc
- add Modest submodule
- use Github Actions
v2.1.0
Tree
- add
scope(scope_node)
- fix Iterator operator++
v2.0.0
Tree
- add
select(selector)
- add
filter(predicate)
- add
find_by_tag(tag_id)
- add
find_by_tag(tag_string)
- add
find_by_id(id)
- add
find_by_class(class)
- add
find_by_attr(key, value)
- remove
create_node
Node
at(key)
returns optional with value of attributeoperator[]
return value of attribute, does not do any error checkingis_text_node()
returns true if tag is one oneTEXT_
,COMMENT_
,STYLE
- add
inner_text()
- rename
tag_string()
totag_name()
- remove
set_namespace
- remove
add_child
- remove
insert_before
- remove
insert_after
- remove
remove
- remove
add_attribute
- remove
remove_attribute_by_key
Attribute
- add
operator<<
, gives out key="value" - remove
set_namespace
v1.1.0
parser
- all thrown exceptions have a
status_code()
method to return the mystatus_t value
Tree
- add
find_all(tag_string)
andfind_all(tag_id)
to filter nodes by tag
Node
- add
has_attribute(key)
v1.0.0
parser
- remove
parse_with_options
andparse_fragment_with_options
- add default parameters to
parse
andparse_fragment
for options - set default queue_size to 4096
- use custom exceptions to indicate errors
Tree
- mark copy constructor and copy assignment operator as
delete
- invalidate Tree after moving (set pointers to nullptr)
- remove
pretty_html
- add
operator==
for iterators
Node
- remove
pretty_html_deep
- invalidate Node after moving (set pointer to nullptr)
- add
operator==
for iterators - rename
ns
toget_namespace
- rename
set_ns
toset_namespace
- add
siblings
method - add
has_attributes
method - add
is_text_node
method
Attribute
- invalidate Attribute after moving (set pointer to nullptr)
- rename
ns
toget_namespace
- rename
set_ns
toset_namespace
other
- use an enum class wrapper for all tags, namespaces and options
v0.2.1
- fix the MYHTMLPP_LIBRARIES variable in CMakeLists.txt
- add more infos to readme
v0.2.0
- add documentation, which can be generated with
make doc
- add
good
method for Tree - add
good
method for Attribute - add structured bindings [key, value] support for Attribute
- The second parameter of
Tree::create_node
defaults toMyHTML_NAMESPACE_HTML
v0.1.0
first Release