Skip to content

Commit

Permalink
Fixed handlers not having access to this context
Browse files Browse the repository at this point in the history
Fixed handlers not having access to `this` context when the handler is in an Alpine component.
  • Loading branch information
rehhouari committed Jan 3, 2024
1 parent eda894c commit 8914a00
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 13 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [4.0.3] - 2024-01-03

### Fixed

- Fixed handlers not having access to `this` context when the handler is in an Alpine component.

## [4.0.2] - 2023-12-23

### Fixed
Expand Down Expand Up @@ -265,4 +271,5 @@ It's mostly backward compatible but need a few tweaks:
[3.1.2]: https://github.com/pinecone-router/router/compare/3.1.1..3.1.2
[4.0.0]: https://github.com/pinecone-router/router/compare/3.1.2..4.0.0
[4.0.1]: https://github.com/pinecone-router/router/compare/4.0.0..4.0.1
[4.0.1]: https://github.com/pinecone-router/router/compare/4.0.1..4.0.2
[4.0.2]: https://github.com/pinecone-router/router/compare/4.0.1..4.0.2
[4.0.3]: https://github.com/pinecone-router/router/compare/4.0.2..4.0.3
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<img src="https://github.com/pinecone-router/router/blob/main/.github/pinecone-router-social-card-alt-big.png?raw=true" title="Pinecone Router logo with the text: The extendable client-side router for Alpine.js">
</p>

[![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/pinecone-router/router?color=%2337C8AB&label=version&sort=semver)](https://github.com/pinecone-router/router/tree/4.0.2)
[![npm bundle size](https://img.shields.io/bundlephobia/minzip/pinecone-router?color=37C8AB)](https://bundlephobia.com/[email protected].2)
[![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/pinecone-router/router?color=%2337C8AB&label=version&sort=semver)](https://github.com/pinecone-router/router/tree/4.0.3)
[![npm bundle size](https://img.shields.io/bundlephobia/minzip/pinecone-router?color=37C8AB)](https://bundlephobia.com/[email protected].3)
[![Downloads from JSDelivr](https://data.jsdelivr.com/v1/package/npm/pinecone-router/badge?style=rounded)](https://www.jsdelivr.com/package/npm/pinecone-router)
[![npm](https://img.shields.io/npm/dm/pinecone-router?color=37C8AB&label=npm&logo=npm&logoColor=37C8AB)](https://npmjs.com/package/pinecone-router)
[![Changelog](https://img.shields.io/badge/change-log-%2337C8AB)](/CHANGELOG.md)
Expand Down
2 changes: 1 addition & 1 deletion dist/router.esm.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions dist/router.esm.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 8914a00

Please sign in to comment.