Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.6.0 Fixes & Features #359

Merged
merged 216 commits into from
Jul 3, 2023
Merged

v1.6.0 Fixes & Features #359

merged 216 commits into from
Jul 3, 2023

Conversation

jaredhendrickson13
Copy link
Owner

@jaredhendrickson13 jaredhendrickson13 commented Jun 21, 2023

New

Refactors

  • Refactors codebase to use new path based config references introduced in pfSense 2.7.0/pfSense Plus 23.01.
  • Refactors codebase for PHP 8.2.
  • Refactors package Makefile and plist for builds on FreeBSD 14.
  • The online field on /api/v1/status/dhcpd/lease no longer returns a boolean value, now returns a string indicating the exact online status of the lease. (23.01 - DHCP Table shows all leases online = false #340)

Fixes

  • Overall performance and stability improvements.
  • Several documentation adjustments and corrections.
  • Fixes incorrect permission names and assignments (Typos in privilege names #292).
  • The monitor field now gets unset when monitor_disable is set to true on /api/v1/routing/gateway.
  • Fixes an issue where package installation fails on pfSense Plus due to failed certificate verification. (Error installing v.1.6.0 on 23.01 #334)

CI & Testing

  • Moves build and E2E test workflows from private Jenkins to GitHub Actions.
  • All endpoint permissions are covered by E2E tests.
  • E2E tests now verify select backend services are configured to expectation, not just the pfSense XML configuration.

Removes

  • Deprecates request body authentication.
  • Deprecates support for pfSense CE <=2.6.0 and pfSense Plus <=22.05. The changes necessary for FreeBSD 14 and PHP 8.2 are not backwards compatible.

these pfsense versions will no longer be supported going forward
the get_existing_tokens() function was receiving a fatal error if no
api tokens existed when calling. the authenticate_token() function
was failing to evaluate the username from index_users() because
php 8 does not implicitly compare items do array keys using
in_array() anymore
removes the shadowed is_alias() function from APITools.inc. pfSense has
a built in function that does the same thing so it is redundant. this
change fixes crashes on /api/v1/firewall/nat/one_to_one on PHP 8.1
and possibly elsewhere.
adds the init_config() method to API models to simplify initializing
configuration arrays. this fixes many issues related to PHP 8.1
removes the old api function sort_firewall_rules and uses the built in
pfSense function filter_rules_sort instead. this also fixes php 8
compatibility issues.
changes __compare_schedules() private method to compare_schedules() public method in APIFirewallScheduleDelete
to fix error on php 8
changes __compare_schedules() private method to compare_schedules() public method in APIFirewallScheduleCreate
to fix error on php 8
changes __compare_schedules() private method to compare_schedules() public method in APIFirewallScheduleUpdate
to fix error on php 8
the changes with php8 will break backwards compatibility with these releases
@jaredhendrickson13 jaredhendrickson13 added the work in progress PRs or Issues that are currently in progress label Jun 21, 2023
@jaredhendrickson13 jaredhendrickson13 linked an issue Jun 21, 2023 that may be closed by this pull request
@jaredhendrickson13 jaredhendrickson13 linked an issue Jul 1, 2023 that may be closed by this pull request
@jaredhendrickson13 jaredhendrickson13 removed the work in progress PRs or Issues that are currently in progress label Jul 3, 2023
@jaredhendrickson13 jaredhendrickson13 merged commit 5424704 into master Jul 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment