Skip to content

@bryanbraun bryanbraun released this Nov 14, 2019 · 16 commits to master since this release

Breaking Changes:

None.

Features:

  • Reduce npm package size (166.1 kB -> 8.3 kB) by specifying only the necessary files. (#124).

Other:

  • Update some devDependencies (#126).
  • Other minor cleanup (#125).
Assets 2

@bryanbraun bryanbraun released this Nov 12, 2019 · 21 commits to master since this release

Breaking Changes:

None.

Features:

  • Removes some dead code (#111).
  • Modernize test environment (#115, #118).
  • Update dev dependencies (#113, #122, #123, etc).
  • Adds lots of docs improvements! 📝 (#107, #110, etc)
Assets 2

@bryanbraun bryanbraun released this Jan 1, 2019 · 40 commits to master since this release

Breaking Changes:

None.

Features:

Bug Fixes:

  • Fixed an issue where anchors didn't behave as expected on web pages that used the <base> tag (see #98).
Assets 2

@bryanbraun bryanbraun released this Jul 2, 2018 · 49 commits to master since this release

Breaking Changes:

None.

Features:

None.

Bug Fixes:

  • Handles url-building for text that contains newlines, tabs, backspaces, and vertical tabs. See #94.
Assets 2

@bryanbraun bryanbraun released this Sep 20, 2017 · 54 commits to master since this release

Breaking Changes:

None.

Features:

  • Added an option for customizable ariaLabel. The default ("Anchor") should be suitable for many cases, but this option allows for translations.
  • Improves docs.

Bug Fixes:

  • Based on the feedback of screenreader users, I changed the default ARIA-text from "Permalink for: <title>" to "Anchor". See #63.
Assets 2

@bryanbraun bryanbraun released this Jun 2, 2017 · 60 commits to master since this release

Breaking Changes:

  • Any Links or generated IDs containing a < or > character will have them removed. Those characters are not appropriate in IDs because they are part of the CSS language spec. See #81.
  • We removed h1 from the default selector applied when anchors.add() is called without arguments. Before: h1, h2, h3, h4, h5, h6. After: h2, h3, h4, h5, h6. See #75.

Features:

  • Added the ability to link to other IDs on the page (like those on wrapper or <section> elements). This means you can use AnchorJS for highlighted sections. See the docs, or the related issues: #83 and #87
  • Many documentation improvements and clarifications.

Bug Fixes:

  • Prevents a console error that would occur when running add() on a selector with no elements, followed by a chained method. See #79
Assets 2

@bryanbraun bryanbraun released this Oct 6, 2016 · 82 commits to master since this release

Includes font optimizations from #70 for a smaller filesize.

Assets 2

@bryanbraun bryanbraun released this Jul 18, 2016 · 87 commits to master since this release

Fixes #67 - A bug where bundling AnchorJS with other scripts could cause 'use script' declarations to apply to external code.

Assets 2

@bryanbraun bryanbraun released this Jun 10, 2016 · 89 commits to master since this release

Fixes:

  • #59 - Add support for Node, AMD, & CommonJS (Via UMD)
  • When installing via bower, ignore package.json.

These changes improve compatibility & code inclusion, but should not affect functionality at all.

Assets 2

@bryanbraun bryanbraun released this Apr 30, 2016 · 95 commits to master since this release

Fixes #56, a regression where errors are caused when attempting to add (or remove) anchors from empty html tags.

Assets 2
You can’t perform that action at this time.