Skip to content

Releases: barbajs/barba

@barba/core 2.10.0

10 May 14:35
ae9f967
Compare
Choose a tag to compare

Hello Barbas! 🧔

Here is a new release version of BarbaJS.

⚠️ Note that this bundled version is not currently available on NPM, but should be published in the next few weeks/months: it's mainly due to some team members unavailability, please be patient, stay tuned, and don't blame anyone, it's how open source world works! When it's done, this release note will be updated.

Core packages enhancements:

  • Add setting to cache rendered HTML #713
  • Improve cache storage #641
  • Manage 301 server response #510
  • Limit number of prefetched links #708
  • Allow programmatic barba.history management #601
  • Add support for custom XHR headers #655
  • Add Cache status feature #568
  • Add custom data to barba.history #630
  • Pass the trigger event through hooks #622

Bug fixes:

  • Fix data-barba-prevent not working on self transition #700
  • Fix popstate events not triggering transition correctly with query string #587
  • Fix next container not properly inserted in the DOM #648
  • Fix container replacement in the DOM #479
  • Fix a11y harmful live-region usage #681
  • Fix DOMParser error on SSR #512
  • Fix timeout reload instead of redirect #475
  • Fix Slack outdated invite link #697

Documentation:

  • Up to date with latest code changes — https://barba.js.org/
  • Third party script section improved (WordPress, Lenis, ...)
  • Slack invite link fixed
  • Dark mode support ✨🕶️🖤

See all changes in the last milestone or read the full changelog.

Feel free to report any bugs you could find 🐛

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! 👍
Send us your project and showcase the amazing transitions you built using Barba!

@barba/core 2.9.7

31 Dec 22:47
035ca60
Compare
Choose a tag to compare

What's new? 🧔

  • 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! 👍
Send us your project and showcase the amazing transitions you built using Barba!

Beta release

17 Mar 20:20
Compare
Choose a tag to compare
Beta release Pre-release
Pre-release

Enable NPM @latest for the beta release.

v1.0

11 Sep 14:49
9f66f8e
Compare
Choose a tag to compare

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

25 Jun 11:04
Compare
Choose a tag to compare

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

05 Jun 19:47
Compare
Choose a tag to compare
  • 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

29 May 20:23
Compare
Choose a tag to compare
  • Update dependencies
  • Make easy to change data-namespace, .barba-container and #barba-wrapper
  • Update docs

0.0.7

27 Apr 19:23
Compare
Choose a tag to compare
  • Normalize port check (fixed verified on IE11)

0.0.6

15 Apr 20:46
Compare
Choose a tag to compare
  • 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