Skip to content

Releases: frender-rs/ccss

ccss: v0.1.0

14 Sep 19:37

Choose a tag to compare

0.1.0 (2024-09-14)

⚠ BREAKING CHANGES

  • no default features for dependency konst
  • changed ArrayVec::with_try_push
  • remove const known macros
  • fixed and changed many api
  • remove IdentSequence::to_str and IdentToken::to_str because they are ambiguous when the string contains escaped code points
  • TokenParseError::UnexpectedReverseSolidus
  • make EscapedCodePoint::consume private
  • changed ComponentValueParseList::try_collect_into_known
  • new api for DeclarationParseList
  • new api for DeclarationParseList
  • new api for declaration value
  • refactor and organize exports

Features

  • add ArrayVec::with_extend_from_slice, with_try_extend_from_slice, try_into_filled_array (bc0fcff)
  • changed ArrayVec::with_try_push (305a02a)
  • changed ComponentValueParseList::try_collect_into_known (001799a)
  • CollectNothing (171e9a2)
  • ComponentValue::parse_list_from_str (896ad35)
  • const_known (c14a6ec)
  • Declaration::parse_list (d131c88)
  • Declaration::parse_value_from_str (2f64193)
  • Declaration::value (07e0f10)
  • export collections (eb3d0ed)
  • export DimensionToken fields (ea5473a)
  • export KnownComponentValueList::as_known_parsed_value_list (26266ec)
  • fixed and changed many api (f59ea1a)
  • Function::full_as_original_str, value_count, right_parenthesis. SimpleBlock::full_as_original_str (c20df2e)
  • IdentToken.original_str (664a2b4)
  • impl HasConstDummyValue for Declaration, DeclarationParseList::try_collect_into_known, KnownParsedValueList::as_array_vec, KnownParsedValueList::as_slice (939f689)
  • KnownCollection (6f0a601)
  • KnownParsedValueList (63a0ca5)
  • KnownParsedValueList::count (f250614)
  • LeadVec (3791e3e)
  • LeadVec::is_empty (9499e26)
  • make EscapedCodePoint::consume private (79ca603)
  • make some fns const: Declaration::name, name_as_original_str, value_as_original_str, is_important (a2d5074)
  • new api (aca144a)
  • new api for declaration value (6b34aa2)
  • new api for DeclarationParseList (eaf7c92)
  • new api for DeclarationParseList (070353f)
  • no default features for dependency konst (dc81a95)
  • refactor and organize exports (c9a1e36)
  • remove const known macros (0b804e2)
  • remove IdentSequence::to_str and IdentToken::to_str because they are ambiguous when the string contains escaped code points (fbeb245)
  • TokenParseError::UnexpectedReverseSolidus (0396e7f)

Bug Fixes

  • better macro_rules! define_known_variants (6a4568e)
  • escaped ident is not properly parsed (0396e7f)
  • FilteredCharVec::fit_or_keep_first_n (3c1e8b3)
  • LeadVec::with_push_maybe_fake (b644c96)
  • macro now works with << and >> (402d583)
  • NumericToken should not be empty (9e70101)
  • process error (42eb07e)
  • UnicodeRangeToken::consume (f098136)