Skip to content

Releases: squirrelphp/queries

Add psalm to integration

13 May 16:50

Choose a tag to compare

Add psalm as a dev dependency and solve some issues that psalm had with the existing code. Also, when analyzing a code base with psalm we now give more detailed information about the expected arrays in DBInterface.

v0.7: Add docker tests & rework interfaces

09 May 22:21

Choose a tag to compare

- Major refactoring, changing the interfaces. Not backwards
  compatible, especially upsert was converted to insertOrUpdate
- Add docker tests with real databases, and adjust some aspects
  accordingly
- Introduce LargeObject for Postgres handling
- Update documentation

v0.6.5: Better confirmation for delete all and update all

30 Apr 12:50

Choose a tag to compare

We made it more consistent and also added the check to
the update query builder, as updating all entries is
just as dangerous as deleting them all.

v0.6.4: Must confirm delete all in query builder

30 Apr 12:14

Choose a tag to compare

With the query builder it is easy to delete all entries in a
table by forgetting the "where" restriction - now there is
a mandatory confirmDeleteAll call if no where restriction is
defined, to make deleting all entries explicit.

v0.6.3: Small fixes & improvements

29 Apr 17:43

Choose a tag to compare

- Extract SelectIteratorTrait from SelectIterator
- Check flattenFields more thoroughly, and remove it in some
  parts where it is not allowed anymore
- Improve documentation with more examples

v0.6.2: Add IteratorAggregate usage for SelectEntries

29 Apr 13:58

Choose a tag to compare

Makes it possible to leave out the explicit getIterator call
when using SelectEntries.

Slight fix to DBDebug

28 Apr 13:25

Choose a tag to compare

DBDebug tripped over functions in the debug stack, like array_map. These are now skipped, only classes are recognized in the stack trace.

Restrict flattenFields

28 Apr 10:26

Choose a tag to compare

The previous implementation was not really consistent - now we only allow it for fetchAll, which makes much more sense.

Add query builder

27 Apr 21:04

Choose a tag to compare

Add DBBuilderInterface with implementation

- Possibility to more easily create structured queries
- Add tests covering all options
- Add more strict ruleset.xml for phpcs
- Adjust documentation

Better documentation

26 Apr 10:24

Choose a tag to compare

v0.5.5

Improve documentation