Releases: barbajs/barba
@barba/core 2.10.0
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 onself
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
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
andViews
- 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
Enable NPM @latest
for the beta release.
v1.0
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 methodBarba.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
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
- 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
inBarba.HistoryManager.history
🏁