Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions .changeset/pre/funny-badgers-cheer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
File renamed without changes.
17 changes: 17 additions & 0 deletions packages/client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# @gatepost/client

## 0.1.0-alpha.0

### Minor Changes

- f933b93: Add the client package. It looks up postcodes, finds the postcode of a place and completes a typed postcode through NIPOST's gateway, with the retries, waits and limits of spec 0.2.0.

### Patch Changes

- 0003151: The package implements spec 0.3.0. That version adds the postcode field and its messages, and leaves the client contract as it was, so every call behaves as before.
- 69d7dd4: Refuse secret keys with surrounding white space in browser clients.
- b248de7: The README of each package is shorter and links the docs site for the full guide and the reference.
- Updated dependencies [c94adef]
- Updated dependencies [0003151]
- Updated dependencies [b248de7]
- @gatepost/core@0.1.0-alpha.1
2 changes: 1 addition & 1 deletion packages/client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gatepost/client",
"version": "0.0.0",
"version": "0.1.0-alpha.0",
"description": "Unofficial. Not made or endorsed by NIPOST. Call NIPOST's postcode gateway.",
"license": "Apache-2.0",
"homepage": "https://github.com/gatepost-dev/js/tree/main/packages/client#readme",
Expand Down
8 changes: 8 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @gatepost/core

## 0.1.0-alpha.1

### Patch Changes

- c94adef: The package implements spec 0.2.0. That version adds the client contract and leaves the grammar as it was, so every function gives the same results as before.
- 0003151: The package implements spec 0.3.0. That version adds the postcode field and its messages, and leaves the grammar as it was, so every function gives the same results as before.
- b248de7: The README of each package is shorter and links the docs site for the full guide and the reference.

## 0.1.0-alpha.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gatepost/core",
"version": "0.1.0-alpha.0",
"version": "0.1.0-alpha.1",
"description": "Unofficial. Not made or endorsed by NIPOST. Parse Nigerian postcodes offline.",
"license": "Apache-2.0",
"homepage": "https://github.com/gatepost-dev/js/tree/main/packages/core#readme",
Expand Down
18 changes: 18 additions & 0 deletions packages/field/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# @gatepost/field

## 0.1.0-alpha.0

### Minor Changes

- 0003151: Add the custom element `gatepost-postcode-field`. A plain HTML form submits the canonical form of the postcode. The field checks the format offline, offers the fix of a look-alike character, accepts or refuses a legacy postcode, and works with the keyboard alone. With a publishable key, it asks NIPOST's gateway about each whole postcode and names its place. A failed or negative answer never stops the form. The field refuses a secret key and sends no request with it. With `gps` and a key, it fills in the postcode of the user's location, or only the part that the accuracy supports, when the user presses its button.

### Patch Changes

- Updated dependencies [0003151]
- Updated dependencies [c94adef]
- Updated dependencies [0003151]
- Updated dependencies [f933b93]
- Updated dependencies [69d7dd4]
- Updated dependencies [b248de7]
- @gatepost/client@0.1.0-alpha.0
- @gatepost/core@0.1.0-alpha.1
2 changes: 1 addition & 1 deletion packages/field/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gatepost/field",
"version": "0.0.0",
"version": "0.1.0-alpha.0",
"description": "Unofficial. Not made or endorsed by NIPOST. A postcode field for any web form.",
"license": "Apache-2.0",
"homepage": "https://github.com/gatepost-dev/js/tree/main/packages/field#readme",
Expand Down
12 changes: 12 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# @gatepost/react

## 0.1.0-alpha.0

### Minor Changes

- 0003151: Add the React package. Its component renders the postcode field of `@gatepost/field` on the server and in the browser, for React 18 and 19, and calls a prop for each event of the field.

### Patch Changes

- Updated dependencies [0003151]
- @gatepost/field@0.1.0-alpha.0
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gatepost/react",
"version": "0.0.0",
"version": "0.1.0-alpha.0",
"description": "Unofficial. Not made or endorsed by NIPOST. A postcode field for React.",
"license": "Apache-2.0",
"homepage": "https://github.com/gatepost-dev/js/tree/main/packages/react#readme",
Expand Down