Barba Versions Save

Create badass, fluid and smooth transitions between your website’s pages

v2.9.7

1 year ago

What's new? :bearded_person:

  • Brand website, always up to date — https://barba.js.org/
  • Simplified API, with tree shaking support and TS definitions
  • Hook system for Transitions and Views
  • Transition resolution, to declare your transitions and let Barba pick the right one
  • Use of data-barba-* attributes, that you can easily customize
  • Sync mode, to build cross animated transitions between pages
  • Plugin system
    • @barba/router : use of routes for transition resolution
    • @barba/css : automatic addition of CSS classes
    • @barba/prefetch : automatic pages prefetching (and caching), based on viewport
    • @barba/head : update your <head> (coming soon)
    • @barba/preset : ready-to-use basic transitions pack (fade, slide, …) (coming soon)

Sponsorship

It is now possible to support this project by sponsoring BarbaJS maintainer on Github. Even if it's a small contribution, you participate in the effort of making open source projects maintained for everyone, and developers to be rewarded for their work/time.

Feedback

Feel free to report any issue or feature request, thanks! :+1: Send us your project and showcase the amazing transitions you built using Barba!

@barba/[email protected]

5 years ago

Enable NPM @latest for the beta release.

1.0.0

7 years ago

Wow, i've been really busy recently but I managed to get out Barba.js v1.0! 🎉

Some stuff in this version:

  • Support for download attribute.
  • Support for xlink:href attribute (introducing a new method Barba.Pjax.getHref).
  • Add new parameter to linkClicked event, now you receive the event. Thanks @anhskohbo .
  • Add new parameter to newPageReady event, now you have the full raw HTML of the page loaded.

0.0.10

7 years ago

Lots of little stuff in this version!

  • Improve JSDoc annotations
  • Add little npm command to measure filesize of the library (minified and gzipped)
  • Improve visibility and display toggling (@ZachSaucier)
  • Improve/add unit testing
  • Add basic E2E tests with nightwatch
  • Improve accessibility adding aria-live attribute
  • Add cdnjs as install option
  • Little code cleanup

🏁

0.0.9

7 years ago
  • Init Unit testing with Karma and with istanbul as coverage tool
  • Integrate Travis and Coveralls
  • Improve generated documentation
  • Add the possibility to specify a timeout for the xhr requests (Barba.Utils.xhrTimeout, by default 5000ms)
  • Rename Barba.HistoryManager.states in Barba.HistoryManager.history

🏁

0.0.8

7 years ago
  • Update dependencies
  • Make easy to change data-namespace, .barba-container and #barba-wrapper
  • Update docs

0.0.7

7 years ago
  • Normalize port check (fixed verified on IE11)

0.0.6

7 years ago
  • Add port check
  • Graceful degradation for older browsers
  • Add custom x-barba HTTP header in the xhr request
  • Pass HTMLElement of the container on 'newPageReady' event