Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
408e206
Merge pull request #896 from pfrest/next_minor
jaredhendrickson13 May 16, 2026
0987806
chore: bump the github-actions group with 3 updates (#899)
dependabot[bot] May 16, 2026
dce1d7b
chore: bump @stoplight/spectral-cli in the npm group (#898)
dependabot[bot] May 16, 2026
431baab
chore: update black requirement in the pip group (#897)
dependabot[bot] May 16, 2026
1fe956d
ci: use node from 20 to 26
jaredhendrickson13 Jun 5, 2026
725757d
feat: add build for pfSense Plus 26.03.1
jaredhendrickson13 Jun 5, 2026
7e354c3
docs: fix bad indents in filter docs
jaredhendrickson13 Jun 5, 2026
fbee00c
fix(RESTAPIVersionReleasesCache): don't cache bad gh api responses #900
jaredhendrickson13 Jun 5, 2026
d8d4732
fix(WireGuardTunnel): ignore addresses if tunnel has a current iface …
jaredhendrickson13 Jun 5, 2026
e81b30c
style: run prettier on changed files
jaredhendrickson13 Jun 5, 2026
3235c8a
chore: update black requirement in the pip group (#903)
dependabot[bot] Jun 6, 2026
7560ef8
chore: bump the github-actions group with 2 updates (#904)
dependabot[bot] Jun 6, 2026
3cd158b
fix(Dispatcher): accept devel variants when allow_development_package…
jaredhendrickson13 Jun 6, 2026
e05c3b6
chore: improve cache handling logic
jaredhendrickson13 Jun 7, 2026
6ba0be6
Merge branch 'master' into next_patch
jaredhendrickson13 Jun 7, 2026
df78467
refactor(WireGuardTunnel): empty addresses with iface assignment
jaredhendrickson13 Jun 7, 2026
5b85beb
Merge branch 'next_patch' of github.com:jaredhendrickson13/pfsense-ap…
jaredhendrickson13 Jun 7, 2026
4190c8c
Merge pull request #906 from pfrest/next_patch
jaredhendrickson13 Jun 7, 2026
b7767bc
fix(WireGuardTunnel): adjust 'addresses' validation pre-condition tim…
jaredhendrickson13 Jun 9, 2026
83ad58e
fix(WireGuardTunnel): adjust 'addresses' validation pre-condition tim…
jaredhendrickson13 Jun 9, 2026
fbb44e8
chore: bump the github-actions group with 4 updates
dependabot[bot] Jul 1, 2026
30852e3
chore: bump the npm group with 2 updates (#913)
dependabot[bot] Jul 7, 2026
85c0fb9
chore: update pylint requirement in the pip group
dependabot[bot] Jul 1, 2026
c9904b7
chore: bump the composer group with 2 updates (#911)
dependabot[bot] Jul 12, 2026
cadd9ef
Merge branch 'master' of github.com:jaredhendrickson13/pfsense-api in…
jaredhendrickson13 Jul 12, 2026
c7c8eac
fix(FreeRADIUSUser): increase maximum length for motp_pin to 8 #915
jaredhendrickson13 Jul 12, 2026
ff4e44a
fix(Model): ensure model cache is updated intermittently during repla…
jaredhendrickson13 Jul 12, 2026
6b9375c
Merge pull request #916 from pfrest/next_patch
jaredhendrickson13 Jul 13, 2026
bfc5edf
feat: Add HA sync endpoint (#843)
hydro-b Jul 22, 2026
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
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
FREEBSD_ID: freebsd16

steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Setup FreeBSD build VM
run: |
/usr/local/bin/VBoxManage controlvm ${{ matrix.FREEBSD_VERSION }} poweroff || true
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
- PFSENSE_VERSION: pfSense-2.8.1-RELEASE
FREEBSD_ID: freebsd15
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
name: pfSense-pkg-RESTAPI-${{ env.BUILD_VERSION }}-${{ matrix.FREEBSD_ID }}.pkg
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
- PFSENSE_VERSION: pfSense-2.8.1-RELEASE
FREEBSD_ID: freebsd15
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
name: openapi-${{ matrix.PFSENSE_VERSION }}.json
Expand All @@ -121,7 +121,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: "20"
node-version: "26"

- name: Install npm dependencies
run: npm i
Expand All @@ -142,7 +142,7 @@ jobs:
FREEBSD_ID: freebsd15

steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0

- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ jobs:
check_prettier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 20
node-version: 26
- name: Install npm packages
run: npm install
- name: Check Prettier
Expand All @@ -17,8 +17,8 @@ jobs:
check_black:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: psf/black@c6755bb741b6481d6b3d3bb563c83fa060db96c9 # 26.3.1
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: psf/black@87928e6d6761a4a6d22250e1fee5601b3998086e # 26.5.1

lint_php:
runs-on: ubuntu-latest
Expand All @@ -27,9 +27,9 @@ jobs:
matrix:
PHP_VERSION: ["8.2"]
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: "Setup PHP ${{ matrix.PHP_VERSION }}"
uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # 2.37.0
uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # 2.37.2
with:
php-version: "${{ matrix.PHP_VERSION }}"
coverage: "none"
Expand All @@ -46,9 +46,9 @@ jobs:
matrix:
PYTHON_VERSION: ["3.10", "3.11"]
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Set up Python ${{ matrix.PYTHON_VERSION }}
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
with:
python-version: ${{ matrix.PYTHON_VERSION }}
- name: Install dependencies
Expand All @@ -62,7 +62,7 @@ jobs:
runs-on: ubuntu-latest
needs: ["lint_php"]
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Check phpdoc build
run: |
wget https://phpdoc.org/phpDocumentor.phar -O phpdoc
Expand Down
16 changes: 9 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,11 @@ jobs:
PFSENSE_VERSION: "25.11.1"
- FREEBSD_VERSION: FreeBSD-16.0-CURRENT
PFSENSE_VERSION: "26.03"
- FREEBSD_VERSION: FreeBSD-16.0-CURRENT
PFSENSE_VERSION: "26.03.1"

steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0

- name: Setup FreeBSD build VM
run: |
Expand All @@ -60,15 +62,15 @@ jobs:
path: pfSense-${{ matrix.PFSENSE_VERSION }}-pkg-RESTAPI.pkg

- name: Release
uses: softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda # v3.0.0
uses: softprops/action-gh-release@718ea10b132b3b2eba29c1007bb80653f286566b # v3.0.1
with:
files: pfSense-${{ matrix.PFSENSE_VERSION }}-pkg-RESTAPI.pkg

build_schemas:
runs-on: self-hosted
needs: [release_pkg]
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0

- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
Expand Down Expand Up @@ -125,7 +127,7 @@ jobs:
path: schema.graphql

- name: Release schemas
uses: softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda # v3.0.0
uses: softprops/action-gh-release@718ea10b132b3b2eba29c1007bb80653f286566b # v3.0.1
with:
files: |
native.json
Expand Down Expand Up @@ -162,16 +164,16 @@ jobs:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0

- name: Setup Pages
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0
uses: actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0d # v6.0.0

- name: Make website directory
run: mkdir ./www

- name: Setup python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
with:
python-version: ${{ env.PYTHON_VERSION }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/schedule_weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
env:
DAYS_BEFORE_STALE: 60
steps:
- uses: actions/stale@b5d41d4e1d5dceea10e7104786b73624c18a190f # v10.2.0
- uses: actions/stale@eb5cf3af3ac0a1aa4c9c45633dd1ae542a27a899 # v10.3.0
with:
stale-issue-message: |
This issue has been automatically marked as stale because it has had no recent activity in the last ${{ env.DAYS_BEFORE_STALE }} days.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ pkg-static add https://github.com/pfrest/pfSense-pkg-RESTAPI/releases/latest/dow
Install on pfSense Plus:

```bash
pkg-static -C /dev/null add https://github.com/pfrest/pfSense-pkg-RESTAPI/releases/latest/download/pfSense-26.03-pkg-RESTAPI.pkg
pkg-static -C /dev/null add https://github.com/pfrest/pfSense-pkg-RESTAPI/releases/latest/download/pfSense-26.03.1-pkg-RESTAPI.pkg
```

> [!WARNING]
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"require": {
"firebase/php-jwt": "v7.0.*",
"firebase/php-jwt": "v7.1.*",
"webonyx/graphql-php": "^15.13"
}
}
38 changes: 20 additions & 18 deletions composer.lock

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

2 changes: 2 additions & 0 deletions docs/INSTALL_AND_CONFIG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ run pfSense. It's recommended to follow Netgate's [minimum hardware requirements
- pfSense CE 2.8.1
- pfSense Plus 25.11.1
- pfSense Plus 26.03
- pfSense Plus 26.03.1


!!! Warning
Installation of the package on unsupported versions of pfSense may result in unexpected behavior and/or system instability.
Expand Down
9 changes: 5 additions & 4 deletions docs/QUERIES_FILTERS_AND_SORTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,11 @@ value array contains a given value for array fields.

Search for objects whose field value is within a given array of values (when the filter value is an array), or search
for objects whose field value is a substring of a given string (when the filter value is a string).

- Name: `in`
- Examples:
- `https://pfsense.example.com/api/v2/examples?fieldname__in=example`
- `https://pfsense.example.com/api/v2/examples?fieldname__in[]=example1&fieldname__in[]=example2`
- `https://pfsense.example.com/api/v2/examples?fieldname__in=example`
- `https://pfsense.example.com/api/v2/examples?fieldname__in[]=example1&fieldname__in[]=example2`

### Less Than (lt)

Expand Down Expand Up @@ -95,8 +96,8 @@ Search for objects whose field value matches a given format.

- Name: `format`
- Examples:
- `https://pfsense.example.com/api/v2/examples?fieldname__format=ipv4`
- `https://pfsense.example.com/api/v2/examples?fieldname__format=email`
- `https://pfsense.example.com/api/v2/examples?fieldname__format=ipv4`
- `https://pfsense.example.com/api/v2/examples?fieldname__format=email`

#### Supported Formats

Expand Down
25 changes: 17 additions & 8 deletions package-lock.json

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

Loading