Skip to content

Commit

Permalink
Merge pull request #32 from apostrophecms/remove-versions
Browse files Browse the repository at this point in the history
Update header, text package
  • Loading branch information
BoDonkey committed Mar 18, 2024
2 parents 43d1a51 + 1aa5e13 commit 76a6ca6
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

* Bug fix to properly migrate older redirects missing a `targetLocale` property, and to tolerate situations where this property is irrelevant or makes reference to a locale that no longer exists in the system.
* Fixes permanent redirects (301) being 302 because `statusCode` of the redirects were never fetched.
* Edits README and package description. No code changes.

## 1.4.0 (2024-02-23)

Expand Down
20 changes: 17 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
[![Chat on Discord](https://img.shields.io/discord/517772094482677790.svg)](https://chat.apostrophecms.org)
# Manage site redirects for Apostrophe 3
<div align="center">
<img src="https://raw.githubusercontent.com/apostrophecms/apostrophe/main/logo.svg" alt="ApostropheCMS logo" width="80" height="80">

<h1>Manage site redirects for ApostropheCMS</h1>
<p>
<a aria-label="Apostrophe logo" href="https://docs.apostrophecms.org">
<img src="https://img.shields.io/badge/MADE%20FOR%20ApostropheCMS-000000.svg?style=for-the-badge&logo=Apostrophe&labelColor=6516dd">
</a>
<a aria-label="Join the community on Discord" href="http://chat.apostrophecms.org">
<img alt="" src="https://img.shields.io/discord/517772094482677790?color=5865f2&label=Join%20the%20Discord&logo=discord&logoColor=fff&labelColor=000&style=for-the-badge&logoWidth=20">
</a>
<a aria-label="License" href="https://github.com/apostrophecms/blog/blob/main/LICENSE.md">
<img alt="" src="https://img.shields.io/static/v1?style=for-the-badge&labelColor=000000&label=License&message=MIT&color=3DA639">
</a>
</p>
</div>

## Installation

Expand Down Expand Up @@ -51,7 +65,7 @@ By passing `withType` to your configuration you can specify the document type yo
}
```

**Note:** Apostrophe 2 supported creating relationships to multiple doc types from a single interface. This feature is still being ported to Apostrophe 3, as such redirects can only specify a single doc type to redirect to.
**Note:** Apostrophe 2 supported creating relationships to multiple doc types from a single interface. This feature doesn't yet exist in the newer versions of Apostrophe, as such redirects can only specify a single doc type to redirect to.

### `skip`

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@apostrophecms/redirect",
"version": "1.4.0",
"description": "Manage redirects for Apostrophe 3",
"description": "Manage redirects for apostropheCMS",
"main": "index.js",
"scripts": {
"lint": "npm run eslint",
Expand Down

0 comments on commit 76a6ca6

Please sign in to comment.