8000 Towards a v1.0.0 release. · Issue #50 · FreeDSx/LDAP · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Towards a v1.0.0 release. #50
Open
@ChadSikorra

Description

@ChadSikorra

I would like to release a v1.0.0 version of this library, as it has been getting many 0.x.0 releases and I haven't really defined what a 1.0.0 type of release would need. The main things I think need to happen are:

  • Drop support for EOL versions of PHP. The older versions of this library will have to suffice for those that need it. This would effectively bump the library to PHP 7.4.
  • Add a more fluent search builder class. This would mostly be a wrapper around the existing LdapClient with some additional convenience. Currently, building up some searches can still be awkward in code with the methods currently provided.
  • Support client-side RFC4533. This seems largely OpenLDAP specific for directory synchronization. This library already supports a client for AD specific directory synchronization, so adding this would be good to even it out.

TODO

  • Bump the PHP version to 8.1.
  • Add proper types, return types, and use strict_types throughout the codebase.
  • Use Options objects instead of arrays for the LdapClient and LdapServer.
    • Verify client-side referral chasing works as expected after the options changes.
    • Update documentation related to options.
  • Add a more fluid search builder.
  • Support client-side RFC4533 for interacting with directory synchronization.
    • Verify the poll logic is implemented properly for content updates. Needs integration tests.
  • Support faster search result processing via anonymous functions instead of waiting for a complete result set to be returned.
    • Update documentation to demonstrate this new usage in searching.
  • Support canceling sync / search requests in the client.
  • Add an upgrade guide for changes:
    • Options changes from array to objects.
    • Server request handlers only support object instances now.
    • Server request handlers for searching must return a SearchResult object.
    • Making a server proxy instance uses options objects now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0