Swiftpack.co - Swift Packages by pksprojects

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.

Packages published by pksprojects

pksprojects/ElasticSwift v1.0.0-beta.1
Elasticsearch client in swift
⭐️ 45
🕓 1 year ago
🔖 Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
v1.0.0-beta.1
3 years ago
* Cluster API Support (Cluster Health & Get and Put Cluster Settings) * Support for Suggesters (Term, Phrase, completion & context) in Search Request. * Adds support for stored scripts * Adds support for search template * Specialized Queries support * Span Queries support * Several bug fixes
3 years ago
* Adds support for `geo_shape`, `geo_bounding_box`, `geo_distance`, and `geo_polygon` queries. * [feat] introduce QueryType protocol and update Query protocol to replace name with queryType * [refactor] cleanup AsyncHTTPClientAdaptorConfiguration * [chore] update NIO and HttpClient dependencies * Add support for `_rank_eval` #70 * [feat] (#69) add support for `_field_caps` requests * Explain API Support #67 * [feat] (#66) add support for Count API * Search request enhancement #65 * Joining Queries Support #73 * Removed toDic() method #82 * Fix Inconsistency in Enum case naming #83 * Several bug fixes and tests added.
v1.0.0-alpha.10
4 years ago
* Make Query, Script, Sort & ScoreFunction conform to Codable & Equatable and are value types. * Refactor Request body serialization using Codable. * Body of HttpResponse is now Data. * HttpRequest & HttpResponse are now value types. * Update Dependencies. * Add build on Linux. * [refactor] EncodableUtils new common protocol ValueWrapper for CodableValue, DecodableValue and EncodableValue, rename NullValue to NilValue, removed protocols EncodableWrapper, DecodableWrapper and CodableWrapper * [chore] add swift-log to unit tests * [fix] typo in logger label in ElasticClient * Split SwiftNIO and URLSession based networking layer into individual modules ElasticSwiftNetworkingNIO & ElasticSwiftNetworking as respectively. * add podspec for ElasticSwiftNetworkingNIO * add travis linux build for swift-5.1 * add Ubuntu 16.04 [swift-5.0.3, swift-5.1] build * Doesn't use URLSession based networking implementation on Linux. * [fix] make MultiGetRequest consistent as other requests * _termvectors request support. * Add analyzer, store, termVector to Index MappingMetaData * Bulk Request Support * MultiTermVector Request Support * TermVector Request Support * ReIndex Request Support * MultiGet Request Support * Standardized Builders * AsyncHTTPClient Based `ElasticSwiftNetworkingNIO`
v1.0.0-alpha.9
4 years ago
# ChangeLog * (#31) `UpdateRequest` support. * (#33) `UpdateByQueryRequest` support. * (#32) `DeleteByQyeryRequest` support. * (#40 ) Split Lib into following modules:- `ElasticSwiftCore` -> Core module with common/shared protocols, class, struct, enum. `ElasticSwiftQueryDSL` -> Query and QueryBuilders. `ElasticSwiftNetworking` -> Networking layer of the lib. `ElasticSwiftCodableUtils` -> CodableUtils `ElasticSwift` -> main lib depends on all other modules. * (#44) fix `SearchResponse` serialization. * Ability to initialize `DefaultSerializer` with custom `JSONEncoder` &/or `JSONDecoder`. * Improvements to `Settings` * `HTTPSettings` helper enum. * `ClientCredential` protocol * Improved support for plugable clients with `HTTPClientAdaptor` & `ManagedHTTPClientAdaptor` protocols * fix generic type leakage from response to request.
v1.0.0-alpha.8 Fixes
4 years ago
# ChangeLog * Support for index aliases, mapping, and setting in `CreateIndexRequest`. * Removed unnecessary `optionals?` for values that will always be present in response. * Fixes to response serializations. * QueryParams support for some requests to avoid unnecessary usage of `RequestOptions`. * `IndexExistsRequest` support. * Refactor `ElasticClient` class. * Fix typos in `README.md` * Improved `defaultConverter`. * Improved Error handling and reporting. * Change protocol constraint from Codable to `Encodable` & `Decodable` for `encode(_:)` & `decode(data:)` respectively. * Add serializing error types `EncodingError` & `DecodingError` * `DefaultSerializer` test cases # Linux * This is the first release tested to be working on `Linux` (Ubuntu 18.04). * Tested to be working with Server-Side frameworks `Kitura` & `Vapor` examples will be available soon. # Contributions * @lubbo thanks for awesome `PR`
v1.0.0-alpha.7 Reworked
4 years ago
# ChangeLog * Rework of the underlying networking layer. * This provides the user with the ability to use HttpClient of their choice. * `swift-nio` and `URLSession` based implementations are available out-of-the-box. * `URLSession` based client as default on iOS, tvOS, and watchOS for backward compatibility. * Improved and simpler API. * Mechanism to allow the user to use serializer of choice. * Way to pass custom Response Converter to get full control on response conversion. * A default Response Converter based on Codable.
v1.0.0-alpha.6
4 years ago
# Changelog * Revert pod compatibility for iOS 10+, macOS 10.10+, tvOS 10+, watchOS 3+ * swift 5.0 required
v1.0.0-alpha.5 One more step
4 years ago
# Changelog New and improved QueryBuilders, bugfixes fixes, ES 6.8.x compatibility. # Contributions @lubbo Thanks for opening issues.
6 years ago
- fixes
v1.0.0-alpha.3
6 years ago
- minor fixes

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics