Skip to content

Releases: Darknetzz/php-api

1.1.0

13 Dec 11:00
673eab5

Choose a tag to compare

Release 1.1.0

Caution

The structure of this release is completely changed (see #20).
If you upgrade, you will have to make changes to your custom setup in order for it to work properly.

What's Changed

  • Aliases, keys and settings are now moved to separate folders to make it easier for you to structure/separate your custom configurations.
  • A bit more information is included in the example files for clarity.
  • Simplify the settings to clean up some files.
  • File inclusion handling of custom config should now be more robust and hopefully prevent confusing errors.
  • Allow for cross-origin requests, this is quite essential for an API.

Relevant pull requests

Full Changelog: 1.0.4...1.1.0

1.0.4

30 Nov 11:22
f7d44b1

Choose a tag to compare

What's Changed

  • General improvements #8
  • line endings? #11
  • Blacklist/Whitelist fix and enable endpoints folder #12
  • sync dev with main #13
  • Default settings will now always be applied if not defined by custom_settings #14

Full Changelog: 1.0.3...1.0.4

1.0.3

03 Nov 12:03
7ca448f

Choose a tag to compare

Bugfixes

  • 7ca448f - Fix undefined constants when CUSTOM_INDEX is enabled

1.0.2

26 Oct 07:32
7310dde

Choose a tag to compare

Changelog

  • 9cd8730 - Enable custom index with parameters
  • 91b161f - Handle settings before includes to allow for custom index
  • 43e809e - Parameter names will now be shown when WRONG_PARAM_COUNT
  • d0545d0 - JSON unescape unicode to allow for special characters in response.

Bugfixes

  • c5f8799 - Prevent redirect loop when custom index.
  • b75cd10 - Avoid redirect loop.
  • ef13d5c - Create the endpoints_lastcalled.json file if it doesn't exist for some reason.
  • bea0e2e - Inverted condition by mistake

1.0.1

29 Sep 13:24

Choose a tag to compare

Changelog

  • The user's IP is now logged when using an open endpoint (instead of the previous 'all').
  • implementing log_write (WIP)
  • allow for a custom index
    Allow for a custom index file when no parameters provided.
    Will redirect users to whatever your CUSTOM_INDEX constant is set to if ENABLE_CUSTOM_INDEX is set to true.

Bugfixes

1.0.0 - Initial release

27 Sep 06:48

Choose a tag to compare

I feel like this API is stable enough to be released, but be aware that there might be bugs and errors with it at the moment.