Skip to content

Commit 30a9022

Browse files
authored
Merge pull request #60 from swup/version/automated
Update package version (automated)
2 parents 59f502b + 7081b5e commit 30a9022

File tree

4 files changed

+23
-3
lines changed

4 files changed

+23
-3
lines changed

CHANGELOG.md

+11
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Changelog
22

3+
## [0.3.5] - 2023-11-11
4+
5+
- New [API methods](https://github.com/swup/fragment-plugin#api-methods):
6+
- `getFragmentVisit()`
7+
- `prependRule()`
8+
- `appendRule()`
9+
- `getRules()`
10+
- `setRules()`
11+
- Add vitest tests for many functions
12+
313
## [0.3.4] - 2023-10-15
414

515
- Ignore fragment elements that are not children of swup's default `containers`
@@ -47,6 +57,7 @@
4757

4858
- Initial Release
4959

60+
[0.3.5]: https://github.com/swup/fragment-plugin/releases/tag/0.3.5
5061
[0.3.4]: https://github.com/swup/fragment-plugin/releases/tag/0.3.4
5162
[0.3.3]: https://github.com/swup/fragment-plugin/releases/tag/0.3.3
5263
[0.3.2]: https://github.com/swup/fragment-plugin/releases/tag/0.3.2

README.md

+9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Swup Fragment Plugin
22

3+
<div class="shields">
4+
5+
<!--[![npm version](https://img.shields.io/npm/v/@swup/fragment-plugin.svg)](https://www.npmjs.com/package/@swup/fragment-plugin) -->
6+
[![Test status](https://img.shields.io/github/actions/workflow/status/swup/fragment-plugin/unit-tests.yml?branch=master&label=unit%20tests)](https://github.com/swup/fragment-plugin/actions/workflows/unit-tests.yml)
7+
[![License](https://img.shields.io/github/license/swup/fragment-plugin.svg)](https://github.com/swup/fragment-plugin/blob/master/LICENSE)
8+
9+
</div>
10+
311
A [swup](https://swup.js.org) plugin for dynamically replacing containers based on rules 🧩
412

513
- Selectively replace containers instead of the main swup containers, based on custom rules
@@ -40,6 +48,7 @@ https://github.com/swup/fragment-plugin/assets/869813/ecaf15d7-ec72-43e8-898a-64
4048
- [Skip out/in animations using `<template>`](#skip-out-in-animations-using-template)
4149
- [Modals as children of `transform`ed parents](#modals-as-children-of-transformed-parents)
4250
- [Modals and Accessibility](#modals-and-accessibility)
51+
- [API Methods](#api-methods)
4352

4453
## Installation
4554

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@swup/fragment-plugin",
33
"amdName": "SwupFragmentPlugin",
4-
"version": "0.3.4",
4+
"version": "0.3.5",
55
"description": "A swup plugin for dynamically replacing containers based on rules",
66
"type": "module",
77
"source": "src/index.ts",

0 commit comments

Comments
 (0)