Skip to content

Commit

Permalink
Docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbillion committed Mar 9, 2024
1 parent e3ed4cb commit e65bc19
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions packages/wp-types/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This package provides well-documented TypeScript definitions that describe the s
* WordPress REST API responses such as from `/wp/v2/posts` and `/wp/v2/users`
* Various property types and allowed values of both

The definitions were last updated for WordPress 6.4.
The definitions were last updated for WordPress 6.5.

## What's included?

Expand Down Expand Up @@ -181,12 +181,12 @@ npm install wp-types --save-dev
This package is versioned so that you can specify both the schema version and the WordPress branch version in a way that's compatible with semantic versioning. Given version `x.y.z`:

* The major version number (`x`) indicates the schema version number, currently `3`
* The minor version number (`y`) indicates the WordPress branch version number without its decimal place, eg. `64` for WordPress 6.4
* The minor version number (`y`) indicates the WordPress branch version number without its decimal place, eg. `65` for WordPress 6.5
* The patch version number (`z`) indicates the schema patch version number

Examples:

* `~3.64.0` - Schema version 3 for WordPress 6.4
* `~3.65.0` - Schema version 3 for WordPress 6.5
* `~3.60.0` - Schema version 3 for WordPress 6.0
* `~3.57.0` - Schema version 3 for WordPress 5.7
* `^3.0.0` - Schema version 3 for the latest WordPress version
Expand Down
6 changes: 3 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ This package provides well-documented JSON schemas that describe the shape of:

The schemas in this library are used to generate [the WordPress TypeScript definitions provided by the `wp-types` package](https://www.npmjs.com/package/wp-types).

The schemas were last updated for WordPress 6.4.
The schemas were last updated for WordPress 6.5.

## What's included?

Expand Down Expand Up @@ -186,12 +186,12 @@ npm install wp-json-schemas
This package is versioned so that you can specify both the schema version and the WordPress branch version in a way that's compatible with semantic versioning. Given version `x.y.z`:

* The major version number (`x`) indicates the schema version number, currently `3`
* The minor version number (`y`) indicates the WordPress branch version number without its decimal place, eg. `64` for WordPress 6.4
* The minor version number (`y`) indicates the WordPress branch version number without its decimal place, eg. `65` for WordPress 6.5
* The patch version number (`z`) indicates the schema patch version number

Examples:

* `~3.64.0` - Schema version 3 for WordPress 6.4
* `~3.65.0` - Schema version 3 for WordPress 6.5
* `~3.60.0` - Schema version 3 for WordPress 6.0
* `~3.57.0` - Schema version 3 for WordPress 5.7
* `^3.0.0` - Schema version 3 for the latest WordPress version
Expand Down

0 comments on commit e65bc19

Please sign in to comment.