Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Releases: alexaubry/HTMLString

πŸ”– v6.0.1 β€” 2020εΉ΄10月01ζ—₯

01 Oct 16:19
@alexaubry alexaubry

Choose a tag to compare

Changes

  • Add Obj-C tests

Fixes

  • Fix infinite loop when using Obj-C methods
Assets 2
Loading

πŸ”– v6.0.0 β€” 2020εΉ΄09月28ζ—₯

28 Sep 14:31
@alexaubry alexaubry

Choose a tag to compare

Changes

  • Require iOS 9 and Swift 5
  • Removed mutate-in-place methods

Fixes

  • Improve overall performance
  • Fix build warnings with Xcode 12

Migration Guide

  1. Adding Unicode Entities
  • Replace addingUnicodeEntities by addingUnicodeEntities()
  • Replace addUnicodeEntities() by addingUnicodeEntities()
  1. Adding ASCII Entities
  • Replace addingASCIIEntities by addingASCIIEntities()
  • Replace addASCIIEntities() by addingASCIIEntities()
  1. Removing Entities
  • Replace removingHTMLEntities by removingHTMLEntities()
  • Replace removeHTMLEntities by removingHTMLEntities()
Loading

4.1.0-beta.1

05 Jun 14:43
@alexaubry alexaubry
7fb27bf
This commit was signed with the committer’s verified signature. The key has expired.
alexaubry Alexis Aubry
GPG key ID: 36AC00F21AA86ECD
Expired
Verified
Learn about vigilant mode.

Choose a tag to compare

4.1.0-beta.1 Pre-release
Pre-release
πŸ”– v4.1.0-beta.1
Loading

πŸ”– v4.0.2

08 May 07:24
@alexaubry alexaubry
4.0.2
This tag was signed with the committer’s verified signature. The key has expired.
alexaubry Alexis Aubry
GPG key ID: 36AC00F21AA86ECD
Expired
Verified
Learn about vigilant mode.
7fb27bf
This commit was signed with the committer’s verified signature. The key has expired.
alexaubry Alexis Aubry
GPG key ID: 36AC00F21AA86ECD
Expired
Verified
Learn about vigilant mode.

Choose a tag to compare

Update for Xcode 9.3 and Swift 4.1

  • Update project for Swift 4.1
  • Improve tests and documentation
Loading

πŸ”– v4.0.0

20 Sep 10:36
@alexaubry alexaubry
8814b32
This commit was signed with the committer’s verified signature. The key has expired.
alexaubry Alexis Aubry
GPG key ID: 36AC00F21AA86ECD
Expired
Verified
Learn about vigilant mode.

Choose a tag to compare

Update for Xcode 9 and Swift 4

  • Update project for Swift 4
  • Improve tests and documentation
  • Run CI tests on mutliple platforms
  • Update metadata
Loading

πŸ”– v3.0.0

14 Feb 09:45
@alexaubry alexaubry

Choose a tag to compare

HTMLString 3.0.0 makes everything Swiftier.

⚠️️ Source-breaking changes

The old API has been deprecated in favor of a new one that aligns to Foundation's API to add/remove percent encoding.

Swift API

  • escapingForUnicodeHTML has been renamed to addingUnicodeEntities
  • escapingForASCIIHTML has been renamed to addingASCIIEntities
  • unescapingFromHTML has been renamed to removingHTMLEntities

NSString Swift API

  • stringByEscapingForUnicodeHTML() has been renamed to addingUnicodeEntities()
  • stringByEscapingForASCIIHTML() has been renamed to addingASCIIEntities()
  • stringByUnescapingFromHTML() has been renamed to removingHTMLEntities()

NSString Objective-C API

  • stringByEscapingForUnicodeHTML has been renamed to stringByAddingUnicodeEntities
  • stringByEscapingForASCIIHTML has been renamed to stringByAddingASCIIEntities
  • stringByUnescapingFromHTML has been renamed to stringByRemovingHTMLEntities

Xcode fix-its should be able to help you migrate to the latest syntax.

βœ… Fixed/Improved

  • The Xcode project has now 1 target/platform
  • Fixed an error with build settings that caused the library to be unusable with Carthage
  • Better Objective-C annotation
  • More expressive and instructive README and docs
Loading

πŸ”– v2.1.2

16 Jan 16:23
@alexaubry alexaubry

Choose a tag to compare

This release extends the library's compatibility to Objective-C projects using Mix and Match interoperability.

Loading

πŸ”– v2.1.1

05 Jan 20:48
@alexaubry alexaubry

Choose a tag to compare

This minor release focuses on code, security and performance improvements.

New APIs

  • You can now perform custom escaping by escaping Unicode scalars individually.

Improvements

  • Further improved the escaping algorithm, which is now up to 6 times faster.
  • Changed the escaping strategy: special characters are now escaped with decimal sequences. This allows for better compatibility with browsers (HTML 4.0 compatible) and better speed
  • Changed the Unicode escaping strategy: only escape characters that could cause an XSS injection
  • Added an asymptotic complexity approximation calculator (every algorithm is now O(N))

Fixed

  • Removed .DS_Store
Loading

πŸ”– v2.1.0

04 Jan 12:02
@alexaubry alexaubry

Choose a tag to compare

Meet HTMLString v2.1.0 and its huge performance improvements!

Escaping is now up to 6.5 times faster and unescaping up to 98 times faster. Check out the new benchmark reports for more details.

Internal Changes

  • Change the escaping algorithm (reduce instead of map)
  • Reduced the size of the escaping mappings

And also

⚠️ Source breaking changes

  • The Character extensions have been removed.
Loading

πŸ”– v2.0.1

06 Dec 12:52
@alexaubry alexaubry

Choose a tag to compare

This release focuses on improving the library's performance : escaping is 99.37% (!) faster and unescaping is 10,38% faster in average (πŸŽ‰)

And also:

  • Changed the escaping/unescaping tables model
  • Better tests and coverage
Loading
Previous 1
Previous

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /