Skip to content

Releases: pfrest/pfSense-pkg-RESTAPI

pfSense REST API v2.3.0-dev-96ab4c0

08 Dec 03:09

Choose a tag to compare

Pre-release

Important

This is a very early build that only contains very minimal changes to allow the package to be installed and operate at a fundamental level on pfSense Plus 24.11. There are still bugs and other issues present that need to be addressed before it can be considered stable on pfSense Plus 24.11. Testing from the community is needed!

New

  • Implements basic compatibility with pfSense Plus 24.11. (#610, #611)

Full Changelog: v2.2.2...v2.3.0-dev-96ab4c0

pfSense REST API v2.2.2

09 Nov 03:21
1313860

Choose a tag to compare

Fixes

  • Reduces the minimum requirement for WireGuardPeerAllowedIP mask field from 1 to 0. #595
  • Prevents a warning that would occur when pfSense-repoc is called with the package installed. #588

Changes

  • Tests have been removed from full release builds of the package. #588

Full Changelog: v2.2.1...v2.2.2

pfSense REST API v2.2.1

24 Oct 02:48
df1311d

Choose a tag to compare

New

  • Adds the override_sensitive_fields REST API setting to allow admins to override field's sensitive property. #582
  • Add auto as a choice for the IPsecPhase1 myid_type and peerid_type fields. #584

Fixes

  • Increases the maximum number of queued API sync processes to 1024. fd4471a
  • Sort DHCPServerStaticMappings by ipaddr #583
  • Fixes an issue that prevented the package from being built on FreeBSD versions that no longer have upstream port tree support. 39d017b

Full Changelog: v2.2.0...v2.2.1

pfSense REST API v2.2.0

05 Oct 03:03
8668101

Choose a tag to compare

New Features

  • Introduced a new GraphQL API at /api/v2/graphql.
  • Added /api/v2/services/bind* endpoints for managing the BIND DNS server package (#276).
  • Added /api/v2/system/certificate/pkcs12/export endpoint to export certificates as PKCS#12 archives (#470).
  • Added /api/v2/system/certificate/renew endpoint to renew internal certificates.
  • Added /api/v2/system/crl/revoked_certificate endpoint to manage revoked certificates via CRL (#166).
  • Added /api/v2/system/certificate_authority/generate endpoint to create new internal Certificate Authorities (CA) (#519).
  • Added /api/v2/system/certificate/generate endpoint to create new internal certificates.
  • Added /api/v2/system/certificate/signing_request endpoint to create new Certificate Signing Requests (CSR) (#250).
  • Added /api/v2/system/certificate/signing_request/sign endpoint to sign existing CSRs (#250).
  • Added support for deleting DHCP leases via /api/v2/status/dhcp_server/leases (#130).
  • Added /api/v2/status/logs/settings endpoint for reading and updating log settings.
  • Added /api/v2/status/ipsec/sa endpoints to retrieve IPsec tunnel statuses (#571).
  • Added /api/v2/status/ipsec/child_sa endpoint to retrieve specific IPsec child SA status (#571).
  • Added new sort_by and sort_order parameters to control object sorting in config or before writing to the pfSense configuration (#565).
  • Introduced a new expose_sensitive_fields setting to allow exposure of sensitive fields in API responses.

Changes

  • Updated the OpenVPNServer tls field to automatically generate a TLS key if one is not provided (#570).
  • OpenVPNServer tls* fields are now only available when use_tls is set to true (#570).
  • Replaced the pfsense-restapi generatedocs command with pfsense-restapi buildschemas.
  • Marked the OpenVPN tls field as 'sensitive,' so it will no longer appear in API responses by default.

Bug Fixes

  • Fixed an issue where large REST API configurations could interfere with the API sync feature.
  • Fixed a bug where the REST API's config lock timeout failed to generate the expected error.
  • Fixed an issue where the WireGuardPeer presharedkey field could not be empty. #581

Full Changelog: v2.1.3...v2.2.0

pfSense REST API v2.2.0-beta-e61f74d

01 Oct 03:13

Choose a tag to compare

Pre-release

Please refer to the announcement and the PR for details on this pre-release.

Full Changelog: v2.2.0-dev-f38d613...v2.2.0-beta-e61f74d

pfSense REST API v2.1.3

20 Sep 04:14

Choose a tag to compare

Fixes

  • Prevents GitHub API communication issues from throwing certain exceptions when refreshing the RESTAPIVersionReleasesCache #543

Changes

New Contributors

Full Changelog: v2.1.2...v2.1.3

pfSense REST API v2.2.0-dev-f38d613

11 Sep 04:42

Choose a tag to compare

Pre-release

Please refer to the announcement for more information on this development build.

pfSense REST API v2.1.2

10 Sep 22:24
dc05110

Choose a tag to compare

Fixes

  • Fixed an issue where an OpenVPNServer could not be assigned an authmode of Local Database. #561

Full Changelog: v2.1.1...v2.1.2

pfSense REST API v2.1.1

07 Sep 02:59
9ebf524

Choose a tag to compare

New

  • Added the ability to assign gateway groups in DefaultGateway #558

Fixes

  • Fixed an issue where the package could not accurately determine if it had an update available. #555
  • Fixed an issue where the WireGuardPeer presharedkey field was not allowing empty values #541

Documentation

  • Separated install commands for pfSense CE and pfSense Plus in documentation. #548

Full Changelog: v2.1.0...v2.1.1

pfSense REST API v2.1.0

30 Aug 22:56
291fff6

Choose a tag to compare

New

  • Adds endpoints for ACME package support #462
  • Adds endpoints to gateway groups #189
  • Adds endpoints for reading OpenVPN server statuses, connections and routes
  • Adds endpoint for killing OpenVPN server connections
  • Adds endpoints for reading OpenVPN client statuses #514
  • Adds support for associated filter rules in port forward endpoints #275
  • Adds format query filter to filter for values that match a specific format
  • Allows DELETE requests to plural endpoints to delete objects via query #494
  • Adds control parameter append to add a new item to an existing array value #517, #511
  • Adds control parameter remove to remove a specific value from an existing array #517
  • Adds control parameter reverse to reverse the order of objects returned by an endpoint
  • Adds support for OpenAPI's deprecated directive
  • Adds /api/v2/services/dhcp_server/apply endpoint

Changes

  • URLContentHandler now supports more complex type inference #504
  • URLContentHandler now supports parameters provided via request body #504
  • DHCP server endpoints now support batching (no longer applies by default). You now must use /api/v2/services/dhcp_server/apply or the apply control parameter to apply changes.
  • Status log endpoints can now read rotated logs #509
  • Deprecates /api/v2/firewall/state endpoint in favor of /api/v2/firewall/states #494

Fixes

  • Fixes an issue where some auxiliary interfaces were not seen as valid interface choices #536
  • Fixes an issue where the WireGuardPeer::$descr field was unintentionally undefined #534
  • Fixes a regression where DHCP server static mappings were not required to be within the interface's subnet #526

Performance

  • Fixes a performance issue where Model's with a parent Model would reload the parent object for each child object, causing a gradual slow down as more objects were created #537
  • Model::replace_all() now reuses certain ModelSets, preventing the need to reload all objects multiple times

Full Changelog: v2.0.3...v2.1.0