Skip to content

Releases: jaredhendrickson13/pfsense-api

pfSense API v1.3.5

05 Mar 22:48
019e66a
Compare
Choose a tag to compare

Changes

  • Addresses issue that prevented the gateway field from being reverted to it's default value on /api/v1/firewall/rule. (#202)
  • Upgrades the php-jwt dependency to v.6.0.0.

Full Changelog: v1.3.4...v1.3.5

pfSense API v1.3.4

20 Feb 07:00
8de4de5
Compare
Choose a tag to compare

Adds

  • Full support for pfSense 2.6.0-RELEASE.
  • Minor documentation enhancements.

Changes

  • Interface creations and updates on /api/v1/interface now allow the default spoofmac value. (#195)

Fixes

  • Addresses bug that prevented email notification data from being read using /api/v1/system/notifications/email. (#196)
  • Addresses issue that threw array errors due to the ntpd configuration now being defaulted as empty string on pfSense 2.6 instead of null like previous releases.

Full Changelog: v1.3.3...v1.3.4

pfSense API v1.3.3

20 Dec 23:20
72d8580
Compare
Choose a tag to compare

Adds

  • Adds staticarp field to /api/v1/services/dhcpd and adds notes regarding issues with static ARP via API. (#129)

Fixes

  • Addresses issue within /api/v1/services/dhcpd that prevented DHCP server configurations from being updated when the default interface DHCP configuration was not initialized. (#178)
  • Minor documentation typos.

Full Changelog: v1.3.2...v1.3.3

pfSense API v1.3.2

21 Oct 20:08
21079a1
Compare
Choose a tag to compare

Fixes

  • Addresses bug that caused imported CA certificates to be Base64 encoded twice before saving to configuration (#165)
  • Addresses bug that sometimes caused the API UI page to hang indefinitely when no internet access was present
  • Relaxes input validation on the cert field for the /api/v1/user endpoint that prevented assigning users 'server' type certificates (#165)

Changes

  • 'Report an Issue' UI button now redirects to the issue type selection screen instead of a blank issue creation form

Full change log: v1.3.1...v1.3.2

pfSense API v1.3.1

06 Oct 06:19
1658a8e
Compare
Choose a tag to compare

New

  • Adds ability to create and update dynamic gateways via /api/v1/routing/gateway endpoint. (#157)

Changes

  • Updates /api/v1/interface and /api/v1/interface/apply to only apply interface configurations that have changed, greatly improving reliability and efficiency of the endpoint. (#162)
  • Updates /api/v1/firewall/alias and /api/v1/firewall/alias/entry endpoints to allow clients to bypass automatic filter reloads after calls using the apply field.

Fixes

  • Addresses bug that sometimes prevented the routing system changed status from be cleared after applying changes.
  • Addresses issue that prevented /api/v1/interface/apply from applying bridge configurations in a timely manner. (#162)
  • Addresses bug that sometimes prevented alias-subnet field from being validated correctly on /api/v1/interface endpoint.
  • Addresses bug that prevented the package menu item from be removed upon deinstallation when other packages were present. (#155)
  • Addresses bug that left empty /usr/local/www/api/v1/ directory upon deinstallation.

pfSense API v1.3.0

30 Sep 05:12
d7c41c1
Compare
Choose a tag to compare

New

  • Introduces /api/v1/services/dnsmasq endpoint to read the DNS Forwarder (dnsmasq) configuration
  • Introduces /api/v1/services/dnsmasq/host_override endpoint to create, read, update and delete DNS Forwarder (dnsmasq) host overrides (#109)
  • Introduces /api/v1/services/dnsmasq/host_override/alias endpoint to create DNS Forwarder (dnsmasq) host override alias entries
  • Introduces /api/v1/services/dnsmasq/start endpoint to start the DNS Forwarder (dnsmasq) service
  • Introduces /api/v1/services/dnsmasq/stop endpoint to stop the DNS Forwarder (dnsmasq) service
  • Introduces /api/v1/services/dnsmasq/restart endpoint to restart the DNS Forwarder (dnsmasq) service
  • Introduces HA sync feature to API settings (#97)
  • Introduces /api/v1/system/ca endpoint to manage system CA certificates (#125, #34)
  • Introduces /api/v1/system/api/version endpoint to pull API version information (#151)
  • Introduces Update tab to API UI page for easy updates (#151)
  • Introduces /api/v1/diagnostics/command_prompt endpoint to remotely execute shell commands (#144)
  • Introduces /api/v1/status/openvpn endpoint to check OpenVPN server and client statuses (#61)
  • Introduces /api/v1/system/console endpoint to configure console related settings
  • Introduces /api/v1/interface/bridge endpoint to configure bridged interfaces
  • Introduces /api/v1/services/unbound/access_list and /api/v1/services/unbound/access_list/row endpoints to configure Unbound access lists
  • Introduces /api/v1/firewall/rule/flush endpoint to delete all firewall rules for Cisco-like ACL functionality
  • Introduces /api/v1/services/openvpn/csc endpoint to configure OpenVPN client specific overrides (#154)
  • Introduces /api/v1/system/notifications/email to update and read the SMTP notification settings

Changes

  • Moves previous /api/v1/routing/gateway endpoint to /api/v1/routing/gateway/detail to make the functionality easier to understand and use (#110)
  • Updates /api/v1/routing/gateway to only return gateway objects stored in configuration (#110)
  • Updates /api/v1/system/certificate to allow creation of internal server and user certificates (#34)
  • Updates /api/v1/user to allow assignment of user certificates to users (#34)
  • Updates /api/v1/system/config to allow PUT requests that update the entire pfSense configuration

Fixes

  • Addresses bug that prevented zero value system tunables from being set
  • Addresses bug that prevented DHCP Server from being updated when pfSense was setup with a WAN interface only
  • Addresses bug that allowed non-numeric rule tracker IDs to be successfully validated during DELETE requests to /api/v1/firewall/rule

Removes

  • Removes support for pfSense 2.4 (v1.3.0 can still be forced to install on pfSense 2.4, however specific conditions that previously allowed 2.4 to operate normally have been removed. This release was not tested on 2.4 and going forward will no longer receive support. Use of v1.3.0+ on pfSense 2.4 is at your own risk

Notes

Many thanks for all the patience, support and contributions towards this release!

pfSense API v1.2.4

06 Aug 22:15
ad249d8
Compare
Choose a tag to compare

Fixes

  • Removes validation that prevented an interface's IP from being included in the DHCP pool (#149)
  • Fixes bug that prevented field descriptions from being generated in documentation for the update alias endpoint (#145)
  • Enhances /api/v1/services/dhcpd/lease endpoint and fixes issue that excluded static DHCP mappings from showing in the lease data (#147)
  • Fixes bug that prevented firewall rules from being created or updated with a dnpipe and pdnpipe of the same type (#132)

pfSense API v1.2.3

14 Jul 21:15
598af19
Compare
Choose a tag to compare

New

  • Adds full support for pfSense 2.5.1-RELEASE and 2.5.2-RELEASE

Fixes

  • Addresses interface track IPv6 prefix bug (#138)

pfSense API v1.2.2

07 Apr 15:21
288a9a5
Compare
Choose a tag to compare

Adds

  • Ability to create and update virtual IPs using CARP interfaces on /api/v1/firewall/virtual_ip (#117)

Fixes

  • Invalid permission name for some actions on /api/v1/firewall/alias (#122)
  • Minor UI corrections

pfSense API v1.2.1

31 Mar 21:49
e17dea6
Compare
Choose a tag to compare

Adds

  • Ability to use existing aliases as address entries within another alias (#112)

Fixes

  • Bug that prevented descriptions from being set within Unbound host override aliases (#111)
  • Bug that sometimes caused gateway object IDs to fall out of sync with the XML configuration (#110)