Skip to content

Latest commit

Β 

History

History
221 lines (143 loc) Β· 6.2 KB

CHANGELOG.md

File metadata and controls

221 lines (143 loc) Β· 6.2 KB

πŸ“’ Changelog


v3.0.4

11-Jul-2024

  • βœ… fix: fix missing whitespace when extracting plain text
  • πŸ“œ docs: unify changelog entries


v3.0.3

10-Jul-2024

  • πŸ’» dev: conform with installed Astro's Node engine version


v3.0.2

10-Jul-2024

  • ❌ breaking: property headings: PropHeadings has been removed completely, headings are now automatically and ALWAYS removed
  • ❌ breaking: property renderer: PropRenderer has been removed completely, only text is rendered with HTML entities support ALWAYS enabled
  • πŸͺ… feat: MDX support is added and enabled by default
  • βœ… fix: fix Markdown being rendered (#41)
  • βœ… fix: fix component import error
  • πŸ’» dev: upgrade to Astro v4
  • πŸ’» dev: set the Node requirement to >=20
  • πŸ“œ docs: change the description and documentation to match the new API (MDX support)


v2.1.0

12-Sep-2023

  • πŸͺ… feat: upgrade and test with Astro v3
  • πŸ’» dev: <PostExcerpt /> now comes with its own custom-built test suite and runner! (naive implementation 😳)


v2.0.3

13-Jul-2023

  • πŸ’» dev: fix vulnerability, upgrade dependencies


v2.0.2

30-Jun-2023

  • βœ… fix: upgrade dependencies, fixes multiple vulnerabilities
  • βœ… fix: better handle last character for smartEllipsis
  • πŸ’» dev: add missing types


v2.0.1

09-Apr-2023

  • βœ… fix: peer dependency install error (#32)


v2.0.0

09-Apr-2023

  • πŸͺ… feat: add support for Astro v2 Collections
  • πŸͺ… feat: make the component backwards-compatible
  • πŸ’» dev: migrate to Astro v2, check it out for breaking changes:
  • πŸ’» dev: upgrade to Astro v2.2.0


🧐 Migration from 1.x to 2.x FAQs

Q: Can I NOT upgrade Astro?
A: Yes, but it's not recommended.

Q: Can I upgrade PostExcerpt but not Astro?
A: Yes, all changes and new features are backwards-compatible.

Q: Can I upgrade Astro but not PostExcerpt?
A: Look at the first answer.

Q: How do I upgrade Astro and migrate to v2?
A: Migrate your Astro project by going through the official migration guide.

Q: What do I need to do if I upgrade PostExcerpt but not Astro too?
A: Nothing. Nada.

Q: Can I use Collections in Astro without upgrading PostExcerpt?
A: No, Collections support is a new feature of PostExcerpt v>=2.x.x.

Q: Okay, I want to upgrade both. Is there some reference code? πŸ€“
A: Sure, take a look at this component's testing environment, in particular the index page, which contains the post loops for Astro v<2 and Astro v>=2.



v1.3.2

06-Apr-2023

  • πŸ’» dev: improve IntelliSense


v1.3.1

05-Apr-2023

  • πŸͺ… feat: add an HTML render (#18)
  • πŸͺ… feat: add @igor.dvlpr/strip-html which brings:
    • stripping of HTML code
    • extracting of text content from HTML code
  • πŸͺ… feat: add @igor.dvlpr/strip-html-headings which brings:
    • stripping of HTML headings' code
    • extracting of text content from HTML headings
  • πŸͺ… feat: detect ellipsis symbol in smartEllipsis
  • βœ… fix: fix trim() sometimes not being applied
  • πŸ’» dev: move to TypeScript
  • πŸ’» dev: fix missing typings


v1.2.3

29-Mar-2023

  • πŸͺ… feat: preserve or strip post headings in the rendered excerpt (#12)
  • βœ… fix: broken integrations link (#16)
  • πŸ’» dev: upgrade dependencies
  • πŸ’» dev: make the test site public
  • πŸ’» dev: update author link (#17)


v1.1.1

16-Dec-2022

  • πŸ’» dev: upgrade dependencies
  • πŸ“œ docs: minor README fixes


v1.1.0

02-Dec-2022

  • πŸͺ… feat: add smartEllipsis
  • πŸͺ… feat: add custom ellipsis support
  • βœ… fix: fix maxLength issue (#10)
  • βœ… fix: use native <post>.rawContent() function
  • πŸ’» dev: refactor code
  • πŸ’» dev: maintenance
  • πŸ“œ docs: update JSDocs


v1.0.3

13-Oct-2022

  • πŸ’» dev: add testing environment
  • πŸ’» dev: maintenance


v1.0.2

12-Sep-2022

  • πŸ’» dev: throw an error instead of logging it when required prop post is missing or not valid
  • πŸ’» dev: security fixes


v1.0.1

12-Sep-2022

  • πŸ’» dev: security fixes
  • πŸ“œ docs: add an explanation how to fix a common Astro build error caused by Vite


v1.0.0

11-Sep-2022

  • πŸš€ launch: initial release