Skip to content

Commit

Permalink
Packaging: 2.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bix0r committed Dec 2, 2024
1 parent c32d6f8 commit bc8467a
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 28 deletions.
4 changes: 2 additions & 2 deletions .docker/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pecl package package.xml
pecl install ./solr-2.7.0.tgz
pecl install ./solr-2.8.0.tgz
echo "extension=solr.so" > /usr/local/etc/php/conf.d/solr.ini
php -m | grep solr
bash
bash
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:8.3-cli
FROM php:8.4-cli

RUN apt update && apt install libxml2-dev libcurl4-gnutls-dev --yes

Expand Down
4 changes: 2 additions & 2 deletions docs/documentation.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
*/

define('SOLR_MAJOR_VERSION', 2);
define('SOLR_MINOR_VERSION', 7);
define('SOLR_MINOR_VERSION', 8);
define('SOLR_PATCH_VERSION', 0);

define('SOLR_EXTENSION_VERSION', '2.7.0');
define('SOLR_EXTENSION_VERSION', '2.8.0');

/**
* Returns the current version of the Apache Solr extension
Expand Down
46 changes: 27 additions & 19 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ https://github.com/php/pecl-search_engine-solr
<email>[email protected]</email>
<active>yes</active>
</lead>
<date>2024-01-11</date>
<date>2024-12-02</date>
<version>
<release>2.7.0</release>
<api>2.7.0</api>
<release>2.8.0</release>
<api>2.8.0</api>
</version>
<stability>
<release>stable</release>
Expand All @@ -53,24 +53,10 @@ https://github.com/php/pecl-search_engine-solr
<notes>
<![CDATA[
Features:
- Support Highlight Query (#28)
- Support PHP 8.3
- Dropped Support for PHP 7.3 and below
API Changes:
- Added SolrQuery SolrQuery::setHighlightQuery(string $q)
- Added string SolrQuery::getHighlightQuery()
Bug Fixes:
- Fix parsed parameter types (#37)
- Fix compile error: libcurl on linux multi-arch support (#46)
- Fix SegFault in SolrClient::optimize() (debug mode)
- Fix Missing Windows DLLs (#51) / available on github releases now
- Fix curl checks for PHP 7.4+, use PKG_CONFIG (remicollet)
- Support PHP 8.4
Internals:
- ci: windows tests (#51)
- parse_int macros
- improve config.m4 and config.w32 (remicollet and petk)
]]>
</notes>
Expand Down Expand Up @@ -458,6 +444,28 @@ Internals:

<!-- Changes to the extension should be tracked here -->
<changelog>
<release>
<version>
<release>2.8.0</release>
<api>2.8.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2024-12-02</date>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
<![CDATA[
Features:
- Support PHP 8.4
Internals:
- improve config.m4 and config.w32 (remicollet and petk)
]]>
</notes>
</release>
<release>
<version>
<release>2.7.0</release>
Expand Down
8 changes: 4 additions & 4 deletions src/php_solr_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@
#define PHP_SOLR_VERSION_H

#define PHP_SOLR_MAJOR_VERSION 2
#define PHP_SOLR_MINOR_VERSION 7
#define PHP_SOLR_MINOR_VERSION 8
#define PHP_SOLR_PATCH_VERSION 0

#define PHP_SOLR_RELEASE_VERSION PHP_SOLR_PATCH_VERSION

#define PHP_SOLR_VERSION "2.7.0"
#define PHP_SOLR_VERSION "2.8.0"
#define PHP_SOLR_DOTTED_VERSION PHP_SOLR_VERSION


Expand All @@ -50,9 +50,9 @@
* comparisons with greater than and less than work.
*/

#define PHP_SOLR_VERSION_ID 0x020500
#define PHP_SOLR_VERSION_ID 0x020800

#define SOLR_CLIENT_USER_AGENT "PHP Solr Client 2.5.0"
#define SOLR_CLIENT_USER_AGENT "PHP Solr Client 2.8.0"

#endif /* PHP_SOLR_VERSION_H */

Expand Down

0 comments on commit bc8467a

Please sign in to comment.